Error on dotCMS startup, reason Quartz cronjob without license?

81 views
Skip to first unread message

Latio Max

unread,
Apr 14, 2015, 1:05:25 PM4/14/15
to dot...@googlegroups.com
Hi,

I have configured some Quartz cronjobs, but do you need a license for this, because I got the following errors in my log:

Thanks for your response!

[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:                                                                                   
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:                                                                                   
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:                                                                                   
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:            OOOO                            7777777   7777       7777     77777777 
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:            OOOO                 OO       777777777  77777      77777    77777777  
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:            OOOO                OOO      77777       777777     77777   7777       
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:      OOOOOOOOOO   OOOOOOOO   OOOOOOOOO 7777         7777777   777777   7777       
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:     OOOO  OOOOO  OOOO  OOOO    OOOO    7777         7777777  7777777    777777    
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:    OOOO    OOOO  OOO    OOOO   OOOO    7777         77777777 777 7777     777777  
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:    OOOO    OOOO OOOO    OOOO   OOOO    7777         777  777 777 7777        7777 
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:    OOOO    OOOO  OOO    OOOO   OOOO    77777        777  777777  7777         7777
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:     OOOO   OOOO  OOOO   OOO    OOOO     77777       777   7777   7777        7777 
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:      OOOOOOOOOO   OOOOOOOO      OOOOO    777777777  777   7777   7777  777777777  
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:                                                                                   
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:                                                          Content Management System
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:                                                                                   
[14/04/15 18:52:08:979 CEST]  INFO util.AsciiArt:                                                                                   
[14/04/15 18:52:09:993 CEST]  INFO util.OSGIUtil: Felix dir: D:\java\dotCMS\dotcms_3\bin\..\dotserver\tomcat-7.0.54\webapps\ROOT\WEB-INF\felix
[14/04/15 18:52:10:009 CEST]  INFO util.OSGIUtil: Loading property  felix.auto.deploy.action=install,start
[14/04/15 18:52:10:009 CEST]  INFO util.OSGIUtil: Loading property  felix.fileinstall.start.level=1
[14/04/15 18:52:10:009 CEST]  INFO util.OSGIUtil: Loading property  felix.fileinstall.log.level=3
[14/04/15 18:52:10:009 CEST]  INFO util.OSGIUtil: Loading property  org.osgi.framework.startlevel.beginning=2
[14/04/15 18:52:10:009 CEST]  INFO util.OSGIUtil: Loading property  org.osgi.framework.storage.clean=onFirstInit
[14/04/15 18:52:10:009 CEST]  INFO util.OSGIUtil: Loading property  felix.log.level=4
[14/04/15 18:52:10:477 CEST]  INFO util.OSGIUtil: Loading Factory com.dotcms.repackage.org.apache.felix.framework.FrameworkFactory
[14/04/15 18:52:11:319 CEST]  INFO util.OSGIUtil: osgi felix framework started
[14/04/15 18:52:11:335 CEST]  INFO server.CMISServiceFactoryImpl: Initializing in-memory repository...
[14/04/15 18:52:11:350 CEST]  INFO server.CMISServiceFactoryImpl: ...initialized in-memory repository.
[14/04/15 18:52:11:350 CEST]  INFO impl.CmisRepositoryContextListener: Initialized Services Factory: com.dotcms.enterprise.cmis.server.CMISServiceFactoryImpl
[14/04/15 18:52:11:538 CEST]  INFO listeners.ContextLifecycleListener: Shutdown event received, executing a clean shutdown.
[14/04/15 18:52:11:538 CEST]  INFO impl.StdSchedulerFactory: Using default implementation for ThreadExecutor
[14/04/15 18:52:11:538 CEST]  INFO simpl.SimpleThreadPool: Job execution threads will use class loader of thread: localhost-startStop-1
[14/04/15 18:52:11:538 CEST]  INFO core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[14/04/15 18:52:11:538 CEST]  INFO core.QuartzScheduler: Quartz Scheduler v.1.8.6 created.
[14/04/15 18:52:11:538 CEST]  INFO quartz.DotJobStore: Using db table-based data access locking (synchronization).
[14/04/15 18:52:11:538 CEST]  INFO quartz.DotJobStore: JobStoreCMT initialized.
[14/04/15 18:52:11:538 CEST]  INFO core.QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v1.8.6) 'DotMarketingQuartzExclusiveScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads.
  Using job-store 'com.dotmarketing.quartz.DotJobStore' - which supports persistence. and is clustered.

