[JBoss-user] [JBossCache] - Deleting objects in TreeCacheAop with FileCacheLoader
When I delete objects from a TreeCacheAop, not all data gets deleted when I use a FileCacheLoader. There is sort of an empty remainder of the remaining object, that causes NullpointerExceptions when accessing it (even though it should have been gone completely). Can TreeCacheAop be used with the FileCacheLoader? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3911731#3911731 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911731 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Reading from persisted TreeCacheAop leads to Instantiati
[EMAIL PROTECTED] wrote : Yeah, if you have overloaded your constructor you need to provide a default one as well. | | -Ben When I define default constructors, I don't get an InstantiationException anymore... but now I get NullpointerExceptions, since certain values have not been filled. It does strike me as rather odd that the classes get instantiated once more... shouldn't it be enough to simply serialize and deserialize them? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3907590#3907590 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3907590 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Reading from persisted TreeCacheAop leads to Instantiati
Okay, let me put it a bit more straightforwad: is is possible to use a CachelLoader with TreeCacheAop? If yes, how? Simply putting on the option doesn't work, obviously. If no, what did I miss in the manual? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3907783#3907783 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3907783 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Reading from persisted TreeCacheAop leads to InstantiationEx
I pretty much ironed out most of the problems I have with the TreeCacheAop-implementation by delaying reading the cache after an event as much as possible., One thing remains though: when I try to read a persisted cache I get this error: | Caused by: org.jboss.util.NestedRuntimeException: failed creating instance of nl.motormind.ToCCommand; - nested throwable: (java.lang.InstantiationException: nl.motormind.ToCCommand); - nested throwable: (org.jboss.cache.CacheException: failed creating instance of nl.motormind.ToCCommand; - nested throwable: (java.lang.InstantiationException: nl.motormind.ToCCommand)) | at org.jboss.cache.aop.collection.CachedMapImpl.get(CachedMapImpl.java:59) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.cache.aop.collection.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:122) | at org.jboss.cache.aop.collection.CachedMapInterceptor.invoke(CachedMapInterceptor.java:108) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at AOPClassProxy$0.get(AOPClassProxy$0.java) | at nl.mindef.c2sc.titaan.tbl.server.TblServerRmt.getStoredCommands(TblServerRmt.java:606) | at nl.mindef.c2sc.titaan.tbl.server.TblServerRmt.getCommands(TblServerRmt.java:618) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) | at sun.rmi.transport.Transport$1.run(Unknown Source) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | I am using the FileCacheLoader for persisting the cache. Now I do get the idea that the code bails since the FileCacheLoader expects a default constructor when loading a POJO from the cache. Is this correct? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3907397#3907397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3907397 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Obtaining a newly added POJO in TreeCacheAop
Does anyone at JBOSS have a clue about what is going wrong? I have been reporting these kinds of issues for months now and am really starting to get pressed for time, since my project needs to get finished... so any kind of input would be appreciated! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3906549#3906549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906549 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Obtaining a newly added POJO in TreeCacheAop
[EMAIL PROTECTED] wrote : Can't getObject do the trick. It is only read lock on one paticular node and it is quick (since it will just return the object instance). | | -ben No. When I try a getObject(), I get a stacktrace like this: | javax.transaction.RollbackException | at org.jboss.cache.transaction.DummyTransaction.commit(DummyTransaction.java:67) | at org.jboss.cache.transaction.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:60) | at org.jboss.cache.aop.TreeCacheAop.endTransaction(TreeCacheAop.java:483) | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:373) | at nl.motormind.server.TblServerRmt.initialize(TblServerRmt.java:407) | at nl.motormind.server.TblServerRmt.init(TblServerRmt.java:209) | at nl.motormind.server.TblServer.main(TblServer.java:18) | at nl.motormind.test.StartAll.main(Unknown Source)11:44:51,468 Feed node created: /feeds, object null [ Thread-32] INFO titaan.tbl.server.TblServerRmt 08 Nov 2005 11:44:51,468 | | org.jboss.util.NestedRuntimeException: TreeCacheAop.endTransaction(): ; - nested throwable: (javax.transaction.RollbackException) | at org.jboss.cache.aop.TreeCacheAop.endTransaction(TreeCacheAop.java:490) | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:373) | at nl.motormind.server.TblServerRmt.initialize(TblServerRmt.java:407) | at nl.motormind.server.TblServerRmt.init(TblServerRmt.java:209) | at nl.motormind.server.TblServer.main(TblServer.java:18) | at nl.motormind.test.StartAll.main(Unknown Source) | Caused by: javax.transaction.RollbackException | at org.jboss.cache.transaction.DummyTransaction.commit(DummyTransaction.java:67) | at org.jboss.cache.transaction.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:60) | at org.jboss.cache.aop.TreeCacheAop.endTransaction(TreeCacheAop.java:483) | ... 5 more | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905972#3905972 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905972 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Obtaining a newly added POJO in TreeCacheAop
I tried to postpone reading the object until I get the first Modification-event, but then I get this stacktrace: | 14:10:07 runPreparePhase() failed. Transaction is marked as rolled back [ Thread-53] WARN ceptors.ReplicationInterceptor 08 Nov 2005 14:10:07,609 | org.jboss.cache.ReplicationException: rsp=sender=10.220.242.154:3044, retval=null, received=false, suspected=false | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:3505) | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:3526) | at org.jboss.cache.interceptors.ReplicationInterceptor.runPreparePhase(ReplicationInterceptor.java:485) | at org.jboss.cache.interceptors.ReplicationInterceptor$SynchronizationHandler.beforeCompletion(ReplicationInterceptor.java:389) | at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:72) | at org.jboss.cache.transaction.DummyTransaction.notifyBeforeCompletion(DummyTransaction.java:239) | at org.jboss.cache.transaction.DummyTransaction.commit(DummyTransaction.java:54) | at org.jboss.cache.transaction.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:60) | at org.jboss.cache.aop.TreeCacheAop.endTransaction(TreeCacheAop.java:483) | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:373) | at org.jboss.cache.aop.collection.CachedMapImpl.put(CachedMapImpl.java:66) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.cache.aop.collection.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:122) | at org.jboss.cache.aop.collection.CachedMapInterceptor.invoke(CachedMapInterceptor.java:108) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at AOPClassProxy$0.put(AOPClassProxy$0.java) | at nl.motormind.server.TblServerRmt.addCyrusMessage(TblServerRmt.java:708) | at nl.motormind.server.TblServerRmt$1.messageReceived(TblServerRmt.java:397) | at nl.motormind.server.communication.FeedCommunicator.distributeMessageToListeners(Unknown Source) | at nl.motormind.server.communication.FeedCommunicator.socketMessageReceived(Unknown Source) | at nl.motormind.server.communication.FeedCommunicator.access$300(Unknown Source) | at nl.motormind.server.communication.FeedCommunicator$ClientThread.run(Unknown Source) | 14:10:07 beforeCompletion() failed for [EMAIL PROTECTED], handlers=[ReplicationInterceptor(gtx=GlobalTransaction:10.220.242.154:3048:3, [EMAIL PROTECTED]), [EMAIL PROTECTED] [Thread-53] ERROR e.transaction.DummyTransaction 08 Nov 2005 14:10:07,625 | org.jboss.util.NestedRuntimeException: ; - nested throwable: (org.jboss.cache.ReplicationException: rsp=sender=10.220.242.154:3044, retval=null, received=false, suspected=false) | at org.jboss.cache.interceptors.ReplicationInterceptor$SynchronizationHandler.beforeCompletion(ReplicationInterceptor.java:406) | at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:72) | at org.jboss.cache.transaction.DummyTransaction.notifyBeforeCompletion(DummyTransaction.java:239) | at org.jboss.cache.transaction.DummyTransaction.commit(DummyTransaction.java:54) | at org.jboss.cache.transaction.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:60) | at org.jboss.cache.aop.TreeCacheAop.endTransaction(TreeCacheAop.java:483) | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:373) | at org.jboss.cache.aop.collection.CachedMapImpl.put(CachedMapImpl.java:66) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.cache.aop.collection.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:122) | at org.jboss.cache.aop.collection.CachedMapInterceptor.invoke(CachedMapInterceptor.java:108) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at AOPClassProxy$0.put(AOPClassProxy$0.java) | at nl.motormind.server.TblServerRmt.addCyrusMessage(TblServerRmt.java:708) | at nl.motormind.server.TblServerRmt$1.messageReceived(TblServerRmt.java:397) | at nl.motormind.server.communication.FeedCommunicator.distributeMessageToListeners(Unknown Source) | at nl.motormind.server.communication.FeedCommunicator.socketMessageReceived(Unknown Source) | at
[JBoss-user] [JBossCache] - Obtaining a newly added POJO in TreeCacheAop
Is there any easy way to obtain a newly created POJO, without getting into all kinds of hairy locking-problems? I am especially talking about obtaining a POJO after catching a nodeCreated or nodeLoaded-event... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905739#3905739 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905739 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - How to disable JGroups logging
I am trying to use Log4J for my own software, completely with INFO statements. Alas, JGroups starts shouting all its DEBUG-information as well... and there is no way to shut it off. I tried directing all org.jgroups messages to the BitBucket appender, but that didn't work. Does anyone have any insights how I can make JGroups be silent? TIA! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905757#3905757 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905757 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: InstantiationException during TreeCacheAop.findObjects()
[EMAIL PROTECTED] wrote : ok, so the code is confidential. But can you cook up a mockup example to reproduce the problem? | | Or can you check out the source code and run the CacheLoader tests under aop ppackage? I will be interested to see where it fails. | | -Ben I will see what I can do. It is also happening though without reading from the persistent cache ... and I also get a JGroups error along with it: | 11/04/05,14:34:58:jgroups-ERROR-PessimisticLockInterceptor: undo operation failedjava.lang.reflect.InvocationTargetException | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.cache.aop.collection.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:122) | at org.jboss.cache.aop.collection.CachedMapInterceptor.invoke(CachedMapInterceptor.java:108) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at AOPClassProxy$0.get(AOPClassProxy$0.java) | at nl.motormind.TblServerRmt$TBLTreeCacheListener.nodeModified(TblServerRmt.java:169) | at org.jboss.cache.TreeCache.notifyNodeModified(TreeCache.java:4519) | at org.jboss.cache.TreeCache._remove(TreeCache.java:3863) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:286) | at org.jboss.cache.interceptors.PessimisticLockInterceptor.rollback(PessimisticLockInterceptor.java:336) | at org.jboss.cache.interceptors.PessimisticLockInterceptor.access$200(PessimisticLockInterceptor.java:31) | at org.jboss.cache.interceptors.PessimisticLockInterceptor$SynchronizationHandler.afterCompletion(PessimisticLockInterceptor.java:418) | at org.jboss.cache.interceptors.OrderedSynchronizationHandler.afterCompletion(OrderedSynchronizationHandler.java:80) | at org.jboss.cache.transaction.DummyTransaction.notifyAfterCompletion(DummyTransaction.java:260) | at org.jboss.cache.transaction.DummyTransaction.rollback(DummyTransaction.java:88) | at org.jboss.cache.transaction.DummyBaseTransactionManager.rollback(DummyBaseTransactionManager.java:84) | at org.jboss.cache.aop.TreeCacheAop.endTransaction(TreeCacheAop.java:486) | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:373) | at org.jboss.cache.aop.collection.CachedMapImpl.put(CachedMapImpl.java:66) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.cache.aop.collection.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:122) | at org.jboss.cache.aop.collection.CachedMapInterceptor.invoke(CachedMapInterceptor.java:108) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at AOPClassProxy$0.put(AOPClassProxy$0.java) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905470#3905470 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905470 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: InstantiationException during TreeCacheAop.findObjects()
[EMAIL PROTECTED] wrote : ic. And which version this is? If it is not 1.2.4, can you try it out? I have junit test case for FileCacheLoader that is working under TreeCacheAop. | | -Ben Well, it is version 1.2.4 ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905120#3905120 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905120 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: InstantiationException during TreeCacheAop.findObjects()
[EMAIL PROTECTED] wrote : Hmmn! I don't see anything obvious come to mind. Can you send me a JUnit test case if you can? [EMAIL PROTECTED] | | -Ben Alas, the code itself is actually pretty secret, so I can't send it to you. I also only get the error when I try to load an object from a persistent cache using the FileCacheLoader View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3903744#3903744 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903744 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - InstantiationException during TreeCacheAop.findObjects()
I get an java.lang.InstantiationException when I try to obtain POJOs from a TreeCacheAop through findObjects, like this: | org.jboss.cache.CacheException: failed creating instance of nl.motormind.tasks.ToCCommand; - nested throwable: (java.lang.InstantiationException: nl.motormind.tasks.ToCCommand) | at org.jboss.cache.aop.TreeCacheAopDelegate._getObject(TreeCacheAopDelegate.java:75) | at org.jboss.cache.aop.TreeCacheAopDelegate.findChildObjects(TreeCacheAopDelegate.java:376) | at org.jboss.cache.aop.TreeCacheAopDelegate._findObjects(TreeCacheAopDelegate.java:356) | at org.jboss.cache.aop.TreeCacheAop._findObjects(TreeCacheAop.java:522) | at org.jboss.cache.aop.TreeCacheAop.findObjects(TreeCacheAop.java:461) | at nl.motormind.server.TblServerRmt.getStoredCommands(Unknown Source) | at nl.motormind.server.TblServerRmt.getCommands(Unknown Source) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) | at sun.rmi.transport.Transport$1.run(Unknown Source) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | The thing is: nl.motormind.tasks.ToCCommand is a concrete class, so this should work ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3903439#3903439 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903439 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: aop-enabled objects not Serializable anymore?
Well, I solved it by wrapping the result from the cache in an object that it still serializable. The next problem is: are Collections in stored objects also automatically stored when I use TreeCacheAop? I don't see that happening... when I ask the contents of a Collection with a cached object that is cupposed to be full, there is nothing there... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3903161#3903161 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903161 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - aop-enabled objects not Serializable anymore?
Hi there, I try collect some Serializable objects from a TreeCacheAop instance and try to send them over an RMI-collection to a client. Alas, I get this error (this is a partial stacktrace): | java.rmi.UnmarshalException: error unmarshalling return; nested exception is: | java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.jboss.cache.aop.collection.CachedListInterceptor | What does this mean? Are Serializable objects that are AOP-enabled all of a sudden not serializable anymore? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3902981#3902981 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3902981 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available
[EMAIL PROTECTED] wrote : Motormind, | | You've been so helpful in the beta, we wanted to find a way to get Map.values() working for you in 1.2.4. So, we pushed that one forward from 1.3 and its fixed in CVS. See | | http://jira.jboss.com/jira/browse/JBCACHE-342 | | Thanks much for all your helpful posts. Hey, no need to become sarcastic ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3903063#3903063 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903063 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available
BTW: is it possible to get a POJO that has just been created? I try to use the TreeCacheListener like tthis: | public void nodeCreated(Fqn fqn) { | Object pojo = cache.getObject(fqn); | } | Alas, the pojo is always null. Is there something I'm missing here? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3901706#3901706 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901706 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available
I also have an issue with the 1.2.4 beta. I get an AopOperationNotSupportedException when I try to obtain a persisted TreeCacheAop , like in this (partial) stacktrace: | caused by: org.jboss.cache.aop.AopOperationNotSupportedException: CachedMapImpl: map.values() operation not supported | at org.jboss.cache.aop.collection.CachedMapImpl.values(CachedMapImpl.java:171) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.cache.aop.collection.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:122) | at org.jboss.cache.aop.collection.CachedMapInterceptor.invoke(CachedMapInterceptor.java:108) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) | at AOPClassProxy$0.values(AOPClassProxy$0.java) | at nl.mindef.c2sc.titaan.tbl.server.TblServerRmt.getFeeds(Unknown Source) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) | at sun.rmi.transport.Transport$1.run(Unknown Source) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | What does it mean that map.values() not supported? I thought that Maps and other collection objects could simply be placed in the cache as is? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3901468#3901468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901468 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Can't get items from persisted TreeCacheAop
Hi there, I am trying to obtain values from a TreCacheAop that I persisted. When the item is first cerated and then still in-memory, it appears to go fine. When I restart my application though and try to obtain someting from the cache, I get this stacktrace: | java.lang.reflect.InvocationTargetException | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.cache.aop.collection.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:122) | at org.jboss.cache.aop.collection.CachedMapInterceptor.invoke(CachedMapInterceptor.java:108) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) | at AOPClassProxy$0.values(AOPClassProxy$0.java) | at nl.mindef.c2sc.titaan.tbl.server.TblServerRmt.addCyrusMessage(TblServerRmt.java:655) | at nl.mindef.c2sc.titaan.tbl.server.process.cyrusimport.CyrusImportProcess.distributeInternal(Unknown Source) | at nl.mindef.c2sc.titaan.tbl.server.process.cyrusimport.CyrusImportProcess.receivedMessage(Unknown Source) | at nl.mindef.c2sc.titaan.tbl.server.process.cyrusimport.CyrusImportProcess$CyrusListener.socketMessageReceived(Unknown Source) | at nl.mindef.c2sc.titaan.tbl.server.communication.SocketHandler.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | Caused by: org.jboss.cache.aop.AopOperationNotSupportedException: CachedMapImpl: map.values() operation not supported | at org.jboss.cache.aop.collection.CachedMapImpl.values(CachedMapImpl.java:171) | ... 14 more | What could be the trouble? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3901108#3901108 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901108 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Can't get items from persisted TreeCacheAop
Oh yeah, I am using the beta of 1.2.4, so this should probably go to that thread... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3901110#3901110 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901110 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Can't get items from persisted TreeCacheAop
BTW: I also get the idea that TreeCacheAop doesn't handle anonymous classes very well, since I also get this tracktrace on another set of objects: | Caused by: java.lang.IllegalArgumentException: TreeCacheAop.putObject(): Object type is neither aspectized nor Serializable. Object class name is nl.mindef.c2sc.titaan.tbl.tasks.AbstractCommand$1 | at org.jboss.cache.aop.util.AopUtil.checkObjectType(AopUtil.java:113) | at org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:147) | at org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:226) | at org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:177) | at org.jboss.cache.aop.TreeCacheAop._putObject(TreeCacheAop.java:399) | at org.jboss.cache.aop.CollectionClassHandler.collectionObjectPut(CollectionClassHandler.java:141) | at org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:184) | at org.jboss.cache.aop.TreeCacheAop._putObject(TreeCacheAop.java:399) | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:250) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3901172#3901172 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901172 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop, Maps and persistence
I tried the beta and problem seems to be solved tiah that one. The problem thouogh is that I am now allowed to use betas in development, let alone production. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900189#3900189 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3900189 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop, Maps and persistence
Okay, here comes: | java.lang.reflect.InvocationTargetException | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at | org.jboss.cache.aop.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:100) | at | org.jboss.cache.aop.CachedMapInterceptor.invoke(CachedMapInterceptor.java:48) | at | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:66) | at AOPClassProxy$0.put(AOPClassProxy$0.java) | at nl.mindef.c2sc.titaan.tbl.server.TblServerRmt.addCyrusMessage(Unknown | Source) | at | nl.mindef.c2sc.titaan.tbl.server.process.cyrusimport.CyrusImportProcess.distributeInternal(Unknown | Source) | at | nl.mindef.c2sc.titaan.tbl.server.process.cyrusimport.CyrusImportProcess.receivedMessage(Unknown | Source) | at | nl.mindef.c2sc.titaan.tbl.server.process.cyrusimport.CyrusImportProcess$CyrusListener.socketMessageReceived(Unknown | Source) | at nl.mindef.c2sc.titaan.tbl.server.communication.SocketHandler.run(Unknown | Source) | at java.lang.Thread.run(Unknown Source) | Caused by: org.jboss.util.NestedRuntimeException: TreeCacheAop.putObject(): ; - | nested throwable: (java.lang.RuntimeException: | InternalDelegate.incrementRefCount(): REF_COUNT for reference counting is null | at: /feeds/12346/missions/0/scs/0/units/0); - nested throwable: | (org.jboss.util.NestedRuntimeException: TreeCacheAop.putObject(): ; - nested | throwable: (java.lang.RuntimeException: InternalDelegate.incrementRefCount(): | REF_COUNT for reference counting is null at: | /feeds/12346/missions/0/scs/0/units/0)) | at org.jboss.cache.aop.CachedMapInterceptor.put(CachedMapInterceptor.java:79) | ... 14 moreCACHE: node removed: /feeds/12346/missions/0/scs/0/units/0 | Caused by: org.jboss.util.NestedRuntimeException: TreeCacheAop.putObject(): ; - | nested throwable: (java.lang.RuntimeException: | InternalDelegate.incrementRefCount(): REF_COUNT for reference counting is null | at: /feeds/12346/missions/0/scs/0/units/0) | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:270) | at org.jboss.cache.aop.CachedMapInterceptor.put(CachedMapInterceptor.java:77) | ... 14 more | Caused by: java.lang.RuntimeException: InternalDelegate.incrementRefCount(): | REF_COUNT for reference counting is null at: | /feeds/12346/missions/0/scs/0/units/0 | at | org.jboss.cache.aop.InternalDelegate.incrementRefCount(InternalDelegate.java:73) | at | org.jboss.cache.aop.TreeCacheAopDelegate.addRefFqn(TreeCacheAopDelegate.java:592) | at | org.jboss.cache.aop.TreeCacheAopDelegate.handleCircularReference(TreeCacheAopDelegate.java:464) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:168) | at | org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:229) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:175) | at | org.jboss.cache.aop.TreeCacheAopDelegate._collectionPutObject(TreeCacheAopDelegate.java:311) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:182) | at | org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:229) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:175) | at | org.jboss.cache.aop.TreeCacheAopDelegate._collectionPutObject(TreeCacheAopDelegate.java:311) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:182) | at | org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:229) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:175) | at | org.jboss.cache.aop.TreeCacheAopDelegate._collectionPutObject(TreeCacheAopDelegate.java:311) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:182) | at | org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:229) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:175) | at | org.jboss.cache.aop.TreeCacheAopDelegate._collectionPutObject(TreeCacheAopDelegate.java:311) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:182) | at | org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:229) | at
[JBoss-user] [JBossCache] - Re: TreeCacheAop, Maps and persistence
I'm using version 1.2.3 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899757#3899757 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899757 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop, Maps and persistence
Well, I sent you an email with the stacktrace. Could it be that maps and lists in the cache may not be null? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899239#3899239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899239 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop, Maps and persistence
Weird. I thought that you could simply treat objects in the cache as if they were not stored. Anyway, now I do get this error message: java.lang.RuntimeException: InternalDelegate.incrementRefCount(): REF_COUNT for reference counting is null at: /feeds/12346/missions/0/scs/0/units/0 I can't figure out what could cause this. Any insights? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898952#3898952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898952 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - TreeCacheAop, Maps and persistence
Hi there, Would it be possible to but a HashMap as the top-root in a TreeCacheAop and then see if entries are added, deleted or changed? I tried it but not much happens. I also don't get any persistence anymore. I simply use the same configuration-file that I used with the normal Treecache, only updated for the TreeCacheAop. Are there any special issues I shoud look out for? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898634#3898634 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898634 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: segmented persistence
[EMAIL PROTECTED] wrote : Okay, all members have a copy of their state. But what I meant was that only *clients* would have *no* CacheLoader configured, so their data would not be persisted Well, I set up the clients with no cacheloader-implementation. The result is that when the clients start first, the cache of the servers doesn't get propagated to them. When the servers start first, the goed does get propagated, although I get this error on the client-side: jgroups-ERROR-TreeCache$MessageListenerAdaptor: cache loader is null, cannot set persistent state View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897022#3897022 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897022 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: segmented persistence
[EMAIL PROTECTED] wrote : Okay, how about not using a CacheLoader at all for clients ? | Or using a ClusteredCacheLoader once 1.3 comes around ? I tried making seperate xml-configurations for the clients and the servers... the ones for the clients did not have any data regarding persistence. The servers should each have their own local copy of the cache. It seemed to me though that the persistence-configuration got overwritten once I started a client, since there can be only one cacheloader per TreeCache. Is that possible? In any case, the other servers simply refused to load the cache and persit it themselves.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896260#3896260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896260 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: how to access jboss cache from client code
There is no difference between client and server code. They are all full-fledged users of the cache and there is no way to seperate between them. This is what I found myself while trying to distribute a cache between several processes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896088#3896088 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896088 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: segmented persistence
[EMAIL PROTECTED] wrote : You should be able to. What case is this ? | Do you implement the exists() ? Then I shouldn't even call you. | I get it with loadEntireState when I try to use it as a real CacheLoader. Eseentially I subclasses FileCacheLoader and then simply call the super implementation or - when it's not a server - I return an ampty byte array. anonymous wrote : | Note that some work on CacheLoaders in general is planned for the next release (1.3) That's nice, but I need it right now. I am surprised it is not a feature already. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895757#3895757 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895757 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: segmented persistence
[EMAIL PROTECTED] wrote : The I need it right now sounds familiar :-) | | Maybe there is a mismatch in your trying to use a peer-to-peer system for a client-server application. I'll think of this use case when I get to 1.3 Well, it just seemed like a reasonable idea to let the GUI part view the same cache that the server is manipulating. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895772#3895772 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895772 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: segmented persistence
[EMAIL PROTECTED] wrote : This is not possible with the current cache. However, when we introduce the Clustered CacheLoader, it might be an option to have a local copy. Or, we could use multiple CacheLoaders with CacheLoader Chaining. Both of these 2 feature will be introduced in 1.3 Right now I am trying to build a cacheloader that behaves differently, according to the configuration file. But when I different cacheloaders, they are always set for the whole tree? That is a major pain. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895554#3895554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895554 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: segmented persistence
[EMAIL PROTECTED] wrote : Yes, CacheLoaders are set for the entire tree. We are looking into moving to a regions-based JBossCache later on. So, is it then possible to make one cacheloader, that behaves differently while running on several processes? E.g. I want that cacheloader to store state on the server processes, but to skip it while running on the clients. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895570#3895570 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895570 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: segmented persistence
[EMAIL PROTECTED] wrote : Sure, depends on what you code. For example, a CacheLoader impl can have its own configuration, you could have 2 sets of configurations. Or read a system property in your implementation Actually, I am using seperate configuration files now. Alas, I found out that you can't return null values ina CacheLoader implementation, or rhte system will balk with nullpointerexceptions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895601#3895601 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895601 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Distinguishing members
[EMAIL PROTECTED] wrote : Look at AddDataTest: | | | JChannel c=new JChannel(properties); | | Map m=new HashMap(); | | m.put(additional_data, new byte[]{'b', 'e', 'l', 'a'}); | | c.down(new Event(Event.CONFIG, m)); | | c.connect(bla); | | IpAddress addr=(IpAddress)c.getLocalAddress(); | | System.out.println(address is + addr); | | assertNotNull(addr.getAdditionalData()); | | assertEquals(addr.getAdditionalData()[0], 'b'); | | | | IpAddress.getAdditionalData() returns a byte[] buffer, that you can use But you're saying that it is already used by JBoss Cache... won't it upset the system when I set it myself? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895493#3895493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895493 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Distinguishing members
[EMAIL PROTECTED] wrote : Only when the cache is replicated; and started Right. So how amd I going to distinguish between members? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895280#3895280 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895280 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - segmented persistence
I have some members that need to have a local coy of a cache while others don't need that at all. Is it possible to segment that behavior? I tried to give the seperate members different configuration files (one with persistence and the others without), but it look slike the cache-behavior gets overridden ever tyime I connect a new member,. Is it possible to segment this behavior? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895281#3895281 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895281 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Distinguishing members
I have two sorts of processes using a certain cache: some non-interactive (functioning more like servers) and interactive ones with a gui. How can I distinguish between the two when I see a view change? I tried to distinguish by hostname, but that is not possible since both the clients and the servers can run on the same machine. Then I tried to distinguish by port namne, but I have no idea how a member can find out its own port under which it made a cache. Does anyone have any insights? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895176#3895176 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895176 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Distinguishing members
[EMAIL PROTECTED] wrote : You can attach some bytes to a JGroups IpAddress, check out HAPartitionImpl in JBoss for how to do this I thought about that, but didn't see a way to obtain the IP-address port of a process that uses the cache. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895182#3895182 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895182 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Distinguishing members
[EMAIL PROTECTED] wrote : TreeCache.getLocalAddress() return an instance of org.jgroups.stack.IpAddress. The problem is that JBoss already uses the additional bytes to stick the logical node name into the IpAddress... Hmm.. TreeCache.getLocalAddress() actually returns a null on my system View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895191#3895191 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895191 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Problems with persistent cache
[EMAIL PROTECTED] wrote : You will need to remove them explicitly. Uh. Meaning? Right now I resorted to remove the files physically from my hard drive. Is that the solution? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893545#3893545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893545 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Problems with persistent cache
Okay, is there anyone who can tell me then how I can at least make sure that persisted items get deleted? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893387#3893387 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893387 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Problems with persistent cache
Anyone have any insights about this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893166#3893166 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893166 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: jgroups-ERROR-UDP after upgrading to 1.2.3
Any insights? The problem still persists... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891382#3891382 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891382 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: jgroups-ERROR-UDP after upgrading to 1.2.3
For a while everything appeared fine. When I develop locally, I don't have any problems. As soon as I deploy my code on one of our test servers, the above error-message reappears. Nobody is using another version of JGroups aside from 2.2.8 ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3889239#3889239 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3889239 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: jgroups-ERROR-UDP after upgrading to 1.2.3
[EMAIL PROTECTED] wrote : You have to use the same version of JGroups *and* JBossCache. Anything else is untested and (as of now), unrecommended. | Are you saying we can't use JBoss Cache and JGroups at the same time? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882324#3882324 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882324 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: jgroups-ERROR-UDP after upgrading to 1.2.3
[EMAIL PROTECTED] wrote : Use the *same* version of JGroups in the same cluster. Otherwise, separate clusters by changing IP mulitcast address and/or port We *are* all using the same version. The trouble started when we upgraded to JGroups 2.2.8 and I upgraded to Jboss Cache 1.2.3 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882266#3882266 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882266 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - jgroups-ERROR-UDP after upgrading to 1.2.3
Hi there, After I upgraded to JBoss Cache 1.2.3, I get this error message several times a second: | 06/21/05,16:06:11:jgroups-ERROR-UDP: exception in processing incoming packetjava.net.UnknownHostException: addr is of illegal length | at java.net.InetAddress.getByAddress(Unknown Source) | at java.net.InetAddress.getByAddress(Unknown Source) | at org.jgroups.stack.IpAddress.readFrom(IpAddress.java:341) | at org.jgroups.util.Util.readAddress(Util.java:121) | at org.jgroups.Message.readFrom(Message.java:599) | at org.jgroups.protocols.UDP.bufferToMessage(UDP.java:945) | at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:720) | at org.jgroups.protocols.UDP.run(UDP.java:277) | at java.lang.Thread.run(Unknown Source) Actually, this happened after another member of my team upgraded his JGroups version to 2.2.8 . Everything worked fine when everyone was working under JGroups 2.2.7. What could be going wrong? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882257#3882257 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882257 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Failover systems
Does JBoss Cache have any configurable failover mechanism? E.g. is it possible to specify what has to happen when several TreeCaches with their own local datastores get disconnected? I am asking this since I want to use JBoss Cache in a fairly unstable networking environment. Does the underlying JGroups merge offer any facilites for failover? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3881242#3881242 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881242 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user