• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ziyang Zhang
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • 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
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic