0 Replies Latest reply on May 1, 2003 3:36 PM by skoal_brother

    EJB deploys OK on 3.0.2 fails 3.2

    skoal_brother Newbie

      Hello,

      I placed the CrossBean.jar which implements the business methods in server//lib directory. The Cross-ejb.jar has the home and remote interfaces which is deployed in server//deploy.

      It may be bad practice to do it that way (comments welcome), but nonetheless, JBoss 3.0.2 without any warning, depoyed the bean sucessfully and 3.2.0 complains.

      Any suggestions (beside staying on 3.0.x)?
      Donnie

      16:26:41,341 WARN [verifier] EJB spec violation:
      Bean : Cross
      Section: 22.2
      Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods in the <ejb-class> element.
      Info : Class not found: com.crossworks.xx.CrossBean

      ejb-jar.xml...
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
      <ejb-jar>
      <![CDATA[No Description.]]>
      <display-name>Generated by XDoclet</display-name>
      <enterprise-beans>
      <!-- Session Beans -->

      <![CDATA[Cross Bean]]>
      <ejb-name>Cross</ejb-name>
      com.crossworks.xx.CrossHome
      com.crossworks.xx.Cross
      <ejb-class>com.crossworks.xx.CrossBean</ejb-class>
      <session-type>Stateful</session-type>
      <transaction-type>Container</transaction-type>

      </enterprise-beans>
      </ejb-jar>


      jboss.xml...
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">

      <enterprise-beans>

      <ejb-name>Cross</ejb-name>
      <jndi-name>Cross</jndi-name>

      </enterprise-beans>