  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Quartz Configuration not read from Properties in quartz | - Quartz Configuration not read from Properties in quartz 2007-08-09 - By ALRubinger
Back So this isn't straight EJB3, but because of the close ties between this project and the Quartz RA Adaptor, etc, thought someone could shed some light.
I'm deploying a quartz-service.xml to create MBean org.quartz.ee.jmx.jboss .QuartzService, and this contains the following section:
<!-- | Initialized the SchedulerFactory with the contents | of the given Properties object. | --> | <attribute name="Properties"> | # Default Properties file for use by StdSchedulerFactory | # to create a Quartz Scheduler Instance, if a different | # properties file is not explicitly specified. | # | | org.quartz.scheduler.instanceName = DefaultQuartzScheduler | org.quartz.scheduler.rmi.export = false | org.quartz.scheduler.rmi.proxy = false | org.quartz.scheduler.xaTransacted = false | | org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool  | org.quartz.threadPool.threadCount = 5 | org.quartz.threadPool.threadPriority = 4 | | ...ETC | | </attribute>
..but a simple ThreadDump shows that 10 Threads are created as opposed to the specified 5. I've got a lot of jobs and require 50 Threads, but these properties seem to be ignored.
A quick glance at the source for the MBean doesn't show any parsing of the XML for these properties:
http://fisheye5.cenqua.com/browse/~raw,r=1.9/quartz/src/jboss/org/quartz/ee/jmx /jboss/QuartzService.java
...anyone know how I can configure Quartz using the *-service.xml file?
Using JBoss 4.0.5-GA w/ EJB3 RC9 Patch 1.
Thanks in advance.
S, ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4072324#4072324
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4072324 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |