[opencms-dev] Running Opencms within an Embedded Tomcat instance

Ivan Drinks Sr ivan.sr at reality-technology.com
Thu Apr 29 19:16:18 CEST 2021


I am trying to run OpenCMS using an embedded tomcat.  I am getting the below error.  Can Opencms be ran using an embedded Tomcat?  If so, what do I need to do?



OpenCms setup - Importing modules
OpenCms WEB-INF path: "/opt/apache-ofbiz-17.12.07/plugins/rscms/webapp/WEB-INF/".
OpenCms property file: "/opt/apache-ofbiz-17.12.07/plugins/rscms/webapp/WEB-INF/config/opencms.properties".

com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.analysis.util.TokenizerFactory
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2212)
at com.google.common.cache.LocalCache.get(LocalCache.java:4053)
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4899)
at org.apache.solr.core.ConfigSetService$SchemaCaching.createIndexSchema(ConfigSetService.java:227)
at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:91)
at org.apache.solr.core.CoreContainer.getConfigSet(CoreContainer.java:1238)
at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1185)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:1099)
at org.opencms.search.CmsSearchManager.registerSolrIndex(CmsSearchManager.java:1824)
at org.opencms.search.solr.CmsSolrIndex.initialize(CmsSolrIndex.java:650)
at org.opencms.search.CmsSearchManager.initSearchIndexes(CmsSearchManager.java:2666)
at org.opencms.search.CmsSearchManager.initializeIndexes(CmsSearchManager.java:1525)
at org.opencms.search.CmsSearchManager.initialize(CmsSearchManager.java:1494)
at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:2364)
at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:3096)
at org.opencms.main.CmsShell.<init>(CmsShell.java:564)
at org.opencms.setup.CmsVaadinSetupWorkplaceImportThread.run(CmsVaadinSetupWorkplaceImportThread.java:89)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.analysis.util.TokenizerFactory
at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:528)
at org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:626)
at org.apache.solr.schema.FieldTypePluginLoader$2.create(FieldTypePluginLoader.java:299)
at org.apache.solr.schema.FieldTypePluginLoader$2.create(FieldTypePluginLoader.java:292)
at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:152)
at org.apache.solr.schema.FieldTypePluginLoader.readAnalyzer(FieldTypePluginLoader.java:319)
at org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:90)
at org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:48)
at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:152)
at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:480)
at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:179)
at org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:56)
at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:70)
at org.apache.solr.core.ConfigSetService$SchemaCaching.lambda$createIndexSchema$0(ConfigSetService.java:229)
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4904)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3628)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2336)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2295)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2208)
... 16 more






To schedule a meeting with me click here<https://calendly.com/realitytechnology>.

Warm Regards,

[cid:image001.png at 01D73CF0.30B9CEA0]

Ivan Drinks Sr.
Executive Vice President

Locations:
Kansas City, Missouri          Phone: 816-929-8375   Fax:  816-265-2741
Denver, Colorado                Phone: 303-757-1107   Fax:  303-757-1108
Email: ivan.sr at reality-technology.com<https://url.emailprotection.link/?bSzDRe10sn90wO4-eanLccV2ip5AhJDNisGapBL-EyZ9F4OWjy8nSkb2F8arPP9L8YeIGFzIHSDw3r6BEPeZWnLHKAT0ZFv5Wc3wym5BHA4R33-EERVfMYAEsMGM5tP-jq1cfVPxCA20V_hATnCSygGiriwdJdyfDmrJhYp0Gf2DUo1QwDt_aT9fKG9-g8SXN7L6gxd7QxDSyie-42eV7uoFpIGc-mc_QpD44Zn-TKCN8_Jcxw7nDZP0cuJi9Bq4h>       Website: www.reality-technology.com<https://url.emailprotection.link/?bAueuCnPieZYnhkJQKN0YJfqyYAG5oT8Ozoy4_9Mfze8HwCGgkkSwm1k1DQTXohUxsu7Va5hAGXJUi29Y_O5zKA~~>

IMPORTANT NOTICES:
1.  This electronic communication, including the message above and any attached files, is  privileged and confidential.  It is intended for the named recipient only.  Anyone receiving this communication in error is NOT authorized to read, rely upon, copy or distribute the message or attached files, but must immediately notify Ivan Drinks Sr. at ivan.sr at reality-technology.com<mailto:ivan.sr at reality-technology.com>.
2.  This email message and any attached files are not encrypted and are subject to being deliberately intercepted or misrouted because of human or computer error, despite the exercise of the highest degree of care.  Failure of the recipient to safeguard their email password can result in unintended disclosure of the confidential and privileged information contained in this  message and any attached files.
3.  Unauthorized interception of this email is a violation of federal law, and is a crime under U.S. Code Title 18, sections 2510 et seq.
________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.opencms.org/pipermail/opencms-dev/attachments/20210429/93d48b88/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7687 bytes
Desc: image001.png
URL: <https://lists.opencms.org/pipermail/opencms-dev/attachments/20210429/93d48b88/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenCMS_error1.png
Type: image/png
Size: 72274 bytes
Desc: OpenCMS_error1.png
URL: <https://lists.opencms.org/pipermail/opencms-dev/attachments/20210429/93d48b88/attachment-0001.png>


More information about the opencms-dev mailing list