Please provide all of the parameters that you are declaring under the ResourceParams section. (I don't want to know your username and password--I just want to know the entire list...)
At 14:34 2003-02-04, you wrote:
And is caused on the following server code: " try{ Context initCtx = new InitialContext(); Context envCtx = (Context)initCtx.lookup("java:comp/env/"); this.ds = (DataSource)envCtx.lookup("/jdbc/ngincaredb"); } catch(NamingException e){ logger.fatal("datasource error", e); }" web.xml: -------- <resource-ref> <res-ref-name>jdbc/ngincaredb</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> server.xml: ----------- <Context path="/ngincare" docBase="webapps/ngincare" crossContext="true" debug="9" reloadable="true" trusted="false" > <Resource name="jdbc/ngincaredb" auth="Container" type="javax.sql.DataSource"/> <ResourceParams name="jdbc/ngincaredb"> <parameter> <name>driverClassName</name> <value>oracle.jdbc.driver.OracleDriver</value> </parameter> <parameter> <name>factory</name> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value> </parameter> ... </ResourceParams> </Context>
Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
