JBoss 4.3 to JBoss 5.1 Migration - Assembly-Descriptor Error

Hi All,

 

I am in the process from migrating from JBoss 4.3 to JBoss 5.1 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