- 0
Problem with JDBC driver, tomcat 7 and java.library.Path under centos 6
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
JetBrains releases IntelliJ IDEA 2025.1.1, bringing multiple bug fixes and improvements
By David Uzondu,
- jetbrains
- intellij idea
- (and 6 more)
- 0 replies
- 0 views
-
- 14 replies
- 0 views
-
High Performance with Java ($33.99 Value) free eBook download
By News Staff,
- ebook offer
- sponsored
- (and 2 more)
- 0 replies
- 4 views
-
- 0 replies
- 8 views
-
Java and Algorithmic Thinking for the Complete Beginner ($9.99 Value) free download
By News Staff,
- ebook offer
- sponsored
- (and 1 more)
- 0 replies
- 4 views
-
Question
stavrinc
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 also 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)
Link to comment
https://www.neowin.net/forum/topic/1096811-problem-with-jdbc-driver-tomcat-7-and-javalibrarypath-under-centos-6/Share on other sites
1 answer to this question
Recommended Posts