[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9041) AS7: switching deployment mode (exploded->war) does not redeploy

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Jun 1 17:15:01 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-9041:
------------------------------------

    Steps to Reproduce: 
# make sure you have a "Dynamic Web Project" that you can deploy to AS7
# make sure you have a server adapter for AS7
# make sure your server adapter is deploying exploded projects

!switch-exploded-war.png!

# add your project to the server adapter, wait until its deployed & check that is is actually running (access its url in the browser OR choose "Run As->Run On Server" in the context menu of the server adapter OR check the servers log and wait until you get a message "registering web context: ..."
# double click the server adapter and check "Deploy projects as compressed archives" and save the editor
# the server adapter should reflect the change and switch from wait until the changes are picked in eclipse: the server adapters goes into [Started, Republish] and then back to [Started, Synchronized]
# now clean your module by picking "Clean" in the context-menu of your server adapter
# access your web application in the browser (localhost:8080/[project-name]) - ev. refresh the browser to be sure that the server had enough time to pick the deployment

Result:
You get 404 "Not found", you cannot access your web app.

If you check the server log you'll find the following entries (my project is called bogus):
17:55:18,609 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found bogus.war in deployment directory. To trigger deployment create a file called bogus.war.dodeploy

Cleaning it unfortunately does not help, you hit another error (removing the project from the adapter also doesn't help, leads to the same error):
"java.io.FileNotFoundException: /home/adietish/jboss runtimes/jboss-7.0.0.Beta3/standalone/deployments/bogus.war"

!cleaning-error.png!


  was:
# make sure you have a "Dynamic Web Project" that you can deploy to AS7
# make sure you have a server adapter for AS7
# make sure your server adapter is deploying exploded projects

!switch-exploded-war.png!

# add your project to the server adapter, wait until its deployed & check that is is actually running (access its url in the browser OR choose "Run As->Run On Server" in the context menu of the server adapter OR check the servers log and wait until you get a message "registering web context: ..."
# double click the server adapter and check "Deploy projects as compressed archives" and save the editor
# wait until the changes are picked in eclipse: the server adapters goes into [Started, Republish] and the back to [Started, Synchronized]
# access your web application in the browser (localhost:8080/[project-name])

Result:
You get 404 "Not found", you cannot access your web app.

If you check the server log you'll find the following entries (my project is called bogus):
17:55:18,609 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found bogus.war in deployment directory. To trigger deployment create a file called bogus.war.dodeploy

Cleaning it unfortunately does not help, you hit another error (removing the project from the adapter also doesn't help, leads to the same error):
"java.io.FileNotFoundException: /home/adietish/jboss runtimes/jboss-7.0.0.Beta3/standalone/deployments/bogus.war"

!cleaning-error.png!




> AS7: switching deployment mode (exploded->war) does not redeploy
> ----------------------------------------------------------------
>
>                 Key: JBIDE-9041
>                 URL: https://issues.jboss.org/browse/JBIDE-9041
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.3.0.M1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.3.0.M2
>
>         Attachments: cleaning-error.png, switch-exploded-war.png
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list