-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: ehcache - no security manager: RMI class loader disabled
PostPosted: Tue Jul 20, 2010 2:57 pm 
Newbie

Joined: Tue Jul 20, 2010 2:47 pm
Posts: 1
I am getting the following stack trace (see below) with tomcat6 container. However the error goes away when I start tomcat with security manager enabled.

I am using ehcache 2.1.0 with hibernate 3.5.4-Final and spring 3.0.2-Final

Ehcache documentation says security manager is not required.

Any help w/r/t running tomcat6 w/o security manager to avoid ClassNotFoundException will be greatly appreciated.

thanx in advance.

Caused by: java.lang.ClassNotFoundException: com.playspan.catalog2.model.Offer2PubId (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375) ~[na:1.6.0_20]
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) ~[na:1.6.0_20]
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) ~[na:1.6.0_20]
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) ~[na:1.6.0_20]
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197) ~[na:1.6.0_20]
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575) ~[na:1.6.0_20]
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) ~[na:1.6.0_20]
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) ~[na:1.6.0_20]
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) ~[na:1.6.0_20]
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) ~[na:1.6.0_20]
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) ~[na:1.6.0_20]
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) ~[na:1.6.0_20]
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) ~[na:1.6.0_20]
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) ~[na:1.6.0_20]
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480) ~[na:1.6.0_20]
at net.sf.ehcache.distribution.EventMessage.readObject(EventMessage.java:138) ~[ehcache-core-2.1.0.jar:na]
at sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.