Author |
Message
|
CHF |
Posted: Thu Sep 16, 2004 7:21 am Post subject: [SOLVED] Error: fmcojprf.dll already loaded in another ..... |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
Hello All,
I have two EAR files deployed onto the same server. One is the default EAR file and another one is customized EAR file. I could connect to Workflow using only one EAR file. If I try to access using the other one I am getting the following error:
Quote: |
Error: java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\IBM WebSphere MQ Workflow\BIN\fmcojprf.dll already loaded in another classloader
com.ibm.workflow.servlet.client.ClientException
java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\IBM WebSphere MQ Workflow\BIN\fmcojprf.dll already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1729)
at java.lang.Runtime.loadLibrary0(Runtime.java:780)
at java.lang.System.loadLibrary(System.java:865)
at com.ibm.workflow.catalog.Properties.<clinit>(Properties.java:103)
...
...
...
...
... |
I have done a search in this forum, but still it didn't help me. Can someone explain me what is wrong and what do I need to do?
http://www.mqseries.net/phpBB2/viewtopic.php?t=13799&highlight=fmcojprf
Thanks in Advance _________________ CHF 
Last edited by CHF on Fri Sep 17, 2004 6:21 am; edited 1 time in total |
|
Back to top |
|
 |
Ratan |
Posted: Thu Sep 16, 2004 7:34 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
You cant have 2 webapps in a single App Server Instance to my knowledge. Have them deployed in different instances. _________________ -Ratan |
|
Back to top |
|
 |
vennela |
Posted: Thu Sep 16, 2004 7:40 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Or with one QMGR for each web client |
|
Back to top |
|
 |
CHF |
Posted: Thu Sep 16, 2004 7:52 am Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
Thanks a lot Ratan, Vennela. _________________ CHF  |
|
Back to top |
|
 |
JLRowe |
Posted: Fri Sep 17, 2004 12:57 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
Put the jar in the server classpath, that'll fix it.
Websphere only allows classes with native methods to be loaded once, all applications then must share the same jar, putting it in the server classpath means that every classloader picks it up from there. |
|
Back to top |
|
 |
CHF |
Posted: Fri Sep 17, 2004 4:20 am Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
jlrowe,
Which jar are you talking about? is it fmcojagt.jar?
Thanks _________________ CHF  |
|
Back to top |
|
 |
JLRowe |
Posted: Fri Sep 17, 2004 5:03 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
|
Back to top |
|
 |
CHF |
Posted: Fri Sep 17, 2004 5:13 am Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
Jlrowe,
That is a very good link. I will try that and get back later.
Thanks a lot _________________ CHF  |
|
Back to top |
|
 |
CHF |
Posted: Fri Sep 17, 2004 6:18 am Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
Excellent. Its working.
Thanks again. _________________ CHF  |
|
Back to top |
|
 |
|