On Sun, 24 Feb 2008 at 21:27 +0100, Andreas Hartmann wrote:
> Hi Rainer,
> Rainer Schöpf schrieb:
> > Hello,
> > I've been trying to get TinyMCE to work with lenya 2.0, but am stuck.
> > Editing does work, but it is not possible to check in the document. Both
> > the "Save" and the "Cancel" button cause the tinymce.edit usecase to be
> > invoked again.
> these symptomes sometimes occur if uploads are disabled (in
> local.build.properties/web.xml). It's related to multipart/form-data
> processing. Would you mind verifying if uploads are enabled in your
> installation? TIA!
That was most helpful! I hadn't allowed uploads in my initial installation;
changing that parameter did it.
It might be useful to add a remark to that effect to the tinymce module
documentation on the web site.
> > The result is a message that the document is already checked out. When I
> > try to force a checkin, it reverts to the same usecase again.
> > I do believe that I followed the installation instructions correctly,
> > except in one respect: in my first attempt I installed TinyMCE 3.0. Since
> > its icons do not display correctly, I removed the files and installed
> > version 2.1.3 - with the aforementioned result.
> > I'm running this on Linux, with the Sun JRE 1.5.0_11 and Tomcat 5.5.
> > There is one error message appearing rather often:
> > http-8280-Processor25 INFO sitemap - Redirecting to 'cocoon:/view/tab'
> > http-8280-Processor25 ERROR [/lenya].[Cocoon] - Servlet.service() for
> > servlet Cocoon threw exception
> > java.lang.NoClassDefFoundError
> > at org.apache.batik.bridge.BridgeContext.<init>(Unknown Source)
> I'e not seen this before. Maybe there's something in the Cocoon or Batik
> mailing lists?
I did a quick Google search, without luck.
However, Jürgen Ragalla's comment made me try jetty and compare. It seems the
error is caused by the little flags denoting the different language versions at
the bottom of the site tree. When running under tomcat, the flags do not appear.
It might be a missing library; I will continue to look.