Bluehost.com Web Hosting $6.95

How to Log Exceptions from the Tomcat Server

This is a discussion on How to Log Exceptions from the Tomcat Server within the Windows Web Servers forums, part of the Web Server and Related Forums category; Software Installed -------------------------- jakarta-tomcat-5.5.2 Windows 98SE IE6.0SP1 Requirement -------------------- I am trying to configure Tomcat Server to ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-08-2004
csplrj@yahoo.co.in
 
Posts: n/a
Default How to Log Exceptions from the Tomcat Server

Software Installed
--------------------------
jakarta-tomcat-5.5.2
Windows 98SE
IE6.0SP1

Requirement
--------------------

I am trying to configure Tomcat Server to work as a Internet Server and
so trying to configure it

When I try to access the server by typing the sites name in the IE the
Exception is thrown. The Exception is quite large and I am not able to
see the contents of the Error

So therefore I want to log all the Exceptions thrown

How to do that in Tomcat Version 5.5.2



According to me initially there is some exception and so the tomcat
server attempts to restart ServerSocket but somehow it may not be able
release the ServerSocket and at the same time a thread attempts to
start the ServerSocket and so such Exception

If I get the log file I can post the whole of it and can get the answer
quickly



Also the Exceptions thrown are


at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:548)
at
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 7:09:35 PM org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
WARNING: Restarting endpoint
Dec 7, 2004 7:09:35 PM org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
SEVERE: Endpoint null shutdown due to exception:
java.net.BindException: Address already in use: JVM_Bind:8080
java.net.BindException: Address already in use: JVM_Bind:8080
at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEnd point(PoolTcpEndpoint.java:264)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptS ocket(PoolTcpEndpoint.java:441)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:548)
at
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 7:09:35 PM
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable run
SEVERE: Caught exception (java.lang.ThreadDeath) executing
org.apache.tomcat.util.net.TcpWorkerThread@12c5431 , terminating thread
Thanks in advance

CSJakharia

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0