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
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]
" + 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 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
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