[jboss-user] [JBoss Cache]java.lang.ClassCastException: java.lang.ClassNotFoundException

Stephen Davidson gorky at freenet.carleton.ca
Tue Mar 18 14:32:36 EDT 2008


Greetings.

This starts as a database error in an EJB (a new Database Table can't be
found -- I messed up in my Database somewhere). But the then the JCache
gets into some kind of weird state, and you can't get ANYTHING out of
it, taking down the entire application.  Get ClassCastExceptions and
ClassNotFoundExceptions on any Cache Access after this point (some are
attached).

This also happens when a Servlet exception occurs when the Cache is
being accessed (and/or updated).  I can generate and post the Servlet
crash stack trace as well.

Let me know if you need more details.  Log is attached.  Not sure what
else is needed.  I can even be persuaded to come out to Atlanta, if that
would be helpful.

Oh yeah, versions;
Jboss-4.2.2.GA
JCache: 1.4.1.SP5
JDK: "1.5.0_11

steve at system:/usr/local/java/jboss-4.2.2.GA> java -jar
server/hrx/lib/jboss-cache-jdk50.jar

Version:        1.4.1.SP5
Codename:       Cayenne
CVS:            $Id: Version.java 4510 2007-09-26 18:45:19Z
manik.surtani at jboss.com $
History:        (see http://jira.jboss.com/jira/browse/JBCACHE for details)
steve at system:/usr/local/java/jboss-4.2.2.GA> java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)

Due to an application constraint, only one Thread would be accessing
(Read or Write, and mostly read) any given node at any time.  So I've
reduced locking as much as possible (I hope).

Regards,
Steve
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: JCacheCrash.txt
Url: http://lists.jboss.org/pipermail/jboss-user/attachments/20080318/cb4dbc04/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hrx-session-cache-service.xml
Type: text/xml
Size: 9911 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/jboss-user/attachments/20080318/cb4dbc04/attachment.xml 


More information about the jboss-user mailing list