This is caused by not having the native libraries on your path. When the JVM can't find native libraries you get java.lang.UnsatisfiedLinkError.

Make sure that the following DLL's are in your $PATH if you are using windows:

<cid:part1.05080203.07080703@bmc.com>arapi71.dll
arjni71.dll
arrpc71.dll
arutl71.dll
arutljni71.dll
icudt32.dll
isuinbmc32.dll
icubmc3232.dll

Of course, if you are on Unix, then make sure that the LD_LIBRARY_PATH includes the location of the equivalent libraries.

Calman

Joe DeSouza wrote:
**
I think this may be because that you might be having two jar files having the same classes being initiated in the same java instance. You will need to find out which jar file contains these classes that throw the exception below and remove them and place them at a common location so it is initialized just once. Joe

------------------------------------------------------------------------
*From:* Ravi <rav...@cox.net>
*To:* arslist@ARSLIST.ORG
*Sent:* Thursday, January 22, 2009 2:24:36 PM
*Subject:* Remedy Java API: UnsatisfiedLinkError: com.bmc.arsys.api.Proxy.ARInitialization()J

Hi: I am trying to create and run java applications from a server where Remedy is not installed. Scripts that run on perfectly fine on the remedy server donot seem to run on a server where remedy is not installed. I have copied all the jar files to $JAVA_HOME/lib directory. I can compile the script fine. But I get the following error when I try to run the script. I see a number of people reporting this error and none of solution seems to be helping me..

Exception in thread "main" java.lang.UnsatisfiedLinkError: com.bmc.arsys.api.Proxy.ARInitialization()J
      at com.bmc.arsys.api.Proxy.ARInitialization(Native Method)
      at com.bmc.arsys.api.Proxy.<init>(Unknown Source)
      at com.bmc.arsys.api.ProxyJRpcBase.<init>(Unknown Source)
      at com.bmc.arsys.api.ProxyJRpc.<init>(Unknown Source)
      at com.bmc.arsys.api.ProxyManager.createProxy(Unknown Source)
      at com.bmc.arsys.api.ProxyPool.get(Unknown Source)
      at com.bmc.arsys.api.PoolingProxyManager.getProxy(Unknown Source)
      at com.bmc.arsys.api.ARServerUser.verifyUser(Unknown Source)
      at checkRequest.main(checkRequest.java:26)


Line 26 in the code is server.verifyUser();

Thanks

-- Thank you,
RaVi

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Reply via email to