aspose file tools
The moose likes JBoss and the fly likes getting deployment exception in JBOSS 5.1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "getting deployment exception in JBOSS 5.1.1" Watch "getting deployment exception in JBOSS 5.1.1" New topic
Author

getting deployment exception in JBOSS 5.1.1

sagar shiraguppi
Ranch Hand

Joined: Jul 16, 2007
Posts: 74
Hi,
I am placing the EAR in jboss 5.1.1 and as soon as I start my application I am getting the

"The content of element type "message-driven" must match "(ejb-name,destination-jndi-name,mdb-
user?,mdb-passwd?,mdb-client-id?,mdb-subscription-id?,configuration-name?,security-proxy?,ejb-
ref*,resource-ref*,resource-env-ref*,depends*)"."

the above exception, I tried changing the DTD in ejb-jar.xml but it is throwiing same exception


This ear was previously successfully deployed in JBoss 4 .

Could please anyone help me on this?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 8145
    
  52

Apparently your ejb-jar.xml isn't following the xsd/dtd rules. What does your message-driven element in the ejb-jar.xml look like? And what line is the error complaining about?

P.S: While posting xml, code or logs please wrap it in a code block by using the Code button in message editor window. Use the Preview button to make sure the post is correctly formatted.

[My Blog] [JavaRanch Journal]
sagar shiraguppi
Ranch Hand

Joined: Jul 16, 2007
Posts: 74
1
sagar shiraguppi
Ranch Hand

Joined: Jul 16, 2007
Posts: 74
this is how message driven bean is defined in ejb.jar.xml


<message-driven>
<ejb-name>qqq</ejb-name>
<destination-jndi-name>queue/INBOUNDQ@xyz</destination-jndi-name>
<resource-ref>
<res-ref-name>jms/aa</res-ref-name>
<jndi-name>java:/JmsXA</jndi-name>
</resource-ref>
<invoker-bindings>
<invoker>
<invoker-proxy-binding-name>aaaa</invoker-proxy-binding-name>
</invoker>
</invoker-bindings>
<configuration-name>xyz qq12 Bean</configuration-name>
</message-driven>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: getting deployment exception in JBOSS 5.1.1
 
Similar Threads
MDB in EJB 3.0 and JBOSS AS 6.1 final
plz Help reg LookUp with EJB Local Client with WSAD 5.1.1
EJB not bound
Local Lookup Problem in WSAD!!