I am trying to configure JBossCache 1.2.3 with Oracle 10g Application Server in a clustered environment (2 instances managed by a loadbalancer) I was successful in configuring the above setup and wrote a simple web application to test the setup. The 2 instances are able to identify each other as is indicated by the following log output (which I did by writing a context listener which instantiates and configures a static instance of TreeCache) Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache viewAccepted INFO: viewAccepted(): new members: [192.5.2.87:1323, 192.5.2.87:1326] The 2 instances are also able to replicate the instance of TreeCache on server startup as indicated by the following log output first instance Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache$MessageListenerAdaptor _setState INFO: received the state (size=192 bytes) Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache$MessageListenerAdaptor _setState INFO: transient state: 140 bytes Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache$MessageListenerAdaptor _setState INFO: setting transient state Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache$MessageListenerAdaptor _setState INFO: locking the old tree Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache$MessageListenerAdaptor _setState INFO: locking the old tree was successful Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache$MessageListenerAdaptor _setState INFO: setting the transient state was successful Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache$MessageListenerAdaptor _setState INFO: forcing release of all locks in old tree Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache fetchStateOnStartup INFO: state was retrieved successfully (in 62 milliseconds) second instance Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache$MessageListenerAdaptor getState INFO: locking the tree to obtain transient state Sep 17, 2005 12:22:20 PM org.jboss.cache.TreeCache$MessageListenerAdaptor getState INFO: returning the transient state (140 bytes) Now I try to attach an object to the TreeCache on the first instance but I get the following error message on the second instance Sep 17, 2005 12:22:52 PM org.jgroups.blocks.RpcDispatcher handle SEVERE: exception=java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: com.incivinci.cachemanager.CacheManager Sep 17, 2005 12:22:52 PM org.jgroups.blocks.RpcDispatcher handle SEVERE: exception=java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: com.incivinci.cachemanager.CacheManager when the second instance tries to synchronise the state of object.
Even though the class is in the classpath. I checked it with simple objects like String and HashMap..no problem in caching and replicating updates with these...but any custom made class is leading to the same problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895496#3895496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895496 ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
