1 Reply Latest reply on Apr 17, 2003 9:49 AM by adrian.brock

    deployment in jboss 3.2.0

    sysuser1

      I currently have an ejb in an jar-file that works fine on JBOSS 3.0.6.
      Now I'm trying to upgrade to JBOSS 3.2. When I try to deploy my (in JBOSS 3.0.6 working)
      jar-file to JBOSS 3.2 I get a weird "class not found error" and the deployment fails.
      I have verified that the class exists in the jar-file and I don't understand why
      JBOSS 3.2 can't find it.
      I have included the error, the relevant parts of my ejb-jar.xml and jboss.xml och a listing
      of the class-files in the jar-file that I'm trying to deploy.
      Any help is most welcome.

      [error]
      12:48:50,492 WARN [verifier] EJB spec violation:
      Bean : OrderData
      Section: 22.2
      Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterpr
      ise bean's business methods in the <ejb-class> element.
      Info : Class not found: se.decerno.decjsd.order.data.impl.OrderDataEJB

      [ejb-jar.xml]

      <ejb-name>OrderData</ejb-name>
      <local-home>se.decerno.decjsd.order.data.OrderDataHome</local-home>
      se.decerno.decjsd.order.data.OrderData
      <ejb-class>se.decerno.decjsd.order.data.impl.OrderDataEJB</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>


      [jboss.xml]

      <ejb-name>OrderData</ejb-name>
      <local-jndi-name>ejb/OrderData</local-jndi-name>


      [jar-file]
      META-INF/
      META-INF/MANIFEST.MF
      se/
      se/decerno/
      se/decerno/decjsd/
      se/decerno/decjsd/order/
      se/decerno/decjsd/order/data/
      se/decerno/decjsd/order/data/impl/
      jndi.properties
      META-INF/ejb-jar.xml
      META-INF/jboss.xml
      se/decerno/decjsd/order/data/impl/OrderDataEJB.class
      se/decerno/decjsd/order/data/OrderData.class
      se/decerno/decjsd/order/data/OrderDataHome.class

        • 1. Re: deployment in jboss 3.2.0

          You don't want a jndi.properties in your
          deployment.

          On sourceforge you will find a pdf on jboss
          classloading. This includes a section on enabling
          trace logging.
          Post the classloading log as a bug to the
          bug section of www.sf.net/projects/jboss

          Regards,
          Adrian