No, this is not Assumed Answered - I just hit that button accidently - this question is unanswered
Hello,
when I run CR in my webapp and then shut down tomcat I get messages that indicate that there are BO threads still running and that they couldn't be shut down. Reporting works great, but tomcat won't terminate.
Is there any method I can call in my ServletContextListener to shutdown BO? Or something for web.xml?
These are some of the messages I get on running shutdown.sh:
Sep 03, 2015 12:08:00 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/eweb-services] appears to have started a thread named [Business Objects - Sessions
Clean up] but has failed to stop it. This is very likely to create a memory leak.
Sep 03, 2015 12:08:00 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SCHWERWIEGEND: The web application [/eweb-services] appears to have started a thread named [Background Batch Spiller 0]
Sep 03, 2015 12:08:00 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SCHWERWIEGEND: The web application [/eweb-services] created a ThreadLocal with key of type [com.crystaldecisions.reports
.exporters.format.page.pdf.pdflib.DoubleFormatter$1] (value [com.crystaldecisions.reports.exporters.format.page.pdf.pdfl
ib.DoubleFormatter$1@b8f6b7d]) and a value of type [java.lang.StringBuilder] (value [921]) but failed to remove it when
the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
SCHWERWIEGEND: The web application [/eweb-services] created a ThreadLocal with key of type [com.crystaldecisions.reports
.common.locale.FormatterCache$2] (value [com.crystaldecisions.reports.common.locale.FormatterCache$2@298743]) and a valu
e of type [java.util.HashMap] (value [{de_DE=com.ibm.icu.text.DecimalFormat@674dc}]) but failed to remove it when the we
b application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Sep 03, 2015 12:08:00 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SCHWERWIEGEND: The web application [/eweb-services] created a ThreadLocal with key of type [com.crystaldecisions.reports
.exporters.format.page.pdf.fontembedding.opentype.reader.OpenTypeReader$2] (value [com.crystaldecisions.reports.exporter
s.format.page.pdf.fontembedding.opentype.reader.OpenTypeReader$2@219624e8]) and a value of type [java.util.ArrayList] (v
alue [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to tr
y and avoid a probable memory leak.
Sep 03, 2015 12:08:00 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SCHWERWIEGEND: The web application [/eweb-services] created a ThreadLocal with key of type [com.crystaldecisions.reports
.common.locale.FormatterCache$3] (value [com.crystaldecisions.reports.common.locale.FormatterCache$3@3e4a54f2]) and a va
lue of type [java.util.HashMap] (value [{com.ibm.icu.util.GregorianCalendar[time=1441274403192,areFieldsSet=false,areAll
FieldsSet=false,lenient=true,zone=com.ibm.icu.impl.OlsonTimeZone@fcbecbe0[transitionCount=62,typeCount=3,transitionTimes
=[-2147483648,-1693706400,-1680483600,-1663455600,-1650150000,-1632006000,-1618700400,-938905200,-857257200,-844556400,-
828226800,-812502000,-796777200,-781052400,-776563200,-765936000,-761180400,-748479600,-733273200,-717634800,-714610800,
-710380800,-701910000,-684975600,-670460400,-654130800,-639010800,315529200,323830800,338950800,354675600,370400400,3861
25200,401850000,417574800,433299600,449024400,465354000,481078800,496803600,512528400,528253200,543978000,559702800,5754
27600,591152400,606877200,622602000,638326800,654656400,670381200,686106000,701830800,717555600,733280400,749005200,7647
30000,780454800,796179600,811904400,828234000,846378000],typeOffsets=[3600,0,3600,3600,3600,7200],finalYear=1996,finalMi
llis=8.520768E11,finalZone=SimpleTimeZone: Europe/Berlin],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=0,YEAR=0,MONTH=0
,WEEK_OF_YEAR=0,WEEK_OF_MONTH=0,DAY_OF_MONTH=0,DAY_OF_YEAR=0,DAY_OF_WEEK=0,DAY_OF_WEEK_IN_MONTH=0,AM_PM=0,HOUR=0,HOUR_OF
_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OFFSET=0,DST_OFFSET=0,YEAR_WOY=0,DOW_LOCAL=0,EXTENDED_YEAR=0,JULIAN_DAY=0,MI
LLISECONDS_IN_DAY=0]={de_DE=com.ibm.icu.text.SimpleDateFormat@90c46740}, com.ibm.icu.util.GregorianCalendar[time=1441238
400000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=com.ibm.icu.impl.OlsonTimeZone@7801142c[transitionCount=
0,typeCount=1,transitionTimes=[],typeOffsets=[0,0],finalYear=2147483647,finalMillis=1.7976931348623157E308,finalZone=nul
l],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=1,YEAR=2015,MONTH=8,WEEK_OF_YEAR=36,WEEK_OF_MONTH=1,DAY_OF_MONTH=3,DAY_
OF_YEAR=246,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OFFSE
T=0,DST_OFFSET=0,YEAR_WOY=2015,DOW_LOCAL=4,EXTENDED_YEAR=2015,JULIAN_DAY=2457269,MILLISECONDS_IN_DAY=0]={de_DE=com.ibm.i
cu.text.SimpleDateFormat@90c46740}}]) but failed to remove it when the web application was stopped. Threads are going to
be renewed over time to try and avoid a probable memory leak.
Best
Karsten