0 Replies Latest reply on Oct 29, 2002 7:07 PM by dlk1

    Problem mapping URI to a jsp file on a disk

    dlk1


      Where is the server configuration file for internal Tomcat with JBoss?

      The problem I'm having is mapping http://localhost:8080/foobar/splash.jsp
      to /usr/local/webapps/foobar/splash.jsp

      In external Tomcat (jakarta-tomcat-4.1.12) I add a context to TOMCAT_DIST/conf/server.xml file, i.e.,





      This works until my EJB call fails.


      When I use jboss-3.0.3_tomcat-4.1.12 I specify the following in
      in the file JBOSS_DIST/server/default/conf/jboss-service.xml



      <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer

      org.jboss.deployment.DeploymentSorter
      org.jboss.deployment.scanner.DeploymentFilter

      5000


      ./deploy,
      ../../../../webapps/foobar




      In the file JBOSS_DIST/tomcat-4.1.x/conf/server.xml

      <!-- Define the default virtual host -->









      JBoss prints that it is deploying my Beans, i.e.,

      [JBOSS] 13:58:20,880 INFO [EmbeddedCatalinaService41] Started
      ...
      [JBOSS] 13:58:28,461 INFO [MainDeployer] Starting deployment of package: file:/usr/local/webapps/foobar/WEB-INF/
      [JBOSS] 13:58:31,506 INFO [EjbModule] Deploying Bean1
      ...
      [JBOSS] 13:58:35,650 INFO [MainDeployer] Deployed package: file:/usr/local/webapps/foobar/WEB-INF/

      Everything is fine until I try to get my jsp page and JBoss prints the
      following error.

      [JBOSS] 14:33:33,982 INFO [Engine] StandardHost[localhost]: MAPPING
      configuration error for request URI /foobar/splash.jsp

      I can access http://localhost:8080/jmx-console/index.jsp which I think
      shows that embedded Tomcat (Catalina) is running.

      Thank you very much.