Tim,

Check the JT400 site for info on this. Specifically the URL string for connection. It will look something like:

jdbc:as400://SystemIP;libraries= LIB1 LIB2 LIB3;naming=system;

Although with JNDI datasources the syntax may vary

System naming allows you to specify Table/LIB notation vs Table.LIB notation.

There are a bunch of other parameters that can be set using the URL. Check out the JT400 site for more info

Pete


tim wrote:
Thank Aaron, that worked...

Now, I am getting this error during "get"

EGL0504E GET: [SQL0204] CMAST in VBUSER type *FILE not
found.[sqlstate:42704][sqlcode:-204]

Cmast is the table, vbuser is the user profile I used to sign onto iseries.

When I tried to qualify cmast (library/cmast), that didn't work...

How can I set up a library list or qualify libraries?

Thanks.

-----Original Message-----
From: egl-i-bounces@xxxxxxxxxxxx [mailto:egl-i-bounces@xxxxxxxxxxxx] On
Behalf Of Aaron Bartell
Sent: Saturday, December 20, 2008 7:25 AM
To: EGL on and around the IBM i
Subject: Re: [EGL-i] configuring tomcat server in RBD 7.5

Try putting the JT400.jar in c:/Program Files/Apache/<TomcatInstallFolder>/lib/.
HTH,
Aaron Bartell
http://mowyourlawn.com


tim wrote:
Hello,


I am trying to create a web project using tomcat server 6.0. When I try
to
run the program I get the following message:


EGL0505E Cannot connect to jndi/nhl: Cannot load JDBC driver class
'com.ibm.as400.access.AS400JDBCDriver'



When I create the same web project using websphere server, it works fine.


Does anyone have any examples or step-by-step procs that would be helpful?


Thanks.



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].