# Component Factory shutting down pre-maturely

**URL:** <https://techcommunity.softwareag.com/t/component-factory-shutting-down-pre-maturely/59235>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [April 7, 2005, 1:49am UTC](https://techcommunity.softwareag.com/t/component-factory-shutting-down-pre-maturely/59235 "2005-04-07T01:49:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sacheen\_Punde](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@Sacheen\_Punde](https://techcommunity.softwareag.com/u/Sacheen_Punde)\
**Post date:** [April 7, 2005, 1:49am UTC](https://techcommunity.softwareag.com/t/component-factory-shutting-down-pre-maturely/59235/1 "2005-04-07T01:49:46Z")

</div>

I am trying to invoke mediator (7.4) sequences from the .NET web page  
using the http access to the mediator servletportal. When I execute these  
sequence multiple times (no specific order), the component factory shuts  
down pre-maturely, and I see the following messages in the logs:

[slf5s.start]25 Mar 2005 17:36:01,270[slf5s.DATE]Finalizer[slf5s.THREAD]DEBUG[slf5s.PRIORITY]xbd[slf5s.CATEGORY]- Shutting down … Total is 0[slf5s.MESSAGE]  
[slf5s.start]25 Mar 2005 17:36:01,270[slf5s.DATE]Finalizer[slf5s.THREAD]DEBUG[slf5s.PRIORITY]xbd[slf5s.CATEGORY]- Shutting down … Total task is 0[slf5s.MESSAGE]  
[slf5s.start]25 Mar 2005 17:36:01,270[slf5s.DATE]Finalizer[slf5s.THREAD]DEBUG[slf5s.PRIORITY]xbd[slf5s.CATEGORY]- Thread Pool finalizing …[slf5s.MESSAGE]  
[slf5s.start]25 Mar 2005 17:36:01,270[slf5s.DATE]Finalizer[slf5s.THREAD]DEBUG[slf5s.PRIORITY]xbd[slf5s.CATEGORY]- Shutting down … Total is 0[slf5s.MESSAGE]  
[slf5s.start]25 Mar 2005 17:36:01,270[slf5s.DATE]Finalizer[slf5s.THREAD]DEBUG[slf5s.PRIORITY]xbd[slf5s.CATEGORY]- Shutting down … Total task is 0[slf5s.MESSAGE]

This happenes no matter which sequence I execute. Any Ideas??

Regards,  
Sacheen Punde  
Technical Services, Reston  
[DefaultComponentFactory.xbd.log](https://techcommunity.softwareag.com/uploads/short-url/ryEvjNGV4iLUmAoxuVdghJsltjC.log) (804 Bytes)

---

<div class="post-metadata">

**Author:** ![Mike\_Bernat](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Mike\_Bernat](https://techcommunity.softwareag.com/u/Mike_Bernat)\
**Post date:** [April 7, 2005, 3:36am UTC](https://techcommunity.softwareag.com/t/component-factory-shutting-down-pre-maturely/59235/2 "2005-04-07T03:36:31Z")

</div>

Hi Sacheen,

First, I would suggest that you turn on DEBUG level logging from the SMH configuration panel. That might provide some clues.

Also, what is the hardware/software environment you are running?

Mike

---

<div class="post-metadata">

**Author:** ![Sacheen\_Punde](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@Sacheen\_Punde](https://techcommunity.softwareag.com/u/Sacheen_Punde)\
**Post date:** [April 7, 2005, 8:48pm UTC](https://techcommunity.softwareag.com/t/component-factory-shutting-down-pre-maturely/59235/3 "2005-04-07T20:48:45Z")

</div>

Mike,

Sorry, I should have been more specific… I actually have the  
log level set to debug, and that is when I see these messages in the  
logs, otherwise I do not see this.

I am running Mediator 7.4 on Windows XP Pro. machine. I have set the  
JVM parameters to 128M initial and 256M max heap size. I also increased  
the max. thread setting to 50. But when I monitor the runtime stats  
during the sequence execution, the memory or the thread usage  
does not get anywhere near the max values. Tomcat 5, on which  
mediator is running, also has similar JVM parameters.

Another important observation is that, after I see these messages,  
and I get timed out from the web app, the next time I am able to  
execute the same sequence w/o any problems (without having to start  
the component factory, so looks like the component factory is not  
actually shut down). I experienced this multiple times.

Also, whenever I get timed out, mediator does not even show the first  
log message in the sequence, which means it is not getting into the  
sequence execution, so chances of something inside teh sequence  
causing this are very low…

Regards,  
Sacheen.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/component-factory-shutting-down-pre-maturely/59235/4 "2021-04-02T14:39:43Z")

</div>


