2 Replies Latest reply on Sep 24, 2008 3:09 AM by thil kumar

    how to configure and use jboss cache?

    thil kumar Newbie

      Hi,

      I need to use Jboss Cache in our application,
      But i don't know anything about Jboss Cache...
      can u tell me requirements and configuration for this?
      and i am using jboss application server 3.2.3..
      and apache-ant-1.7.1, jdk1.6.0_06, jbosscache 2.2.0

      can u tell me how to configure and use jboss cache?

      Thanks & Regards
      Thilkumar

        • 1. Re: how to configure and use jboss cache?
          Manik Surtani Master

          All the info you need is in the user guide.

          • 2. Re: how to configure and use jboss cache?
            thil kumar Newbie

            Hi,

            When i deploy cache-configuration.xml in jboss 3.2.3 Application Server,
            it gives following error,
            I copied jbosscache-core.jar and jgroups.jar into lib of "all" configuration in jboss AS

            and cache-configuration.xml contains sample sonfiguration content in Jboss cache user guide...

            Can u help me how to solve this?


            s-3.2.3/server/all/deploy/cache-configuration.xml
            12:34:59,454 INFO [MainDeployer] Deployment of package: file:/C:/jboss-3.2.3/se
            rver/all/deploy/cache-configuration.xml is waiting for an appropriate deployer.
            12:34:59,454 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
            ration 'checkIncompleteDeployments()'
            Cause: Incomplete Deployment listing:
            Packages waiting for a deployer:
            [org.jboss.deployment.DeploymentInfo@175d65cf { url=file:/C:/jboss-3.2.3/server/
            all/deploy/cache-configuration.xml }
            deployer: null
            status: null
            state: INIT_WAITING_DEPLOYER
            watch: file:/C:/jboss-3.2.3/server/all/deploy/cache-configuration.xml
            lastDeployed: 1222239899454
            lastModified: 1222239899454
            mbeans:
            ]Incompletely deployed packages:
            [org.jboss.deployment.DeploymentInfo@175d65cf { url=file:/C:/jboss-3.2.3/server/
            all/deploy/cache-configuration.xml }
            deployer: null
            status: null
            state: INIT_WAITING_DEPLOYER
            watch: file:/C:/jboss-3.2.3/server/all/deploy/cache-configuration.xml
            lastDeployed: 1222239899454
            lastModified: 1222239899454
            mbeans:
            ]MBeans waiting for classes:

            MBeans waiting for other MBeans:
            [ObjectName: jboss.j2ee:jndiName=clustering/HTTPSession,service=EJB
            state: NOTYETINSTALLED
            I Depend On: jboss:service=DefaultPartition
            jboss:service=invoker,type=jrmp

            Depends On Me: jboss:service=ClusteredHttpSession
            , ObjectName: jboss:service=ClusteredHttpSession
            state: CONFIGURED
            I Depend On: jboss.j2ee:jndiName=clustering/HTTPSession,service=EJB

            Depends On Me: , ObjectName: jboss.mq:service=HAILSharedState
            state: CONFIGURED
            I Depend On: jboss:service=DefaultPartition

            Depends On Me: jboss.mq:service=InvocationLayer,type=HAIL
            , ObjectName: jboss.mq:service=InvocationLayer,type=HAIL
            state: CONFIGURED
            I Depend On: jboss.mq:service=InvocationLayer,type=UIL2
            jboss.mq:service=HAILSharedState

            Depends On Me: jboss.mq:service=HAILSingletonController
            , ObjectName: jboss.mq:service=HAILSingletonController
            state: CONFIGURED
            I Depend On: jboss:service=DefaultPartition
            jboss.mq:service=InvocationLayer,type=HAIL

            Depends On Me: , ObjectName: jboss:service=DefaultPartition
            state: FAILED
            I Depend On:
            Depends On Me: jboss.j2ee:jndiName=clustering/HTTPSession,service=EJB
            jboss.mq:service=HAILSharedState
            jboss.mq:service=HAILSingletonController
            jboss:service=HASessionState
            jboss:service=HAJNDI
            jboss.cache:service=InvalidationBridge,type=JavaGroups
            jboss:service=FarmMember,partition=DefaultPartition
            java.lang.NoClassDefFoundError: org/jgroups/JChannel, ObjectName: jboss:service=
            HASessionState
            state: CONFIGURED
            I Depend On: jboss:service=DefaultPartition

            Depends On Me: , ObjectName: jboss:service=HAJNDI
            state: CONFIGURED
            I Depend On: jboss:service=DefaultPartition

            Depends On Me: , ObjectName: jboss.cache:service=InvalidationBridge,type=JavaGr
            oups
            state: CONFIGURED
            I Depend On: jboss:service=DefaultPartition
            jboss.cache:service=InvalidationManager

            Depends On Me: , ObjectName: jboss:service=FarmMember,partition=DefaultPartitio
            n
            state: CONFIGURED
            I Depend On: jboss:service=DefaultPartition
            jboss.web:service=WebServer
            jboss.system:service=MainDeployer

            Depends On Me: ]
            12:34:59,470 INFO [URLDeploymentScanner] Started jboss.deployment:type=Deployme
            ntScanner,flavor=URL
            12:34:59,501 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/
            all/conf/jboss-service.xml
            12:34:59,501 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3
            _2_3 date=200311301445)] Started in 15s:407ms



            Regards,
            Thilkumar