[jboss-user] [JBoss Tools] - Deployment problems
Johannes Krämer
do-not-reply at jboss.com
Tue May 18 05:23:18 EDT 2010
Johannes Krämer [http://community.jboss.org/people/johannesk] replied to the discussion
"Deployment problems"
To view the discussion, visit: http://community.jboss.org/message/543559#543559
--------------------------------------------------------------
Thanks for your answer. I've further examined the problems:
> Web projects most definitely should just be updated incrementally. Would need to know more.
I've created a servlet which I access through http://localhost:8080/test-client/TestClient1 http://localhost:8080/test-client/TestClient1. When I update it (e.g. change an output String) and do an incremental deployment, the class at server\default\deploy\test-client.war\WEB-INF\classes is updated (I can see the modified String when I open the class in an editor), but the server still gives me the old version, even if I use a browser, who never opened this site (to avoid cache problems).
If I do a full publish, everything works fine and I can see the new ouput.
> ESB projects similar, but could be a bug (since its newer code base than the good old Web deploy)
ESB projects seem to work now, for whatever reason.
> EJB projects - are the files actually not updated in the deployment ? I'll assume they are and the problem you are seeing is that EJB's aren't dynamically reloadable. They require a restart of the module. Maybe the same issue you see for the web projects ?
Yes, just like with the web project, the files are updated in the deployment folder but the EJB still sends the same output as before the update.
There seems to be no way to restart the ejb-module through eclipse, the corresponding entries (Start, Stop, Restart) in the server adapter's context menu are greyed out. Should it really work like <right click> - <remove> - <right click> - <add and remove> - <add the module> - <OK> every time I make an update to an EJB?
> jbpm projects have their down deployment approach at the moment. Are you using the jbpm deployment tab or copying a .par file or how ?
I right click the processdefinition XML file, and chose "Make Deployable". In Eclipse's server view, I can than see an entry "/test-jbpm/testProcess/processdefinition.xml" under "JBoss 5.1 Runtime Server", but there's no entry in the jbpm-console.
The same goes for using the deploment tab of the process with the settings "localhost, 8080, /jbpm-console, admin, admin". It gives me "The server connection was successfully tested" and "The process archive deployed successfully", but still no console entry.
If I create a .par-file using the deploy tab ("Save without deploying") and deploy it manually through the jbpm-console, everything works fine.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/543559#543559]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100518/a3cf2649/attachment.html
More information about the jboss-user
mailing list