Discussion:
[jboss-user] [JBoss Tools] - Clean always needed after stopping and starting AS 7 server?
henk de boer
2012-12-23 21:00:10 UTC
Permalink
henk de boer [https://community.jboss.org/people/henk53] created the discussion

"Clean always needed after stopping and starting AS 7 server?"

To view the discussion, visit: https://community.jboss.org/message/784721#784721

--------------------------------------------------------------
I'm using both Eclipse 3.7 with JBoss tools 3.3 and Eclipse 4.2 with JBoss tools 4.

Whenever I deploy an application (war, ear) to JBoss AS 7 or JBoss EAP 6, and I stop the server and subsequently start it again, the app is not deployed anymore. Instead, I get a message in the log saying:

Found example.war in deployment directory. To trigger deployment create a file called example.war.dodeploy


But isn't this the job of JBoss tools? After I stop the server, perform a clean and start it again, the war is picked up correctly. I've seen this on over 10 different systems now (OS X, Linux, Windows) and various projects. Simple hello world projects that are created when creating a new dynamic web project in Eclipse have this, as well as more complex projects.

Am I missing something, or is this the intended behavior?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/784721#784721]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2013-01-07 10:20:14 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: Clean always needed after stopping and starting AS 7 server?"

To view the discussion, visit: https://community.jboss.org/message/788707#788707

--------------------------------------------------------------
EAP6.0 had a bug where it would not pick up deployments done via the filesystem. Please try EAP 6.0.1 (or AS7.1 since the bug was introduced late).

Since yes, JBoss Tools create the .dodeploy folder, but it is then AS7/EAP6 "job" to remember this between restarts.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/788707#788707]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
henk de boer
2013-01-08 14:43:31 UTC
Permalink
henk de boer [https://community.jboss.org/people/henk53] created the discussion

"Re: Clean always needed after stopping and starting AS 7 server?"

To view the discussion, visit: https://community.jboss.org/message/789317#789317

--------------------------------------------------------------
You're right, I just discovered this the other day ;)

But, unfortunately EAP 6.0.1 doesn't work correctly with the current version of JBoss tools. I'll create a separate forum post for that.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/789317#789317]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Loading...