Hello everybody,
I am trying to test message driven bean(MDB) with iPlanet Application
Server 6.5. Basically i am sending a text to a Queue from JSP and trying to
receive from the queue and write the message to a file using MDB. But my MDB
is not recognised as consumer. I mean queue broker still shows the consumer as
0. But if i use a jsp to read from a queue it works.
In Discriptor file of a MDB i have given following details. Can somebody
please suggest me is any changes required in Discriptor file or is any setting
to be changed specific to iAS6.5 or iMQ2.0.
<ias-ejb-jar>
<enterprise-beans>
<message-driven>
<display-name>MessageBean</display-name>
<ejb-name>MessageBean</ejb-name>
<ejb-class>test.mdb.MessageBean</ejb-class>
<destination-name>jms/Ananth</destination-name>
<transaction-type>Container</transaction-type>
<trans-attribute>NotSupported</trans-attribute>
<message-selector></message-selector>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
<max-message-limit>10</max-message-limit>
<durable-name></durable-name>
<mdb-resource-ref>
<description></description>
<res-ref-name>com.netscape.server.jms.RefFSContextFactory</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</mdb-resource-ref>
<max-mdb-pool-size>10</max-mdb-pool-size>
<min-mdb-pool-size>1</min-mdb-pool-size>
</message-driven>
</enterprise-beans>
<transaction-manager-type></transaction-manager-type>
</ias-ejb-jar>
Thank you.
Regards,
Ananthram.P.S