ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferrer, Eric" <>
Subject RE: Starting Jboss server
Date Tue, 21 Mar 2006 17:06:46 GMT
This email came at a good time as I am porting from Websphere to JBoss.
Do you have an example of deploying a war?  I currently delete the
explode files prior to a new war deploy on Websphere 5.1 and then push
out my new war.  I would like to do the same on JBoss


-----Original Message-----
From: Felix Seeger [] 
Sent: Tuesday, March 21, 2006 8:00 AM
To: Ant Users List
Subject: Re: Starting Jboss server

Hi Harshal,

you can start jboss in a <java... task. IMO this is really better as it
on more platforms, doesn't depend on a script and you can change
very easy or use project wide configurations.

Use something like this, all you need in the jboss.classpath is 
${as_server_root}/bin/run.jar and log4j.jar, where as_server_root is 
e.g. /opt/jboss.

        <java classname="org.jboss.Main"

            <!-- You configuration e.g. jboss_root/server/myconf/ -->
            <arg value="--configuration=YOUR_CONFIGURATION"/>

            <!-- Extra Java args -->
            <jvmarg value="-XX:MaxPermSize=128m"/>

            <!-- remote debugging -->
            <jvmarg value="-Xdebug"/>
            <jvmarg value="-Xnoagent"/>
            <jvmarg value="-Djava.compiler=NONE"/>

            <!-- JBoss args -->

            <!-- Your args, usefull could be: -->
	    <!-- You need to add a category name="org.jboss" in your
log4j config to
	 	  change loglevel to console:
		    <category name="org.jboss" additivity="false">
		        <priority value="info"/>
		        <appender-ref ref="CONSOLE"/>
	    <!-- System outs should not get catched -->


Am Monday, 20. March 2006 18:34 schrieb Harshal Chavda:
> Hello to all users
> My configuration is
> --pentium 4,CPU  3GHz,512 MB RAM,windows XP professional
> --JDK 1.5,Ant 1.6.3,Tomcat 4.1,Cruisecontrol 2.2.1
> I have downloaded Jboss server(versiuon-3.2.5) and have not made any
> changes in any file of the downloaded zipped folder.
>   When I start the JBoss server(using command prompt) using the
> following code:
> -------------------------------------------------------------------
>      <exec    dir="G:\BE_Project\jboss-3.2.5\bin"
> -------------------------------------------------------------------
> the run.bat opens throwing some exceptions(I have attached the
> result(JBoss.rar) I get on using the above code) and as result the
> server does not start, also when I use the shutdown.bat the server
> not close(which is yet to start).
>   Am I suppose to make any changes in the run.bat file or set some
> environment variables, If yes please specify what to change(with some
> example).
> Thanks in advance
> Harshal

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message