AW: [opencms-dev] PdfLauncher fails to initialize

Andreas Schouten Andreas.Schouten at framfab.de
Wed Apr 24 17:09:23 CEST 2002


Hi,

yes you are right. OpenCms dosen't ship the fop_bin.jar file. This is
because of it is a very old one. We don't have looked after this feature. I
will send all that are interest in the fop_bin.jar the missing library.

I think there has to be done some work to update to a current fop.jar in the
CmsPdfLauncher. If someone manages this - please send me the code so I can
put it into the current branch.

Regards,
Andreas

-----Ursprüngliche Nachricht-----
Von: Manfred Pruntsch [mailto:manfred.pruntsch at ifcos.com]
Gesendet: Mittwoch, 24. April 2002 16:56
An: opencms-dev at www.opencms.org
Betreff: RE: [opencms-dev] PdfLauncher fails to initialize


Hi Marian,

I've got the absolutly same error message.
In the oclib directory I coudn't found the fop.jar library. And in fact
opencms 4.6 doesn't provide a fop-file.
So I downloaded the newest version (fop 0.20.3) and placed it in the oclib
dir. The same game...

I was looking at the build.xml file in the source distribution.
The fop is called here with 'fop_bin.jar'.
So I renamed the file but the same error happens.

The fop driver is used in the CmsPdfLauncher class. I'm sure that is the
reason for the error message. opencms can't find the fop library.

code snippet from CmsPdfLauncher.java --------------------
import org.apache.fop.apps.Driver;
...
public class CmsPdfLauncher extends CmsXmlLauncher {
------------------------------------------------------ end

I think the question is what for a fop-file is needed (version, naming)?
Do you have experience producing pdf files? See also my next mail regarding
this topic.

best regards,
Manfred Pruntsch



>
> Hi,
>
> I have following messages in my log file:
>
> [CmsLauncherManager] Unknown error while initializing launcher
> "com.opencms.launcher.CmsPdfLauncher". Ignoring.
> [CmsLauncherManager] java.lang.NoClassDefFoundError:
> org/apache/fop/apps/Driver
>
> What should I configure to initialize PdfLauncher properly? Any driver
> missing?
> Any help appreciated.
>
> Best Regards,
>    Marian Kasala
>
>
>
>



More information about the opencms-dev mailing list