wood burning stoves 2.0*
The moose likes Oracle/OAS and the fly likes No javax.jms.Destination found at the specified destination-location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "No javax.jms.Destination found at the specified destination-location " Watch "No javax.jms.Destination found at the specified destination-location " New topic
Author

No javax.jms.Destination found at the specified destination-location

Dm Laf
Greenhorn

Joined: Mar 23, 2004
Posts: 10
I am trying to deploy a message driven bean into Ora 10g Application Server and I get this error message. I assume that there is something wrong with my ejb-jar.xml and orion-ejb-jar.xml files. Or even with the jms.xml file in the server.
ejb-jar.xml
<?xml version = '1.0' encoding = 'windows-1253'?>
<!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>
<description>Message Driven Bean</description>
<display-name>MDB</display-name>
<ejb-name>MDB</ejb-name>
<ejb-class>MDB</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Topic</destination-type>
<subscription-durability>Durable</subscription-durability>

</message-driven-destination>
<security-identity/>
<resource-ref>
<description>Topic MDB</description>
<res-ref-name>jms/MDBTopicConnectionFactory</res-ref-name>
<res-type>javax.jms.TopicConnectionFactory</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</message-driven>
</enterprise-beans>
<assembly-descriptor/>
</ejb-jar>

orion-ejb-jar.xml
<?xml version = '1.0' encoding = 'windows-1253'?>
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
<orion-ejb-jar>
<enterprise-beans>
<message-driven-deployment name="MDB"
destination-location="jms/MDBTopic"
connection-factory-location="jms/MDBTopicConnectionFactory" />
</enterprise-beans>
</orion-ejb-jar>

I have also added this code into my server's jms.xml file
<!-- Topic bindings, these topic will be bound to their respective
JNDI path for later retrieval -->
<topic-connection-factory name="MDBTopicConnectionFactory" location="jms/MDBTopicConnectionFactory"/>
<topic name="MDBTopic" location="jms/MDBTopic"/>

Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No javax.jms.Destination found at the specified destination-location
 
Similar Threads
jms Null or empty subscription
No location set for Topic resource
Persistent Messages, What heppens if a system is started!
Need help in MDB
Servlets, MDB and OC4J