Trying to answer most of the questions here. I am almost at a complete loss as to why
any of this is occuring. I have the exact same setup software wise on another server
and none of this is happening. The server hardware is not the same. And the server
without all these errors is only my test server so its not accepting outside
connections, nor is is servering so many pages. If anyone can perhaps give any
suggestions, software or hardware related, I would be very thankful.
The Tomcat version is 3.2.4, Java is 1.4_01(which was recently upgraded from 1.3_02),
RedHat 7.0
I now getting a great number of socket type errors, IllegalStateExceptions,
IOExceptions, OutOfMemory, even NumberFormatExceptions now where I wasnt before. Does
any know of issues in the java version that would be creating these errors. I am
getting null pointer exceptions in places that should be impossible ( dunno, may be
related to running out of memory and the session not being able to store any more ). I
am getting errors indicating it can not serve some pages, when those pages do in fact
exist.
There is no root cause for this error.
I call it a tomcat jsp error because then people should be able to assume other things
about the context of the question. If I said merely a servlet error, then there
possibly could be no conclusions drawn towards any issues that might be brought up
with tomcat.
There is no apache in front of tomcat. Tomcat is handling all the requests from the
browser.
I do connect to mysql in this context. The drivers for mysql are in the classpath (
all my classes are packaged into a jar and in the WEB-INF/lib in the context.
Connecting to MySQL 3.23.49a
Here are some of the errors I am seeing in the logs. I can't explain any of them.
Could any of this be the result of network problems or maybe the amount of traffic?
-This one appears a few hundred times and on various other pages too.
2002-06-26 08:53:55 - Ctx( /quick ): IllegalStateException in: R( /quick +
/orderentry.jsp + null) Current state = FLUSHED, new state = CODING
2002-06-26 08:53:55 - Ctx( /quick ): IOException in: R( /quick + /orderentry.jsp +
null) Socket closed
2002-06-25 16:53:18 - Ctx( /quick ): Exception in: R( /quick + /tracking2.jsp + null)
- java.lang.OutOfMemoryError
-It gets to the point where Tomcat I think removes the contexts
2002-06-26 09:01:43 - ContextManager: Removing context Ctx( /qbsottweblive )
2002-06-26 09:01:43 - Ctx( /quick ): IllegalStateException in: R( /quick +
/orderprocess.jsp + null) Current state = FLUSHED, new state = CODING
2002-06-26 09:01:43 - ContextManager: Removing context Ctx( /quick )
2002-06-26 09:01:43 - ContextManager: Removing context Ctx( /manage )
2002-06-26 09:01:43 - ContextManager: Removing context Ctx( /copytest )
2002-06-26 09:01:51 - ContextManager: Error reading request, ignored -
java.lang.NullPointerException
at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1177)
at org.apache.tomcat.core.Handler.service(Handler.java:312)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1177)
at org.apache.tomcat.core.Handler.service(Handler.java:312)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1177)
... (at least 100 lines of this )
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1177)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:759)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
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:536)
2002-06-26 08:59:03 - PoolTcpEndpoint: Endpoint
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored exception:
java.net.SocketException: Connection reset by peer - java.net.SocketException:
Connection reset by peer
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
at java.net.ServerSocket.implAccept(ServerSocket.java:438)
at java.net.ServerSocket.accept(ServerSocket.java:409)
at
org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:286)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:402)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:536)
> --- Luc Foisy <[EMAIL PROTECTED]> wrote:
> > What does this error mean?
> >
> > 2002-06-25 15:25:07 - ContextManager: SocketException reading
> > request, ignored - java.net.SocketException: Connection reset by
> > peer: Connection reset by peer
> > at java.net.SocketInputStream.socketRead0(Native Method)
> > at
> > java.net.SocketInputStream.read(SocketInputStream.java:116)
> > at
> > java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
> > at
> > java.io.BufferedInputStream.read(BufferedInputStream.java:201)
> > at
> >
> org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpR
> equestAdapter.java:115)
> > at
> >
> org.apache.tomcat.core.BufferedServletInputStream.doRead(Buffe
> redServletInputStream.java:106)
> > at
> >
> org.apache.tomcat.core.BufferedServletInputStream.read(Buffere
> dServletInputStream.java:128)
> > at
> >
> javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138)
> > at
> >
> org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequ
> est(HttpRequestAdapter.java:129)
> > at
> >
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(HttpConnectionHandler.java:198)
> > at
> >
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoin
> t.java:416)
> > at
> >
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPo
> ol.java:501)
> > at java.lang.Thread.run(Thread.java:536)
> >
> > Luc Foisy
> >
> >
> > To change your membership options, refer to:
> > http://www.sys-con.com/java/list.cfm
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> To change your membership options, refer to:
> http://www.sys-con.com/java/list.cfm
>
To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm