[JBoss-user] [J2EE Design Patterns] - The magic behind transaction control and Session beans

2005-09-14 Thread tieTYT
Hello, i'm not sure where to ask this but i think this place might be ok. Anyway, i was wondering how session beans can have transaction control when *I* have total control over what happens inside a session bean's method. For example, my whole session bean method could consist of a large try/c

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Sending one message, receiving two?

2005-06-08 Thread tieTYT
thanks for all the help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880809#3880809 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880809 --- This SF.Net email is

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Sending one message, receiving two?

2005-06-07 Thread tieTYT
omg... is that a Log4j conflict? When I do System.out.println instead of log.info I don't see double results. What's up with that (besides me being a dumbass)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880703#3880703 Reply to the post : http://www.jb

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Sending one message, receiving two?

2005-06-07 Thread tieTYT
OK I got the Trace log. This is real big so I just started a page or so above the time where the MDB gets the first message and stopped after a few messages were received. Tell me if this isn't enough information: | 2005-06-07 17:17:22,093 TRACE [org.jboss.mq.il.uil2.SocketManager] Begin i

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Sending one message, receiving two?

2005-06-07 Thread tieTYT
| 16:17:35,593 DEBUG [SpyDestinationObjectFactory] getObjectInstance SpyDestinationObjectFactory->getObjectInsta | nce() | 16:17:35,593 DEBUG [SpyConnectionFactoryObjectFactory] getObjectInstance Extracting SpyConnectionFactory from | reference | 16:17:35,609 DEBUG [SpyConnectionFactor

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Sending one message, receiving two?

2005-06-07 Thread tieTYT
let me add that the producer is in a servlet that is on the same computer as JBoss (maybe i already said that). Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880686#3880686 Reply to the post : http://www.jboss.org/index.html?module=b

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Sending one message, receiving two?

2005-06-07 Thread tieTYT
oh yeah, here's the code that's receiving the message: | | public void onMessage(Message message) { | | try { | log.info(this.toString() + " got this message: " + ((TextMessage) message).getText()); | } catch (Exception e) { | e.printStackT

[JBoss-user] [Messaging, JMS & JBossMQ] - Sending one message, receiving two?

2005-06-07 Thread tieTYT
I hope this isn't a generic J2EE thing but right now I"m experiencing this problem where I send one message through a servlet and my MDB receives every message twice. This is a queue. This is the output: | 11:06:28,359 INFO [STDOUT] write Sending message: This is message 1 | 11:06:28,375

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: NameNotFoundException in my servlet

2005-06-06 Thread tieTYT
Alright, I promise to try that first thing in the morning. Thanks a lot for sticking with me through this whole thing. If it doesn't work I hope you won't give up on me :) Just FYI, i do have two stateless session beans working right now with JBoss. The only way i could get them to work was

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: NameNotFoundException in my servlet

2005-06-06 Thread tieTYT
to tell you the truth i don't know. Another employee set this up and I'm not at work right now so I can't check. Would you mind explaining what led you to believe what you just said? Thanks, Dan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880551#3880551

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: NameNotFoundException in my servlet

2005-06-06 Thread tieTYT
"[EMAIL PROTECTED]" wrote : Go to JMX Console. Click on the link representing "JNDIView" and "list()" should list all the objects bound in JNDI. If your object is not bound, something wrong with config. If by object, you mean my MDB then yeah it shows up. Also it mentions the queue that i

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: NameNotFoundException in my servlet

2005-06-06 Thread tieTYT
I'm using JBOSS 4.0.2RC1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880544#3880544 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880544 --- This SF.Net email is

[JBoss-user] [Messaging, JMS & JBossMQ] - NameNotFoundException in my servlet

2005-06-06 Thread tieTYT
I'm getting a namenotfoundexception when I"m trying to execute this line: Destination destination = | (Queue) jndiContext.lookup("java:comp/env/queue/TestMessageQueue"); I really don't understand why because when jboss starts up it says this: | 19:38:29,500 INFO [TestMe