Hello, I’m trying to start the Tomcat service but I get the following error message:
2016-05-17 09:13:32.162 INFO [localhost-startStop-1] org.activiti.engine.impl.ProcessEngineImpl - ProcessEngine default created
2016-05-17 09:13:33.430 INFO [localhost-startStop-1] com.haulmont.cuba.core.sys.jmx.MBeanExporter - Registering beans for JMX exposure: [flux-core.cuba:type=PersistenceManager, flux-core.cuba:type=ConfigStorage, flux-core.cuba:type=UserSessions, flux-core.cuba:type=UniqueNumbers, flux-core.cuba:type=Emailer, flux-core.cuba:type=EntityLog, flux-core.cuba:type=FileStorage, flux-core.cuba:type=LockManager, flux-core.cuba:type=CachingFacade, flux-core.cuba:type=ClusterManager, flux-core.cuba:type=ScriptingManager, flux-core.cuba:type=ServerInfo, flux-core.cuba:type=Scheduling, flux-core.cuba:type=ObjectsCacheManager, flux-core.cuba:type=PasswordEncryptionSupport, flux-core.cuba:type=JmxNodeIdentifier, flux-core.cuba:type=JmxLogControl, flux-core.cuba:type=ClassLoaderManager, flux-core.cuba:type=StatisticsCounter]
2016-05-17 09:13:33.557 INFO [localhost-startStop-1] com.haulmont.cuba.core.sys.jmx.MBeanExporter - Registering beans for JMX exposure: [flux-core.reports:type=CubaOfficeIntegration, flux-core.reports:type=ReportImportExport]
2016-05-17 09:13:33.564 INFO [localhost-startStop-1] com.haulmont.cuba.core.sys.jmx.MBeanExporter - Registering beans for JMX exposure: [flux-core.fts:type=FtsManager]
2016-05-17 09:13:33.571 INFO [localhost-startStop-1] com.haulmont.cuba.core.sys.jmx.MBeanExporter - Registering beans for JMX exposure: [flux-core.bpm:type=MessagesCache]
2016-05-17 09:13:33.774 INFO [localhost-startStop-1] com.haulmont.cuba.core.sys.dbupdate.DbUpdaterEngine - Initializing database
2016-05-17 09:13:34.187 ERROR [localhost-startStop-1] com.haulmont.cuba.core.sys.AppContextLoader - Error initializing application
java.lang.RuntimeException: No existing modules found. Please check if [C:/Program Files (x86)/Apache Software Foundation/Tomcat 8.0_Tomcat8_FluxService/webapps/flux-core/WEB-INF/db] contains DB scripts.
at com.haulmont.cuba.core.sys.dbupdate.ScriptScanner.getModuleDirs(ScriptScanner.java:136) ~[cuba-core-6.1.2.jar:6.1.2]
at com.haulmont.cuba.core.sys.dbupdate.DbUpdaterEngine.getModuleDirs(DbUpdaterEngine.java:411) ~[cuba-core-6.1.2.jar:6.1.2]
at com.haulmont.cuba.core.sys.dbupdate.DbUpdaterEngine.getInitScripts(DbUpdaterEngine.java:415) ~[cuba-core-6.1.2.jar:6.1.2]
at com.haulmont.cuba.core.sys.dbupdate.DbUpdaterEngine.doInit(DbUpdaterEngine.java:195) ~[cuba-core-6.1.2.jar:6.1.2]
at com.haulmont.cuba.core.sys.dbupdate.DbUpdaterEngine.updateDatabase(DbUpdaterEngine.java:98) ~[cuba-core-6.1.2.jar:6.1.2]
at com.haulmont.cuba.core.sys.AppContextLoader.afterInitAppContext(AppContextLoader.java:78) ~[cuba-core-6.1.2.jar:6.1.2]
at com.haulmont.cuba.core.sys.AbstractWebAppContextLoader.contextInitialized(AbstractWebAppContextLoader.java:64) ~[cuba-global-6.1.2.jar:6.1.2]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4811) [catalina.jar:8.0.33]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5251) [catalina.jar:8.0.33]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) [catalina.jar:8.0.33]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) [catalina.jar:8.0.33]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) [catalina.jar:8.0.33]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) [catalina.jar:8.0.33]
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092) [catalina.jar:8.0.33]
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834) [catalina.jar:8.0.33]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_91]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_91]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_91]
I have verified that in this folder I have the following 4 folders:
10-cuba
20-bpm
20-reports
50-flux
and they all contain sql scripts.