Do you know exactly which version of JBoss AS? Also, do you know what mechanism is being used to run it as a service? You can find out the former by looking in the boot.log file, and if you don't know the latter then look in Windows Services at the service that runs JBoss AS and post the post the "Path to executable" value (or just to a capture of the Properties dialog showing the "General" tab and post that).
Peter - Here is the requested information
Release ID: JBoss [Zion] 4.0.3
Path to executable
"C:\rx\bin\rxservice.exe" -s "Rhythmyx"
I have never heard of rxservice.exe, and googling it did not yield anything useful. Do you have any information about it? Actually, all of the information I have seen indicates is has something to do with remote access, and not with running Java apps as services. I have used 3 different mechanisms to run JBoss AS as a service and none of them used rxservice.exe.
If you look at Task Manager, is there also a java.exe task? If so, what is the command line that started that task? You can find that out using either "listdlls" or "Process Manager" from sysinternals.