Hi,
The main problem is that I don't have any information in logs:-/. That's why
I don't know where to begin.
Here is part of 2008_10_08.request.log file:
127.0.0.1 - - [08/Oct/2008:14:50:01 +0000] "GET /nl/newsletter HTTP/1.1" 500
1224
127.0.0.1 - - [08/Oct/2008:14:50:27 +0000] "GET /nl/contact HTTP/1.1" 500
1221
/nl/newsletter is cocoon form and /nl/contact is CMS form.
Here is response header from my browser:
Date: Wed, 08 Oct 2008 14:52:58 GMT
Server: Jetty/5.1.9 (Windows XP/5.1 x86 java/1.4.2_05
X-Cocoon-Version: 2.1.8
Content-Type: text/html;charset=UTF-8
Content-Length: 1221
Connection: close
500 instance
I have no error whatsoever in my other log files. This internal error
happens when I start fortress, and only forms don't work. Other content is
shown properly...
Thanks ahead for any idea!
Kind regards,
biba
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeroen Reijn
Sent: Wednesday, October 08, 2008 4:29 PM
To: Hippo CMS development public mailinglist
Subject: Re: [HippoCMS-dev] Forms give internal error
Biba,
to be able to solve this, we need to know what the server respons is,
when it sends the 500 error.
Could you give us some more details?
Regards,
Jeroen
Biba wrote:
Hi Hippo,
I have a problem with loading forms in front end. I am getting internal
error 500 when both cocoon forms and forms created via CMS are served.
When I leave only generator and serializer in sitemap matcher (comment all
the transformers), I keep getting the error.
Here is the sitemap part where cocoon form goes through:
<map:match pattern="getScreen/*">
<map:generate type="jx" src="forms/{1}.tpl.xml" label="fi"/>
Transformers...
<map:serialize type="xml"/>
</map:match>
Here is the matcher for CMS forms:
<map:match pattern="getDocument/*/*/**,">
<map:generate src="cocoon://getdoc/{3}/index.xml"/>
Transformers...
<map:serialize type="xml"/>
</map:match>
I have generator defined like this:
<map:generator label="content" logger="sitemap.generator.jx"
name="hippojx"
pool-grow="4" pool-max="32" pool-min="4"
src="nl.hippo.cocoon.generation.HippoJXTemplateGenerator"/>
Serializer is defined like this:
<map:serializer logger="sitemap.serializer.xml" mime-type="text/xml"
name="xml" src="org.apache.cocoon.serialization.XMLSerializer">
<!--encoding>ISO-8859-1</encoding-->
<encoding>UTF-8</encoding>
<buffer-size>8192</buffer-size>
<indent>no</indent>
</map:serializer>
When forms don't work, I have to restart fortress (sometimes several
times)
until forms work again. I also delete work directory. But sometimes I get
an
error 500, restart fortress without deleting work directory, and forms
start
to work.
Logs don't give any information, only request status = 500.
Do you have any idea why this internal error occurs?
Thanks in advance,
Biba
Met vriendelijke groet / Kind regards,
Biljana Boskovic
Software Developer/Service Support Manager
Levi9 Global Sourcing
===============================================================
Adress: Jan van Goyenkade 8, 1075 HP Amsterdam
Tel.: (+31) (0) 20 6701 947
Mobile: (+381) (0) 64 8509 308
Email: [EMAIL PROTECTED]
SkypeID: b.jovanovic.b
Internet: www.levi9.com
Chamber of commerce Levi9 Global Sourcing BV: 34221951
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
===============================================================
This e-mail may contain confidential or privileged information. If you are
not (one of) the intended
recipient(s), please notify the sender immediately by reply e-mail and
delete this message and any
attachments permanently without retaining a copy. Any review, disclosure,
copying, distribution or
taking any action in reliance on the contents of this e-mail by persons or
entities other than the
intended recipient(s) is strictly prohibited and may be unlawful.
The services of Levi9 are exclusively subject to its general terms and
conditions. These general
terms and conditions can be found on www.levi9.com and a copy will be
promptly submitted to you on
your request and free of charge.
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html