Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4845

java.lang.ClassNotFoundException: net.sf.ehcache.distribution.RMICachePeer_Stub (no security manager: RMI class loader disabled)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • jboss-fuse-6.1
    • None
    • None
    • % %
    • Hide

      Test case attached includes the steps to reproduce.

      Show
      Test case attached includes the steps to reproduce.

    Description

      It looks like installing the bundle that has dependency to ehcache causes the below error:

      Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.distribution.RMICachePeer_Stub (no security manager: RMI class loader disabled)
      	at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:393)
      	at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:185)
      	at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:637)
      	at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)
      	at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:214)
      	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612)
      	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
      
      JBossFuse:karaf@root> la -l | grep ehcache 
      [ 195] [Active     ] [            ] [       ] [   40] mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache/2.5.1_1
      
      JBossFuse:karaf@root> packages:exports | grep net.sf.ehcache.distribution
         195 net.sf.ehcache.distribution; version=2.5.1
         195 net.sf.ehcache.distribution.jms; version=2.5.1
      
      JBossFuse:karaf@root> find-class RMICachePeer_Stub
      
      Apache ServiceMix :: Bundles :: ehcache (195)
      net/sf/ehcache/distribution/RMICachePeer_Stub.class
      
      

      Attachments

        Activity

          People

            acosenti Andrea Cosentino
            hooman_b2455 Hooman Broujerdi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: