[JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce
by northgorky
Hi Brian.
Good question. Especially as statics and static initializers are routinely used in this project. So, I had to do some digging to answer this question. Turns out that ThinUserProxy only has 4 properties;
int
java.lang.String
PrimaryKey (with two properties, both java.lang.String)
javax.ejb.Handle (extends java.io.Serializable)
I'm going to lean towards something happening with Classloaders during rollback, as after the first exception, can't even load the Node (that's what is goinig on in;
com.hrnexus.web.SessionCache.getSession(SessionCache.java:133)
I don't have the other stack traces handy right now, but any attempt to access anything, including java.lang. objects stored, all fail once this starts happening.
I am not sure that this is a Jetty issue for the following reasons;
1) ThinUserProxy itself is in a library jar that all the other EJBs and Servlets depend on. It has full application visibility
2) Jetty is not directly access JCache -- only through hrnexus. Although, it is highly probably that JCache is accessing the Jetty Classloaders, if I understand your response correctly.
I have never needed to sign up to the Jetty Support list before, so signing up there now. They might be able to provide additional insight.
Some questions;
- What's getting done to/in the classloader that is causing it to fail this spectacularly? Its almost like its been told to clear itself of all classes, and clear the parent classloaders as well.
- How do you get a ClassCastException on a ClassNotFoundException? (Seeing this one quite a bit)
Regards,
Steve
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138474#4138474
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138474
18 years, 1 month
[JBoss Portal] - Re: JBoss5 and Portal
by chris.laprun@jboss.com
"gt4431b" wrote :
| 1. (More relevant to the problem at hand) How much pain and suffering would I be in for if I were to try installing the latest Portal onto JBoss 5? I can find no information one way or the other. I realize I could try to beat my head against this for a while to find out for sure, but I'd love a short answer.
|
It wouldn't work right now as many of the services Portal depends on are based on JBoss AS 4 JMX microkernel. Many if not all of these services work in a different way in AS 5 and a significant amount of work will be necessary to migrate Portal to work on AS 5's microcontainer. This work is currently planned as part of our initiative to make Portal application server agnostic but it will be some time before it's done.
"gt4431b" wrote :
| 2. (More rhetorical) Why doesn't JBoss use codenames for various releases? Go google "Jboss5 portal" and you will see everything in the world about page 5, chapter 5, subchapter 5, MySql 5, 5 o'clock, everything about JBoss portal except information about JBoss5. Ubuntu uses a great naming model -- "Gutsy Gibbon" for example eliminates all googlambiguity.
|
We do have code names (Portal 2.6 is called Ninja, JBoss AS 4.2 is called Trinity) but we don't use them publicly that much...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138473#4138473
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138473
18 years, 1 month