0 Replies Latest reply on Dec 23, 2008 9:55 PM by Qiang Chen

    Problem while configuring EJB3 with env_entry

    Qiang Chen Newbie

      I wanted to configure EJB 3.0 with env_entry in JBoss 4.2.2GA. My ejb-jar.xml file is as follows:

      <?xml version="1.0" encoding="US-ASCII"?>
      <!-- $Rev: 601953 $ $Date: 2007-12-06 17:09:47 -0800 (Thu, 06 Dec 2007) $ -->
      <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0" metadata-complete="false">
       <env-entry-value>Hello From ejb-jar.xml file !!!</env-entry-value>

      But I could neither see the env_entry in Jboss JNDI-view nor access that variable in my EJB.
      I doubted whether it was the problem of the Jboss's version, so I tried this on Jboss 4.0.5, but got an error-"Failed to create a new SAX parser". I also tried on Jboss 5.0.0, this time I could see the env_entry in Jboss JNDI-view but I could not see the bean associated with the env_entry.

      Can someone help me solove this problem?