Hi,
I have a few jsps that directly access the database by looking up a
resource
pool. I refer to the database as jdbc/crmDB. In web.xml, i have the
following lines:
<resource-ref>
<description>No Description</description>
<res-ref-name>jdbc/crmDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Also, i have a weblogic.xml which reads:
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/crmDB</res-ref-name>
<jndi-name>crmDS</jndi-name>
</resource-description>
</reference-descriptor>
This is all i have written in weblogic.xml file. i suspect this s in error.
weblogic.xml.dom.DOMProcessingException: Could not etup environment for
EJBReference or ResourceReference. WEB-NF/weblogic.xml does not contain
reference-descriptor.
PLEASE dont suggest using beans. We ARE using beans in the rest of our
project, this is a special case.
Thanx,
Hardeep Singh
http://SeeingWithC.cjb.net
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets