ehcache-1.3.0-remote-debugger.jar problem

View: New views
2 Messages — Rating Filter:   Alert me  

ehcache-1.3.0-remote-debugger.jar problem

by bonniecpk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

When I run the following command:
        java -jar ehcache-1.3.0-remote-debugger.jar ehcache.xml  
myDistributedCache


I get the following error:

Increase the net.sf.ehcache.distribution logging level to debug or  
trace to see distributed cache operations as they occur.
Exception in thread "main" java.lang.NoClassDefFoundError: edu/emory/
mathcs/backport/java/util/concurrent/Executors
         at  
net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init
(MulticastKeepaliveHeartbeatReceiver.java:81)
         at  
net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init
(MulticastRMICacheManagerPeerProvider.java:89)
         at net.sf.ehcache.CacheManager.init(CacheManager.java:221)
         at net.sf.ehcache.CacheManager.<init>(CacheManager.java:153)
         at net.sf.ehcache.distribution.RemoteDebugger.main
(RemoteDebugger.java:46)
Caused by: java.lang.ClassNotFoundException:  
edu.emory.mathcs.backport.java.util.concurrent.Executors
         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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
289)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
320)
         ... 5 more


I tried to put in "-cp backport-util-concurrent.jar" that contains  
the missing class, but still no luck. I am using JDK1.6.

Anyone has clues?



Thanks,
Po Ki

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
ehcache-list mailing list
ehcache-list@...
https://lists.sourceforge.net/lists/listinfo/ehcache-list

Re: ehcache-1.3.0-remote-debugger.jar problem

by gregluck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I will fix this in ehcache-1.5 final by adding the backport-concurrent jar contents to the debugger, so that no additional classpath need be specified.

I have tested this in trunk.

On 25/06/2008, at 6:52 AM, Po Ki Chui wrote:

Hi all,

When I run the following command:
java -jar ehcache-1.3.0-remote-debugger.jar ehcache.xml  
myDistributedCache


I get the following error:

Increase the net.sf.ehcache.distribution logging level to debug or  
trace to see distributed cache operations as they occur.
Exception in thread "main" java.lang.NoClassDefFoundError: edu/emory/
mathcs/backport/java/util/concurrent/Executors
        at  
net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init
(MulticastKeepaliveHeartbeatReceiver.java:81)
        at  
net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init
(MulticastRMICacheManagerPeerProvider.java:89)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:221)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:153)
        at net.sf.ehcache.distribution.RemoteDebugger.main
(RemoteDebugger.java:46)
Caused by: java.lang.ClassNotFoundException:  
edu.emory.mathcs.backport.java.util.concurrent.Executors
        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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
320)
        ... 5 more


I tried to put in "-cp backport-util-concurrent.jar" that contains  
the missing class, but still no luck. I am using JDK1.6.

Anyone has clues?



Thanks,
Po Ki

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
ehcache-list mailing list
ehcache-list@...
https://lists.sourceforge.net/lists/listinfo/ehcache-list

Regards


Greg Luck


skype: gregrluck
yahoo: gregrluck
mobile: +61 408 061 622




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
ehcache-list mailing list
ehcache-list@...
https://lists.sourceforge.net/lists/listinfo/ehcache-list
LightInTheBox - Buy quality products at wholesale price