2 Replies Latest reply on Feb 23, 2005 10:40 AM by dimitris

    Incomplete Deployment Listing

    guurk

      I have created a service MBean to do some threaded monitoring for me. The bean works and deploys. I've created it using the ServiceMBean/ServiceMBeanSupport method with startService() and stopService() implemented. Like I said, it does deploy and work.

      However, as it's deploying I get (LoomMonitor is the name of my service):

      ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      MBeans waiting for other MBeans:
      ObjectName: jboss:service=LoomMonitor
       state: CREATED
       I Depend On:
       Depends On Me:
      

      This happens right before the startService() is called and everything goes forward just fine.

      The deployment line is in jboss-service.xml and reads:
      <mbean code="org.loom.system.LoomMonitor" name=":service=LoomMonitor" />
      

      which is about as simple as I could think. So I don't know what I'm missing. Is it required that the bean also have a jndi lookup(which I don't really need)? If so then why is this error happening before the bind would even happen?

      Any help on this would be appreciated.


        • 1. Re: Incomplete Deployment Listing
          guurk

          Once again my own stupidity get's in the way.
          Instead of putting the deployment descriptor in jboss-services.xml I created my own deployment descriptor in my own *-service.xml file and then placed it in my deploy directory. This worked great. I really should read the example build.xml file more carefully.

          Sorry.

          • 2. Re: Incomplete Deployment Listing
            dimitris

            So writing to the jboss forums can be therapeutic, in many cases :)