Try running "jbosssvc -?", that will print out what I believe is the only documentation about it. Well that and any web pages you find about setting JBoss AS to run as a Windows service.
Well, I guess that's my problem: the /? options does not seem to even cover all the command line parameters. For instance, in service.bat that comes with jbosssvc there is a line saying:
jbosssvc.exe -p 1 "Starting %SVCDISP%" > run.log
but when I ask jbosssvc it doesn't mention this flag at all.
Another, more pressing, issue is that this particular line does something that causes the application I am working with to go haywire i.e. removing this line makes the problems I am confronted with go away. That's why I would really like to know what it's doing.
Sorry, no idea. I haven't been able to locate the source code for it either. Perhaps some kind soul from Red Hat will chime in and shed some light on this.
I've moved this to the JBossWeb forum where you might get some help.