2 Replies Latest reply on Oct 28, 2002 3:05 PM by Eduardo Lucas

    Deploying error - Interest.jar

    Ashwini Kumar Newbie

      I am using jBoss 3.0.3 and am trying to deploy the simple Interest.jar example. I copy the jar file to C:\jboss-3.0.3_tomcat-4.1.12\server\default\deploy

      and get the following error. Please let me know if there is any step I am missing out on.

      Ps. I do not expect anything to be wrong with the code itself because this is a well known example and I am simply using the pre-built jar file.


      22:31:22,930 INFO [EjbModule] Created
      22:31:22,930 INFO [EjbModule] Starting
      22:31:22,930 INFO [EjbModule] Started
      22:31:22,930 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.0.3_tomcat-
      22:31:22,930 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
      ration 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.j2ee:jndiName=interest/Interest,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: There are no home interface interceptors configured]

        • 1. Re: Deploying error - Interest.jar
          Juha Lindfors Master

          sounds like it might contain 2.x deployment descriptors, not 3.x

          Are you sure the jar you're using has been updated for 3.0?

          • 2. Re: Deploying error - Interest.jar
            Eduardo Lucas Newbie

            Hi friends,

            In my case, I re-compiled the Bean classes and then copied the interest.jar into the deploy directory. It seems to works fine, once I get the message:

            Deployed package: file c:\jboss-3.0.3_tomcat-4.0.5\server\default\deploy\interest.jar

            I assume that everything is ok with the Bean deployed.

            Actually, my problems start when I need to have the InterestClient compiled.

            The error message is:
            InterestClient.java:1: package jbosscreating.com.web_tomorrow.interest does not exist

            import jbosscreating.com.web_tomorrow.interest.*;

            InterestClient.java:16: cannot access InterestHome
            bad class file: .\InterestHome.class
            class file contains wrong class: jbosscreating.com.web_tomorrow.interest.InterestHome
            Please remove or make sure it appears in the correct subdirectory of the classpath.
            InterestHome home = (InterestHome)
            2 errors

            Any help will be very welcomed,
            Eduardo Lucas