This week's book giveaway is in the Python forum.
We're giving away four copies of Python Continuous Integration and Delivery and have Moritz Lenz on-line!
See this thread for details.
Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Configure JBoss 7.1 to use standalone-full.xml  RSS feed

 
Ranch Hand
Posts: 542
1
  • 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
 
Sheriff
Posts: 10445
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: 542
1
  • 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>

 
Saloon Keeper
Posts: 2406
296
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • 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: 542
1
  • 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
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Did you get the answer for this ,please share, how we can start from eclipse using standalone-full.xml

 
Sheriff
Posts: 21641
101
Chrome Eclipse IDE Java Spring Ubuntu VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open Window -> Preferences -> Server -> Runtime Environments. Edit the server you want, you can then modify the configuration file.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!