Hi.. i am able to start and stop the service... the changes that i made in service.bat
are:
:cmdStop
REM Executed on service stop
call shutdown -s 192.168.1.216 >stop.log
goto cmdEnd
added the IPAddress in the shutdown call.
now i am able to stop service using net stop jbas42svc command. but one problem is
temporary files are not deleted. i checked the server.log file. this is the problem area
of server.log where tmp files are not removed...
2008-02-01 17:51:56,618 DEBUG [org.jboss.system.server.Server] Deleting server tmp/deploy
directory
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6213jboss-annotations-ejb3.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6214jboss-ejb3.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6215jboss-aop-jdk50.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6216jboss-aspect-library-jdk50.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6217trove.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6218jboss-bean-deployer.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6219jboss-container.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6220jboss-dependency.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6221jboss-microcontainer.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6222jasper-jdt.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6223jbossweb-extras.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6229jstl.jar
2008-02-01 17:51:56,618 DEBUG [org.jboss.util.file.Files] Failed to delete file:
C:\jboss-4.2.0.GA\server\default\tmp\deploy\tmp6234jaxb-api.jar
2008-02-01 17:51:56,711 INFO [org.jboss.system.server.Server] Shutdown complete
Thanks,
Raghav.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125505#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...