[EJB 3.0] - Quartz Configuration not read from Properties in quartz-serv
by ALRubinger
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/...
...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
18Â years, 9Â months
[JBoss Seam] - Re: Test Case Seam application
by urswag
I use now the bootstrap directory from embedded JBoss Beta 2.
I get this exception stack.
| java.lang.UnsupportedClassVersionError: Bad version number in .class file
| at java.lang.ClassLoader.defineClass1(Native Method)
| at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
| at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
| at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
| at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
| at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.seam.deployment.ComponentScanner.handleItem(ComponentScanner.java:71)
| at org.jboss.seam.deployment.Scanner.handleArchive(Scanner.java:158)
| at org.jboss.seam.deployment.Scanner.scan(Scanner.java:132)
| at org.jboss.seam.deployment.ComponentScanner.getClasses(ComponentScanner.java:49)
| at org.jboss.seam.init.Initialization.scanForComponents(Initialization.java:631)
| at org.jboss.seam.init.Initialization.init(Initialization.java:494)
| at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:864)
| at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
| at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
| at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
| at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
| at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
| at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
| at org.testng.TestRunner.runWorkers(TestRunner.java:678)
| at org.testng.TestRunner.privateRun(TestRunner.java:624)
| at org.testng.TestRunner.run(TestRunner.java:495)
| at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
| at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
| at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
| at org.testng.SuiteRunner.run(SuiteRunner.java:190)
| at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
| at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
| at org.testng.TestNG.run(TestNG.java:699)
| at org.testng.TestNG.privateMain(TestNG.java:824)
| at org.testng.TestNG.main(TestNG.java:802)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072321#4072321
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072321
18Â years, 9Â months