GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes No location set for Topic resource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "No location set for Topic resource " Watch "No location set for Topic resource " New topic
Author

No location set for Topic resource

Dm Laf
Greenhorn

Joined: Mar 23, 2004
Posts: 10
Greetings everyone.! Yesterday, I was trying to deploy a message driven bean to JBoss which after a lot of help, I managed to do it! But when I am trying to deploy the same bean with the same xml descriptors into Oracle 10g Application Server, it gives me this error message "No location set for Topic resource ". Would u know what I should do??
Following a copy of the 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/>
</message-driven>
</enterprise-beans>
<assembly-descriptor/>
</ejb-jar>

Thank you
 
wood burning stoves
 
subject: No location set for Topic resource