Hi,
try to define the jndi connection like this:
<dbconnection name = "java:comp/env/jdbc/SCMAN" isJndi = "true" isPow2 = "false" default = "true" />
Dziugas
[EMAIL PROTECTED] wrote:
Hi Henner,
I have read this jndi-howto-article and I have tested
the jndi/connection as described in the example.
--> I works fine.
But the dbforms.dbconnection fails with error:
Connection errorJDBC-Troubles: was not able to create connection from DbConnection
= id=null, name=jdbc/TestDB, jndi=true, conClass=null, username=null, default=true
Regards
peter
-- Original-Nachricht -- From: "Henner Kollmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Subject: AW: [dbforms] Tomcat5 JNDI DBConnection error Date: Thu, 19 Aug 2004 21:13:40 +0200
Have you read this?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how
to.html
Here the retrieved context name defined different:
DataSource ds = (DataSource)ctx.lookup(
"java:comp/env/jdbc/TestDB");
Can you test to change your connection name? And report if this works?
Thanks, Henner
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms