I have my jt400.jar in common/lib and the following code work for me.

import java.sql.*;
Connection con;
Class.forName("com.ibm.as400.access.AS400JDBCDriver");
con = getConnection("jdbc:as400://"+getSystemName(),<Userid>,
<Password>);    
Thanks.

Sudha Ramanujan
SunGard Futures Systems
[EMAIL PROTECTED]
(312) 577 6179
(312) 577 6101 - Fax


-----Original Message-----
From: x x [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 29, 2003 10:45 AM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Tomcat & AS400 problem


I am using tomcat 4.1.18 in mandrake linux 8.2. 
My database is a DB2 on an AS400 machine,but i cant
login in the as400. I put the jt400.jar in
TOMCAT_HOME=/commom/lib, my aplication to make a test
is in /webapps inside the TOMCAT_HOME,i use this
driverClassName com.ibm.as400.access.AS400JDBCDriver.
But when in run my test it said 'Cant load the class
drivers' 

Thanks 

Fabian  

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to