How can I get JBoss to explode a deployed WAR file?

后端 未结 6 1838
醉话见心
醉话见心 2021-01-01 17:27

I am running JBoss 4.3 on Ubuntu under /usr/local/jboss-4.3/. I have deployed my application as a WAR file i.e. myapp.war, to /usr/local/jboss-4.3/server/myserver/deploy. Ho

6条回答
  •  走了就别回头了
    2021-01-01 17:54

    I had exactly the same problem with JBoss 7. My ant script would copy the .war file to the JBoss deployments folder (jboss-as-7.1.1.Final/standalone/deployments in my system) but the .war wouldn't explode. The .war was perfectly deployable through the administration CLI so it wasn't an unsatisfied dependency or anything. It was solved when I instructed my Ant war task to not compress the war (set the property compress to false) as in:

    ...
    
      
      
        
        
       
    
    

提交回复
热议问题