[jboss-user] [JBoss Messaging] - Re: Configuring Destinations in MDB's

2007-09-13 Thread nkhadakk
thank you for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084235#4084235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084235 ___ jboss-user mailing list jboss

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations in MDB's

2007-09-13 Thread [EMAIL PROTECTED]
anonymous wrote : a. Is it ok to create new QueueConnections every time ? Especially since i use the java:/JMSXA connection factory ? | Yep.. that's ok!t anonymous wrote : b. Is it ok to create Sessions and QueueSender every single invoke ? | With the JmsXA adapter you can create a sing

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread [EMAIL PROTECTED]
Yep, totally forgot about that ... It's worth running the examples, yes :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020849#4020849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020849 ___

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
I found some sample in examples folder. Here is the piece of java code, which works good. public static void deployQueue(String jndiName) throws Exception { System.out.println("Deploying the queue - " + jndiName); MBeanServerConnection mBea

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread timfox
There should be plenty of examples of how to call an MBean operation on the jboss wiki. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020605#4020605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020605 __

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
"timfox" wrote : You can create destinations programmatically using the ServerPeer MBean interface. | | So I guess you could write a program that read the data from the database and called the mbean server to create the destinations. Tim, Thanks for the feedback, do you have any such sample

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
"apk2072" wrote : "[EMAIL PROTECTED]" wrote : *I guess * it would be nice if the next JMS spec version could add an Admin API. | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020591#4020591 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-22 Thread apk2072
"[EMAIL PROTECTED]" wrote : *I guess * it would be nice if the next JMS spec version could add an Admin API. Tim, Thanks for the feedback, do you have any such samples? -APK View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020589#4020589 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-21 Thread timfox
IIRC JMS is basically a LCD (lowest common denominator spec) that was basically written to unify the two forms of messaging prevalent at the time by the two main messaging providers- fast non persistent publish subscribe - as used by Tibco and point to point queues as used by IBM MQ series. I be

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-21 Thread timfox
Next JMS spec? :D Don't hold your breath, JMS has been frozen for years. (since 2002 to be precise). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020113#4020113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020113

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-21 Thread [EMAIL PROTECTED]
*I guess * it would be nice if the next JMS spec version added an Admin API. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020104#4020104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020104 __

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2007-02-21 Thread timfox
You can create destinations programmatically using the ServerPeer MBean interface. So I guess you could write a program that read the data from the database and called the mbean server to create the destinations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-26 Thread [EMAIL PROTECTED]
Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974379#3974379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974379 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-26 Thread PeterJ
I added a Wiki entry for this under Miscellanea. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJMSEJB3MDB I also posted a patch patch request in the EJB developer's forum (http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974364) View the original post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-26 Thread [EMAIL PROTECTED]
The root exception "ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.destination.JBossQueue" can be generated by many other things, including a "legitimate" missing class. I agree it's not the case here, but adding a message directing the user to specifically look for a extraneou

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-26 Thread PeterJ
No, I downloaded the 4.0.5 source, compiled with JDK 5.0, and used the EJB3 build of the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974319#3974319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974319 _

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-26 Thread [EMAIL PROTECTED]
PeterJ wrote : First, I am using JBossAS 4.0.5CR1 (whichever EJB3 implementation that comes with it). I expanded the "stock" 4.0.5.CR1 release (this is what I used for the release smoke tests) and I don't see any default EJB3 installation. Have you used the installer? View the original post :

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-26 Thread [EMAIL PROTECTED]
I would rather add the conclusion to the FAQs. Please feel free to create an entry and post your conclusion there: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessaging View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974294#3974294 Reply to the post : http

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-26 Thread PeterJ
Ovidiu, I will email the zip file to you. I think I was using JBoss AS 4.0.5CR1 and JBoss Messaging 1.0.1CR4 (I encountered the problem at home but am now at work). I will verify the versions and let you know the exact version in my email. View the original post : http://www.jboss.com/index.h

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-26 Thread PeterJ
I just now found the root cause of the problem. First, I am using JBossAS 4.0.5CR1 (whichever EJB3 implementation that comes with it). I am also using JBoss Messaging 1.0.1CR4 (haven't upgradded to CR5 yet). The jar file I built contained client code and the MDB. And one other thing - a jndi.p

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-25 Thread [EMAIL PROTECTED]
Yes, please. What EJB3 version are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974091#3974091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974091 ___ jboss-use

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-25 Thread PeterJ
Ovidiu, I got the same error as Ensonik, though under different circumstances. I had a JAR file with a EJB3 MDB and a few other classes. One of the classes contained JMS client code. Once I removed the class with the client code, the class not found problem went away. If you are interested, I

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-22 Thread Ensonik
Thanks for the offer. When I get back into this, I might take you up on that offer. For now, we're satisfied enough with having the destinations file outside the ear as it's never really touched. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973670#3973670

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-13 Thread [EMAIL PROTECTED]
You can send me your ear (stripped off any proprietary/confidential code, if any), I can take a look at it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971452#3971452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-13 Thread Ensonik
Thanks for the help. Unfortunately, doing this caused a nightmare of conflicting jar files (commons logging), so time not permitting me to fix it, I'm going to simply fall back to putting the file in the deploy directory. View the original post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-11 Thread [EMAIL PROTECTED]
Your whole ear needs to be scoped. Add a jboss-app.xml in your ear's META-INF. It should contain: | | jboss.messaging:loader=ScopedLoaderRepository | java2ParentDelegaton=false | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-07 Thread Ensonik
Hi. It starts up the example queues and topics fine: 07:50:50,404 INFO [Queue] Queue[/queue/C] started, fullSize=75000, pageSize=2000, downCacheSize=2000 I then copy the definition for one of those topics to my deployment file: | jboss.messaging:service=ServerPeer |

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-05 Thread [EMAIL PROTECTED]
What is the exact error you're getting? Please post it here, and I also need the "topology" of your deployment: the ear deployment descriptors, the service deployment descriptors and your ear structure. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969542#3

[jboss-user] [JBoss Messaging] - Re: Configuring Destinations

2006-09-05 Thread Ensonik
I'm getting the same problem, even with the updated XML you've included. The problem here (I believe) is that my [myname]-service.xml file resides in the deployed .ear file and not in the [deploy] directory. I need that file to reside with the app deployment. Is this supported as it is with JB