Author |
Message
|
chintu |
Posted: Fri Mar 03, 2006 11:46 am Post subject: SOLVED - UnsatisfiedLinkError |
|
|
 Acolyte
Joined: 27 Dec 2004 Posts: 64
|
I am using WF3.4 ,service pack6,win xp.
I created a new configuration and configured a webclient. i deployed the webclient on tomcat 4.1. When I try to login I get this error the first time
java.lang.UnsatisfiedLinkError: C:\Program Files\IBM WebSphere MQ Workflow\BIN\fmcojloc.dll: Can't find dependent libraries
if I go back and try to login again, i get
java.beans.PropertyVetoException: FMC38002E Locator LOC_LOCATOR is not supported
I have uninstalled WF and still the problem persists. Upon googling for the first error I found a link which reported success if the fmcojloc.dll was place in windows/system32 folder. I tried this but got the same error
java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\fmcojloc.dll: Can't find dependent libraries.
Please advise.
Last edited by chintu on Tue Mar 07, 2006 8:38 am; edited 1 time in total |
|
Back to top |
|
 |
chintu |
Posted: Sun Mar 05, 2006 9:49 pm Post subject: |
|
|
 Acolyte
Joined: 27 Dec 2004 Posts: 64
|
I did search the forum before posting my question. All the earlier posts were either about switching between two configurations without bouncing the app server or classpath problems. I only have one configuration with a webclient.
Any suggestions? |
|
Back to top |
|
 |
vennela |
Posted: Sun Mar 05, 2006 11:00 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Does your configuration have a java agent? |
|
Back to top |
|
 |
hos |
Posted: Mon Mar 06, 2006 2:09 am Post subject: |
|
|
Chevalier
Joined: 03 Feb 2002 Posts: 470
|
You need to have the MQWF C++ libraries in your PATH. Did you install the MQWF client component on this box? You should do so and create a configurationID, too. |
|
Back to top |
|
 |
chintu |
Posted: Mon Mar 06, 2006 6:20 am Post subject: |
|
|
 Acolyte
Joined: 27 Dec 2004 Posts: 64
|
Vennela,
Yes, the configuration has an java agent. It is defaulted when I select the web client.
hos,
I selected "all components" when I installed WF. I am assuming that this would include the client components. Are there any files that I can check for to see if the client components have been installed?
My PATH
C:\PROGRA~1\IBMWEB~1\BIN\DB2;
C:\PROGRA~1\IBMWEB~1\BIN\MQServer;
C:\PROGRA~1\IBMWEB~1\BIN;
I have fmccfmlc.dll in the MQServer directory.
One of my co-worker has the same setup(but the webclient on his box is working). His box does not have the fmcojloc.dll. Is that normal?
Thanks. |
|
Back to top |
|
 |
hos |
Posted: Tue Mar 07, 2006 2:35 am Post subject: |
|
|
Chevalier
Joined: 03 Feb 2002 Posts: 470
|
Well, not easy to answer...
Do you and your co-worker use the same locator policy (LOC locator)?
You could use a module dependency checking tool like Dependency Walker to check which dependant library is missing in the chain.
You mentioned that you uninstalled MQWF. Did you re-install afterward?
I would say: try to figure out the differences between your co-workers setup and yours. |
|
Back to top |
|
 |
chintu |
Posted: Tue Mar 07, 2006 8:37 am Post subject: |
|
|
 Acolyte
Joined: 27 Dec 2004 Posts: 64
|
Thanks hos, I checked the dependency of fmcojloc.dll using dependency walker as you said, and fixed some of the broken links by copying some of the dlls from MQ/bin to MQWF/bin. I think all my WF installs and re-installs were corrupt.
Now the webclient runs fine. |
|
Back to top |
|
 |
|