[JBoss-user] [Messaging, JMS & JBossMQ] - Re: client log4j
anonymous wrote : You guys crack me up. Don't you have something better to do than look at none problems? Which part about "DEBUG" don't you understand? I have to say, I'm not easily shocked, but when I saw your email address and the way you replied, it made Hani seem a bit more right about you guys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893677#3893677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893677 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ejb-name is acting as jndi name ... driving me insane
Found it! Turns out the code and configuration were fine. It was the way in which x-doclet (or MyEclipse Enterprise Workbench) setup the files in my project. It put jboss.xml outside the META-INF directory (same level), so the container couldn't find it. I put the file inside META-INF and I'm a happy camper. I'm a newb at the whole EJB thing, so I rely on my tools a bit too much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838405#3838405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838405 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ejb-name is acting as jndi name ... driving me insane
Thanks for the input. I've tried changing the order of the 2 attributes in the jboss.xml, but to no avail. I've tried all the examples I could find by copy-pasting all the code and the problem remains. The MDB is trying to bind itself to a queue named by whatever is found in the node of the definition. No matter what I do, it completely ignores the queue/MyTestQueue in the jboss.xml file and creates it's own queue based on the name in the element, and it binds itself to that. in other words, if I have Mike The error message I get is: 21:43:14,067 WARN [JMSContainerInvoker] destination not found: queue/Mike reason: javax.naming.NameNotFoundException: Mike not bound 21:43:14,067 WARN [JMSContainerInvoker] creating a new temporary destination: queue/Mike 21:43:14,077 INFO [TestMessageBean] Creating 21:43:14,077 INFO [TestMessageBean] Created 21:43:14,077 INFO [TestMessageBean] Starting 21:43:14,077 INFO [TestMessageBean] Bound to JNDI name: queue/Mike 21:43:14,077 INFO [TestMessageBean] Started If the 's value is MikesQueue, the error when starting up is: 21:43:14,067 WARN [JMSContainerInvoker] destination not found: queue/MikesQueue reason: javax.naming.NameNotFoundException: MikesQueue not bound 21:43:14,067 WARN [JMSContainerInvoker] creating a new temporary destination: queue/MikesQueue 21:43:14,077 INFO [TestMessageBean] Creating 21:43:14,077 INFO [TestMessageBean] Created 21:43:14,077 INFO [TestMessageBean] Starting 21:43:14,077 INFO [TestMessageBean] Bound to JNDI name: queue/MikesQueue 21:43:14,077 INFO [TestMessageBean] Started View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838370#3838370 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838370 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - ejb-name is acting as jndi name ... driving me insane
This is really not complicated and I've followed all the instructions, yet this just won't work for me. Trying to get a simple mdb to work: MDB: * @ejb.bean | * name = "TestMessageBean" | * display-name = "TestQueue" | * description = "TestMessageBean EJB" | * jndi-name = "jms/TestMessageBean" | * acknowledge-mode = "Auto-acknowledge" | | * transaction-type = "Bean" | * destination-type = "javax.jms.Queue" | * | * @jboss.destination-jndi-name name="queue/MyTestQueue" | */ | public class TestMessageBean implements MessageDrivenBean, MessageListener { |. | } ejb-jar.xml |TestMessageBean |com.mikem.jms.TestMessageBean |Bean | |AUTO_ACKNOWLEDGE | | javax.jms.Queue | | jboss.xml | | TestMessageBean | queue/MyTestQueue | Standard Message Driven Bean | When I start my server I keep getting the same error: anonymous wrote : 21:43:14,067 WARN [JMSContainerInvoker] destination not found: queue/TestMessageBean reason: javax.naming.NameNotFoundException: TestMessageBean not bound | 21:43:14,067 WARN [JMSContainerInvoker] creating a new temporary destination: queue/TestMessageBean | 21:43:14,077 INFO [TestMessageBean] Creating | 21:43:14,077 INFO [TestMessageBean] Created | 21:43:14,077 INFO [TestMessageBean] Starting | 21:43:14,077 INFO [TestMessageBean] Bound to JNDI name: queue/TestMessageBean | 21:43:14,077 INFO [TestMessageBean] Started My queue/MyTestQueue gets started up properly: anonymous wrote : 21:43:10,808 INFO [MyTestQueue] Starting | 21:43:10,818 INFO [MyTestQueue] Bound to JNDI name: queue/MyTestQueue | 21:43:10,818 INFO [MyTestQueue] Started And I can write to the queue/MyTestQueue properly. Here's the kicker. My MDB is listening on a queue called queue/TestMessageBean. Where is that getting that from? From the ejb-name attribute in the ejb-jar.xml file. If i change that attribute to MikesBean, when the server starts up I'll get the same error, but this time it will say MikesBean not bound. The only way I can get the MDB to be bound to the proper queue is by chaging the ejb-jar.xml file to look like: |MyTestQueue |com.mikem.jms.TestMessageBean |Bean | |AUTO_ACKNOWLEDGE | | javax.jms.Queue | | Is this normal behaviour? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838266#3838266 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838266 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user