Skip to content

Instantly share code, notes, and snippets.

View bryanboza's full-sized avatar

Bryan bryanboza

  • dotCMS
  • Costa Rica
View GitHub Profile
OpenDistro for Elasticsearch Security Demo Installer
** Warning: Do not use on production or public reachable systems **
Basedir: /usr/share/elasticsearch
Elasticsearch install type: rpm/deb on CentOS Linux release 7.7.1908 (Core)
Elasticsearch config dir: /usr/share/elasticsearch/config
Elasticsearch config file: /usr/share/elasticsearch/config/elasticsearch.yml
Elasticsearch bin dir: /usr/share/elasticsearch/bin
Elasticsearch plugins dir: /usr/share/elasticsearch/plugins
Elasticsearch lib dir: /usr/share/elasticsearch/lib
Detected Elasticsearch Version: x-content-7.6.1
10:57:06.054 INFO util.ActivityLogger - class com.dotcms.publishing.job.SiteSearchJobImpl: system : Job Started , User:system; Date: 2020-04-06 10:57:06; Job Identifier: sitesearch
10:57:06.054 INFO job.SiteSearchJobImpl - Job Started : User:system; Date: 2020-04-06 10:57:06; Job Identifier: sitesearch
10:57:06.054 INFO util.AdminLogger - class com.dotcms.publishing.job.SiteSearchJobImpl : Job Started : User:system; Date: 2020-04-06 10:57:06; Job Identifier: sitesearch
10:57:06.288 INFO business.ESIndexAPI - createIndex : Trying to create index: sitesearch_20200406105706_a56fd9d1-7827-11ea-8f98-8e4dee7c2a76 with shards: 1
10:57:06.288 INFO util.AdminLogger - class com.dotcms.content.elasticsearch.business.ESIndexAPI : createIndex : Trying to create index: sitesearch_20200406105706_a56fd9d1-7827-11ea-8f98-8e4dee7c2a76 with shards: 1
10:57:06.297 INFO metadata.MetaDataCreateIndexService - [sitesearch_20200406105706_a56fd9d1-7827-11ea-8f98-8e4dee7c2a76] creating index, cause [api], templates [], shar
13:22:20.122 ERROR util.ImportExportUtil - Unknown property 'companyId' on class 'class com.liferay.portal.ejb.CompanyHBM'
java.lang.NoSuchMethodException: Unknown property 'companyId' on class 'class com.liferay.portal.ejb.CompanyHBM'
at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1269) ~[commons-beanutils-1.9.3.jar:1.9.3]
at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:808) ~[commons-beanutils-1.9.3.jar:1.9.3]
at org.apache.commons.beanutils.BeanUtilsBean.getNestedProperty(BeanUtilsBean.java:711) ~[commons-beanutils-1.9.3.jar:1.9.3]
at org.apache.commons.beanutils.BeanUtilsBean.getProperty(BeanUtilsBean.java:737) ~[commons-beanutils-1.9.3.jar:1.9.3]
at org.apache.commons.beanutils.BeanUtils.getProperty(BeanUtils.java:380) ~[commons-beanutils-1.9.3.jar:1.9.3]
at com.dotmarketing.util.ImportExportUtil.doXMLFileImport(ImportExportUtil.java:1344) ~[dotcms_5.2.2_cc38295.jar:?]
at com.dotmarketing.util.ImportExportUtil.
13:44:52.831 WARN impl.SessionImpl - unclosed connection, forgot to call close() on your session?
13:44:52.858 ERROR business.WorkflowAPIImpl - This statement has been closed.{
"SQL": ["update workflow_scheme set name = ?, description =?, archived=?, mandatory=?, mod_date=? where id =? "],
"maxRows": [-1],
"offest": [0],
"params": [
"Document Management",
"Default workflow for documents",
false,
false,
11:30:50.621 WARN quartz.DotJobStore - Database connection shutdown unsuccessful.
java.sql.SQLException: There is no DataSource named 'TxDataSource.DotMarketingQuartzExclusiveScheduler'
at org.quartz.utils.DBConnectionManager.shutdown(DBConnectionManager.java:136) ~[dot.quartz-all-1.8.6_2.jar:?]
at org.quartz.impl.jdbcjobstore.JobStoreSupport.shutdown(JobStoreSupport.java:680) ~[dot.quartz-all-1.8.6_2.jar:?]
at org.quartz.impl.jdbcjobstore.JobStoreCMT.shutdown(JobStoreCMT.java:149) ~[dot.quartz-all-1.8.6_2.jar:?]
at org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:696) ~[dot.quartz-all-1.8.6_2.jar:?]
at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1349) ~[dot.quartz-all-1.8.6_2.jar:?]
at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1509) ~[dot.quartz-all-1.8.6_2.jar:?]
at com.dotmarketing.quartz.DotSchedulerFactory.<init>(DotSchedulerFactory.java:39) ~[dotcms_5.0.0_c990bd1.jar:?]
##PERFORM THE SEARCH
#set($query="dotcms")
#set($searchresults = $sitesearch.search($query,0,100))
##DISPLAY THE SEARCH RESULTS OBJECT
<p>Start: $searchresults.start</p>
<p>Total Results: $searchresults.totalResults</p>
<p>Took: $searchresults.took</p>
<p>Limit: $searchresults.limit</p>
<p>Offset: $searchresults.offset</p>
10:39:54.602 ERROR filters.CookiesFilter - Exception processing Cookies
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238) ~[catalina.jar:8.5.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-websocket.jar:8.5.32]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
at com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:191) ~[dotcms_5.0.0_3cb1052.jar:?]
at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:47) ~[dotcms_5.0.0_3cb1052.jar:?]
at org.apache.catalina.core.Appl
11:02:49.771 ERROR filters.CookiesFilter - Exception processing Cookies
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238) ~[catalina.jar:8.5.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-websocket.jar:8.5.32]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.32]
at com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:191) ~[dotcms_5.0.0_18b0fad.jar:?]
at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:47) ~[dotcms_5.0.0_18b0fad.jar:?]
at org.apache.catalina.core.Appl
09-Jul-2019 10:55:45.139 WARNING [url:GET//demo.dotcms.com/contentAsset/image/1432d672-a564-41c1-9ff9-b7e51e646b84/fileAsset/filter/WebP/webp_q/1 | lang:1 | ip:0:0:0:0:0:0:0:1 | Admin:true | start:07-09-2019 10:52:47 CST] org.scijava.nativelib.NativeLibraryUtil.loadNativeLibrary IOException creating DefaultJniExtractor
java.io.IOException: Couldn't find resource META-INF/lib/windows_64/ webp-imageio.dll
at org.scijava.nativelib.BaseJniExtractor.extractJni(BaseJniExtractor.java:158)
at org.scijava.nativelib.NativeLibraryUtil.loadNativeLibrary(NativeLibraryUtil.java:287)
at com.luciad.imageio.webp.WebP.loadNativeLibrary(WebP.java:29)
at com.luciad.imageio.webp.WebP.<clinit>(WebP.java:34)
at com.luciad.imageio.webp.WebPEncoderOptions.<clinit>(WebPEncoderOptions.java:20)
at com.luciad.imageio.webp.WebPWriteParam.<init>(WebPWriteParam.java:30)
at com.dotmarketing.image.filter.WebPImageFilter.runFilter(WebPImageFilter.java:40)
at com.dotmarketing.portlets.contentlet.business.exporter.ImageFilterExporter.ex
16:37:32.302 ERROR business.ESMappingAPIImpl - An error occurred when mapping properties of Contentlet '0c69da5c-2a05-452f-9305-3be6926d5079' : [com.dotcms.tika] OSGI bundle NOT FOUND.
java.lang.IllegalStateException: [com.dotcms.tika] OSGI bundle NOT FOUND.
at org.apache.felix.framework.OSGIUtil.getService(OSGIUtil.java:606) ~[dotcms_5.0.0_18b0fad.jar:?]
at com.dotcms.tika.TikaUtils.<init>(TikaUtils.java:67) ~[dotcms_5.0.0_18b0fad.jar:?]
at com.dotcms.content.elasticsearch.business.ESMappingAPIImpl.loadFields(ESMappingAPIImpl.java:493) ~[dotcms_5.0.0_18b0fad.jar:?]
at com.dotcms.content.elasticsearch.business.ESMappingAPIImpl.toMap_aroundBody0(ESMappingAPIImpl.java:191) ~[dotcms_5.0.0_18b0fad.jar:?]
at com.dotcms.content.elasticsearch.business.ESMappingAPIImpl$AjcClosure1.run(ESMappingAPIImpl.java:1) ~[dotcms_5.0.0_18b0fad.jar:?]
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) ~[aspectjrt-1.8.10.jar:?]
at com.dotcms.aspects.aspectj.AspectJDelegateMethodInvocation.proceed(