xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: FOP class loader problems in WebSphere
Date Tue, 24 Apr 2007 20:07:43 GMT
I'd check if you have multiple versions of FOP on different levels in
the class loader hierarchy. There's probably a version conflict. Not
sure where else this could come from.

Good luck.

On 24.04.2007 01:15:35 Hai-Fun Wu wrote:
> Hello,
> I am running my web application on WebSphere and I am passing a XSL-FO 
> file to FOP to create a PDF.  For some reasons, I got the following 
> exceptions about the WebSphere class loader.  Any help would be very 
> appreciated.....
> Thank you very much,
> Hai-Fun Wu
> 
> ---- Begin backtrace for nested exception
> java.lang.RuntimeException: java.lang.LinkageError: Class 
> org/apache/fop/apps/Fop violates loader constraints:  definition mismatch 
> between parent and child loaders
>         at 
> com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java(Compiled 
> Code))
>         at 
> com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java(Compiled 
> Code))
>         at java.security.AccessController.doPrivileged1(Native Method)
>         at 
> java.security.AccessController.doPrivileged(AccessController.java(Compiled 
> Code))
>         at 
> com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java(Compiled Code))
>         at com.ibm.ws.asynchbeans.AlarmImpl.alarm(AlarmImpl.java(Compiled 
> Code))
>         at com.ibm.ws.asynchbeans.am._Alarm.fireAlarm(_Alarm.java(Compiled 
> Code))
>         at com.ibm.ws.asynchbeans.am._Alarm.run(_Alarm.java(Compiled 
> Code))
>         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:936)
> Caused by: java.lang.LinkageError: Class org/apache/fop/apps/Fop violates 
> loader constraints:  definition mismatch between parent and child loaders
>         at 
> com.ibm.lifesci.score.auxservices.common.JobForXSLFO.processWaitingJob(JobForXSLFO.java:185)
>         at 
> com.ibm.lifesci.score.auxservices.common.JobForXSLFO.fired(JobForXSLFO.java:308)
>         at 
> com.ibm.lifesci.score.auxservices.common.CommonRenditionServiceListener.fired(CommonRenditionServiceListener.java:208)
>         at com.ibm.ws.asynchbeans.AlarmImpl.run(AlarmImpl.java(Compiled 
> Code))
>         at 
> com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java(Compiled 
> Code))
>         at java.security.AccessController.doPrivileged1(Native Method)
>         at 
> java.security.AccessController.doPrivileged(AccessController.java(Compiled 
> Code))
>         at javax.security.auth.Subject.doAs(Subject.java(Compiled Code))
>         ... 9 more 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message