[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-cocoon-dev
Subject: RE: Java objects in JX templates
From: "Bart Molenkamp" <b.molenkamp () bizzdesign ! nl>
Date: 2006-01-31 14:40:00
Message-ID: 5E091A68F794974CAF431CA31F5AF2CC3C531E () server ! bizzdesign ! nl
[Download RAW message or body]
java.lang.ClassNotFoundException:
com/bizzdesign/risks/assessment/UploadedEvidence
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
file:/app/was/installedApps/riskmanager/riskmanager.ear/riskmanager-1.1.
0.132.war/content/secure/reports/templates/ineffective-controls.xml:104:
93:org.mozilla.javascript.JavaScriptException:
java.lang.ClassNotFoundException:
com/bizzdesign/risks/assessment/UploadedEvidence
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
XMLPipeline(AbstractProcessingPipeline.java:582)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:183)
...
Similair exceptions were thrown everywhere, saying that lots of classes
couldn't be found anymore (UploadedEvidence class was only one of them).
The application needed a reboot to get rid of this exception. Seems like
the expression, after being evaluated for several times, messes up the
class loader somehow...
Bart.
> -----Oorspronkelijk bericht-----
> Van: Ralph Goers [mailto:Ralph.Goers@dslextreme.com]
> Verzonden: dinsdag 31 januari 2006 14:48
> Aan: dev@cocoon.apache.org
> Onderwerp: Re: Java objects in JX templates
>
> Not without a stack trace.
>
> Bart Molenkamp wrote:
>
> >>I've had problems with the following expression:
> >>
> >><jx:when test="${java.lang.Class.forName( \
> >>'com.bizzdesign.risks.assessment.UploadedEvidence'). \
> >>isAssignableFrom(evidence.getClass())}">
> >>
> >>(the expression is one line).
> >>
> >>This expression works, but somehow after calling the page a few
times,
> >>the application hangs. Took me a long time to figure it out. (I've
> >>already solved it, simply by having a method
> >>evidence.isUploadableEvidence() with the expression written in
Java).
> >>
> >>Does anybody know what might be going wrong? (I'm just curious)
> >>
> >>Bart.
> >>
> >>
> >>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic