• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error from ejb-jar.xml on weblogic 9i  RSS feed

 
srini krish
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I get the following error when I try to deploy a message driven bean.

<Jun 1, 2006 5:41:05 PM MDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'SNGMDB' due to error weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unknown ACKNOWLEDGE MODE : Dups-Ok ].
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unknown ACKNOWLEDGE MODE : Dups-Ok ]
at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.acknowledgeMode2Int(MessageDrivenBeanInfoImpl.java:395)

I am not sure my ejb-jar.xml contents is right..

Here is its contents


<?xml version="1.0"?>

<!DOCTYPE ejb-jar PUBLIC
"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
"http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<message-driven>
<ejb-name>SNGMDB</ejb-name>
<ejb-class>sngmdb.SNGMDB</ejb-class>
<transaction-type>Container</transaction-type>
<message-destination-type>javax.jms.Topic</message-destination-type>
<acknowledge-mode>Dups-Ok</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Topic</destination-type>
<subscription-durability>Durable</subscription-durability>
</message-driven-destination>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>SNGMDB</ejb-name>
<method-name>onMessage()</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>


Please help.

Sri
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!