7 Replies Latest reply on Apr 9, 2004 5:51 PM by ben.wang

    problem deploying Jboss cache

    tperrigo

      I'm trying to deploy Jboss cache into my default server (using the local-service-eviction.xml configuration file, copied into my deploy directory), but I'm getting the following error...can anyone point me in the right direction? Any help would be appreciated!

      Tim

      15:01:47,875 INFO [MainDeployer] Deployment of package: file:/Users/tperrigo/dev/jboss-4.0.0DR3/server/default/deploy/local-service-eviction.xml is waiting for an appropriate deployer.
      15:01:47,880 ERROR [URLDeploymentScanner] MBeanException: null
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      [org.jboss.deployment.DeploymentInfo@ee60ee6c { url=file:/Users/tperrigo/dev/jboss-4.0.0DR3/server/default/deploy/local-service-eviction.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/Users/tperrigo/dev/jboss-4.0.0DR3/server/default/deploy/local-service-eviction.xml
      lastDeployed: 1080939707874
      lastModified: 1080939707000
      mbeans:
      ]Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@ee60ee6c { url=file:/Users/tperrigo/dev/jboss-4.0.0DR3/server/default/deploy/local-service-eviction.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/Users/tperrigo/dev/jboss-4.0.0DR3/server/default/deploy/local-service-eviction.xml
      lastDeployed: 1080939707874
      lastModified: 1080939707000
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:

        • 1. Re: problem deploying Jboss cache

          Hi,

          I don't see anything obvious right now. But did you remember to copy the jboss-cache.jar to the lib directory?

          Thanks,

          -Ben

          • 2. Re: problem deploying Jboss cache
            tperrigo

            Thanks for the reply. Yeah, the jboss-cache.jar is in the default server's lib directory. I forgot to mention in my last post that I'm using jboss 4.0DR3. Do I need to edit anything in the configuration file (local-service-eviction.xml)?

            • 3. Re: problem deploying Jboss cache

              Oh, one other thing. Under 4.0DR3, did you run with "-c all"? It also requires jgroups.jar which is in all/lib directory. Alternatively, you can copy it to default/lib yourself.

              Thanks,

              -Ben

              • 4. Re: problem deploying Jboss cache
                tperrigo

                Still no luck...I switched to the "all" server and made sure the jgroups.jar was also in the lib directory, but I get the same message on startup. I'm new to jboss, so I'm not sure what else to try. Any suggestions?

                • 5. Re: problem deploying Jboss cache

                  Here is what I did to deploy jboss cache under 4.0DR4.

                  1. copy jboss-cache.jar to server/all/lib
                  2. start up JBOss as "run.sh -c all" to make sure everything starts up fine
                  3. modify local-service.xml and change DummyTransactionManagerLookup to JBossTransactionManagerLookup to use JBOss TM.
                  4. copy the new local-service.xml to server/all/deploy to start the cache deployment.

                  Hope this help,

                  -Ben

                  • 6. Re: problem deploying Jboss cache
                    tperrigo

                    Aha...the local-service.xml file works just fine, but the local-service-eviction.xml file (that I've been using) causes the original exception. I'd like to use an eviction policy with the cache...do I have to use the local-service-eviction.xml file? Do you know why one would work, but the other doesn't?

                    Thanks for all your help, Ben.

                    • 7. Re: problem deploying Jboss cache

                      To deploy as a jboss service, the xml file has to be *-service.xml. So simply rename the local-service-eviction.xml to some-service.xml should work. This is an oversight from my part as well. I will rename it in the next release so it is compatibile.

                      Thanks,

                      -Ben