Hi,
    I am having problem running 2 web application that both use JNDI for the DBForms connection object.
It gives me error message below.  My web apps name are members and inventory.
The weird part is when i call members web application i got the error below.
Which look like JNDI name in the error is the name i use for inventory.
Do you have any idea?
 
 <dbconnection
     name    = "java:comp/env/jdbc/MEMBERSDB"
     isJndi  = "true"
     isPow2  = "false"
     default = "true"
   />
 
 <dbconnection
     name    = "java:comp/env/jdbc/INVENTORYSDB"
     isJndi  = "true"
     isPow2  = "false"
     default = "true"
   />
 
org.apache.jasper.JasperException: JDBC-Troubles:  was not able to create connection from DbConnection = id=null, name=java:comp/env/jdbc/INVENTORYDB, jndi=true, conClass=null, username=null, default=true
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
	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:802)
	org.dbforms.util.external.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:379)

root cause

java.lang.IllegalArgumentException: JDBC-Troubles:  was not able to create connection from DbConnection = id=null, name=java:comp/env/jdbc/INVENTORYDB, jndi=true, conClass=null, username=null, default=true
	org.dbforms.config.DbFormsConfig.getConnection(DbFormsConfig.java:259)
	org.dbforms.taglib.DbFormTag.doStartTag(DbFormTag.java:2391)
	org.apache.jsp.m_005fdetails_jsp._jspService(m_005fdetails_jsp.java:200)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
	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:802)
	org.dbforms.util.external.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:379)
Thank you in advance,
Sir John
--
 
The Foreign Buyers' Club
Bringing a little bit of home to Japan

Reply via email to