ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED] Error: fmcojprf.dll already loaded in another .....

Post new topic  Reply to topic
 [SOLVED] Error: fmcojprf.dll already loaded in another ..... « View previous topic :: View next topic » 
Author Message
CHF
PostPosted: Thu Sep 16, 2004 7:21 am    Post subject: [SOLVED] Error: fmcojprf.dll already loaded in another ..... Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Ratan
PostPosted: Thu Sep 16, 2004 7:34 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
vennela
PostPosted: Thu Sep 16, 2004 7:40 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Or with one QMGR for each web client
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CHF
PostPosted: Thu Sep 16, 2004 7:52 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Thanks a lot Ratan, Vennela.
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
JLRowe
PostPosted: Fri Sep 17, 2004 12:57 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
CHF
PostPosted: Fri Sep 17, 2004 4:20 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

jlrowe,
Which jar are you talking about? is it fmcojagt.jar?

Thanks
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
JLRowe
PostPosted: Fri Sep 17, 2004 5:03 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

Thats the jar, this article shows you how to configure the classpath:

http://www-106.ibm.com/developerworks/websphere/library/techarticles/0406_kulhanek/0406_kulhanek.html

An alternative is to use the pure java client (as detailed previously in this forum), which can be deployed as a utility jar withing each application, but taking more memory as it will be loaded seperately by each application.
Back to top
View user's profile Send private message Send e-mail
CHF
PostPosted: Fri Sep 17, 2004 5:13 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
CHF
PostPosted: Fri Sep 17, 2004 6:18 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Excellent. Its working.

Thanks again.
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED] Error: fmcojprf.dll already loaded in another .....
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.