[snip]
UnsatisfiedLinkeError means that the Java runtime couldn't load a native
library, either a .so or .dll depending on your platform. Make sure that
ars3wapi.so|dll is in the PATH for the JVM.
Ken
Yes
Ken
Classpath has nothing to do with DLLs.
DLLs are loaded from PATH. You need to make sure the PATH variable for
the JVM points to your dll's.
Ken
I suspect you have different versions of ODR code between your compile
time and your runtime.
Ken
UnsatisfiedLinkError (to repeat myself) means the JVM couldn't find a
dll. The dll being requested isn't on the PATH.
Ken
Is there some reason you haven't put every dll in the ODR on the path?
Ken
I thought you could just use http:// to get to the ODR, like any other
http server.
Ken
Thanks again for your quick response.
It seems I am back to step 1 again. I get the following error when I try to connect to ibm ondemand server from a java application: I get (java.lang.NoSuchMethodError)dose it means that I have problem with right version?
Any hints please. Thanks
2008-04-14 14:29:56:048 CEST 00000025 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: ElonRetrieveDocuments. Exception thrown : java.lang.NoSuchMethodError: com/ibm/edms/od/ArsWWWInterface.initializeNative(Ljava/lang/String;ILjava/lang/ String;ZLcom/ibm/edms/od/ODServer;Ljava/lang/String;Ljava/lang/String;Lcom/ibm/e dms/od/ArsWWWResult;)V
at com.ibm.edms.od.ODServer.initialize(ODServer.java:131)
at com.logica.ElonRetrieveDocuments.RetrieveDocuments(ElonRetrieveDocuments.java:1 09)
at com.logica.ElonRetrieveDocuments.doGet(ElonRetrieveDocuments.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.jav a:501)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.j ava:464)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpI nboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpI nboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java :263)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminato rs(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnec tionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCo mpletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:21 7)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.ja va: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:1469)
Hope you might have found a solution for your DLL problem. I am also facing the same problem when i try to connect to the OnDemand using ODWEK API 8.4.1.0
Usually this error occurs, when we have not specified the ODWEK installation path in the environment varialbes or in the class path of the project. Once its done this error can be rectified.
But, the following exception is due the DLL is not properly loaded or trying to load when there is DLL loaded in another class loader.
[24-06-09 14:46:20:961 CEST] 000000f7 SystemErr R java.lang.NoClassDefFoundError: com/ibm/edms/od/ArsWWWInterface
at com.ibm.edms.od.ODServer. (ODServer.java:46)
at com.ibm.edms.od.ODServer.(ODServer.java:62)
I am unable to solve the above problem. Could you please share your way to solve this problem? I am getting this exception when i use ODConfig() initialization statement.
Its a web application and its is deployed as a web service in WAS v6.0
Early help is highly appreciated.
Thank you!
-Prabahar