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

Tomcat Application Exception log

wai yuan
Greenhorn

Joined: Dec 30, 2005
Posts: 9
I have this application WarrantSvcsRR running on Tomcat5.0.25. And the log4j.properties file config the log output file -- WarrantSvcsRR.log to a specific location. As far as what I am understanding about log4j, in the source code, you have to use logger.error(or debug, info etc..) to dump the logging info into the log file (of course, you can use the log4j.properties to config what you want, but first you need to have the logger.log_level statement in the place). Now I am getting an JMS timeout exception in one of the classes -- WarrantSvcsRRSoapBindingImpl. And this exception is written into the WarrantSvcsRR.log file. But I couldn't find a single logger statement in the WarrantSvcsRRSoapBindingImpl class. I wonder if my understanding of log4j is totally wrong or I just missing something somewhere? The following is the Exception showed in the log file:

2006-06-02 09:26:57,498 [Thread-96] ERROR mytest.eai.provider.ribssvcsrr.WarrantSvcsRRSoapBindingImpl - mytest.eai.common.jms.JMSRequestTimeoutException: Failed to receive a response message.
at mytest.eai.common.jms.JMSRequestReply.send(JMSRequestReply.java:209)
at mytest.eai.common.jms.JMSRequestReply.send(JMSRequestReply.java:150)
at mytest.eai.common.jms.JMSRequestReplyHelper.invokeServiceRR(JMSRequestReplyHelper.java:533)
at mytest.eai.provider.ribssvcsrr.WarrantSvcsRRSoapBindingImpl.invokeService(WarrantSvcsRRSoapBindingImpl.java:230)
at mytest.eai.provider.ribssvcsrr.WarrantSvcsRRSoapBindingImpl.getWarrantSummary(WarrantSvcsRRSoapBindingImpl.java:54)
at mytest.eai.provider.ribssvcsrr.WarrantSvcsRRSoapBindingSkeleton.getWarrantSummary(WarrantSvcsRRSoapBindingSkeleton.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
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:117)
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:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:534)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Application Exception log
 
Similar Threads
Exception in tomcat.
Getting an Exception
Twist on server/packaged library problem - Jboss/Packaging
Problem with Jakarta Commons Fileupload
stratup Exception