Hello Jeroen,
There isn't much for newsletter response either:
Date: Thu, 09 Oct 2008 07:26:17 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
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: [EMAIL PROTECTED];Path=/;Expires=Sat, 08-Nov-08
07:26:17 GMT
Content-Length: 1224
Connection: close
500 instance
No change when I put or remove handle-errors in sitemap.
However, I have found this Exception in my logs:
REQUEST:
09 Oct 2008 09:26:06,238 main-8 DEBUG http.HttpConnection - EXCEPTION
EOFException()
at org.mortbay.http.HttpRequest.readHeader(HttpRequest.java:241)
at
org.mortbay.http.HttpConnection.readRequest(HttpConnection.java:862)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:908)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
09 Oct 2008 09:26:06,988 main-9 DEBUG http.HttpConnection - REQUEST from
[EMAIL PROTECTED]:50150:
GET /nl/newsletter HTTP/1.1
Host: preview.minbuza.localhost:50150
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3)
Gecko/2008092417 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
keep-alive: 300
Connection: keep-alive
Cookie: ST_firstVisit=8-7-2008; ST_numberOfVisits=39;
[EMAIL PROTECTED]; ST_status=nee; ST_lastVisitTime=true;
MinBuzaFontSize=size3
Referer: http://preview.minbuza.localhost:50150/
09 Oct 2008 09:26:06,988 main-9 DEBUG http.HttpServer - Contexts at
/nl/newsletter: [/=[WebApplicationContext[/,/]]]
09 Oct 2008 09:26:07,004 main-9 DEBUG http.HttpServer - Try
WebApplicationContext[/,/],0
09 Oct 2008 09:26:07,004 main-9 DEBUG http.HttpContext - Handler
[EMAIL PROTECTED]
09 Oct 2008 09:26:07,004 main-9 DEBUG servlet.ServletHandler -
servlet=/*=Cocoon
09 Oct 2008 09:26:07,004 main-9 DEBUG servlet.ServletHandler - session=null
...
...
RESPONSE:
09 Oct 2008 09:26:10,270 main-9 WARN servlet.ServletHandler - Error for
/nl/newsletter
java.lang.NoSuchFieldError: instance
at
nl.hippo.cocoon.generation.JXTemplateGenerator$JSIntrospector$JSPropertyGet.
invoke(JXTemplateGenerator.java:319)
at
org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.ja
va:178)
at
org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:63)
at
org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:68)
at
org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:50)
at
org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86)
at
org.apache.cocoon.generation.JXTemplateGenerator.getNode(JXTemplateGenerator
.java:886)
at
org.apache.cocoon.generation.JXTemplateGenerator.getNode(JXTemplateGenerator
.java:844)
at
org.apache.cocoon.generation.JXTemplateGenerator.execute(JXTemplateGenerator
.java:2595)
at
org.apache.cocoon.generation.JXTemplateGenerator.call(JXTemplateGenerator.ja
va:2535)
at
org.apache.cocoon.generation.JXTemplateGenerator.execute(JXTemplateGenerator
.java:2917)
at
org.apache.cocoon.generation.JXTemplateGenerator.execute(JXTemplateGenerator
.java:3062)
at
org.apache.cocoon.generation.JXTemplateGenerator.call(JXTemplateGenerator.ja
va:2535)
at
org.apache.cocoon.generation.JXTemplateGenerator.execute(JXTemplateGenerator
.java:2917)
at
org.apache.cocoon.generation.JXTemplateGenerator.performGeneration(JXTemplat
eGenerator.java:2495)
at
org.apache.cocoon.generation.JXTemplateGenerator.generate(JXTemplateGenerato
r.java:2486)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLP
ipeline(AbstractProcessingPipeline.java:578)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs
tractProcessingPipeline.java:779)
at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.j
ava:412)
at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:
126)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLP
ipeline(AbstractProcessingPipeline.java:578)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline
.processXMLPipeline(AbstractCachingProcessingPipeline.java:183)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs
tractProcessingPipeline.java:480)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
alizeNode.java:120)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:142)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(Con
creteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(Con
creteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:248)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:117)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNod
e.java:107)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:142)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(Con
creteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(Con
creteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:248)
at org.apache.cocoon.Cocoon.process(Cocoon.java:679)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebAppl
icationHandler.java:830)
at
nl.hippo.util.ResponseEncodingFilter.doFilter(ResponseEncodingFilter.java:36
)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebAppl
icationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
09 Oct 2008 09:26:10,270 main-9 DEBUG servlet.ServletHandler - GET
/nl/newsletter HTTP/1.1
Host: preview.minbuza.localhost:50150
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3)
Gecko/2008092417 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
keep-alive: 300
Connection: keep-alive
Cookie: ST_firstVisit=8-7-2008; ST_numberOfVisits=39;
[EMAIL PROTECTED]; ST_status=nee; ST_lastVisitTime=true;
MinBuzaFontSize=size3
Referer: http://preview.minbuza.localhost:50150/
09 Oct 2008 09:26:10,270 main-9 DEBUG http.HttpContext - Handled by
[EMAIL PROTECTED]
09 Oct 2008 09:26:10,270 main-9 DEBUG http.HttpInputStream - resetStream()
09 Oct 2008 09:26:10,270 main-9 DEBUG http.HttpConnection - RESPONSE:
HTTP/1.1 500 instance
Date: Thu, 09 Oct 2008 07:26:06 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: 1224
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: [EMAIL PROTECTED];Path=/;Expires=Sat, 08-Nov-08
07:26:08 GMT
Set-Cookie: sessionhost=sess.preview.minbuza.localhost
Connection: close
REQUEST for contact form:
09 Oct 2008 09:26:38,149 Acceptor
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=50150] DEBUG
util.ThreadedServer - IGNORED
java.net.SocketTimeoutException: Accept timed out
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
at java.net.ServerSocket.implAccept(ServerSocket.java:448)
at java.net.ServerSocket.accept(ServerSocket.java:419)
at
org.mortbay.util.ThreadedServer.acceptSocket(ThreadedServer.java:432)
at
org.mortbay.util.ThreadedServer$Acceptor.run(ThreadedServer.java:631)
09 Oct 2008 09:26:39,087 main-8 DEBUG http.HttpConnection - new
HttpConnection: Socket[addr=/127.0.0.1,port=1314,localport=50150]
09 Oct 2008 09:26:39,087 main-8 DEBUG http.HttpConnection - REQUEST from
[EMAIL PROTECTED]:50150:
GET /nl/contact HTTP/1.1
Host: preview.minbuza.localhost:50150
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3)
Gecko/2008092417 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
keep-alive: 300
Connection: keep-alive
Cookie: sessionhost=sess.preview.minbuza.localhost; ST_firstVisit=8-7-2008;
ST_numberOfVisits=39; [EMAIL PROTECTED]; ST_status=nee;
ST_lastVisitTime=true; MinBuzaFontSize=size3
Response for contact form is pretty much the same as for newsletter.
Can you see something that may cause the error 500 and gladly a solution:-)?
Kind regards,
Biba
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeroen Reijn
Sent: Wednesday, October 08, 2008 5:08 PM
To: Hippo CMS development public mailinglist
Subject: Re: [HippoCMS-dev] Forms give internal error
What if you request /nl/newsletter in your browser? Do you only see
headers or do you also see content and perhaps an error on the page. Did
you try to disable handle errors?
Regards,
Jeroen
Biba wrote:
> 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
>
********************************************
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