[14/04/15 18:52:11:538 CEST]  INFO impl.StdSchedulerFactory: Quartz scheduler 'DotMarketingQuartzExclusiveScheduler' initialized from an externally provided properties instance.
[14/04/15 18:52:11:538 CEST]  INFO impl.StdSchedulerFactory: Quartz scheduler version: 1.8.6
[14/04/15 18:52:11:538 CEST]  INFO impl.StdSchedulerFactory: Using default implementation for ThreadExecutor
[14/04/15 18:52:11:538 CEST]  INFO simpl.SimpleThreadPool: Job execution threads will use class loader of thread: localhost-startStop-1
[14/04/15 18:52:11:553 CEST]  INFO core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[14/04/15 18:52:11:553 CEST]  INFO core.QuartzScheduler: Quartz Scheduler v.1.8.6 created.
[14/04/15 18:52:11:553 CEST]  INFO quartz.DotJobStore: Using db table-based data access locking (synchronization).
[14/04/15 18:52:11:553 CEST]  INFO quartz.DotJobStore: JobStoreCMT initialized.
[14/04/15 18:52:11:553 CEST]  INFO core.QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v1.8.6) 'DotMarketingQuartzScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'com.dotmarketing.quartz.DotJobStore' - which supports persistence. and is clustered.

[14/04/15 18:52:11:553 CEST]  INFO impl.StdSchedulerFactory: Quartz scheduler 'DotMarketingQuartzScheduler' initialized from an externally provided properties instance.
[14/04/15 18:52:11:553 CEST]  INFO impl.StdSchedulerFactory: Quartz scheduler version: 1.8.6
[14/04/15 18:52:11:553 CEST]  INFO impl.StdSchedulerFactory: Using default implementation for ThreadExecutor
[14/04/15 18:52:11:553 CEST]  INFO simpl.SimpleThreadPool: Job execution threads will use class loader of thread: localhost-startStop-1
[14/04/15 18:52:11:553 CEST]  INFO core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[14/04/15 18:52:11:553 CEST]  INFO core.QuartzScheduler: Quartz Scheduler v.1.8.6 created.
[14/04/15 18:52:11:553 CEST]  INFO simpl.RAMJobStore: RAMJobStore initialized.
[14/04/15 18:52:11:553 CEST]  INFO core.QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v1.8.6) 'DotMarketingQuartzLocalScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

[14/04/15 18:52:11:553 CEST]  INFO impl.StdSchedulerFactory: Quartz scheduler 'DotMarketingQuartzLocalScheduler' initialized from an externally provided properties instance.
[14/04/15 18:52:11:553 CEST]  INFO impl.StdSchedulerFactory: Quartz scheduler version: 1.8.6
[14/04/15 18:52:11:553 CEST]  INFO core.QuartzScheduler: Scheduler DotMarketingQuartzScheduler_$_NON_CLUSTERED shutting down.
[14/04/15 18:52:11:553 CEST]  INFO core.QuartzScheduler: Scheduler DotMarketingQuartzScheduler_$_NON_CLUSTERED paused.
[14/04/15 18:52:11:553 CEST]  INFO core.QuartzScheduler: Scheduler DotMarketingQuartzScheduler_$_NON_CLUSTERED shutdown complete.
[14/04/15 18:52:11:553 CEST]  INFO core.QuartzScheduler: Scheduler DotMarketingQuartzExclusiveScheduler_$_NON_CLUSTERED shutting down.
[14/04/15 18:52:11:553 CEST]  INFO core.QuartzScheduler: Scheduler DotMarketingQuartzExclusiveScheduler_$_NON_CLUSTERED paused.
[14/04/15 18:52:11:553 CEST]  INFO core.QuartzScheduler: Scheduler DotMarketingQuartzExclusiveScheduler_$_NON_CLUSTERED shutdown complete.
[14/04/15 18:52:11:709 CEST]  WARN reindex.ReindexThread: ReindexThread not running (or already shutting down)
[14/04/15 18:52:11:725 CEST]  INFO license.b:
[14/04/15 18:52:11:725 CEST]  INFO license.b:
[14/04/15 18:52:11:725 CEST]  INFO license.b:
[14/04/15 18:52:11:725 CEST]  INFO license.b:
[14/04/15 18:52:11:725 CEST]  INFO license.b:
[14/04/15 18:52:11:725 CEST]  INFO license.b:
[14/04/15 18:52:11:725 CEST]  INFO license.b:
[14/04/15 18:52:11:725 CEST]  INFO license.b:
[14/04/15 18:52:11:725 CEST]  INFO license.b:
[14/04/15 18:52:11:740 CEST] ERROR listeners.ContextLifecycleListener: A error ocurred trying to shutdown the ClusterThread.
[14/04/15 18:52:11:740 CEST] ERROR listeners.ContextLifecycleListener: A error ocurred trying to shutdown the Cache subsystem.
[14/04/15 18:52:11:740 CEST]  INFO listeners.ContextLifecycleListener: Finished shuting down.
[14/04/15 18:52:11:740 CEST] ERROR cluster.ClusterFactory: can't remove from cluster
java.lang.NullPointerException
    at com.dotcms.enterprise.cluster.ClusterFactory.removeNodeFromCluster(SourceFile:324)
    at com.dotcms.enterprise.license.LicenseManager$1.run(SourceFile:203)
    at java.lang.Thread.run(Thread.java:745)

