Hi Matthias,

as said, i placed my cocoon extensions in a spearate project, that includes needed cocoon and fop libs that i previously created. When you have problems building cocoon (that works fine for me) from sources please refer to the cocoon user mailing list. They may help you with the integration of custom serializers as well.

Furthermore you can strip down my serializer class - removing logging & fop config parts - but i guess that won't help you out. I recommend to create a straight-forward cocoon build and do the replacement/addition of needed libraries afterwards.

FYI, i am using cocoon 2.1.9 as a servlet in an external jetty web server. Thats why i have all jars in the <webapp>/WEB-INF/lib dir. Please notice that you also need to add some additional libs from the fop project (e.g. xmlgraphics-commons-1.2) to get things to work.

AFAICS you should replace the fop libs in the %COCOON_HOME%/lib/optional directory and add the custom jars in %COCOON_HOME%/lib/local or %COCOON_HOME%/lib/endorsed, if you are working with cocoon as stand-alone application. Then don't forget to verify the classpath in the start script (cocoon.sh / cocoon.bat).

More help needs further investigation. Please use the cocoon mailing list, to be in topic of interest.

HTH, Arne


Matthias Müller wrote:
i created the CocoonFopSerializer.class file and put it in the build
path. then i had to add some additional libs explicitly to the build
path since other classes you refered to could not be found.

So, everything worked so far. But when i put the 0.93 fop libs to the
lib directory and replace the new fop.jar with the old one, i receive
an initialization error: java.lang.ClassNotFoundException:
org.apache.cocoon.faces.samples.components.taglib.AreaTag

for me it seams like an totally different thing. anyway, when i undo
the last step (replacing the fop jars) i still have the error. so, i
need to rebuild the whole cocoon project and then i works, but i'm
still at the beginning of my problem :-\

maybe i should try to use the latest stable cocoon version. i use
cocoon 2.1.9. do you have any suggestions for the build settings?
which blocks should i avoid beeing installed? when i try to fix the
ClassNotFoundException as described here:
http://mail-archives.apache.org/mod_mbox/cocoon-users/200602.mbox/[EMAIL 
PROTECTED]
 i receive the famous "Scheduler Cocoon already exists" error, which
means that there are Components installed but not found.

Thanks, Matthias

<snip/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to