RE: JavaFlow working with Jetty but not with Tomcat
I see only one bcel library: jakarta-bcel-20040329.jar. And it works fine with another Tomcat installation, as I posted earlier. So I don't think that this is the source of the problem. Thanks anyway, Bart. -Original Message- From: Stephan Michels [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 2:57 PM To: Cocoon Developers Subject: Re: JavaFlow working with Jetty but not with Tomcat Am Mo, den 28.06.2004 schrieb Bart Molenkamp um 14:23: > Hi, > > I want to use JavaFlow for writing my application flow. But I've got a > problem; it isn't working with Tomcat, I'm getting a black page (view > source also shows that there is really nothing). However, it is working > with Jetty (both using the same webapp of couse). How is this possible, > what is wrong? > > It seems to go wrong at > org.apache.cocoon.components.flow.java.ContinuationClassLoader.java > (line 100): Repository.setRepository(new ClassLoaderRepository(parent)); It might be that you have an old bcel library in your classpath. I know also that the xsltc is sometimes delivered with an including bcel library. Stephan.
Re: JavaFlow working with Jetty but not with Tomcat
Am Mo, den 28.06.2004 schrieb Bart Molenkamp um 14:23: > Hi, > > I want to use JavaFlow for writing my application flow. But I've got a > problem; it isn't working with Tomcat, I'm getting a black page (view > source also shows that there is really nothing). However, it is working > with Jetty (both using the same webapp of couse). How is this possible, > what is wrong? > > It seems to go wrong at > org.apache.cocoon.components.flow.java.ContinuationClassLoader.java > (line 100): Repository.setRepository(new ClassLoaderRepository(parent)); It might be that you have an old bcel library in your classpath. I know also that the xsltc is sometimes delivered with an including bcel library. Stephan.
RE: JavaFlow working with Jetty but not with Tomcat
I solved it myself. I re-installed Tomcat, which seems to do the trick. The only thing that I changed in the previous Tomcat installation was that I added Apache Cactus to it (for testing). I know that JUnit (and Cactus) also uses class loading, is it possible that this conflicts with JavaFlow class loading? Bart. -Original Message- From: Bart Molenkamp Sent: Monday, June 28, 2004 2:24 PM To: [EMAIL PROTECTED] Subject: JavaFlow working with Jetty but not with Tomcat Hi, I want to use JavaFlow for writing my application flow. But I've got a problem; it isn't working with Tomcat, I'm getting a black page (view source also shows that there is really nothing). However, it is working with Jetty (both using the same webapp of couse). How is this possible, what is wrong? It seems to go wrong at org.apache.cocoon.components.flow.java.ContinuationClassLoader.java (line 100): Repository.setRepository(new ClassLoaderRepository(parent)); I'm using: Cocoon 2.1.5 Tomcat 5.0.19 I've used the Jetty included with Cocoon. Bart.