-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Hi

I am running Jserv on RedHat 6.0 and need to configure the
LD_LIBRARY_PATH for my JDBC drivers shared library. I have tried adding
this line to JServ config file:

# An environment name with value passed to
theJVM                              
#
Syntax:wrapper.env=[name]=[value]                                            
# Default: NONE on Unix
Systems                                                 
#          SystemDrive and SystemRoot with appropriate values on Win32
systems  
                                                                                
wrapper.env=LD_LIBRARY_PATH=/trifast/Empress/v8.20/jdbc/lib

I got this error:

[28/07/1999 14:48:57:344 GMT]
java.lang.UnsatisfiedLinkError:connect        
        at org.apache.jserv.JServConnection.processRequest(Compiled
Code)    
        at org.apache.jserv.JServConnection.run(Compiled
Code)               
        at java.lang.Thread.run(Compiled
Code)                               

So I thought JServ had lost its libraries do I changed the
line:                                                                                
wrapper.env=LD_LIBRARY_PATH=/usr/local/jserv/lib;/trifast/Empress/v8.20/jdbc/lib

I got this error:

[28/07/1999 14:43:59:081 GMT] java.lang.UnsatisfiedLinkError: connect  
        at                                                             
        at empress.jdbc.empressDriver.connect(Compiled Code)           
        at empress.jdbc.empressDriver.connect(Compiled Code)           
        at java.sql.DriverManager.getConnection(Compiled Code)         
        at java.sql.DriverManager.getConnection(Compiled Code)      
   
Is it possible that connect is "clashing" so that either the JDBC
drivers or JServ pick up the wrong library. I don't know much about C
libs so any help would be appreciated.

Regards
Matt
-- 
Matt Lyons
Trifast Systems Ltd
[EMAIL PROTECTED]


--
--------------------------------------------------------------
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]

Reply via email to