After yet another journey down into the depths of the cache, it now appears that the 
problem lies with the combination of Java 1.3, TreeCache, and boolean attributes.  
Basically, once I downgraded the Win2K server to 1.3, it began exhibiting the same 
behaviour as the HP/UX server (java.lang.ClassNotFoundException: No ClassLoaders found 
for: boolean  reported by JavaGroups).

More specifically, this error (so far) only seems to occur when setting a boolean 
attribute on a tree node.  I tried using both styles of the put() method:
cache.put("/test/mynode", "testAttribute", new Boolean(true));
and
HashMap testMap = new HashMap();
  | testMap.put("testAttribute", new Boolean(true));
  | cache.put("/test/mynode", testMap);
In both cases, the classloader error was reported.

In order to check my sanity, I moved the Win2K server back to Java 1.4 and ran the 
tests again.  Sure enough, the Win2K server no longer reported the classloader error.

So...to sum things up:  it appears that when a JBoss server instance running Java 1.3 
and TreeCache receives a replication transaction from another server that involves 
replication of a boolean attribute, it fails.  If the recipient server is running Java 
1.4, the replication is successful.

I have a request into our HP/UX admin to upgrade the HP/UX server to 1.4 (which will 
probably not occur until Monday or Tuesday of next week).  Once this upgrade is 
complete, I'll run the tests again to verify my suspicions about Java 1.3 and the 
replication of booleans in TreeCache.

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825116#3825116";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825116>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to