[jboss-user] [Beginner's Corner] - Re: JBoss 5.1.0GA + JBossNativeWindows in w7 x64
Peter Johnson
do-not-reply at jboss.com
Tue Feb 8 10:03:03 EST 2011
Peter Johnson [http://community.jboss.org/people/peterj] created the discussion
"Re: JBoss 5.1.0GA + JBossNativeWindows in w7 x64"
To view the discussion, visit: http://community.jboss.org/message/586237#586237
--------------------------------------------------------------
Oh, so you meant using JBossNative to run JBoss AS as a Windows service (instead of Java Service Wrapper). I thought that you were asking how to apply JBossNative within Java Service Wrapper. And actually, JBossNative is not needed with 5.1.0 because 5.1.0 ships with the two files needed to run JBoss AS as a service: service.bat and jbosssvc.exe
So I think what you are asking is what is the equivalent to wrapper.ntservice.interactive and wrapper.ntservice.console when using service.bat. The answer is that I don't know because I don't know exactly what those two options do in Java Service Wrapper. But here is my guess:
wrapper.ntservice.interactive - I think that this sets the "Allow service to interact with desktop" option. service.bat does not set this automatically, but you can go back into the service properties (using Computer Management) and set it.
wrapper.ntservice.console - I think that this causes Java Service Wrapper to run a command prompt and pass the startup of JBoss AS to it. I am guessing this based on your description of what you want: "in order to see its state with the windows console"
My question to you is: why can't you look at the server.log to see the state? Also, when service.bat if run it redirects the console output to the run.log file. So you can see the state in that file also. To get constant updates, open a command prompt and run a utility such as tail.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/586237#586237]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110208/b29e9004/attachment.html
More information about the jboss-user
mailing list