Hi Guys,

Thanks for the tips.

Ok - I'll make sure I have jt400.jar in only one dir.
And not mess with the ClassPath, got it.

Yep, sorry - I meant JDBC.
We never used jk2, just mod_jk - I mis-wrote!

Wwe found that we coded the server.xml wrong. 
Apparently it changed - we had been using Tomcat 5.5.12 and it appears the
syntax for the XML changed in 5.5.26?

-P


David Smith-2 wrote:
> 
> 1. Don't ever modify the CLASSPATH.  Tomcat by default ignore's it and
> for good reason.
> 
> 2. Your webapp's WEB-INF/lib and tomcat's common/lib are essentially
> mutually exclusive when it comes to jar files.  If the .jar file exists
> in one, it can't exist in the other.  If you have jt400.jar in both,
> remove it from one.  If you are using it for a tomcat provided database
> pool, it should be removed from your webapp's WEB-INF/lib.  Otherwise
> it's up to you which one is dropped.
> 
>> WE have compiled a mod_jk tha apache accepts and we can server up *.jsp's
>> from our website but don;t have issues until we add the jt400.jar file?
>> WE have tried multiple versions of the jt400.jar file with no luck...
> 
> I doubt mod_jk has anything to do with getting your IBM AS400 ODBC
> connections to work.  BTW, I hope you meant JDBC.  ODBC is a MS
> technology.
> 
> --David
> 
> pichels wrote:
>> Hi,
>>
>> I am newbie - pardon any lack of details or etiquite on my first post!
>>
>>
>> We are trying to get our website to run correctly on a RHEL5.2 Linux
>> server
>> and getting errors with the JDBC - IBM AS400 ODBC connection.
>>
>> ########################
>>
>>
>> SEVERE: Servlet /wsidr threw load() exception
>> java.lang.NoClassDefFoundError: com/ibm/as400/access/DirectoryEntryList
>>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>>
>> ERROR LOADING CALENDAR: org.apache.tomcat.dbcp.dbcp.SQLNestedException:
>> Cannot load JDBC driver class 'com.ibm.as400.access.AS400JDBCDriver'
>> SQL error: Cannot load JDBC driver class
>> 'com.ibm.as400.access.AS400JDBCDriver'
>>
>> ########################
>>
>>
>>
>>
>> JAVA:
>> [EMAIL PROTECTED] root]# java -version
>> java version "1.5.0_15"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
>> Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)
>>
>> HTTP:
>> [EMAIL PROTECTED] root]# apachectl -v
>> Server version: Apache/2.0.46
>> Server built:   Jun 19 2008 11:46:47
>>
>> APACHE-Tomat:
>> Tomcat 5.5.26
>>
>> We have our jt400.jar in our classpath var within our webapps dir and in
>> common/lib.
>>
>> /usr/local/tomcat5/common/lib/jt400.jar
>>
>> But, when we copy the jt400.jar file to this dir - it locks tomcat and
>> the
>> apache/tomcat connection locks and we have to "killall java" to shutdown!
>>
>> WE have compiled a mod_jk tha apache accepts and we can server up *.jsp's
>> from our website but don;t have issues until we add the jt400.jar file?
>> WE have tried multiple versions of the jt400.jar file with no luck...
>>
>> Our server.xml appears to be configured correctly.
>> Haven't messed with the web.xml or any other config files.
>> Do we need to add a workers.properties file to the Apache httpd conf?
>>
>> We configured older versions of tomcat/apache along time ago that worked
>> with mod_jk + workers.properties, etc.
>> Do we need to use jk2 or something else now?
>>
>> Any ideas or need more details?
>> TIA
>>
>> -P
>>
>>
>>
>>
>>
>>
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-apache---JDBC-errors-w--jt400.jar--tp19544738p19559690.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to