How to debug Tomcat error "Detail Description: Servlet.service() for servlet BwServlet threw exception"?
book
Article ID: KB0094356
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Resolution: The error like
"BW-EXT-LOG-100000 Application ID BW.ClaimsNextGen_CostContainment-CostContainment Category org.apache.catalina.core.ContainerBase.[TomcatEngine-ClaimsNextGen_CostContainment].[localhost].[/].[BwServlet] Detail Description: Servlet.service() for servlet BwServlet threw exception"
is generated from underneath Tomcat code that BW’s HTTP/SOAP Server uses, How is the load on the SOAP/HTTP server(size of request and response messages and volume of messages)?
Please follow steps to debug this issue further.
1) Copy attached log4j.xml on to your server, open the deployed application .tra file and the following two lines:
This will turn on the tracing on the SOAP SERVER – but will only log Error message to log file . If you don't see any debug info in this file after adding above lines and you still see the error, you need to edit log4j.xml and turn on full tracing via setting the priority to ‘debug’ .
2) [This is very important] Run the bw engine from command prompt pipe the output to some file and run the engine in background using the following syntax.
<Application>.tra >output.txt &
This will catch all the uncaught output that is not going in to log file .
then check the detailed log files.
Issue/Introduction
How to debug Tomcat error "Detail Description: Servlet.service() for servlet BwServlet threw exception"?
Attachments
How to debug Tomcat error "Detail Description: Servlet.service() for servlet BwServlet threw exception"?
get_app