roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy Katz" <gk...@allot.com>
Subject roller 3.1 posts links system problem
Date Thu, 23 Aug 2007 07:39:53 GMT
Hi all;

I have a strange problem when trying to deploy on centOS/tomcat 6 roller
3.1 with mysql5 connector-j5 (UTF8 DB and tomcat connector set to UTF8)

 

On my dev PC I have the same roller 3.1 with the same exact DB and
everything works fine.

On the centos the specific post links do not work if they include
special characters (see example below). 

 

Also, there is an exception throws (The stack trace below does not say
much so I can't understand the problem).

 

Again, it's the same DB populates with the same data and the same roller
3.1. 

 

Any help would be great as I don't understand what's wrong and I am out
of my  element here. (note that I am not sure that it has anything to do
with the OS).

 

In roller 3.1 this Works (English only):

http://local:8080/xblogs/kiril/entry/dk_session

in roller 3.1 this does not work (include special characters - return
error 404)):

http://localhost:8080/xblogs/xwave/entry/nofx_%D7%91%D7%93%D7%A8%D7%9A

 

NOTE that I used to have a 2.3 version where everything worked (both
below worked) with the old links system.

http://localhost:8080/xblogs/page/kiril?entry=dk_session

http://localhost:8080/xblogs/page/xwave?entry=nofx_%D7%91%D7%93%D7%A8%D7
%9A

 

 

 

THE EXCEPTION WHEN TRYING TO OPEN THE POST WITH MIXED LANGUAGES:

 

INFO   | jvm 1    | 2007/08/23 03:05:23 | SEVERE: Servlet.service() for
servlet jsp threw exception

INFO   | jvm 1    | 2007/08/23 03:05:23 |
java.lang.IllegalStateException: getOutputStream() has already been
called for this response

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.connector.Response.getWriter(Response.java:604)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.ja
va:198)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:1
18)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:173)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTa
g.java:887)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jsp.WEB_002dINF.jsps._404_jsp._jspx_meth_tiles_005finsert_005
f0(_404_jsp.java:282)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jsp.WEB_002dINF.jsps._404_jsp._jspService(_404_jsp.java:166)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:384)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:687)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:471)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:403)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:301)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java
:424)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java
:343)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:144)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:104)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:517
)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
16)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
697)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.
java:889)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:686)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
java.lang.Thread.run(Thread.java:619)

INFO   | jvm 1    | 2007/08/23 03:05:23 | Aug 23, 2007 7:05:23 AM
org.apache.catalina.core.StandardHostValve custom

INFO   | jvm 1    | 2007/08/23 03:05:23 | SEVERE: Exception Processing
ErrorPage[errorCode=404, location=/WEB-INF/jsps/404.jsp]

INFO   | jvm 1    | 2007/08/23 03:05:23 |
org.apache.jasper.JasperException: java.lang.IllegalStateException:
getOutputStream() has already been called for this response

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServle
tWrapper.java:532)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:420)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:687)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:471)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:403)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:301)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java
:424)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java
:343)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:144)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:104)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:517
)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
16)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
697)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.
java:889)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:686)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
java.lang.Thread.run(Thread.java:619)

INFO   | jvm 1    | 2007/08/23 03:05:23 | Caused by:
java.lang.IllegalStateException: getOutputStream() has already been
called for this response

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.connector.Response.getWriter(Response.java:604)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.ja
va:198)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:1
18)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:173)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTa
g.java:887)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jsp.WEB_002dINF.jsps._404_jsp._jspx_meth_tiles_005finsert_005
f0(_404_jsp.java:282)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jsp.WEB_002dINF.jsps._404_jsp._jspService(_404_jsp.java:166)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:384)

INFO   | jvm 1    | 2007/08/23 03:05:23 |   ... 23 more

 

 

 

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message