You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Chris Kimpton <ki...@yahoo.com> on 2001/06/26 18:21:10 UTC

Slide and tomcat3.3m3

Hi,

It seems I am doing something wrong....but I can't seem to see what!

I thought I had previously used MS Web Folders with tomcat3.3m2
successfully...

But when I try with m3, I am getting this error in the tomcat window;

26 Jun 2001 17:09:58 - WARNING - Access denied on /users by user
/users/guest for action /actions/re
ad
26 Jun 2001 17:09:58 - WARNING - Access denied on /actions by user
/users/guest for action /actions/
read
26 Jun 2001 17:09:58 - INFO - GET (time: 201 ms) URI = /
java.lang.NullPointerException
        at
org.apache.tomcat.modules.generators.ErrorHandler.handleErrorImpl(ErrorHandler.java:269)
        at
org.apache.tomcat.modules.generators.ErrorHandler.handleError(ErrorHandler.java:147)
        at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:995)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:829)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:739)
        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.ja
va:150)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:430)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:505)
        at java.lang.Thread.run(Thread.java:484)
java.lang.NullPointerException
        at
org.apache.tomcat.modules.generators.ErrorHandler.handleErrorImpl(ErrorHandler.java:269)
        at
org.apache.tomcat.modules.generators.ErrorHandler.handleError(ErrorHandler.java:147)
        at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:995)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:829)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:739)
        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.ja
va:150)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:430)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:505)
        at java.lang.Thread.run(Thread.java:484)


Thanks in advance for any ideas,
Chris

=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

RE: Slide and tomcat3.3m3

Posted by rajkumar <ko...@intalio.com>.
hi,
  I am running the catalina server on the server side.I am am running the
slide client example connecting to http://localhost:8080/slide/. For  a
command issued on the client side like  "[LOCALHOST] /slide/ $ get files"
the server side printout generated by the XMLTestCaseGenerator class is as
follows:

<step executeIn="HttpProcessor[8080][4]">
  <request>
    <command>GET /slide/files HTTP/1.1</command>
    <header>authorization: Basic cm9vdDpyb290</header>
    <header>cookie: $Version=1;JSESSIONID=698153A8E7933492D87625D104653474;
       $Path=/slide; $Domain=localhost</header>
    <header>host: localhost:8080</header>
    <header>user-agent: Jakarta HTTP Client/1.0</header>
    <body />
  </request>
  <response>
    <command>HTTP/1.1 200 OK</command>
    <body />
  </response>
</step>

The response element does not seem to be printing out the header elements
unlike the request element.I have tested this with a number of commands and
have never seen the response headers being printed out on the server side
though i see them on client side.Can somebody help me with this.
   thanks,
   rajkumar
-----Original Message-----
From: Remy Maucherat [mailto:remm@apache.org]
Sent: Wednesday, June 27, 2001 8:42 AM
To: slide-user@jakarta.apache.org
Cc: cmanolache@yahoo.com
Subject: Re: Slide and tomcat3.3m3


> Hi,
>
> --- cmanolache@yahoo.com wrote:
> > I'll take a look, thanks for finding the bug ( the NPE happens
> > because the
> > context is null, which usually mean the request can't be
> > parsed/mapped).
> >
> > I assume you are using latest slide in a 'standard' configuration
> > and it
> > fails on any request ( i.e. you're not doing something special ).
> >
>
> It is standard slide - drop the slide.war from the distribution into
> webapps.  Using tomcat3.3m3 basically works with DAVExplorer and
> IE5.5 - althought I've not used it heavily.
>
> The problem is when connecting via MS Web Folders, it does not like
> the conversation it gets from tomcat ;-)
>
> It worked with 3.3m2 and 3.2.1.

I tried with m3 and m4 + a CVS build of Slide, and I couldn't reproduce the
problem.

Remy


Re: Slide and tomcat3.3m3

Posted by Chris Kimpton <ki...@yahoo.com>.
Hi,

> 
> I tried with m3 and m4 + a CVS build of Slide, and I couldn't
> reproduce the
> problem.
> 

I just upgraded to last nights nightly build of slide and it connects
fine from MS Web Folders...

Thanks,
Chris

=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Re: Slide and tomcat3.3m3

Posted by Remy Maucherat <re...@apache.org>.
> Hi,
>
> --- cmanolache@yahoo.com wrote:
> > I'll take a look, thanks for finding the bug ( the NPE happens
> > because the
> > context is null, which usually mean the request can't be
> > parsed/mapped).
> >
> > I assume you are using latest slide in a 'standard' configuration
> > and it
> > fails on any request ( i.e. you're not doing something special ).
> >
>
> It is standard slide - drop the slide.war from the distribution into
> webapps.  Using tomcat3.3m3 basically works with DAVExplorer and
> IE5.5 - althought I've not used it heavily.
>
> The problem is when connecting via MS Web Folders, it does not like
> the conversation it gets from tomcat ;-)
>
> It worked with 3.3m2 and 3.2.1.

