[
http://jira.jboss.com/jira/browse/JBAS-3495?page=comments#action_12343573 ]
Mladen Turk commented on JBAS-3495:
-----------------------------------
Can someone point me to the place in the source both inside run.jar and shutdown.jar
where optional native .dll can be called as singleton.
This dll will allow together with jbosssvc.exe thread dumps either to the stdout (well
stdout.log in service mode)
or to a specified file.
The reason why it is needed in shutdown.jar is to emulate the CTRL+C.
The code that needs to be added is very simple and does noting if the dll is not found,
which is not the case for service mode since both jbosssvc.exe and jbosssch.dll will
be present is that case.
The beauty is that the run.bat is used for service, which means there is no additional
leaning curve for service mode, like there is for other service wrappers.
The overhead of 3MB per service, for an additional cmd.exe is acceptable thought.
Windows service for JBossAS
---------------------------
Key: JBAS-3495
URL:
http://jira.jboss.com/jira/browse/JBAS-3495
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Other
Environment: Win32
Reporter: Luc Texier
Fix For: JBossAS-5.0.0.Beta
Windows users have a hard time deploying JBossAS as a Windows service. Most of them try
to use JavaService from ObjectWeb which is too generic to support properly an application
server instance. For exemple, generating thread dumps is impossible. Also the experience
has shown that this tool is fairly broken causing hang-ups.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira