Laran Leo

Greenhorn
+ Follow
since Feb 16, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Laran Leo

Dear All,
I am getting the following exception in my application and when this exception occurs tomcat utilize all the CPU memory and machine performance goes down and it shows an "Page not display" message with the following exception

I am downloading some word document's to an IFRAME and using servlet to write an output stream to flush the output. But while opening large documents or while trying to open many documents, i am getting the following issues on my server.

Exception:

ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error
at org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:373)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323)
at org.apache.coyote.tomcat5.OutputBuffer.writeBytes(OutputBuffer.java:401)
at org.apache.coyote.tomcat5.OutputBuffer.write(OutputBuffer.java:388)
at org.apache.coyote.tomcat5.CoyoteOutputStream.write(CoyoteOutputStream.java:76)
at org.apache.coyote.tomcat5.CoyoteOutputStream.write(CoyoteOutputStream.java:70)
at com.wellogic.consult.servlets.DownloadNote.doGet(DownloadNote.java:144)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.wellogic.visage.commons.ctx.ContextFilter.doFilter(ContextFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Apr 28, 2006 9:37:16 AM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Remote Host /12.45.242.3 SocketException: Connection reset

Thanks
Lara
15 years ago
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
15 years ago
Hi
I am facing an issue at tomcat 4.1 startup. I am pasting the tomcat exceptions followingly. Please help me...

Exception Message:
------------------
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause:
java.lang.NullPointerException
at com.jnetdirect.jsql.e.a(Unknown Source)
at com.jnetdirect.jsql.JSQLDriver.acceptsURL(Unknown Source)
at java.sql.DriverManager.getDriver(Unknown Source)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)

Thanks
Lara
15 years ago