I'm getting an error at the point in the code but a different responce:
Exception: java.lang.NoClassDefFoundError:
org/apache/turbine/om/user/peer/TurbineUserPeer
at
org.apache.turbine.om.user.TurbineUser.retrieveFromStorage(TurbineUser.java:
345)
at
org.apache.turbine.om.user.peer.UserFactory.getUser(UserFactory.java:113)
at org.apache.turbine.om.user.peer.UserFactory.getUser(UserFactory.java:88)
at
org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:96)
at org.apache.turbine.modules.Action.perform(Action.java:77)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:111)
at Turbine.doGet(Turbine.java:288)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java)
at org.apache.jserv.JServConnection.run(JServConnection.java)
at java.lang.Thread.run(Thread.java:479)
I'm using Jserv 1.1 With Apache web server an Oracle database and Win98
in turbine.log I get:
[Sun May 21 14:43:40 EDT 2000] -- ERROR --
Exception: java.lang.NullPointerException:
Stack Trace follows:
java.lang.NullPointerException:
at org.apache.ecs.Document.toString(Document.java:327)
at Turbine.handleException(Turbine.java:484)
at Turbine.doGet(Turbine.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java)
at org.apache.jserv.JServConnection.run(JServConnection.java)
at java.lang.Thread.run(Thread.java:479)
----- Original Message -----
From: Michael J. Wirthlin <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Sunday, March 19, 2000 2:31 AM
Subject: Re: Running turbine on Win98 using jswdk-1.0.1
>
> I have switched to Tomcat and the problem goes away. I don't think
> jswdk-1.0.1 is supported anymore.
>
> Although this problem has been resolved, I have run up against another
> unusual problem. After receiving the login screen and entering in the
> turbine username/password, I get a "document contains no data" from the
> browser. The servlet actually hangs. I tracked the hanging location to
> the following call in TurbineUser:
>
> criteria.add( TurbineUserPeer.USERNAME, username );
>
> If I try to print TurbineUserPeer.USERNAME, the servlet hangs. For some
> reason, accessing the static member hangs the servlet. Has anybody seen
> this behavior before? I suspect I have a bad JVM, but I am not quite
> sure.
>
> - MJW
>
> John McNally wrote:
> >
> > This would appear to be a bug with jswdk-1.0.1. If it was written
correctly
> > to the spec, getServletPath() would return
> >
> > /examples/servlet/Turbine
> >
> > getRequestURI() may give you more info than you need. I think if you
> > continue to run Turbine like this the screen/ScreenValue pair and any
other
> > pathInfo used to generate the current screen will be added to DynamicURI
> > before the correct value given in the constructor. Your links will not
> > work.
> >
> > John McNally
> >
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]