----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi! all,
i found out why I get the UnsatisfiedLinkError, it's because I set the
wrong path.
By the way, I get another error.
When the servlet connect to db, I catch an exception:
java.sql.SQLException: ORA-02248: invalid option for ALTER SESSION at
java.lang
What's wrong with my servlet? There's no problem when I use thin driver
to connect db from a browser, and there's no problem when I'm run the
servlet in command line too.
Thanks and any thoughts would be appreciated.
Simon.
> hi all,
>
> I am using solaris 2.6, Apache 1.3.3, Apache Jserv 1.0, JDK 1.1.8 and
> JSDK 2.0
> I use Connection conn = DriverManager.getConnection
> ("jdbc:oracle:oci8:@dbname", "user", "password") to connect the db, but
> I get an error:
> java.lang.UnsatisfiedLinkError: no oci805jdbc in shared library path
>
> And I've already set the LD_LIBRARY_PATH to the directory that conatin
> liboci805jdbc.so in jserv.properties and http.conf.
> Do I have to set the LD_LIBRARY_PATH somewhere else?
>
> Thanks and any thoughts would be appreciated.
>
> Simon.
>
>
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]