Terracotta « quartz « Java Enterprise Q&A





1. Terracotta 3.2. support for OC4J 10g App server ??    forums.terracotta.org

Hi, We want to develop a J2EE app using quartz scheduler on OC4J 10g. My question is, Is it possible that we use Quartz 1.7 with Terracotta Job Store on Oracle 10G application server ? I read in old theads that OC4J is not yet supported by Terracotta. Is it still not supported? Thanks

2. Orphaned Triggers/Jobs Stop firing when clustered with Terracotta    forums.terracotta.org

This may be a misunderstanding or misconfiguration on our part about how the clustered scheduler is supposed to work, but we are running into problems where our jobs stop running when an application server node (L1) is taken down. We expect the jobs/triggers to "fail over" to the scheduler on the other L1 and continue executing like nothing happened. What we're ...

3. quartz with terracotta only 1 job per cluster member    forums.terracotta.org

#============================================================================ # Configure Main Scheduler Properties #============================================================================ #org.quartz.scheduler.instanceName = MyClusteredScheduler org.quartz.scheduler.instanceId = AUTO org.quartz.scheduler.rmi.export = false org.quartz.scheduler.rmi.proxy = false org.quartz.scheduler.wrapJobExecutionInUserTransaction = false #============================================================================ # Configure ThreadPool #============================================================================ org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool org.quartz.threadPool.threadCount = 1 org.quartz.threadPool.threadPriority = 5 org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = true #============================================================================ # Configure JobStore #============================================================================ org.quartz.jobStore.misfireThreshold = 60000 org.quartz.jobStore.class = org.terracotta.quartz.TerracottaJobStore org.quartz.jobStore.tcConfigUrl = /Users/jduty/Documents/jon_quartztest/tc-config.xml org.quartz.jobStore.misfireThreshold=2000 org.quartz.jobStore.isClustered = true

4. Quartz Timer Job failing while hot deploying applications (Terracotta + quartz + Jboss)    forums.terracotta.org

Hello Everyone, We have got a problem with quartz jobs failing to execute while hot deploying applications. Our environment is like following [list] 1 terracotta Master server and 1 terracotta slave server Cluster1 containing 4 terracotta clients Cluster 2 containing 4 terracotta clients[/list] We maintain 2 clusters as that will enable us to hot deploy application on the client machines without ...

5. Terracotta and quart clustered, extremely low performance    forums.terracotta.org

Hi all, I am stuck with terracotta and quartz express clustered, I will need any of you to reach me out on this please. I am running quartz express and terracotta which provides me a cluster functionality. I have a Master that add for instance 20k jobs to the scheduler (quartz) and then one worker which retrieve the jobs and perform ...

6. How to use the terracotta in quartz    forums.terracotta.org

I have just learning about terracotta, and want to add it in quartz. I use eclipe DSO, and add two properties in quartz.properties (jobStore.class and jobStore.tcConfigUrl). There are some problems when running th program. Exception in thread "main" java.lang.NoClassDefFoundError: org/terracotta/express/Client at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethods(Class.java:1791) at java.beans.Introspector$1.run(Introspector.java:1287) at java.security.AccessController.doPrivileged(Native Method) at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1285) at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1151) at java.beans.Introspector.getBeanInfo(Introspector.java:402) at java.beans.Introspector.getBeanInfo(Introspector.java:168) at ...

7. java.lang.ClassNotFoundException: org.terracotta.quartz.TerracottaJobStoreExtensions    forums.terracotta.org

I am using the latest release 3.4.0 of the Terracotta platform with Web Sessions, EhCache, and Quartz in the same system (Express Mode), all clustered by Terracotta and running on Tomcat6 with Spring 2.5.6 "gluing" everything together. I have Web Sessions and EhCache working just fine together. When I try to add Quartz, I get a java.lang.ClassNotFoundException: org.terracotta.quartz.TerracottaJobStoreExtensions even though the ...

8. How to integrate terracotta with quartz    forums.terracotta.org

Hi friends, i am beginner in terracotta ,my issue is while i am running quartz program in terracotta server using the command dso-java.sh the following error occurs log4j:WARN No appenders could be found for logger (org.quartz.simpl.SimpleThreadPool). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" java.lang.ExceptionInInitializerError at org.terracotta.quartz.TerracottaJobStore.init(TerracottaJobStore.java:59) at org.terracotta.quartz.TerracottaJobStore.initialize(TerracottaJobStore.java:132) at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1269) at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1460) at QuartzAppSimpleTrigger.main(QuartzAppSimpleTrigger.java:55) Caused by: java.lang.RuntimeException: ...

