www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Jiang <eji...@yahoo.com>
Subject mod_jserv/5624: Apache JServ / Servlet - Cannot Load Oracle OCI JDBC Server
Date Sat, 22 Jan 2000 15:07:26 GMT

>Number:         5624
>Category:       mod_jserv
>Synopsis:       Apache JServ / Servlet - Cannot Load Oracle OCI JDBC Server
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Sat Jan 22 07:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     ejiang@yahoo.com
>Release:        1.3.9
>Organization:
apache
>Environment:
Software: JSDK2.0, ApacheJServ 1.1, JDK 1.2.2, Apache 1.3.9, Redhat Linux 6.1, Oracle 8i
Hareware: Pentium II 233, 128MB
>Description:
Hi, Apache Support Team:

I installed Apache 1.3.9, JServ 1.1, JSDK2.0, JDK1.2.2 on a linux box,
everything runs OK, I can load servlet "Hello.class". But, when I tried
to program a JDBC servlet. It failed. Here is error logs:

error_log
-----------------------------------------------------------------------------------
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path at
org.apache.jserv.JServConnection.processRequest(JServConnection.java,
Compiled Code)
        at org.apache.jserv.JServConnection.run(JServConnection.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java, Compiled Code)
                                                            

mod_jserv.log
----------------------------------------------------------------------------------
[21/01/2000 22:10:48:939] (ERROR) ajp12: Servlet Error:
java.lang.UnsatisfiedLinkError:
/usr/local/jdk1.2.2/jre/lib/i386/libocijdbc8.so: libskgxp8.so: cannot
open
shared object file: No such file or directory:
/usr/local/jdk1.2.2/jre/lib/i386/libocijdbc8.so: libskgxp8.so: cannot
open
shared object file: No such file or directory
[21/01/2000 22:10:48:939] (ERROR) an error returned handling request via
protocol "ajpv12"  

jserv.log
---------------------------------------------------------------------------------
[21/01/2000 21:46:45:115 CST] java.lang.UnsatisfiedLinkError: no
ocijdbc8 in
java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java, Compiled
Code)
    at java.lang.Runtime.loadLibrary0(Runtime.java, Compiled Code)  


I've set CLASSPATH to JDBC classes, and LD_LIBRARY_PATH to oracle's
libraries.

Could you help me to solve this problems.

Best Regards,
Edward Jiang
>How-To-Repeat:
I'm afriad you can not do that unless setup a same environment
>Fix:
I'm sorry I can not.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message