tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bulent Ozhorasan <bozhora...@yahoo.com>
Subject TFS SDK Native Library Error in a web service deployed on Axis2-Tomcat7-Ubuntu platform
Date Wed, 16 Jan 2013 16:44:15 GMT
I'm trying to execute TFS SDK Api commands in an axis2 web service deployed on Tomcat7.

I successfully ran my small application on windows platform.
I want to run my web service on a Tomcat deployed on Linux.
I get the UnsatisfiedLinkError (Exception):
....
Caused by: java.lang.UnsatisfiedLinkError: com.microsoft.tfs.jni.internal.platformmisc.NativePlatformMisc.nativeGetEnvironmentVariable(Ljava/lang/String;)Ljava/lang/String;
....

I defined com.microsoft.tfs.jni.native.base-directory system property.
I modified setenv.sh to include -D"com.microsoft...=/home/user/tfsbin" line.
I can see that above system variable is defined on Tomcat Axis2 happiness page (It gives
information about VM parameters)

My linux is 32 bit intel machine so I chose linux\x86 as native library files (5 .so files)
I copied them to /home/user/tfsbin and set com.microsoft.tfs.jni.native.base-directory to
this folder.

I'm using Ubuntu, Oracle jdk7, Tomcat7, Apache Axis2 1.6.2. TFS SDK 11.0.0.1211

I still get that UnsatisfiedLinkError :((

Any help is appreciated!
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message