Prabhu Natarajan [http://community.jboss.org/people/prabhun] created the discussion
"Migrating JBoss cache in JBoss 5.1.0" To view the discussion, visit: http://community.jboss.org/message/588771#588771 -------------------------------------------------------------- Hi, Earlier I have wrongly posted this in Installation and Configuration forum: I am involved in migrating JBoss AS from 4.2.3 to 5.1.0 We had a JBoss cache version 1.2.4 that is shipped with JBoss 4.2.3. Now when I migrate to JBoss 5.1.0 I got the below error. org.jboss.deployers.spi.DeploymentException: Error deploying: Cyrus.cache:service=TreeCache,type=Listener Deployment "vfszip:/E:/apps/jboss-5.1.0.GA/server/all/deploy/listenerservice-1.3.8-tui.ear/" is in error due to the following reason(s): java.lang.NoSuchFieldError: name Then I realised I need to migrate JBoss cache also which I did [Jboss cache version 3.1.0]. However now I am getting the below error 2011-02-17 17:03:02,824 ERROR /thread/org.jboss.kernel.plugins.dependency.AbstractKernelController org.jboss.kernel.plugins.dependency.AbstractKernelController (ResourceContainer.invoker.nonDaemon-1) Error installing to Create: name=Cyrus.cache:service=TreeCache,type=Listener state=Configured mode=Manual requiredState=Create org.jboss.cache.config.ConfigurationException: Must call setConfiguration() or setCache() before call to create() Our setup is as below We use xdoclet to generate the required artifacts. xdoclet generates the *jboss-service.xml*. It uses a jboss-service.ent file which is under the nerge directory jboss-service.ent has the following entries for JBoss 4, For JBoss 5.1.0 I have changed that as below In the code no where I could find TreeCache.start() or create(), I think this is handled internally within TreeCache. Thats why just having an entry org.jboss.cache.TreeCache in theĀ jboss-service.xml created and started the Cache ? However I think this approach will not work with CacheJmxWrapper in JBoss 5.1.0 Do I need to follow the steps provided in section 4.2. JMX-Based Deployment in JBoss AS (JBoss AS 5.x and 4.x) here http://docs.jboss.org/jbosscache/2.1.0.GA/userguide_en/html_single/index.html#jmx.mbeans http://docs.jboss.org/jbosscache/2.1.0.GA/userguide_en/html_single/index.html#jmx.mbeans to get the cache created and started? Regards, Prabhu -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/588771#588771] Start a new discussion in JBoss Cache at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