I tried with m3 and m4 + a CVS build of Slide, and I couldn't reproduce the
problem.

Remy


Re: Slide and tomcat3.3m3

Posted by Chris Kimpton <ki...@yahoo.com>.
Hi,

--- cmanolache@yahoo.com wrote:
> I'll take a look, thanks for finding the bug ( the NPE happens
> because the 
> context is null, which usually mean the request can't be
> parsed/mapped).
> 
> I assume you are using latest slide in a 'standard' configuration
> and it
> fails on any request ( i.e. you're not doing something special ).
> 

It is standard slide - drop the slide.war from the distribution into
webapps.  Using tomcat3.3m3 basically works with DAVExplorer and
IE5.5 - althought I've not used it heavily.

The problem is when connecting via MS Web Folders, it does not like
the conversation it gets from tomcat ;-)

It worked with 3.3m2 and 3.2.1.

HTH,
Chris

=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Re: Slide and tomcat3.3m3

Posted by cm...@yahoo.com.
I'll take a look, thanks for finding the bug ( the NPE happens because the 
context is null, which usually mean the request can't be parsed/mapped).

I assume you are using latest slide in a 'standard' configuration and it
fails on any request ( i.e. you're not doing something special ).

Costin

On Tue, 26 Jun 2001, Remy Maucherat wrote:

> > java.lang.NullPointerException
> >         at
> >
> org.apache.tomcat.modules.generators.ErrorHandler.handleErrorImpl(ErrorHandl
> er.java:269)
> >         at
> >
> org.apache.tomcat.modules.generators.ErrorHandler.handleError(ErrorHandler.j
> ava:147)
> >         at
> > org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:995)
> >         at
> >
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:82
> 9)
> >         at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:739)
> >         at
> >
> org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
> nterceptor.ja
> > va:150)
> >         at
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:430)
> >         at
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:505)
> >         at java.lang.Thread.run(Thread.java:484)
> 
> It looks like some kind of Tomcat problem. I have no idea why it ends up in
> that part of the code, thought (too bad it doesn't show the status code).
> 
> I'm CCing Costin, maybe he'll have an idea.
> 
> Remy
> 


Re: Slide and tomcat3.3m3

Posted by Chris Kimpton <ki...@yahoo.com>.
Hi,

--- Remy Maucherat <re...@apache.org> wrote:
> > Hi,
> >
> > It seems I am doing something wrong....but I can't seem to see
> what!
> >
> > I thought I had previously used MS Web Folders with tomcat3.3m2
> > successfully...
> >
> > But when I try with m3, I am getting this error in the tomcat
> window;
> >
> > 26 Jun 2001 17:09:58 - WARNING - Access denied on /users by user
> > /users/guest for action /actions/re
> > ad
> > 26 Jun 2001 17:09:58 - WARNING - Access denied on /actions by
> user
> > /users/guest for action /actions/
> > read
> > 26 Jun 2001 17:09:58 - INFO - GET (time: 201 ms) URI = /
> > java.lang.NullPointerException
> >         at
> >
>
org.apache.tomcat.modules.generators.ErrorHandler.handleErrorImpl(ErrorHandl
> er.java:269)
> >         at
> >
>
org.apache.tomcat.modules.generators.ErrorHandler.handleError(ErrorHandler.j
> ava:147)
> >         at
> >
>
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:995)
> >         at
> 

[snip]

> It looks like some kind of Tomcat problem. I have no idea why it
> ends up in
> that part of the code, thought (too bad it doesn't show the status
> code).
> 
> I'm CCing Costin, maybe he'll have an idea.
> 


Yep - definitely a tomcat problem - just switched back to m2 and it
works ok.

Regards,
Chris

=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Re: Slide and tomcat3.3m3

Posted by Remy Maucherat <re...@apache.org>.
> Hi,
>
> It seems I am doing something wrong....but I can't seem to see what!
>
> I thought I had previously used MS Web Folders with tomcat3.3m2
> successfully...
>
> But when I try with m3, I am getting this error in the tomcat window;
>
> 26 Jun 2001 17:09:58 - WARNING - Access denied on /users by user
> /users/guest for action /actions/re
> ad
> 26 Jun 2001 17:09:58 - WARNING - Access denied on /actions by user
> /users/guest for action /actions/
> read
> 26 Jun 2001 17:09:58 - INFO - GET (time: 201 ms) URI = /
> java.lang.NullPointerException
>         at
>
org.apache.tomcat.modules.generators.ErrorHandler.handleErrorImpl(ErrorHandl
er.java:269)
>         at
>
org.apache.tomcat.modules.generators.ErrorHandler.handleError(ErrorHandler.j
ava:147)
>         at
> org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:995)
>         at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:82
9)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:739)
>         at
>
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.ja
> va:150)
>         at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:430)
>         at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:505)
>         at java.lang.Thread.run(Thread.java:484)

It looks like some kind of Tomcat problem. I have no idea why it ends up in
that part of the code, thought (too bad it doesn't show the status code).

I'm CCing Costin, maybe he'll have an idea.

Remy