We've been running an application based on Turbine 2.1 in production use
under Tomcat 3.2 for over a year. We're now evaluating Resin 2.1.4 as a
replacement for Tomcat (in search of better performance), and the changes in
the setup seem fairly straightforward except that I'm getting an error
thrown as follows:
Horrible Exception: java.lang.NullPointerException
at
org.apache.turbine.util.parser.DefaultCookieParser.setRunData(DefaultCookieP
arser.java:154)
at
org.apache.turbine.services.rundata.DefaultTurbineRunData.getCookies(Default
TurbineRunData.java:518)
at org.apache.turbine.Turbine.doGet(Turbine.java:279)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
6)
at com.caucho.server.http.Invocation.service(Invocation.java:312)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
at java.lang.Thread.run(Thread.java:484)
Turbine seems to have some problem with setting the initial cookies. If I
use a browser with cookies disabled, I get this error every time I try to
load a Turbine page. If I have cookies enabled, I get it the first time, and
if I refresh the page then loads normally, so I guess it's connected with
the session management.
--
Mike Scott
[EMAIL PROTECTED]
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs service.
________________________________________________________________________