> I developped a Fop service via a service web (with Apache SOAP) in Windows Nt 
> : it works good. 
> But, now i'm trying to set the Fop Service in Linux machine (RedHat7.2).
> I have this error :
>     Genarated fault :
>        Fault Code = SOAP-ENV:Server
>         Fault String = Exception from service object :   
>                 org/apache/avalon/framework/loggable/Loggable

That should be org/apache/avalon/framework/logger/Loggable. Did you
write that by hand or using copy/paste?

Loggable is in avalon-framework(-4.1.2).jar.

>  A Hello's service works, so my web service is fine and it's a Fop problem.
> My Tomcat's classpath is : 
> /tools/beluga/SOAP/xerces-1_2_3/xerces.jar:/tools/beluga/SOAP/jakarta-tomcat-4.0.3/lib/xalan.jar:/tools/beluga/SOAP/jakarta-tomcat-4.0.3/lib/avalon-framework-4.1.2.jar:/tools/beluga/SOAP/jakarta-tomcat-4.0.3/lib/logkit-1.0.1.jar:/tools/beluga/SOAP/jakarta-tomcat-4.0.3/lib/batik.jar:/tools/beluga/SOAP/jakarta-tomcat-4.0.3/lib/fop.jar:/tools/beluga/SOAP/soap-2_2/lib/soap.jar:/tools/beluga/SOAP/javamail-1.2/mail.jar:/tools/beluga/SOAP/jaf-1.0.1/activation.jar:.:/tools/beluga/SOAP/jakarta-tomcat-4.0.3/webapps/soap/WEB-INF/classes/:/usr/java/j2sdk1.4.0/lib/tools.jar:/tools/beluga/SOAP/jakarta-tomcat-4.0.3/bin/bootstrap.jar
> (my .jar files are in the Tomcat lib directory)
> 
> My code for the logger :
>     Logger log = null;
>   if(log == null) {
>     Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
>     log = hierarchy.getLoggerFor("fop");
>     log.setPriority(Priority.WARN);
>   }
>    driver.setLogger(log);
> 
> Does anybody know what's wrong? All ideas are welcome!

Avalon Framework and LogKit seem to be present in Tomcat's classpath. So
nothing wrong here. Did you check that the files with the names
specified in the classpath really exist?

Anyway, FOP was recently changed to use
org.apache.avalon.framework.logger.Logger (Avalon Logger Interface)
instead of org.apache.log.Logger (LogKit). Loggable is used with LogKit.
It has been deprecated in favor of
org.apache.avalon.framework.logger.LogEnabled (which uses the Avalon
Logger Interface). Maybe that helps finding a solution.

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch

Reply via email to