3 Replies Latest reply: May 23, 2012 8:40 AM by Marek Novotny RSS

Migration Seam 2.2/JSF 1.2 to Seam 2.3/JSF2 --Cache Issues

Jubril Adisa Novice

Hello,

I am migrating an application running on Jboss 6/Jeam 2.2  to Jboss 7/Seam 2.3 Beta. I am getting some errors with the Seam cache Module, whenever I try to start the application is get

 

 

Caused by: java.lang.IllegalStateException: Error starting JBoss Treecache 1.x

          at org.jboss.seam.cache.JbossCacheProvider.create(JbossCacheProvider.java:54) [jboss-seam.jar:2.3.0.Beta1]

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [classes.jar:1.6.0_31]

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_31]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_31]

          at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_31]

          at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam.jar:2.3.0.Beta1]

          at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam.jar:2.3.0.Beta1]

          at org.jboss.seam.Component.callComponentMethod(Component.java:2275) [jboss-seam.jar:2.3.0.Beta1]

          at org.jboss.seam.Component.callCreateMethod(Component.java:2198) [jboss-seam.jar:2.3.0.Beta1]

          at org.jboss.seam.Component.newInstance(Component.java:2158) [jboss-seam.jar:2.3.0.Beta1]

 

Caused by: org.jboss.cache.ConfigureException: Could not find PropertyEditor for type class interface org.w3c.dom.Element

  at org.jboss.cache.PropertyConfigurator.configure(PropertyConfigurator.java:245) [jboss-cache.jar:1.4.1.SP9]

  at org.jboss.seam.cache.JbossCacheProvider.create(JbossCacheProvider.java:47) [jboss-seam.jar:2.3.0.Beta1]

  ... 47 more

 

And i have had to add some extra Library jar to the application (Note: This jars were not needed in Jboss 6/Seam 2.2) the jars are

 

jboss-system.jar

jboss-jmx.jar

concurrent.jar

 

 

 

Please any suggestions will be appreciated