wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes How to add JMS configuration in JBOSS 5? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to add JMS configuration in JBOSS 5?" Watch "How to add JMS configuration in JBOSS 5?" New topic
Author

How to add JMS configuration in JBOSS 5?

Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

Hi friends..

iam a newbie in JBoss 5

and i have a question..
how to add JMS Configuration like ConnectionFactory, Queue, Topic, JNDI in JBoss5 Through Admin Console?..
is it possible to configure all of it through Admin Console?
or do i have to configure all of it by uses .xml configuration?.

//i've worked with Glassfish v2.. and it is ease to configure all of it (ConnectionFactory, Queue, Topic, JNDI) by uses Glassfish Admin Console..

Thanks in advance..


Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

I will assume you mean JBoss AS 5.1.0 (since the Admin Console did not come with 5.0.x). Yes, you can create new queues/destinations. Expand the "JMS Destinations" entry in the tree view, click on either Queues or Topics, and the in the right panel click the "Add a new resource" button.

For "Connection Factory", what kind of connection factory? For database, messaging, ...? You can create new database connections by expanding the Connection Factories entry in the tree view, clicking on one of the subentries, and then clicking the "Add a new resource" button.


JBoss In Action
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

Thanks Peter for your reply..

is it any Jboss Web Admin console for JBosss 5?

Thanks in advance..
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9941
    
159

JBoss-5.1.0 ships with a admin console. By default, you can access it through http://localhost:8080/admin-console


[My Blog] [JavaRanch Journal]
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

Thanks Jaikiran for your reply..

Sorry what i mean is..
is there JBoss Admin Console for JBoss 5.0.0 GA?..
can i help download separate JBoss Admin Console for JBoss 5.0.0 GA?..

Thanks in advance..
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

You can get the source for the admin console from Subversion using:

svn co http://anonsvn.jboss.org/repos/embjopr/tags/EmbJopr_1_1_0_GA/

After you build it, the jbas5 directory contains a version that you can deploy to AS 5.0.x. Be ware that this is a beta and that while it seems to work OK, it is not recommended for production use. See the discussion at http://www.jboss.org/index.html?module=bb&op=viewtopic&t=148121

If you are new to JBoss AS, why are you not using the latest version 5.1.0?

Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

Thanks Peter for your reply..

yap, i've downloaded JBoss 5.1, and there is any Web Admin Console..
but, i've a doubt with JBoss 5.1..
I tried to develop simple Web application..
i created Simple Servlet..
but import classes of javax.servlet.* doesn't recognized in Netbeans6.5..
i've tried to add servlet-api.jar to my web app.. and i've placed it in /WEB-INF/lib
the missing classes of javax.servlet.* could be solved..
but i got a problem when i deployed it on JBoss 5.1 ...

Hope you would read [My Post] for detail..
How to upgrade to latest version of JBoss 5.1 ?.. i've downloaded it before..

Sorry for really basic question.. and sorry for my foolishness..

Thanks in advance..
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Do not put the servlet-api.jar file in WEB-INF/lib. There should be some way in NetBeans to include that file in the project without having it placed in WEB-INF/lib (I know this is possible in Eclipse, I don't use NetBeans).
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9941
    
159

reshma bhasuri,
Your post was moved to a new topic.
sourabh girdhar
Ranch Hand

Joined: Feb 10, 2010
Posts: 71

Hi

I published the info about setting JBoss for JMS few days ago.

Check here Jboss JMS for newbies . It can be useful for newbies.

Cheers


SCJP SCWCD AIX SOA
The significant problems we face cannot be solved by the same level of thinking that created them -- Albert Einstein

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add JMS configuration in JBOSS 5?
 
Similar Threads
JMS - Connection Factory
JMS Queue : Log4j Warning
How does @Resource injection work?
add JNDI to JNDI tree and link to custom object in WL10.0
Cannot reference a queue using Simple Java Client