2 Replies Latest reply on Aug 29, 2003 8:08 AM by waldo

    deploying exploded wars not in deploy doesn't work

    waldo Newbie

      I want to deploy an exploded war that's not under the deploy directory. Say I've got a web-app named "Backoffice" that is in folder "eclipse/workspace/NextGen". I've re-named the "Backoffice" directory to "Backoffice.war". Also, in jboss-service, I've added ",/eclipse/workspace/NextGen/" to the URLs attribute of the URLDeploymentScanner mbean.

      But it doesn't work.

      When JBoss starts up, it says:

      2003-08-28 13:50:53,390 ERROR [org.jboss.web.localhost.Engine] StandardContext[/Backoffice]: Resources start failed:
      java.lang.IllegalArgumentException: Document base C:\jboss-3.2.1_tomcat-4.1.24\server\default\tmp\deploy\server\default\deploy\.\eclipse\workspace\NextGen\Backoffice.war does not exist or is not a readable directory
      at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:193)
      ...etc...

      ...anybody? I've also tried, in jboss-service, adding ".../NextGen", ".../NextGen/Backoffice.war", ".../NextGen/Backoffice.war/", and other permutations, all to no effect.