Latio Max

unread,
Apr 16, 2015, 1:20:55 PM4/16/15
to dot...@googlegroups.com
Could anyone help me with the answer, thanks!


  

Op dinsdag 14 april 2015 19:05:25 UTC+2 schreef Latio Max:
fanart.jpg

Jason Tesser

unread,
Apr 16, 2015, 1:22:07 PM4/16/15
to dot...@googlegroups.com
should be ok moving forward. You cannot cluster without a license but
quartz should work
> --
> You received this message because you are subscribed to the Google Groups
> "dotCMS User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dotcms+un...@googlegroups.com.
> To post to this group, send email to dot...@googlegroups.com.
> Visit this group at http://groups.google.com/group/dotcms.
> For more options, visit https://groups.google.com/d/optout.



--

3250 Mary Street
Suite 405
Miami, FL 33133
Main: 305-900-2001 | Direct: 305.209.8104

jason....@dotcms.com | dotcms.com

Xander Steinmann

unread,
Jun 1, 2015, 11:08:49 AM6/1/15
to dot...@googlegroups.com, jason....@dotcms.com
Was there a fix for this? I'm running into this myself with an upgrade from 2.3.1 to 2.5.7. The only difference is that the last 2 lines of my log are 'successful':

[01/06/15 17:02:34:330 CEST]  WARN priv.a: ClusterThread not running (or already shutting down)
[01/06/15 17:02:36:347 CEST]  INFO listeners.ContextLifecycleListener: Finished shuting down.

Any idea why this would happen? This is a non-clustered linux 2.5.7 with a licence. (I wanted to go to 3.x from this version)

Kind regards,

Xander

Xander Steinmann

unread,
Jun 2, 2015, 3:33:12 AM6/2/15
to dot...@googlegroups.com, jason....@dotcms.com
FYI: I found the issue and my problem is not the same. I noticed the following in the logs (which I don't see in the logs of "Latio Max"):

[01/06/15 17:02:32:780 CEST]  INFO cache.H2CacheLoader: Starting Disk Cache
[01/06/15 17:02:33:887 CEST]  INFO cache.H2CacheLoader: Disk Cache Started
[01/06/15 17:02:33:956 CEST]  INFO business.DotGuavaCacheAdministratorImpl: ***  Building Cache : structurecache, size:500, toDisk:false,Concurrency:32
[01/06/15 17:02:34:029 CEST]  INFO util.SystemProperties: Loading file:/app/dotcms/dotserver/dotCMS/WEB-INF/classes/system.properties
[01/06/15 17:02:34:030 CEST]  INFO util.SystemProperties: Loading file:/app/dotcms/dotserver/dotCMS/WEB-INF/classes/system-ext.properties
[01/06/15 17:02:34:055 CEST]  INFO util.PropsLoader: Loading file:/app/dotcms/dotserver/dotCMS/WEB-INF/classes/portal.properties
[01/06/15 17:02:34:059 CEST]  INFO util.PropsLoader: Loading file:/app/dotcms/dotserver/dotCMS/WEB-INF/classes/portal-ext.properties
[01/06/15 17:02:34:121 CEST]  INFO filters.CharsetEncodingFilter: Destroying character encoding filter...
[01/06/15 17:02:34:145 CEST]  INFO listeners.ContextLifecycleListener: Shutdown event received, executing a clean shutdown.

I found an error that caused this in the catalina.out regarding a missing class/jar which solves this issue.
Reply all
Reply to author
Forward
0 new messages