RE: Tomcat & AS400 problem

2003-01-29 Thread SRamanujan
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(),,
);
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]




RE: Tomcat & AS400 problem

2003-01-29 Thread perumal90
Try to put the jt400.jar in /lib dir. it works for me.

Best of luck
Perumal.
x x <[EMAIL PROTECTED]> wrote:

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

__
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

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