this is my jndi path line, torque.dsfactory.ppi.jndi.path=java:comp/env/jdbc/ppi
it does not have a "/" before comp java:/comp/env/jdbc/ksi -----Original Message----- From: Catalin Constantin [mailto:[EMAIL PROTECTED] Sent: 29 August 2003 10:47 To: 'Apache Torque Users List' Subject: RE: torque webapp dbcp pool i have added it now but still the same error: torque.database.ksi.adapter=postgresql # Jndi location torque.dsfactory.ksi.jndi.path=java:/comp/env/jdbc/ksi torque.dsfactory.ksi.factory=org.apache.torque.dsfactory.JndiDataSourceFacto ry torque.idbroker.clever.quantity=false torque.idbroker.prefetch=true what else can it be ? btw: do i have to add something that is here: http://db.apache.org/torque/configuration-howto.html in my server.xml file or web.xml file ? eg: something like this: <Resource name="jdbc/ScarabDB" auth="Container" type="org.apache.torque.pool.TorqueClassicDataSource"/> <ResourceParams name="jdbc/bookstore"> <parameter> <name>factory</name> <value>org.apache.torque.pool.TorqueClassicDataSource</value> </parameter> <parameter> <name>dataSourceName</name><value>java:comp/env/jdbc/DBbookstore</value> </parameter> <parameter> <name>defaultMaxConnections</name><value>30</value> </parameter> <parameter> <name>maxExpiryTime</name><value>3600</value> </parameter> <parameter> <name>connectionWaitTimeout</name><value>10</value> </parameter> <parameter> <name>logInterval</name><value>0</value> </parameter> </ResourceParams> in server.xml and <resource-ref> <description> Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular database that is configured in the server.xml file. </description> <res-ref-name> jdbc/bookstore </res-ref-name> <res-type> org.apache.torque.pool.TorqueClassicDataSource </res-type> <res-auth> Container </res-auth> </resource-ref> in web.xml ? 10x ! Catalin Constantin Bounce Software www.bounce-software.com > > -----Original Message----- > From: Ashley Hayes [mailto:[EMAIL PROTECTED] > Sent: Friday, August 29, 2003 12:32 PM > To: 'Apache Torque Users List' > > have you got this line: > torque.dsfactory.ksi.factory=org.apache.torque.dsfactory.JndiD > ataSourceFacto > ry > ? > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
