3 Replies Latest reply on Jun 5, 2004 12:50 PM by Remy Maucherat

    RC2 - Tomcat5 default <Host> definition must have deployXML=

    Gabriele Garuglieri Newbie

      3.2.4RC2 installation.
      During first start Tomcat 5 builds conf/jboss.web/localhost dir where it puts all the context.xml from the deployed wars.

      On second and all subsequent starts, being the default deployXML="true", during its deploy Tomcat tries to redeploy by itself the applications starting from context.xml in conf/jboss.web/localhost dir, but this is jboss matter and it cannot do it, so all the deploy attempts fail filling the log with a bunch of exception stack traces.


      15:21:28,600 INFO [StandardHost] Create Host deployer for direct deployment ( non-jmx )
      15:21:28,600 INFO [StandardHostDeployer] Processing Context configuration file
      URL file:C:\home\jboss\server\def\conf\jboss.web\localhost\invoker.xml
      15:21:28,694 ERROR [Digester] Begin event threw exception
      java.util.zip.ZipException: Access is denied
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.(ZipFile.java:112)
      at java.util.jar.JarFile.(JarFile.java:127)
      at java.util.jar.JarFile.(JarFile.java:65)
      at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:55)
      at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:40)
      at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
      at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.ja
      va:85)
      at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection
      .java:69)
      at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:155)
      at org.apache.catalina.startup.SetDocBaseRule.begin(SetDocBaseRule.java:
      131)
      ..... and so on .....

      The default server.xml in jbossweb-tomcat50.sar should be coded with
      to avoid that Tomcat tries to deploy applications by itself.

      If nobody from Jboss group has anything to object, i'm going to open a bug for this.

      Regards, Gabriele.