0 Replies Latest reply on May 9, 2005 4:08 PM by Jon Paugh

    problems deploying MBean

    Jon Paugh Newbie

      Hi All,

      I am deploying an application created by another group of developers onto JBoss 3.0.4.

      When I deploy the application to JBoss I get the following messages:

      ....[Some INFO Messages]
      14:39:48,281 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss/server/default/lib/ovs.jar
      14:39:48,296 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/default/lib/ovs.jar
      ....[More INFO/Warning messages]
      14:39:52,671 INFO [JBossManagedConnectionPool] Started
      14:39:52,671 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/default/deploy/oracle-service.xml
      14:39:52,671 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss/server/default/deploy/ovs-service.xml
      14:39:52,812 INFO [OVSPropertiesCache] Creating
      14:39:52,812 INFO [OVSPropertiesCache] Creating
      14:39:52,812 INFO [OVSPropertiesCache] Created
      14:39:52,812 INFO [OVSPropertiesCache] Created
      14:39:52,812 INFO [OVSPropertiesCache] Starting
      14:39:52,812 INFO [OVSPropertiesCache] Starting
      14:39:52,812 INFO [OVSPropertiesCache] Started
      14:39:52,812 INFO [OVSPropertiesCache] Started
      14:39:52,812 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/default/deploy/ovs-service.xml
      ...[More stuff]
      14:39:53,875 INFO [EjbModule] Starting
      14:39:53,890 INFO [EjbModule] Started
      14:39:53,890 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/default/deploy/jmx-ejb-adaptor.jar
      14:39:53,890 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss/server/default/deploy/ovs-server-ejb.jar
      14:39:53,968 INFO [EjbModule] Creating
      14:39:53,984 INFO [EjbModule] Deploying org.naphsis.ovs.server.ejb.OVSServerEJB
      14:39:54,000 INFO [EjbModule] Created
      14:39:54,000 INFO [EjbModule] Starting
      14:39:54,000 INFO [EjbModule] Started
      ...[More Info/Warning messages]
      14:39:54,406 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: naphsis.server:service=OVSService
      state: CONFIGURED
      I Depend On: naphsis.server:service=OVSPropertiesCache
      jboss.j2ee:service=EJB,jndiName=jndi/OVSServerEJB

      Depends On Me: ]
      ... [Some more listings].

      Now the error "[URLDeploymentScanner] MBeanException" above is the only error I see. Have some warnings though.

      What is this error message telling me? ovs.jar contains the OVSPropertiesCache, and ovs-server-ejb.jar seems to be deployed OK. What is the problem?

      The xml for the service has in it:
      <!--

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE server>
      
      <server>
       <mbean code="org.naphsis.ovs.server.service.OVSPropertiesCache" name="naphsis.server:service=OVSPropertiesCache">
       <attribute name="PropsLocation">file:/c:/jboss/server/default/conf/ovs.properties</attribute>
       </mbean>
      
       <mbean code="org.naphsis.ovs.server.service.OVSService" name="naphsis.server:service=OVSService">
       <depends>naphsis.server:service=OVSPropertiesCache</depends>
       <depends>jboss.j2ee:service=EJB,jndiName=jndi/OVSServerEJB</depends>
       </mbean>
      
      </server>
      -->

      Thanks,

      Jon Paugh