• 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

jboss jms directory and -c <config-name> syntax

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am learning JBoss basics from http://docs.jboss.org/jbossas/getting_started/v4/html/tour.html. An old, but good simple tutorial. Hope this would help others like me. There is a paragraph:

You can add your own configurations too. The best way to do this is to copy an existing one that is closest to your needs and modify the contents. For example, if you weren’t interested in using messaging, you could copy the default directory, renaming it as myconfig, remove the jms subdirectory and then start JBoss with the new configuration.
run -c myconfig

I have two questions:
1. Is this the correct jms path (\jboss-4.0.2\server\default\deploy\jms) mentioned in the article? Why remove the jms? What's the function of jms?
2. I looked the start script, and I didn't find -c <config-name> syntax. So where is it, so that I can run customized configuration?
Ziyang
 
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
1) Yes, that is the correct directory. JMS is Java Message Service. Unless you plan on writing messing clients or Message-Driven Beans (MDB), you don't need it.

2) The -c, and other command options (to see them all, enter: run -h), are all handled by Java code.

By the way, why are you using 4.0.2? That is an ancient version. If you are new to JBoss AS, you should start with 5.1.0.GA.
 
Everybody's invited. Except this 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