0 Replies Latest reply on Feb 3, 2004 12:59 PM by mryb

    Embedded Tomcat/JBoss bundle won't follow symlinks

    mryb

      I have JBoss 3.2.3 with embedded Tomcat 4.1.29. My webapp is packaged in a .war file. The only unique thing is that my WEB-INF directory contains symlinks.

      The problem I have is that JBoss/Tomcat can't find my web.xml because it is symlinked. This worked just fine with Tomcat 4.0.3 but I hear that in 4.1.29 it's required you set up a resource in server.xml if you need to allow Symlinks. Specifically, the following is required:
      <Context ...>



      Since JBoss/Tomcat doesn't use the server.xml file this is a problem. Can it be set in jboss-service.xml? I can't get this to work. My only other solution is to rebuild Tomcat myself.

      Any ideas? I'm sure other people must of run into this.

      Thanks