• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Change startup script for custom server

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All

I am just playing around with jboss and i figured one thing was its startup scripts were outside and not in default server. WHen i start these scripts it brings up my default and its cool. But now say i configure my new server, lets call it "myserver".

My question is
How do i start myserver. If i run that script again it would bring up default server, where can i say it to start myserver and what are those changes.

Thanks in advance.
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you should be able to do this:
run.bat -c myconfiguration
 
Mike Kam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Jeff

Thanks for your prompt response.
Can you give me example. When you say run.bat -c myconfiguration
what is myconfiguration here, is it jboss-service.xml ??

thanks in advance.
 
Jeff Shelley
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure I fully understand your question, so I'll just write a novel.

jboss comes with three configurations: default, minimal and all. running the start script with "-c all" will give you a jboss instance that has a more functionality than default. you can make your own configurations. I'd copy the whole default directory and paste it into "server" as a folder
called, say, taco_grande. then I could change anything I want under that directory, do "run.bat -c taco_grande" and it will run based on my new configuration. this is best when you have a lot of jboss's that you want
to run that are completely different.

I hope this helps. Like I said, I'm not entirely sure what you're needing to know.

Have a good one!

--Jeff
 
Mike Kam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeff

Thanks a bunch for your response. You cleared all my doubts. You da man

 
You can't expect to wield supreme executive power just because
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic