• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Run jboss after Logoff from windows

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, please check your private messages for a message from JavaRanch.
 
rajeev kum
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try adding -Xrs to the JAVA_OPTS section in the run.bat.
 
rajeev kum
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks jaikiran its working, thanks a lot.

regards,
 
reply
    Bookmark Topic Watch Topic
  • New Topic