|
| Deployment Descriptor not found?! |
 |
Wed, 14 May 2008 04:46:48 -070 |
Hi,
during deployment of my app I am running into an exception all the time:
[EJB:011113]Error: The Message Driven Bean 'MyBean' does not have a message
destination configured. The message destination must be set using a
message-destination-link, destination-resource-link, destination-jndi-name or a
resource-adapter-jndi-name.
In my deployment descriptor I have:
[pre]<weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/10.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/10.0
http://www.bea.com/ns/weblogic/10.0/weblogic-ejb-jar.xsd">
<description>No Description</description>
<weblogic-enterprise-bean>
<ejb-name>MyBean</ejb-name>
<message-driven-descriptor>
<destination-jndi-name>
aa.jms.queues.triggerloading
</destination-jndi-name>
</message-driven-descriptor>
[...]
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
[/pre]
So destination-jndi-name is set... why does this error appear?
As I am new to EJB and Weblogic, how can I make sure the Deployment Descriptor
is used? the syntax of the descriptor seems correct as I checked it with a XML
tool. It seems to me the descriptor is ignored but I am not sure...
I am using WLS 10.0
|
| Post Reply
|
|
|
|
|
|
|
|
|
|