Very nice setup! But it seems that shutdown is not working. I checked on JBoss'
bat files and found out that shutdown uses a different classpath. So I had to
add the following to jboss402.serverdef:
<classpath id="jboss.shutdown">
| <archive path="${classPath}/server/${serverConfig}/conf"/>
| <archive path="${classPath}/bin/shutdown.jar" />
| <archive path="${classPath}/client/jbossall-client.jar" />
| <archive
path="${classPath}/server/${serverConfig}/lib/log4j.jar"/>
| </classpath>
And then I change the classpathReference in the stop task like this:
<stop>
| <mainClass>org.jboss.Shutdown</mainClass>
| <workingDirectory>${serverRootDirectory}/bin</workingDirectory>
| <programArguments>-S</programArguments>
| <vmParameters></vmParameters>
| <classpathReference>jboss.shutdown</classpathReference>
| </stop>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887417#3887417
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887417
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user