cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@apache.org>
Subject Re: Javaflow in C2.2
Date Sun, 26 Oct 2008 11:44:29 GMT
> Eclipse offers much information in debugging mode. Are the addresses the right
> information?

Indeed.

 org.apache.cocoon.samples.flow.java.CalculatorFlow@16273041/org.apache.catalina.loader.WebappClassLoader@20085762

Means it's instance 16273041 of CalculatorFlow in WebappClassLoader
instance 20085762.

If you try to cast a CalculatorFlow to a CalculatorFlow that was
loaded by anything else but
org.apache.catalina.loader.WebappClassLoader@20085762 you will see a
CCE. In fact it means you are then dealing with two different versions
(not instances) of the same class.

HTH

cheers
--
Torsten

Mime
View raw message