NameNotFoundException: Unable to resolve comp/env/jdbc/crm

  • Share
  • Share

Applies to:
Weblogic6.1

Description:
A managed entity bean is deployed in the server but an error occurs when doing getConnection.

Cause:
The correct properties are not placed in the deployment descriptors.

JAVA-EJB , , , , , , , , , , , , , , , , ,

  1. admin
    March 9th, 2009 at 18:22 | #1

    Include the following in weblogic-ejb-jar.xml:




    jdbc/yourPoolName
    weblogic.jdbc.jts.yourPoolName


  2. admin
    March 9th, 2009 at 18:22 | #2

    Include the following in ejb-jar.xml:




    jdbc/yourPoolName
    javax.sql.DataSource
    Container


  1. No trackbacks yet.