jndi.properties in Tomcat 5.5.23 ??

2007-10-16 Thread Robert Upshall
I have an existing application that accesses JBoss with the jndi info defined in the jndi.properties file. I want to make a web enabled version of that application. I have copied the access code from my application into my servlet. When I run the servlet I get : "javax.naming.NameNotFoundE

Tomcat 5.5.12 and ROOT

2005-12-08 Thread Robert Upshall
What is the proper way to change "/" to map to my webapp instead of ROOT? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How do I acces the Underlying Connection of a Data Source?

2005-11-09 Thread Robert Upshall
" + c); -Original Message----- From: Robert Upshall [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 10:34 AM To: Tomcat Users List Subject: How do I acces the Underlying Connection of a Data Source? How do I access the underlying connection of a data source? I am

How do I acces the Underlying Connection of a Data Source?

2005-11-09 Thread Robert Upshall
How do I access the underlying connection of a data source? I am connecting to a DB2 database using the JTOpen drivers. I define the context in the server.xml and the jndi lookup is successful, so is the getconnection on the datasource. The problem is that I need access to the underlying con

Tomcat 5.5 Datasource with JTOpen

2005-11-07 Thread Robert Upshall
Can somebody tell me if the following JBoss Data Source code will translate to Tomcat 5.5.12: DataSource ds = (DataSource) jndiContext.lookup("java:comp/env/jdbc/myds"); WrappedConnection wc = (WrappedConnection) ds.getConnection(); AS400JDBCConnection ajc = (AS400JDBCConnectio