This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes jboss jms directory and -c <config-name> syntax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss jms directory and -c <config-name> syntax" Watch "jboss jms directory and -c <config-name> syntax" New topic
Author

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

Ziyang Zhang
Ranch Hand

Joined: Jul 17, 2010
Posts: 47
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


Enjoy life!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jboss jms directory and -c <config-name> syntax