File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Run jboss after Logoff from windows

 
rajeev kum
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello experts,

First of all congrats to all for maintaining such a nice forum.

I am running jboss as service but when I logoff from the system and again login the service do out start automatically. I have to restart it manually.
while this is not with the case with restart. when I restart the system the service get start automatically.

so I am trying to figure out Is it possible to run jboss service after logoff.

regards,
rajeev


 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajeev,

Welcome to JavaRanch

I am running jboss as service


Can you tell us how you are doing that? Are you using JBoss Native (which version?) or something else? And which version of JBoss AS is this? Are you passing any additional params to the service?
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, please check your private messages for a message from JavaRanch.
 
rajeev kum
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thankx for the quick reply.

Can you tell us how you are doing that? Are you using JBoss Native (which version?) or something else? And which version of JBoss AS is this? Are you passing any additional params to the service?


I am using Jboss 4.2.3 version and for installing Jboss as service I am using jboss native version 1.2.2.0. and using command service.bat install

regards,
Rajeev
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Windows services do not start when you log in - they start when the system boots.

How are you determining that JBoss AS is not running? What startup setting is used for the service (automatic, manual)?
 
rajeev kum
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks peter for your reply,

My client applications are connected with the Jboss server, As soon as I log off from my server machines client application get disconnected, hence I assumed that Jboss is not running in background. I checked it from apache tomcat webserver, it is still running when I log off from the serve. Can this kind of functionality is possible in jboss application server ?

I am using automatic as a startup setting.

regards,
rajeev
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try adding -Xrs to the JAVA_OPTS section in the run.bat.
 
rajeev kum
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks jaikiran its working, thanks a lot.

regards,
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic