1 Reply Latest reply on May 31, 2009 9:43 PM by Ande Popande

    JBoss Rules and org.jboss.seam.security.RoleShadowProxy

    Ande Popande Newbie

      Hi all,


      I have a question:


      after setting up JBoss rules in components.xml I always get an exception after restarting the server (Tomcat 6):



      ClassNotFoundException while loading persisted sessions: java.lang.ClassNotFoundException: org.jboss.seam.security.RoleShadowProxy
      java.lang.ClassNotFoundException: org.jboss.seam.security.RoleShadowProxy
           at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
           at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Class.java:247)
           at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
           at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:78)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
           at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
           at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
           at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
           at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
           at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
           at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
           at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
           at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
           at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
           at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
           at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
           at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
           at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1441)
           at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:942)
           at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394)
           at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
           at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)
           at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438)
           at org.apache.catalina.core.StandardContext.start(StandardContext.java:4271)
           at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
           at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
           at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
           at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
           at org.apache.catalina.core.StandardService.start(StandardService.java:516)
           at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
           at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
           at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)




      I tried to google the error resp,. the Esception, but Google gives no hits for RoleShadowProxy.
      Anyone knows what I am doing wrong here?


      thanks in advance
      Ande