This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configure JBoss 7.1 to use standalone-full.xml

 
sai rama krishna
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

I would like to

Configure JBoss 7.1 to use standalone-full.xml (instead of standalone.xml) at start up so that i can get the messaging capabilities of JBoss.
How can i achieve that. Do i need to do in command prompt. I am using eclipse keplon and configure jboss 7.1 on it. Can i directly configure above step on eclipse itself while staring Jboss 7.1.

Then i can Update standalone-full.xml to add the queue "testQueue14" which is used in MessagingMDBTest.java.


Here is what was configured in the jboss standalone-full.xml in its jms-destinations section:
<jms-queue name="destination">
<entry name="queue/testQueue14"/>
<entry name="java:jboss/exported/jms/queue/testQueue14"/>
</jms-queue>

please advice
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can start the server using the -c option and passing the filename of the configuration file. For example:



If you are on Windows, use the standalone.bat instead of standalone.sh
 
sai rama krishna
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
I am on windows 7 laptop.
How and where do i give that command.
Do i need to start command prompt then
C:\Users\ganesha>cd C:\software\jboss-as-7.1.1.Final\standalone\configuration
then give command as below?
C:\software\jboss-as-7.1.1.Final\standalone\configuration>./standalone.bat -c standalone-full.xml





Please advice

I configured the queue in the file given as below
i configured the queue under C:\software\jboss-as-7.1.1.Final\standalone\configuration\standalone-full.xml as below

<jms-queue name="destination">
<entry name="queue/testQueue14"/>
<entry name="java:jboss/exported/jms/queue/testQueue14"/>
</jms-queue>

 
Ron McLeod
Bartender
Pie
Posts: 729
29
Android Eclipse IDE Java Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would start the application server using a command line like:
C:\software\jboss-as-7.1.1.Final\bin\standalone.bat -c standalone-full.xml

Your queue would be defined in the standalone-full.xml file like this:
 
sai rama krishna
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


You would start the application server using a command line like:
C:\software\jboss-as-7.1.1.Final\bin\standalone.bat -c standalone-full.xml


How to do this step from eclipse. I am using eclipse to start and stop jboss server and to deploy the application(by right clicking on the application and run on server) on my window7 laptop.


Also

In the server view I expanded JBoss 7.1 --->expanded XML Configuration--->expanded Ports--->double clicked JBoss Management.

I see server config file opened. I searched on mdb
I do not see specific mdb section like
<mdb>
.....
....
</mdb>



I see it opened standalone.xml.( i wonder why it did not open the standalone-full.xml) I do not see <jms-destination> tag as well with configured queue names.
I wonder why. How do i create it and see it. Please advice

please advice
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic