2 Replies Latest reply on Sep 4, 2006 5:37 AM by Kusanagihk Kyo

    Problem with classLoaders

    Ivan penuelas Newbie

      a problem appears now there´s a fourum where explain it but a´m having the same problem, can you help me this is the error:

      10:56:44,455 WARN [verifier] EJB spec violation:
      Bean : Fibo
      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 on 'tutorial.ejb.FiboBean': No ClassLoaders found for: tutorial.ejb.FiboBean

      10:56:44,455 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp35315FiboApp.ear-contents/FiboEJB.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@8dab2d02 { url=file:/C:/jboss-4.0.4.GA/server/default/deploy/FiboApp.ear }
      deployer: org.jboss.deployment.EARDeployer@1afae45
      status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages.
      state: FAILED
      watch: file:/C:/jboss-4.0.4.GA/server/default/deploy/FiboApp.ear
      altDD: null
      lastDeployed: 1155743804299
      lastModified: 1155743804205
      mbeans:

      my .jar file has:

      META-INF/
      META-INF/MANIFEST.MF
      META-INF/ejb-jar.xml
      META-INF/jboss.xml
      META-INF/FiboBean.class
      META-INF/Fibo.class
      META-INF/FiboHome.class

      and the war:

      0 Wed Aug 16 10:56:04 CDT 2006 META-INF/
      106 Wed Aug 16 10:56:02 CDT 2006 META-INF/MANIFEST.MF
      0 Wed Aug 16 10:56:04 CDT 2006 WEB-INF/
      3489 Wed Aug 16 09:41:06 CDT 2006 WEB-INF/web.xml
      735 Wed Aug 16 09:41:06 CDT 2006 WEB-INF/jboss-web.xml
      0 Wed Aug 16 10:56:04 CDT 2006 WEB-INF/classes/
      3067 Wed Aug 16 10:22:14 CDT 2006 WEB-INF/classes/ComputeServlet.class
      811 Wed Aug 16 09:43:34 CDT 2006 index.html

      here its my ejb-jar.xml

      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE ejb-jar (View Source for full doctype...)>
      - <ejb-jar>
      -
      - <![CDATA[ No Description.
      ]]>

      <display-name>Generated by XDoclet</display-name>
      - <enterprise-beans>
      - <!-- Session Beans
      -->
      -
      -
      - <![CDATA[ Description for Fibo
      ]]>

      <display-name>Name for Fibo</display-name>
      <ejb-name>Fibo</ejb-name>
      tutorial.interfaces.FiboHome
      tutorial.interfaces.Fibo
      <ejb-class>tutorial.ejb.FiboBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>

      - <!-- To add session beans that you have deployment descriptor info for, add
      a file to your XDoclet merge directory called session-beans.xml that contains
      the markup for those beans.

      -->
      - <!-- Entity Beans
      -->
      - <!-- To add entity beans that you have deployment descriptor info for, add
      a file to your XDoclet merge directory called entity-beans.xml that contains
      the markup for those beans.

      -->
      - <!-- Message Driven Beans
      -->
      - <!-- To add message driven beans that you have deployment descriptor info for, add
      a file to your XDoclet merge directory called message-driven-beans.xml that contains
      the <message-driven></message-driven> markup for those beans.

      -->
      </enterprise-beans>
      - <!-- Relationships
      -->
      - <!-- Assembly Descriptor
      -->
      - <!-- To specify your own assembly descriptor info here, add a file to your
      XDoclet merge directory called assembly-descriptor.xml that contains
      the <assembly-descriptor></assembly-descriptor> markup.

      -->
      - <assembly-descriptor>
      - <!-- To specify additional security-role elements, add a file in the merge
      directory called ejb-security-roles.xml that contains them.

      -->
      - <!-- method permissions
      -->
      - <!-- To specify additional method-permission elements, add a file in the merge
      directory called ejb-method-permissions.ent that contains them.

      -->
      - <!-- transactions
      -->
      - <!-- To specify additional container-transaction elements, add a file in the merge
      directory called ejb-container-transactions.ent that contains them.

      -->
      - <!-- finder transactions
      -->
      - <!-- message destinations
      -->
      - <!-- To specify additional message-destination elements, add a file in the merge
      directory called ejb-message-destinations.ent that contains them.

      -->
      - <!-- exclude list
      -->
      - <!-- To specify an exclude-list element, add a file in the merge directory
      called ejb-exclude-list.xml that contains it.

      -->
      </assembly-descriptor>
      </ejb-jar>


      in the part tutorial.interfaces.FiboHome it has and everything but when i post it it doesn´t apeer

      can someone helpme
      best regards!