Hi Shawn 

did not help I still get a stacktrace:

type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

org.apache.jasper.JasperException: JDBC-Troubles:  was not able to create connection 
from DbConnection = id=null, name=jdbc/dbformstest, jndi=true, conClass=null, 
username=null, default=true
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:346)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:305)


root cause 

java.lang.IllegalArgumentException: JDBC-Troubles:  was not able to create connection 
from DbConnection = id=null, name=jdbc/dbformstest, jndi=true, conClass=null, 
username=null, default=true
        org.dbforms.config.DbFormsConfig.getConnection(DbFormsConfig.java:227)
        org.dbforms.taglib.DbFormTag.doStartTag(DbFormTag.java:988)
        org.apache.jsp.menu_jsp._jspService(menu_jsp.java:95)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:305)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.24 
logs.

Any idea?


























-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Shawn
Sent: Tuesday, June 01, 2004 9:07 AM
To: Baer, Dominik {VIT-~Kaiseraugst}
Cc: dbf interest
Subject: Re: [dbforms] JNDI Datapool with MS SQL Server JDBC driver


  Hello,

> not working configuration:

> <!-- ========== Connection =================================== -->
>           <dbconnection
>               isPow2                                  = "true"
>               name                                    = "jdbc/dbformstest"
>               isJndi                                  = "true"
>                       
>           />

try
isPow2="false"
or just erasing the line


This is what I have

  <dbconnection

                name = "java:comp/env/jdbc/throw_Bush_OUT_datasource"
                isJndi = "true"
             />

I think the difference in the name is just how we set it up.  I recalling 
having a name like yours before...
AFAIK isPow2 supports jakarata-pools, no pool, and one other (protomatter) 
or you can code a class to use another pool.
-- 
Shawn

Happily using M2, Opera's revolutionary e-mail client: 
http://www.opera.com/m2/


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms
This e-mail is for the intended recipient only.
If you have received it by mistake please let us know by reply and then
delete it from your system; access, disclosure, copying, distribution or
reliance on any of it by anyone else is prohibited.
If you as intended recipient have received this e-mail incorrectly, please
notify the sender (via e-mail) immediately.



Reply via email to