JBoss 5.1 Integration in Galileo [message #516212] |
Tue, 23 February 2010 03:55  |
Eclipse User |
|
|
|
Folks,
I am running Eclipse Galileo and Java 1.6, until now I have been using JBoss 4.2, this I had fully integrated for debugging and being able to patch the code under debug and carry on. This, I believe, was achieved by an entry in jboss-service.xml...
<attribute name="URLs">
file:///d:/projects/Eclipse/CR 6462/epic.war,
deploy/
</attribute>
I have now had to move to JBoss 5.1, while debugging still seems to be working, what I have lost is the hot deploy of fixes while in debug mode. Rather than the old reference to exploded WAR directory I'm lead to believe I can only deploy the actual WAR, which of course explains the lack of hot fix.
Surely there must be some way to integrate 5.1 like I had with 4.2? If anyone knows how or can point me at a guide for setting this up I would be most grateful.
Tom
|
|
|
|
|
|
|
Re: JBoss 5.1 Integration in Galileo [message #516849 is a reply to message #516579] |
Thu, 25 February 2010 06:13  |
Eclipse User |
|
|
|
Hi Tom,
what kind of project do you use? I assume that you have a "Dynamic Web Project"?
This one is connected to a server and thus WTP handles publishing and hot code
replacement.
In WTP, you have to configure your JBoss server ("Preferences" => "Server" =>
"Runtime Environments". When creating the Web Project, you choose this server
runtime. The publishing steps you will probably find yourself ;-)
WTP then creates a WAR file of your webapp and copies it to the "deploy" directory.
There is no need to change any Jboss configuration.
Hope this helps
Wolfgang
|
|
|
Powered by
FUDForum. Page generated in 0.05038 seconds