configuration MDB EJB2.1 with distributed jndi joram

<[email protected]>
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <31329_1287072710_4CB72BC6_31329_1964_1_DAF4293CE435504FA3669C649CCD8308541AF63213@PUEXCB1C.nanterre.francetelecom.fr>
Hi,

I have two servers Jonas 5.1.1 started with two joram servers collocated with distributed jndi.
Queues are hosted only in the first joram server.
I use scn:comp/ as prefix jndi name.
The queues are created.

When the MDB (EJB 2.1) is deployed in the second jonas, joramAdapter don't find jndi queue (lookup throw exception) and create the queue in the second joram server.
In the same application, I have MDP and the MDP find the queue in the shared jndi.
Problem is my  MDB conf, but I don't find.
Joram config is ok.

Someone can help me, please ?


ejb-jar.xml :


<message-driven>

<ejb-name>MDBArticle</ejb-name>

<ejb-class>clara.prototype.applicatif.momoo.server.impl.GererArticlesMdbImpl</ejb-class>

<messaging-type>javax.jms.MessageListener</messaging-type>

<transaction-type>Container</transaction-type>

<activation-config>

<activation-config-property>

<activation-config-property-name>destinationType</activation-config-property-name>

<activation-config-property-value>javax.jms.Queue</activation-config-property-value>

</activation-config-property>

<activation-config-property>

<activation-config-property-name>destination</activation-config-property-name>

<activation-config-property-value>scn:comp/requestQueueMDB</activation-config-property-value>

</activation-config-property>

<activation-config-property>

<activation-config-property-name>messageSelector</activation-config-property-name>

<activation-config-property-value>TypeService = 'article'</activation-config-property-value>

</activation-config-property>

</activation-config>

</message-driven>

jonas-ejb-jar.xml :


<jonas-message-driven>

<ejb-name>MDBArticle</ejb-name>

<jonas-message-driven-destination>

<jndi-name>joramActivationSpec</jndi-name>

</jonas-message-driven-destination>

</jonas-message-driven>



thank you for response



Pascale Borscia



*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.