Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.2
-
Component/s: None
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
Their are 15 Quartz worker threads in the default configuration, In environment swhere the number of threads per process is limited, for example HP-UX 11.x's default limit is 64, this may prevent the including of Continuum in an existing Servlet engine, i.e. Tomcat. It appears the number of thread was configurable in components.xml, but that changed around 16-may-2006[1].
This issue is a result of the thread titled 'Getting "java.lang.OutOfMemoryError: unable to create new native thread"Link to this message" on the continuum user mailing list.
Issue Links
| This issue relates to: | ||||
| CONTINUUM-1336 | upgrade quartz - we use a very old version |
|
|
|
I coppied the org.apache.maven.continuum.scheduler.ContinuumScheduler component descriptor into classes/META-INF/plexus/application.xml per Emmanuel Venisse[1], but this did not change the number of threads. I then reviewed DefaultContinuumScheduler.java and found where the Quartz schedule was created, but it appears the properties sent to the factory may not have been populated.
[1] http://markmail.org/message/zpuq4tm2luopyz4h