0 Replies Latest reply on Oct 30, 2002 10:51 AM by Yusuf

    servlets and db resources

    Yusuf Newbie


      I have a webapp that was running on Tomcat 4.0.4. Now I wanna migrate it to JBoss 3.0.3/Tomcat 4.1.12
      because I need JMS.

      The application uses dbcp which I configured in server.xml.
      After I deployed the webapp to JBoss/Tomcat I had the following error message.

      java.sql.SQLException: JNDI Lookup Failed: Could not dereference object

      Do I have to configure the Datasource in JBoss (oracle-server.xml, login-config.xml)? If yes how can I use the resource
      from my servlets. (web.xml configuration)