• 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

creating a windows service for Jboss 4.23

 
Ranch Hand
Posts: 42
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

If JBOSS is installed under Program Files (x86) folder . what changes does it required in run.bat file and service.bat file which will start Jboss service?

example:
in run.bat file Jboss-home enrty as follows

JBOSS-HOME=C:\program files(x86)/xxx xxx/JBoss


so when try to start the service , bat file not able to recognize the paths( same issue with JDK path as well) properly and its failing to start.

please advice me how to proceed further..

thanks in advance
JbossUser



 
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
Do not install JBoss AS into any directory that contains a space in it's path. If you do, you are only asking for trouble. There are some Java libraries that just cannot handle the space in the path. I have mine at c:/opt/jbia/jboss-4.2.3.GA. And as you found out, the *.bat files also have problems with that (but fixing the batch files won't solve the issues that the Java code will have).
 
Peter Johnson
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
"Manjesh hp", please see you private messages concerning an important administrative matter.
 
Is this the real life? Is this just fantasy? Is this a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic