Error While connecting to Centera Server thru Java in Linux
Hi,
I am gettting below error while i am trying to connect centera server from Linux using Java. The same code was working properly in Windows environment but when i try in Linux i am getting error.
For example:
My folder Structure below
Report/lib/libFPCore64.so.3.2.687
/lib/libFPLibrary64.so.3.2.687 etc........
and i set LD_LIBRARY_PATH to Report/lib
Exception in thread "main" java.lang.UnsatisfiedLinkError: setLastError at com.filepool.natives.FPLibraryNative.setLastError(Native Method) at com.filepool.fplibrary.FPLibraryException.retrieveErrorString(Unknown Source) at com.filepool.fplibrary.FPLibraryException. (Unknown Source) at com.filepool.fplibrary.FPPool.RegisterApplication(Unknown Source) at com.db.centera.StoreContent.connectToCentera(StoreContent.java:93) at com.db.centera.StoreContent.main(StoreContent.java:167)
Exception in thread "Thread-8" java.lang.UnsatisfiedLinkError: com.filepool.natives.FPLibraryNative.setLastError(I)V at com.filepool.natives.FPLibraryNative.setLastError(Native Method) at com.filepool.fplibrary.FPLibraryException.retrieveErrorString(Unknown Source) at com.filepool.fplibrary.FPLibraryException. (Unknown Source) at com.filepool.fplibrary.FPMonitor. (Unknown Source)
I verified LD_LIBRARY_PATH and CLASSPATH of my ebvironment. I use 17 libraries from that direcory, all librries are fond and work but FPLibrary.jar.
It only does not work on linux! On Windows there is no problem.
i installed Centera SDK 3.2 for Linux gcc 4. Now i get this stack trace:
Exception in thread "Thread-10" java.lang.UnsatisfiedLinkError: com.filepool.natives.FPLibraryNative.setLastError(I)V at com.filepool.natives.FPLibraryNative.setLastError(Native Method) at com.filepool.fplibrary.FPLibraryException.retrieveErrorString(Unknown Source) at com.filepool.fplibrary.FPLibraryException. (Unknown Source) at com.filepool.fplibrary.FPMonitor. (Unknown Source) at CCUIR.Monitor.connect(Monitor.java:32)
mckeown_paul
409 Posts
3059
0
Posted August 25th, 2009 03:00