aspose file tools*
The moose likes Tomcat and the fly likes Tomcat Error hangs Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Error hangs Server" Watch "Tomcat Error hangs Server" New topic
Author

Tomcat Error hangs Server

Laran Leo
Greenhorn

Joined: Feb 16, 2006
Posts: 3
Hi
I have tomcat 4.1.29 server and jdk1.2 version installed on my server and using SQL-SERVER as database server. Recently i made some database driver updates and caused some issues and then rollback the driver. But after the update and rollback I found lot of strange issues raised on my server.

My CPU USAGE is 100% and MEM USAGE is very heavy, both are utilized by tomcat and SQL-SERVER and also i am getting the following error at my tomcat logs.

Could anyone guide me how can i overcome this issue.

Log
----
Created catalinaLoader in: C:\Program Files\Apache\Tomcat 4.1\server\lib
Feb 21, 2006 6:11:08 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Feb 21, 2006 6:11:11 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Feb 21, 2006 6:11:11 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Feb 21, 2006 6:11:13 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Could not retrieve necessary codes from database.
Feb 21, 2006 6:25:26 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Feb 21, 2006 6:25:31 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Feb 21, 2006 6:25:32 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=16/1735 config=C:\Program Files\Apache\Tomcat 4.1\conf\jk2.properties
AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool@1dcb3cd)
LogAbandoned: true
RemoveAbandoned: true
RemoveAbandonedTimeout: 480
com.jnetdirect.jsql.u: DBComms::transmit exception:java.net.SocketException: Connection reset by peer: socket write error
at com.jnetdirect.jsql.h.a(Unknown Source)
at com.jnetdirect.jsql.aq.a(Unknown Source)
at com.jnetdirect.jsql.ae.a(Unknown Source)
at com.jnetdirect.jsql.ak.i(Unknown Source)
at com.jnetdirect.jsql.ak.executeUpdate(Unknown Source)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:233)

Thanks
Lara
Scott Dunbar
Ranch Hand

Joined: Sep 23, 2004
Posts: 245
You're using 1.2!!??? Sun killed that off a while ago. You're using a newer Tomcat - why so ancient of a JDK?

I would first upgrade to at least the 1.4.2 JDK's. I can't imagine that anyone would still be using a 1.2 JDK and would be able to assist you. 1.2 is not even officially supported under XP and above.


<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
 
 
subject: Tomcat Error hangs Server