Greets all,

Im using oracle 9i, and Tomcat 4.0.4, and i want to get the connection
pooling working.  I have followed the example set out here (the part under
oracle 8i heading):

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html#Oracle%208i%20with%20OCI%20client

that example is for 8i, but anyway,  the failure occurs when the code tries
to do the lookup on  the jdni, so i guess the datasource is not being
registered properly.

The top few lines of my exception are :

javax.naming.NamingException: Cannot create resource instance
      at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:167)
      at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
      at org.apache.naming.NamingContext.lookup(NamingContext.java:835)
      at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
      at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
      at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
      at org.apache.jsp.test$jsp._jspService(test$jsp.java:65)

Any suggestions welcome.

Thanks in advance,

Mehdi





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

Reply via email to