| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| I have a problem with JNDI name not found on looking up a data-source in OC4J 10.1.2. It is a very simple application that uses simple DAO and a Struts data source for data access and has been working well. But the application has developed heavy traffic and the client has asked that we add connection pooling through Oracle. Oracle documentation seems to be clear, but I seem to be missing something. Note that we have to use 10.1.2 and that 10.1.3 approaches do not work for 10.1.2. Here are what I believe to be the relevant snippets. What is the problem? The java lookup: JNDI complains "name not found". The META-INF/data-sources.xml file: Note that in the META-INF/orion-application.xml the data source is declared twice ...... WEB-INF/web.xml ,,,, .... Thanks |
![]() |
| Thread Tools | |
| Display Modes | |