[JBoss Cache: Core Edition] - ava.lang.ClassCastException: java.lang.ClassNotFoundExceptio
by northgorky
reetings.
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). The ONLY way I have found to recover so far is to
cold start JBoss, as all access from all clients are failing at this point.
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.
Oh yeah, versions;
Jboss-4.2.2.GA
JCache: 1.4.1.SP5
JDK: "1.5.0_11
steve@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(a)jboss.com $
History: (see http://jira.jboss.com/jira/browse/JBCACHE for details)
steve@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).
Stacktrace can be found at;
http://j2eeguys.com/~steve/JBoss/JCacheCrash.txt
Current config file can be found at;
http://j2eeguys.com/~steve/JBoss/hrx-session-cache-service.xml
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.
Regards,
Steve
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138188#4138188
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138188
18 years, 1 month
[JBoss Getting Started Documentation] - The Wiki page for configuring Oracle is misleading
by northgorky
Greetings.
I tried posting this in the Getting Started Documentation section, but that did
not really seem to work (was ignored).
The Wiki page for configuring Oracle is, to put it mildly, misleading. The way
it is laid out, it implies that local-tx datasources are what should be used for
Oracle Databases. This might have been correct for Oracle 8 and before, but is
definitely not the case for Oracle 10 & later.
The page I am concerned about is;
http://www.jboss.com/wiki/Wiki.jsp?page=SetUpAOracleDatasource
Proposed correction attached. I can upload if you would like, or post a
revision (or if somebody wants to update, go ahead).
The major change was to add a few statements just before the sample Datasource
files, and to switch the order the Datasource Examples are given in the
document. This should help cut down on the number of Transaction Manager
complaints as well, I would think. (Would have eliminated them from me, anyways).
Can't seem to attach files here, so put my suggested fix up on my webserver. Link is http://j2eeguys.com/~steve/JBoss/SetUpAOracleDatasource.html.
Regards,
Steve
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138166#4138166
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138166
18 years, 1 month