3 Replies Latest reply on Apr 6, 2005 10:16 AM by lehphyro

    I can´t deploy XML file

    lehphyro

      I receive the message:

      ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      [org.jboss.deployment.DeploymentInfo@af62ed3b { url=file:/C:/Java/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/jboss-cache.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/Java/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/jboss-cache.xml
      lastDeployed: 1112719157024
      lastModified: 1112719157004
      mbeans:
      ]Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@af62ed3b { url=file:/C:/Java/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/jboss-cache.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/Java/jboss-3.0.8_tomcat-4.1.24/server/default/deploy/jboss-cache.xml
      lastDeployed: 1112719157024
      lastModified: 1112719157004
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:


      I simply copied the example configuration file.
      Could anyone help?

      Thanks

        • 1. Re: I can´t deploy XML file
          kkalmbach

          rename your xmlfile from jboss-cache.xml to something-service.xml

          If it does not end with -service.xml, jboss will not deploy it as an mbean.

          • 2. Re: I can´t deploy XML file
            lehphyro

            Okay,

            I got it deployed.
            Now I can´t access my cache using JNDI, my config is:


            jboss:service=invoker,type=jrmp
            jboss.cache:service=TreeCache
            cache/cacheFiliados
            org.jboss.cache.TreeCacheMBean


            org.jboss.proxy.ClientMethodInterceptor
            org.jboss.proxy.SecurityInterceptor
            org.jboss.invocation.InvokerInterceptor


            jboss:service=invoker,type=jrmp
            jboss.cache:service=TreeCache


            I use the following line to get reference:
            TreeCacheMBean cache = (TreeCacheMBean)context.lookup("java:comp/env/cache/cacheFiliados");

            It worked for me sometimes, but now it doesn´t.

            Could you help me?

            • 3. Re: I can´t deploy XML file
              lehphyro

              It worked!

              I used:
              TreeCacheMBean cache = (TreeCacheMBean)context.lookup("cache/cacheFiliados");

              Thanks