JBoss integration?

Hello,
Is there any tutorial describing idea and jboss integration?
I would like to be able to run server/stop server/deploy/redeploy and debug
from inside idea.

best wishes

jotka



4 comments
Comment actions Permalink

Hi,

The simplest thing to do is to create ant tasks. If you have installed JBoss as a service under the name JBoss30, you can define the following ant tasks :

If you have not installed JBoss as a service, you can use the followings : ]]>

(replace 'c:/JBoss30/bin' with the correct path)

Pierre-Yves Saumont

0
Comment actions Permalink

Hello,
I would like to know how I can modify the following code to start JBoss in
debug mode

]]>




0
Comment actions Permalink

I don't know how to start JBoss in debug Mode (never used JBoss !)

But if you tell me how to do it in a console window, I'll tell you how to do it from Ant.

0
Comment actions Permalink

I just figured it out

To run JBoss in normal mode I enter the following in the command prompt
ant -file startJB.xml

To run JBoss in debug mode I enter the following in the command prompt
ant -file startJB.xml debugmode

My BUILD.PROPERTIES file looks like this
-


run.jar.location = C:/Jboss3_Tomcat4_1/bin/run.jar
tools.jar.location = C:/Java/J2SDK1_4_1/lib/tools.jar


My ANT script looks like this
-


================================= Starting JBoss 3.0 in normal mode ================================= ================================= Starting JBoss 3.0 in debug mode ================================= ]]>



0

Please sign in to leave a comment.