You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vasanth Krishnan Venkatachalam <vv...@vader.ICS.UCI.EDU> on 2001/05/21 18:33:34 UTC

error reading request --please help

Hi everyone, 

I'm trying to test tomcat 3.2.1 from the web. I have it running on a
server
called vader.ics.uci.edu, on port 19000. I want to access the file,
source.jsp, which is located in the directory, 
webapps/examples/jsp/

But when I point my browser to
http://vader.ics.uci.edu:19000/webapps/examples/jsp/source.jsp

I notice, in the window where startup.sh is running the following error:


5-19 09:23:30 - ContextManager: Error reading request, ignored - java.lang
.NullPointerException
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java, Compiled Code)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava, Compiled Code)
        at java.lang.Thread.run(Thread.java, Compiled Code)  


Any suggestions on how to beat this?

Vasanth




RE: error reading request --please help

Posted by Vasanth Krishnan Venkatachalam <vv...@vader.ICS.UCI.EDU>.
i tried that...status quo

On Mon, 21 May 2001, Gilles Laborderie wrote:

> Try to point your browser to
> 
> http://vader.ics.uci.edu:19000/examples/jsp/source.jsp
> 
> Gilles
> 
> > -----Original Message-----
> > From: Vasanth Krishnan Venkatachalam [mailto:vvenkata@vader.ICS.UCI.EDU]
> > Sent: Monday, May 21, 2001 12:34 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: error reading request --please help
> >
> >
> > Hi everyone,
> >
> > I'm trying to test tomcat 3.2.1 from the web. I have it running on a
> > server
> > called vader.ics.uci.edu, on port 19000. I want to access the file,
> > source.jsp, which is located in the directory,
> > webapps/examples/jsp/
> >
> > But when I point my browser to
> > http://vader.ics.uci.edu:19000/webapps/examples/jsp/source.jsp
> >
> > I notice, in the window where startup.sh is running the following error:
> >
> >
> > 5-19 09:23:30 - ContextManager: Error reading request, ignored - java.lang
> > .NullPointerException
> >         at
> > org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
> > n(HttpConnectionHandler.java, Compiled Code)
> >         at
> > org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
> > ava, Compiled Code)
> >         at java.lang.Thread.run(Thread.java, Compiled Code)
> >
> >
> > Any suggestions on how to beat this?
> >
> > Vasanth
> >
> >
> >
> 
> 


AW: Class, Bean Directory Structure

Posted by Thomas Bezdicek <th...@engnetworld.com>.
if you look at $HOMCAT_HOME/webapps/examples you can see the
where to put your servlets or jsps.

regards, tom

> -----Ursprüngliche Nachricht-----
> Von: Jon Shoberg [mailto:jshoberg@cbd.net]
> Gesendet: Dienstag, 22. Mai 2001 04:43
> An: tomcat-user@jakarta.apache.org; JSP-INTEREST@JAVA.SUN.COM
> Betreff: Class, Bean Directory Structure
>
>
> So now that I have Apache, Tomcat, mod_jk running happily I have
> a question
> about directory structure.  My directories are as follows ..
>
>
> ../../apachegroup/tomcat/jakarta
> 	|
> 	+webapps
> 		|
> 		+myapp
> 			|
> 			|index.jsp, info.jsp
> 			|
> 			+images
> 			|
> 			+WEB-INF
> 			|
> 			+servlet
> 			|
> 			+META-INF
>
> So when I am writing servlets, what directory should they go in?  If I am
> using a servlet in a subdirectory under the root myapp, such as
> ../../myapp/joeuser/, do they still go in the same place?
>
> So when I am writing javabeans, what directory should they go in?  If I am
> using a servlet in a subdirectory under the root myapp, such as
> ../../myapp/joeuser/, do they still go in the same place?
>
> What do the WEB-INF and META-INF directories mean? How are they used ?
>


Class, Bean Directory Structure

Posted by Jon Shoberg <js...@cbd.net>.
So now that I have Apache, Tomcat, mod_jk running happily I have a question
about directory structure.  My directories are as follows ..


../../apachegroup/tomcat/jakarta
	|
	+webapps
		|
		+myapp
			|
			|index.jsp, info.jsp
			|
			+images
			|
			+WEB-INF
			|
			+servlet
			|
			+META-INF

So when I am writing servlets, what directory should they go in?  If I am
using a servlet in a subdirectory under the root myapp, such as
../../myapp/joeuser/, do they still go in the same place?

So when I am writing javabeans, what directory should they go in?  If I am
using a servlet in a subdirectory under the root myapp, such as
../../myapp/joeuser/, do they still go in the same place?

What do the WEB-INF and META-INF directories mean? How are they used ?


RE: error reading request --please help

Posted by Gilles Laborderie <gx...@careersite.com>.
Try to point your browser to

http://vader.ics.uci.edu:19000/examples/jsp/source.jsp

Gilles

> -----Original Message-----
> From: Vasanth Krishnan Venkatachalam [mailto:vvenkata@vader.ICS.UCI.EDU]
> Sent: Monday, May 21, 2001 12:34 PM
> To: tomcat-user@jakarta.apache.org
> Subject: error reading request --please help
>
>
> Hi everyone,
>
> I'm trying to test tomcat 3.2.1 from the web. I have it running on a
> server
> called vader.ics.uci.edu, on port 19000. I want to access the file,
> source.jsp, which is located in the directory,
> webapps/examples/jsp/
>
> But when I point my browser to
> http://vader.ics.uci.edu:19000/webapps/examples/jsp/source.jsp
>
> I notice, in the window where startup.sh is running the following error:
>
>
> 5-19 09:23:30 - ContextManager: Error reading request, ignored - java.lang
> .NullPointerException
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
> n(HttpConnectionHandler.java, Compiled Code)
>         at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
> ava, Compiled Code)
>         at java.lang.Thread.run(Thread.java, Compiled Code)
>
>
> Any suggestions on how to beat this?
>
> Vasanth
>
>
>