how to use java memcache client now after memcache server is up and connect to my java application..- any help?
I am able to run stand alone java class that uses spymemcache(using memcache 2.5 jar) but when i try to run a web appliaction which uses jboss server it gives me following error:-
09:17:29,125 ERROR [STDERR] 2010-06-10 09:17:29.125
09:17:29,125 ERROR [STDERR]
09:17:29,125 ERROR [STDERR] INFO
09:17:29,125 ERROR [STDERR]
09:17:29,125 ERROR [STDERR] net.spy.memcached.MemcachedConnection
09:17:29,125 ERROR [STDERR] :
09:17:29,125 ERROR [STDERR] Added {QA sa=/172.22.1.174:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
09:17:29,125 INFO [MediaUtil] after getting c
09:17:29,125 INFO [MediaUtil] after setting to c
09:17:29,125 ERROR [STDERR] 2010-06-10 09:17:29.125
09:17:29,125 ERROR [STDERR]
09:17:29,125 ERROR [STDERR] INFO
09:17:29,125 ERROR [STDERR]
09:17:29,125 ERROR [STDERR] net.spy.memcached.MemcachedConnection
09:17:29,125 ERROR [STDERR] :
09:17:29,125 ERROR [STDERR] Connection state changed for sun.nio.ch.SelectionKeyImpl@b9979b
09:17:29,125 ERROR [STDERR] 2010-06-10 09:17:29.125
09:17:29,125 ERROR [STDERR]
09:17:29,125 ERROR [STDERR] WARN
09:17:29,125 ERROR [STDERR]
09:17:29,125 ERROR [STDERR] net.spy.memcached.transcoders.SerializingTranscoder
09:17:29,125 ERROR [STDERR] :
09:17:29,125 ERROR [STDERR] Caught CNFE decoding 302 bytes of data
09:17:29,125 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: drw.util.SiteMedia
09:17:29,125 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
09:17:29,125 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
09:17:29,125 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
09:17:29,125 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
09:17:29,125 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
09:17:29,125 ERROR [STDERR] at java.lang.Class.forName0(Native Method)
09:17:29,125 ERROR [STDERR] at java.lang.Class.forName(Class.java:247)
09:17:29,125 ERROR [STDERR] at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
09:17:29,125 ERROR [STDERR] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
09:17:29,125 ERROR [STDERR] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
09:17:29,125 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
09:17:29,125 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
09:17:29,125 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
09:17:29,125 ERROR [STDERR] at net.spy.memcached.transcoders.BaseSerializingTranscoder.deserialize(BaseSerializingTranscoder.java:100)
09:17:29,125 ERROR [STDERR] at net.spy.memcached.transcoders.SerializingTranscoder.decode(SerializingTranscoder.java:66)
09:17:29,125 ERROR [STDERR] at net.spy.memcached.transcoders.TranscodeService$1.call(TranscodeService.java:36)
09:17:29,125 ERROR [STDERR] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
09:17:29,125 ERROR [STDERR] at java.util.concurrent.FutureTask.run(FutureTask.java:138)
09:17:29,125 ERROR [STDERR] at net.spy.memcached.transcoders.TranscodeService$Task.run(TranscodeService.java:83)
09:17:29,125 ERROR [STDERR] at net.spy.memcached.transcoders.TranscodeService$Task.get(TranscodeService.java:69)
09:17:29,125 ERROR [STDERR] at net.spy.memcached.internal.GetFuture.get(GetFuture.java:38)
09:17:29,125 ERROR [STDERR] at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:917)
09:17:29,125 ERROR [STDERR] at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:939)