1 Reply Latest reply on Oct 8, 2002 2:47 AM by gshaji

    Simple question about <env-entry> tag in ejb-jar.xml

    icordoba

      Hi there,
      I am trying to deploy the same J2EE components for different applications but in the same container.
      The session beans must lookup corresponding entity beans, each with different JNDI names.
      Can anybody tell me if the tag <env-entry> in a o entry in <enterprise-beans> inside ejb-jar.xml file of a EJB jar is visible to every EJB or just to the corresponding bean it is defined?

      If not, how can I pass different environment parameters to different instances of the same session bean (I mean, the same bean deployed for different applications) inside the same container?

      Thanks,
      Ignacio

        • 1. Sub : No Context configured to process this request
          gshaji

          Hi,

          I have started the jboss server from C:\jboss-3.0.3_tomcat-4.1.12\bin using startup and when i access the server thru http://localhost:8080/ then the following error has occured :

          ----------------------------------------------------------HTTP Status 500 - No Context configured to process this request
          ----------------------------------------------------------type Status report

          message No Context configured to process this request

          description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.
          ----------------------------------------------------------Apache Tomcat/4.1.12-LE-jdk14
          ----------------------------------------------------------

          I have uncommented the context tag for ROOT and for /examples in C:\jboss-3.0.3_tomcat-4.1.12\tomcat-4.1.x\conf\server.xml as below :

          <!-- Test Context -->


          <!-- Tomcat Examples Context -->




          and restarted the server but i got the same error. I tried to access thru

          http://localhost:8080/jmx-console/index.jsp

          but there was link for setting up the context. For both root and examples it is showing the same error.

          I had refered to faqs and after doing all that is said there ,i have not been able to get the error corrected. Pls help.

          Thanx in advance,
          Shaji George