That has fixed that problem. I can now run under Wjview (the M$ VM).

I have just found another problem though. This is not a new problem with 
3.2.2. We have just started using the O'Reily HttpMessage code to send a 
Post message to a servlet from another servlet (in the same virtual 
machine). The Stream within the POST contains a Vector of Serializable 
objects. The POST works as expected, no problems, but when shutting down 
Tomcat we get the following stack trace and the process never finishes. This 
is using TC3.2.2b4 with Apache 1.3.17 (I will try 1.3.19).

java.lang.NullPointerException
        at 
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1160)
        at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:800)
        at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at 
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
        at java.lang.Thread.run(Thread.java:484)
2001-03-08 11:17:32 - Ctx(  ): 404 R( /spweb/servlet/StaffPlannerServlet) 
null
2001-03-08 11:17:32 - Ctx(  ): Exception in: R( 
/spweb/servlet/StaffPlannerServlet) - java.lang.NullPointerException
        at 
org.apache.tomcat.core.ContextManager.handleStatus(ContextManager.java:1058)
        at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:775)
        at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at 
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
        at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
        at java.lang.Thread.run(Thread.java:484)

I will write a little sample program if you think it is worthwhile and post 
it to the group.

Dave.
[EMAIL PROTECTED]

>From: "Marc Saegesser" <[EMAIL PROTECTED]>
>To: "Dave Oxley" <[EMAIL PROTECTED]>
>Subject: RE: Tomcat 3.2.2 beta 4
>Date: Mon, 7 May 2001 08:37:20 -0500
>
>Dave,
>
>Thanks, let me know how it works.  This is the final show stopper for the
>Tomcat 3.2.2 release so once I know its been fixed I can start the final
>release process.
>
>
> > -----Original Message-----
> > From: Dave Oxley [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 04, 2001 12:54 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Tomcat 3.2.2 beta 4
> >
> >
> > Will test it on Saturday.
> >
> > Dave.
> >
> >
> > >From: "Marc Saegesser" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Subject: RE: Tomcat 3.2.2 beta 4
> > >Date: Thu, 3 May 2001 16:39:35 -0500
> > >
> > >Dave,
> > >
> > >A fix for this has been committed.  If you can build from source to 
>test
> > >this that's great.  I've also attached a JAR file with the latest 
>Tomcat
> > >build.  Just drop the webserver.jar file into your $TOMCAT_HOME/lib
> > >directory and start Tomcat.
> > >
> > >Thanks.
> > >
> > > > -----Original Message-----
> > > > From: Dave Oxley [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, May 01, 2001 3:14 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: Tomcat 3.2.2 beta 4
> > > >
> > > >
> > > > Glad I mentioned it now. I didn't think about the fact it
> > might be a 1.1
> > > > thing. We've had so many problems with the M$ VM that I just jumped 
>to
> > > > conclusions!! The sooner we dump it the better. :)
> > > >
> > > > Dave
> > > > [EMAIL PROTECTED]
> > > >
> > > > >From: "Marc Saegesser" <[EMAIL PROTECTED]>
> > > > >Reply-To: [EMAIL PROTECTED]
> > > > >To: <[EMAIL PROTECTED]>
> > > > >CC: <[EMAIL PROTECTED]>
> > > > >Subject: RE: Tomcat 3.2.2 beta 4
> > > > >Date: Tue, 1 May 2001 14:17:13 -0500
> > > > >
> > > > >Bloody hell.  I was just about to launch into a wonderful tirade
> > > > about why
> > > > >we shouldn't have change Tomcat just to work around some
> > buggy compiler
> > > > >from
> > > > >Microsoft when I realized the real problem isn't what you
> > think it is.
> > > > >
> > > > >The problem isn't the definition of the inner class, but the
> > use of the
> > > > >PrivilegedAction interface.  This interface didn't appear until
> > > > JDK1.2 and
> > > > >my guess is that your using JDK1.1.
> > > > >
> > > > >Tomcat 3.2.x, because it implements the Servlet 1.1
> > specification must
> > > > >maintain compatibility with JDK1.1 so this is a real Tomcat bug
> > > > and it will
> > > > >need to be fixed before releasing Tomcat 3.2.2.
> > > > >
> > > > >Glenn, can you take a look at this?
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Dave Oxley [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Tuesday, May 01, 2001 12:32 PM
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Subject: RE: Tomcat 3.2.2 beta 4
> > > > > >
> > > > > >
> > > > > > I posted this before but got no response.
> > > > > >
> > > > > > The change to SessionUtil.java 1.5.2.2 to 1.5.2.3
> > (3.2.1->3.2.2b1)
> > >has
> > > > > > caused the Microsoft Virtual Machine to fall over when running
> > > > > > Tomcat. The
> > > > > > M$ VM does not like internal classes defined within methods (I
> > > > > > think this is
> > > > > > the problem) and throws a NoClassDefFoundException.
> > > > > >
> > > > > > I am running Windows2000 with IE5.5(a vm update came with 5.5)
> > > > > > although it
> > > > > > is probably the same on all M$ VMs.
> > > > > >
> > > > > > This means that I cannot debug servlets in Visual J++ which is a
> > >real
> > > > > > problem for us. (Until we find an IDE as stable and fast as 
>VJ++!)
> > > > > >
> > > > > > Dave
> > > > > > [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > >
> > >
> > 
> >_________________________________________________________________________
> > > > > > Get Your Private, Free E-mail from MSN Hotmail at
> > > > >http://www.hotmail.com.
> > > > >
> > > >
> > > >
> > 
> >_________________________________________________________________________
> > > > Get Your Private, Free E-mail from MSN Hotmail at
> > >http://www.hotmail.com.
> > ><< webserver.jar >>
> >
> > 
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at 
>http://www.hotmail.com.
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to