aspose file tools*
The moose likes JBoss/WildFly and the fly likes Configure JBoss 7.1 to use standalone-full.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Configure JBoss 7.1 to use standalone-full.xml" Watch "Configure JBoss 7.1 to use standalone-full.xml" New topic
Forums: IDEs, Version Control and other tools JBoss/WildFly
Author

Configure JBoss 7.1 to use standalone-full.xml

sai rama krishna
Ranch Hand

Joined: May 29, 2009
Posts: 242

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

Joined: Jul 20, 2005
Posts: 10033
    
163

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

[My Blog] [JavaRanch Journal]
sai rama krishna
Ranch Hand

Joined: May 29, 2009
Posts: 242
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
Ranch Hand

Joined: Feb 12, 2013
Posts: 294
    
    5

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

Joined: May 29, 2009
Posts: 242


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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configure JBoss 7.1 to use standalone-full.xml