JBoss Community

JBoss 4.1 to JBoss 5 Migration - Assembly-Descriptor Error

modified by Elesh Mistry in Beginner's Corner - View the full document

Hi All,

 

I am in the process from migrating from JBoss 4.1 to JBoss 5 and on starting the server with the deployed ejb, I get the following error in the server.log : org.xml.sax.SAXException: Element type "assembly-descriptor" must be declared.

 

My jboss.xml has

 

<assembly-descriptor>

     <security-role>

     <role-name>AdminUser</role-name>

     <principal-name>${skjgfksfgksjg}</principal-name>

     </security-role>

</assembly-descriptor>

 

I'd appreciate some help as to what I need to change for the migration to work ...

 

Cheers

Elesh

Comment by going to Community

Create a new document in Beginner's Corner at Community