tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CHRISTOS STAVRINOU <stavr...@gmail.com>
Subject Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER
Date Wed, 08 Aug 2012 13:06:17 GMT
Problem with tomcat 7 and java ld_library_path under centos 6 using
IANYWHERE JDBC DRIVER

At what path I must copy the file dbjodbc12.so? What is the correct
configuration?

How I can configure the java.library.path under under centos 6 and
tomcat 7 in order to fix the problem?

Please help me. If you have any answers please email me to
stavrinc@gmail.com

Thanks in advance

The connection string is as follows:

"jdbc:ianywhere:driver=libdbodbc12.so;ENG=host;DBN=database"
But when running the program, I get the following exception (with the
relevant stack trace) -
Exception in thread "main" java.lang.UnsatisfiedLinkError: no
dbjodbc12 in java.library.path
               at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
               at java.lang.Runtime.loadLibrary0(Runtime.java:823)
               at java.lang.System.loadLibrary(System.java:1030)
               at ianywhere.ml.jdbcodbc.IDriver.try_load(IDriver.java:247)
               at ianywhere.ml.jdbcodbc.IDriver.<clinit>(IDriver.java:216)
               at java.lang.Class.forName0(Native Method)
               at java.lang.Class.forName(Class.java:169)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message