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

Reply via email to