Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WAS 6.1 - java.lang.UnsatisfiedLinkError

60 views
Skip to first unread message

cwhi...@csc.com

unread,
Apr 20, 2009, 4:21:34 PM4/20/09
to
I'm working on trying to deploy CATIA Companion Server V5 R19 in WAS 6.1 w/ 32-bit JDK. It uses a set of native libraries that handle communication with the license server. Everything works fine until I try to request a license, which results in the error below. The libraries reside in the following path (which appears in the Java library path):

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/suttonCell01/WLSCompanionServer.ear/WLSCompanionServer.war/os/aix_a/code/bin

Yes, there is a similar path that appears in the Java library path, but it no longer exists and will be removing it. Notice that the paths are truncated in the stack trace. Has anyone seen this happen before? I can't tell if it's just the log messages being truncated or if the paths are actually being truncated at runtime.


========== Start Display Current Environment ==========
WebSphere Platform 6.1 [ND 6.1.0.19 cf190836.04] running with process name suttonCell01\suttonNode01\TST-ENG and process id 241796
Host Operating System is AIX, version 5.3
Java version = J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20060504 (JIT enabled)
J9VM - 20060501_06428_bHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA, Java Compiler = j9jit23, Java VM name = IBM J9 VM
was.install.root = /usr/IBM/WebSphere/AppServer
user.install.root = /usr/IBM/WebSphere/AppServer/profiles/AppSrv01
Java Home = /usr/IBM/WebSphere/AppServer/java/jre
ws.ext.dirs = /usr/IBM/WebSphere/AppServer/java/lib:/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/classes:/usr/IBM/WebSphere/AppServer/classes:/usr/IBM/WebSphere/AppServer/lib:/usr/IBM/WebSphere/AppServer/installedChannels:/usr/IBM/WebSp
here/AppServer/lib/ext:/usr/IBM/WebSphere/AppServer/web/help:/usr/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime
Classpath = /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/properties:/usr/IBM/WebSphere/AppServer/properties:/usr/IBM/WebSphere/AppServer/lib/startup.jar:/usr/IBM/WebSphere/AppServer/lib/bootstrap.jar:/usr/IBM/WebSphere/AppServer/lib/j2e
e.jar:/usr/IBM/WebSphere/AppServer/lib/lmproxy.jar:/usr/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/usr/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/usr/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/usr/IBM/WebSphere/AppSe
rver/java/lib/tools.jar
Java Library path = /usr/IBM/WebSphere/AppServer/java/jre/bin:/usr/IBM/WebSphere/AppServer/java/jre/bin/j9vm:/usr/IBM/WebSphere/AppServer/java/jre/bin:/usr/IBM/WebSphere/AppServer/bin:/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/suttonNode01Cell/CATIA_Companion.ear/WLSCompanionServer.war/os/aix_a/code/bin::/usr/lib:/usr/IBM/WebSphere/AppServer/lib/WMQ/java/lib:*/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/suttonCell01/WLSCompanionServer.ear/WLSCompanionServer.war/os/aix_a/code/bin*
========== End Display Current Environment ==========

[4/20/09 13:57:28:321 EDT] 00000028 WebApp A SRVE0181I: [WLSCompanionServer#WLSCompanionServer.war] [/companion] [Servlet.LOG]: /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/suttonCell01/WLSCompanionServer.ear/WLSCompanionServer.war/os/aix_a/code/bin/libCATSysAllocator.a ( 0509-022 Cannot load module */usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/suttonCell01/WLSCompanionServer.ear/WLSCompanionServer.war/os/ai*.
0509-150 Dependent module libCATSysMultiThreading.a could not be loaded.
0509-022 Cannot load module libCATSysMultiThreading.a.
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module */usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/suttonCell01/WLSCompanionServer.ear/WLSCompanionServer.w*): java.lang.UnsatisfiedLinkError: /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/suttonCell01/WLSCompanionServer.ear/WLSCompanionServer.war/os/aix_a/code/bin/libCATSysAllocator.a ( 0509-022 Cannot load module */usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/suttonCell01/WLSCompanionServer.ear/WLSCompanionServer.war/os/ai*.
0509-150 Dependent module libCATSysMultiThreading.a could not be loaded.
0509-022 Cannot load module libCATSysMultiThreading.a.
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module */usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/suttonCell01/WLSCompanionServer.ear/WLSCompanionServer.w*)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:953)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:961)
at java.lang.Runtime.load0(Runtime.java:785)
at java.lang.Runtime.load(Runtime.java:773)
at com.dassault_systemes.catwls.services.licensing.CATWlsLoadJNI.LoadJNI(CATWlsLoadJNI.java:52)
at com.dassault_systemes.catwls.services.licensing.CATWlsLoadJNI.LoadJNIlib(CATWlsLoadJNI.java:77)
at com.dassault_systemes.catwls.services.licensing.CATWlsLicenseManager.initLicenseTool(CATWlsLicenseManager.java:249)
at com.dassault_systemes.catwls.services.licensing.CATWlsLicenseManager.(CATWlsLicenseManager.java:51)
at com.dassault_systemes.catwls.services.licensing.CATWlsLicenseManager.init(CATWlsLicenseManager.java:80)
at com.dassault_systemes.catwls.engine.CATWlsFrontController.init(CATWlsFrontController.java:61)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:218)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:319)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:412)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

Ken Hygh

unread,
Apr 20, 2009, 4:53:25 PM4/20/09
to

[snip]

This may be an issue with the length of the path.

I strongly suggest that you not put native libraries under the profiles
directory. They really belong somewhere else, and probably outside the
WebSphere install tree.

Also, when you say 'Java library path', you're not talking about
classpath, right? How did you configure these native libraries?

Ken

0 new messages