9. Quartz Terracotta AssertionError    forums.terracotta.org

The check is there to indeed detect if we're somehow double adding something to the set. That shouldn't be happening -- but obviously is for some reason It sounds like you can trigger this pretty easily / reliably? Any chance you can give me something I can execute and debug locally? I'd also encourage you to try a later release if ...





10. Upgrade Terracotta 3.4.0 to Terracotta 3.5.1    forums.terracotta.org

We use two Tomcat 6.0.29 instances with two Terracotta 3.4.0 instances and the "Clustering Web Applications with Terracotta Web Sessions" + "Clustering Quartz Scheduler" works very fine. After an Terracotta 3.5.1 upgrade the Tomcat didn't restart. We changed the files under apache-tomcat-6.0.29/lib/: terracotta-session-1.1.1.jar => terracotta-session-1.1.2.jar terracotta-toolkit-1.1-runtime-2.0.0.jar => terracotta-toolkit-1.2-runtime-3.1.0.jar apache-tomcat-6.0.29/webapps//WEB-INF/lib/ quartz-1.7.3.jar => quartz-2.0.0.jar quartz-terracotta-1.2.1.jar => quartz-terracotta-2.0.0.jar terracotta-toolkit-1.1-runtime-2.0.0.jar => terracotta-toolkit-1.2-runtime-3.1.0.jar The file apache-tomcat-6.0.29/webapps//WEB-INF/classes/quartz.properties: ...

11. Quartz Scheduler with Terracotta 3.4.0    forums.terracotta.org

Installation Quartz Scheduler Version: Debian Squeeze, Java Version "1.6.0_22" (Sun), Terracotta 3.4.0, Tomcat 6.0.29, Grails 1.3.7 with Plugin quartz-0.4.2 We use two Tomcat instances with two Terracotta instances and the "Clustering Web Applications with Terracotta Web Sessions" + "Clustering Quartz Scheduler" works very fine. We copied the files under apache-tomcat-6.0.29/lib/: terracotta-session-1.1.1.jar terracotta-toolkit-1.1-runtime-2.0.0.jar under apache-tomcat-6.0.29/webapps//WEB-INF/lib/: quartz-1.7.3.jar quartz-terracotta-1.2.1.jar terracotta-toolkit-1.1-runtime-2.0.0.jar The file apache-tomcat-6.0.29/webapps//WEB-INF/classes/quartz.properties: Code: ...

13. Error while connecting quartz to terracotta    forums.terracotta.org

The following exception is occurred while connecting terracotta from quartz Code: at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.configurationFetchFailed(StandardXMLFileConfigurationCreator.java:331) [wldeploy] at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigDataFromSources(StandardXMLFileConfigurationCreator.java:217) [wldeploy] at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadConfigAndSetIntoRepositories(StandardXMLFileConfigurationCreator.java:116) [wldeploy] at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.createConfigurationIntoRepositories(StandardXMLFileConfigurationCreator.java:98) [wldeploy] at org.terracotta.express.StandaloneL1Boot.resolveEmbedded(StandaloneL1Boot.java:177) [wldeploy] at org.terracotta.express.StandaloneL1Boot.resolveConfig(StandaloneL1Boot.java:122) [wldeploy] at org.terracotta.express.StandaloneL1Boot.createConfigFile(StandaloneL1Boot.java:85) [wldeploy] at org.terracotta.express.StandaloneL1Boot.call(StandaloneL1Boot.java:190) [wldeploy] at org.terracotta.express.ClientImpl.(ClientImpl.java:309) [wldeploy] at org.terracotta.express.ClientFactoryImpl.newClient(ClientFactoryImpl.java:194) [wldeploy] at org.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:187) [wldeploy] at org.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:174) [wldeploy] at org.terracotta.express.ClientFactoryImpl.getOrCreateClient(ClientFactoryImpl.java:152) [wldeploy] at org.terracotta.express.ClientFactory.getOrCreateClient(ClientFactory.java:28) [wldeploy] at org.terracotta.quartz.AbstractTerracottaJobStore.init(AbstractTerracottaJobStore.java:62) [wldeploy] at org.terracotta.quartz.AbstractTerracottaJobStore.getUUID(AbstractTerracottaJobStore.java:77) [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native ...