a connection from the pool
Connection connection = ds.getConnection();
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday, September 08, 2011 4:11 PM
To: Tomcat Users List
Subject: Re: JNDI configuration with 6.0.29
-BEGIN PGP SIGNED MESSAGE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anjib,
On 9/8/2011 5:51 PM, Anjib Mulepati wrote:
when i click on java:/comp it gave error
Error: Cannot create resource instance
javax.naming.NamingException: Cannot create resource
Then don't click on that. Click on something else
Tomcat log says
SEVERE: Servlet.service() for servlet jsp threw exception
javax.naming.NameNotFoundException: Name dynic is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at
no_such_name is
not bound...?
Felix
Anjib Man Mulepati
409-225-6216
Subject: Re: JNDI configuration with 6.0.29 Reformatted
From: felix.schumac...@internetallee.de
Date: Wed, 7 Sep 2011 17:17:21 +0200
To: users@tomcat.apache.org
Anjib Mulepati anji
yes after changing to
ds = (DataSource) envCtx.lookup(jdbc/dummy_value);
i am getting
javax.naming.NameNotFoundException: Name dummy_value is not bound in this
Context
org.apache.naming.NamingContext.lookup(NamingContext.java:770)
Am Donnerstag, den 08.09.2011, 14:49 -0400 schrieb Anjib Mulepati:
yes after changing to
ds = (DataSource) envCtx.lookup(jdbc/dummy_value);
i am getting
javax.naming.NameNotFoundException: Name dummy_value is not bound in this
Context
And do you have an instance of the jdbc driver in more than one place?
-Original Message-
From: Felix Schumacher [mailto:felix.schumac...@internetallee.de]
Sent: Thursday, September 08, 2011 2:01 PM
To: Tomcat Users List
Subject: Re: JNDI configuration with 6.0.29 Reformatted
Am
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
1. I have only one instance of jar file classes12.jar under lib folder
of tomcat.
2. There is no other error I can see in the log. But error message do
change to following
Sep 8, 2011 3:50:45 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet action
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
njib,
On 9/8/2011 3:54 PM, Anjib Mulepati wrote:
1. I have only one instance of jar file classes12.jar under lib
folder of tomcat.
Wow... classes12? I remember that from back in the year 2000. Are you
sure it isn't the old ZIP file they used to
1. Changed to ojdbc6 same problem.
2. I didn't change any config
3.
public class DynICFactory implements JNDIInterface {
private DataSource dataSource;
@Override
public DataSource getDataSource() {
return dataSource;
}
@Override
public AgencyInterface
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anjib,
On 9/8/2011 4:51 PM, Anjib Mulepati wrote:
DataSource ds = null; try { 40. Context initCtx = new
InitialContext(); 41.Context envCtx = (Context)
initCtx.lookup(java:comp/env); 42. ds = (DataSource)
when i click on java:/comp
http://localhost:8080/ClientDAOTest/newjsp.jsp?path=java:/comp it gave
error
Error: Cannot create resource instance
javax.naming.NamingException: Cannot create resource instance
at
On 06/09/2011 21:11, Anjib Mulepati wrote:
Hi All,
I am trying to setup JNDI mapping for oracle JDBC Connection Pooling with
Tomcat 6.0.29. This is giving me following error
javax.naming.NameNotFoundException: Name dynic is not bound in this Context
+0100
From: p...@pidster.com
To: users@tomcat.apache.org
Subject: Re: JNDI configuration with 6.0.29
On 06/09/2011 21:11, Anjib Mulepati wrote:
Hi All,
I am trying to setup JNDI mapping for oracle JDBC Connection Pooling with
Tomcat 6.0.29. This is giving me following error
Anjib Mulepati anji...@hotmail.com schrieb:
Hi All,
I am trying to setup JNDI mapping for oracle JDBC Connection Pooling
with Tomcat 6.0.29. This is giving me following error
javax.naming.NameNotFoundException: Name dynic is not bound in this
From your code and configuration I would have
Yes I am positive
Anjib Man Mulepati
409-225-6216
Subject: Re: JNDI configuration with 6.0.29 Reformatted
From: felix.schumac...@internetallee.de
Date: Wed, 7 Sep 2011 17:17:21 +0200
To: users@tomcat.apache.org
Anjib Mulepati anji...@hotmail.com schrieb:
Hi All,
I am
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anjib,
On 9/7/2011 11:22 AM, Anjib Mulepati wrote:
Yes I am positive
If you have changed your META-INF/context.xml without doing an
undeploy/redeploy, Tomcat may be using an older version of the
deployment descriptor than you think it is.
Take a
I did checked the XML file and it looks correct to me. Following is the
content:
?xml version=1.0 encoding=UTF-8?
Context antiJARLocking=true docBase=C:\Users\amulepati\My
Projects\ClientDAOTest\build\web path=/ClientDAOTest
Resource auth=Container
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anjib,
On 9/7/2011 12:21 PM, Anjib Mulepati wrote:
I did checked the XML file and it looks correct to me. Following is
the content:
?xml version=1.0 encoding=UTF-8? Context
antiJARLocking=true docBase=C:\Users\amulepati\My
I did checked the XML file and it looks correct to me. Following is
the content:
?xml version=1.0 encoding=UTF-8? Context
antiJARLocking=true docBase=C:\Users\amulepati\My
Projects\ClientDAOTest\build\web path=/ClientDAOTest
It probably has no bearing on this particular problem, but the path
i change to
Resource name=jdbc/dynic
auth=Container
type=javax.sql.DataSource
driverClassName=oracle.jdbc.driver.OracleDriver
url=jdbc:oracle:thin:@//localhost:4001/SAIDIT
user=sfed_schema
password=sfed_schema
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anjib,
On 9/7/2011 12:57 PM, Anjib Mulepati wrote:
I did checked the XML file and it looks correct to me.
Following is the content:
?xml version=1.0 encoding=UTF-8? Context
antiJARLocking=true docBase=C:\Users\amulepati\My
23 matches
Mail list logo