0 Replies Latest reply on Sep 25, 2001 1:24 AM by Lawrence

    Environment entries in web.xml

    Lawrence Newbie

      I have installed the JBoss-2.4.1a_Tomcat-3.2.3.zip package.

      It seems to be working except that environment entries defined in web.xml are not accessible to the corresponding web application's components (i.e. servlets, jsp pages). The environment entries do not seem to be put into the java:comp/env context as required by the J2EE spec.

      When I deploy an application (ear) that just contains a web application (war), I get the following output..

      [AutoDeployer] Auto deploy of file:/C:/jboss/jboss/deploy/calculators.ear
      [J2EE Deployer Default] Deploy J2EE application: file:/C:/jboss/jboss/deploy/calculators.ear
      [J2eeDeployer] Create application calculators.ear
      [J2eeDeployer] inflate and install WEB module calculators.war
      [Container factory] Deploying:file:/C:/jboss/jboss/tmp/deploy/Default/calculators.ear
      [Container factory] Deployed application: file:/C:/jboss/jboss/tmp/deploy/Default/calculators.ear
      [J2EE Deployer Default] Starting module calculators.war
      [EmbeddedTomcatSX] deploy, ctxPath=/calculators, warUrl=file:/C:/jboss/jboss/tmp/deploy/Default/calculators.ear/web1006/
      [Default] Add env-entry configBaseDirectory java.lang.String C:/projects/financialcalculators/config null
      [J2EE Deployer Default] J2EE application: file:/C:/jboss/jboss/deploy/calculators.ear is deployed.



      At the "Add env-entry" line, what is the null at the end of that line indicating? Any ideas on what is wrong here?