Thread moved to EJB3 forum:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132763
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140143#4140143
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140143
__
As I commented on the "bug" report. This is not JMS, this is EJB3.
OFF TOPIC - use the ejb3 forum rather than respond to this post.
It isn't clear to me what you are doing, but it doesn't look like a bug to me.
It looks like you don't understand that ejbs are pooled and/or that multiple
copies
21:52:11,700 INFO [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
| 21:52:11,715 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM
1.5.0_07-b03,Sun Microsystems Inc.
| 21:52:11,715 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
|
View the original post :
http://www.jbo
I've reported this as a bug here:
http://jira.jboss.org/jira/browse/JBAS-5345
jaikiran, what platform are you running 4.2.2 on?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139408#4139408
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=p
I do see the same behaviour on 4.2.2. Here's my MDB:
package org.myapp.ejb.impl;
|
| import javax.ejb.ActivationConfigProperty;
| import javax.ejb.EJB;
| import javax.ejb.MessageDriven;
| import javax.jms.Message;
| import javax.jms.MessageListener;
| import javax.persistence.PostRe
I get the same result on
JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139204#4139204
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139204
And when I say it doesn't seem right, I'm really downplaying my jaw dropping
feeling on the implications of this, assuming it is what I think it is.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139062#4139062
Reply to the post :
http://www.jboss.com/ind
I'd bet my software hat on it.
I've added some sop's to the constructors of CalculatorMDB and
RecordManagerBean just to make sure that the container is playing by the rules
when calling postConstruct:
CalculatorMDB() {
| System.out.println("CalculatorMDB() CONSTRUCTOR");
| }
|
|
I haven't played with MDBs on JBoss for sometime now, but are you sure the
postConstruct is being called repeatedly on the *same instance* of the MDB? Or
is every new message being processed by a new instance of the MDB, in which
case it explains why the postConstruct gets called everytime the m