• 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

Starting JBoss as windows service.

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using jboss 4.0.5GA.I want to start JBoss as windows service so that
whenever i restart JBoss gets automatically started.how to do it?
 
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
krishnamohan,

Welcome to JavaRanch

Follow these instructions for starting JBoss as a service using JBossNative. You can download the appropriate JBossNative version from here
 
krishnamohan murugesan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jai.
But while starting JBoss as windows service i got an error message that JAVA_HOME is not set.But i has configured in system path and when i start JBoss using run.bat there is no problem.
 
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

Originally posted by krishnamohan murugesan:

But while starting JBoss as windows service i got an error message that JAVA_HOME is not set.



Please post the entire error message that you see. Where do you see this error message? Try setting the JAVA_HOME in the run.bat and see if it works. Here's a small portion from the run.bat, in which i am setting the JAVA_HOME:

 
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
When setting JAVA_HOME, make sure you set it in the "System variables" and not in "User variables for xxx". If you run the JBossAS service as the SYSTEM account, or under its own account, it will prick up the "System variables' but not the user variables for your account.
 
krishnamohan murugesan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank all.
Initially i has set JAVA_HOME in user variables..now it is working fine.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic