[jboss-user] [Installation, Configuration & DEPLOYMENT] - ejb2.x deployment exception jboss 5

deberlin do-not-reply at jboss.com
Tue Feb 3 10:44:46 EST 2009


upgrading from 4.0.2 to 5.0.0.ga. jboss can't find the local interfaces (ArbeitsstationLocal) referenced to another ejb in an other archive.

*** CONTEXTS IN ERROR: Name -> Error

vfszip:/D:/jboss5/server/default/deploy/170Formular.jar -> java.lang.IllegalStateException: Failed to find ContainerDependencyMeta
Data for interface: de.gsd.amasys.server.modules.anwender.entities.ArbeitsstationLocal 

inside the ejb-jar.xml, the 170Formular.jar hold a reference to another jar archive (150Anwender.jar#Arbeitsstation):
...
         <ejb-local-ref >
            <ejb-ref-name>ejb/Arbeitsstation</ejb-ref-name>
            <ejb-ref-type>Entity</ejb-ref-type>
            <local-home>de.gsd.amasys.server.modules.anwender.entities.ArbeitsstationLocalHome</local-home>
            de.gsd.amasys.server.modules.anwender.entities.ArbeitsstationLocal
            <ejb-link>150Anwender.jar#Arbeitsstation</ejb-link>
         </ejb-local-ref>
...
the ejb declaration in ejb-jar.xml for 150Anwender.jar#Arbeitsstation:
...
      
         <![CDATA[EntityBean einer Arbeitsstation.]]>

         <ejb-name>Arbeitsstation</ejb-name>

         de.gsd.amasys.server.modules.anwender.entities.ArbeitsstationHome
         de.gsd.amasys.server.modules.anwender.entities.ArbeitsstationRemote
         <local-home>de.gsd.amasys.server.modules.anwender.entities.ArbeitsstationLocalHome</local-home>
         de.gsd.amasys.server.modules.anwender.entities.ArbeitsstationLocal

         <ejb-class>de.gsd.amasys.server.modules.anwender.entities.ArbeitsstationBean</ejb-class>
         <persistence-type>Bean</persistence-type>
         <prim-key-class>de.gsd.amasys.server.modules.anwender.entities.ArbeitsstationPK</prim-key-class>
         false
         <resource-ref>
         	SAP DB Datenbank
          <res-ref-name>jdbc/SAPDBDS</res-ref-name>
          <res-type>javax.sql.DataSource</res-type> 
          <res-auth>Container</res-auth>
         </resource-ref>
         
      

      
...
         
are ther any conditions to run ejb 2.x jar's in jboss 5.0.0?

regards         



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206613#4206613

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206613



More information about the jboss-user mailing list