0 Replies Latest reply on Sep 27, 2002 12:02 AM by gateway87

    DeploymentException: expected one jndi-name tag

    gateway87

      Hi, all,

      I encountered a curious problem under JBoss3.0-Tomcat4.03.

      The DeploymentException: Error in jboss.xml for Bean UserInfo:expected one jndi-name tag

      The following is the jboss.xml:


      <enterprise-beans>

      <ejb-name>UserInfo</ejb-name>
      <jndi-name>User.UserInfoHome</jndi-name>
      <local-jndi-name>User.UserInfoLocalHome</local-jndi-name>
      <resource-ref>
      <res-ref-name>java:/OracleDS</res-ref-name>
      <res-type>java.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      ......

      Appreciated for your reply.

      Cheers.

      Gateway