Re: [xwiki-users] XWiki 9 Java errors

2017-03-15 Thread Thomas Mortagne
> Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable 
> to find valid certification path to requested target

This means you use an old version of Java 8 (older that update 101)
and you should really upgrade it.

On Wed, Mar 15, 2017 at 4:47 AM, Douglas Landau  wrote:
> Greets,
> I've installed xwiki 9.1.2 in a new VM.  I am using Java 1.8.0_25.
> I ran the standalone installer and said start_xwiki.sh and it started, and I 
> got the java stacktraces below.   I have not modified xwiki.cfg or anything 
> else.
>
> Can anyone shed some light on these errors?   Thanks!
>
> Doug
>
> [root@dwswiki10 data]# xwiki/start_xwiki.sh
> Starting Jetty on port 8080, please wait...
> 2017-03-14 20:36:56.714:INFO::main: Logging initialized @1077ms
> 2017-03-14 20:36:57.507:INFO:oejs.Server:main: jetty-9.2.13.v20150730
> 2017-03-14 20:36:57.531:INFO:oejs.AbstractNCSARequestLog:main: Opened 
> /data/xwiki/data/logs/2017_03_15.request.log
> 2017-03-14 20:36:57.534:INFO:oejdp.ScanningAppProvider:main: Deployment 
> monitor [file:/data/xwiki/jetty/contexts/] at interval 0
> 2017-03-14 20:36:57.916:INFO:oejsh.ContextHandler:main: Started 
> o.e.j.w.WebAppContext@3cbbc1e0{/,file:/data/xwiki/webapps/root/,AVAILABLE}{/root}
> 2017-03-14 20:36:58.866:WARN:oeja.AnnotationConfiguration:main: 
> ServletContainerInitializers: detected. Class hierarchy: empty
> 2017-03-14 20:37:18,206 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - 
> Starting embedded Solr server...
> 2017-03-14 20:37:18,228 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Using 
> Solr home directory: [data/solr]
> 2017-03-14 20:37:20,598 [coreLoadExecutor-6-thread-1] WARN  
> o.a.s.c.SolrResourceLoader - Solr loaded a deprecated plugin/analysis 
> class [solr.SynonymFilterFactory]. Please consult documentation how to 
> replace it accordingly.
> 2017-03-14 20:37:24,370 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Started 
> embedded Solr server.
> 2017-03-14 20:37:25.459:INFO:oejsh.ContextHandler:main: Started 
> o.e.j.w.WebAppContext@185d8b6{/xwiki,file:/data/xwiki/webapps/xwiki/,AVAILABLE}{/xwiki}
> 2017-03-14 20:37:25.489:INFO:oejs.ServerConnector:main: Started 
> ServerConnector@209b4b35{HTTP/1.1}{0.0.0.0:8080}
> 2017-03-14 20:37:25.490:INFO:oejs.Server:main: Started @29854ms
> 2017-03-14 20:37:25.490:INFO:oxtjl.NotifyListener:main: 
> --
> 2017-03-14 20:37:25.493:INFO:oxtjl.NotifyListener:main: Server started, you 
> can now open http://dwswiki10.westmarine.net:8080/ in your browser to access 
> your wiki.
> 2017-03-14 20:37:25.493:INFO:oxtjl.NotifyListener:main: 
> --
> 2017-03-14 20:39:13,763 [XWiki initialization] INFO  
> .HibernateDataMigrationManager - Storage schema updates and data migrations 
> are enabled
> 2017-03-14 20:39:14,064 [XWiki initialization] INFO  
> .HibernateDataMigrationManager - No data migration to apply for wiki [xwiki] 
> currently in version [9]
> 2017-03-14 20:39:14,064 [XWiki initialization] INFO  
> .HibernateDataMigrationManager - Checking Hibernate mapping and updating 
> schema if needed for wiki [xwiki]
> 2017-03-14 20:39:21,490 [solr/indexer job group daemon thread - 
> org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
> o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with 
> identifier [[solr, indexer]]
> 2017-03-14 20:39:23,943 [solr/indexer job group daemon thread - 
> org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
> o.x.s.s.i.j.IndexerJob - 814 documents added, 0 deleted and 0 updated 
> during the synchronization of the Solr index.
> 2017-03-14 20:39:23,943 [solr/indexer job group daemon thread - 
> org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
> o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with 
> identifier [[solr, indexer]]
> 2017-03-14 20:40:02,431 [http://dwswiki10:8080/xwiki/bin/view/Main/] ERROR 
> .o.i.DefaultObservationManager - Failed to send event [class 
> org.xwiki.bridge.event.ActionExecutedEvent (view)] to listener 
> [com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl@65741976]
> java.lang.IllegalStateException: Response is committed
> at org.eclipse.jetty.server.Request.getSession(Request.java:1399)
> at org.eclipse.jetty.server.Request.getSession(Request.java:1377)
> at 
> javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:279)
> at 
> javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:279)
> at 
> com.xpn.xwiki.stats.impl.StatsUtil.getRecentActionFromSessions(StatsUtil.java:281)
> at 
> com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.onEvent(XWikiStatsServiceImpl.java:160)
> at 
> org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304)
> at 
> 

[xwiki-users] XWiki 9 Java errors

2017-03-14 Thread Douglas Landau
Greets,
I've installed xwiki 9.1.2 in a new VM.  I am using Java 1.8.0_25.
I ran the standalone installer and said start_xwiki.sh and it started, and I 
got the java stacktraces below.   I have not modified xwiki.cfg or anything 
else.

Can anyone shed some light on these errors?   Thanks!

Doug

[root@dwswiki10 data]# xwiki/start_xwiki.sh
Starting Jetty on port 8080, please wait...
2017-03-14 20:36:56.714:INFO::main: Logging initialized @1077ms
2017-03-14 20:36:57.507:INFO:oejs.Server:main: jetty-9.2.13.v20150730
2017-03-14 20:36:57.531:INFO:oejs.AbstractNCSARequestLog:main: Opened 
/data/xwiki/data/logs/2017_03_15.request.log
2017-03-14 20:36:57.534:INFO:oejdp.ScanningAppProvider:main: Deployment monitor 
[file:/data/xwiki/jetty/contexts/] at interval 0
2017-03-14 20:36:57.916:INFO:oejsh.ContextHandler:main: Started 
o.e.j.w.WebAppContext@3cbbc1e0{/,file:/data/xwiki/webapps/root/,AVAILABLE}{/root}
2017-03-14 20:36:58.866:WARN:oeja.AnnotationConfiguration:main: 
ServletContainerInitializers: detected. Class hierarchy: empty
2017-03-14 20:37:18,206 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Starting 
embedded Solr server...
2017-03-14 20:37:18,228 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Using 
Solr home directory: [data/solr]
2017-03-14 20:37:20,598 [coreLoadExecutor-6-thread-1] WARN  
o.a.s.c.SolrResourceLoader - Solr loaded a deprecated plugin/analysis class 
[solr.SynonymFilterFactory]. Please consult documentation how to replace it 
accordingly.
2017-03-14 20:37:24,370 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Started 
embedded Solr server.
2017-03-14 20:37:25.459:INFO:oejsh.ContextHandler:main: Started 
o.e.j.w.WebAppContext@185d8b6{/xwiki,file:/data/xwiki/webapps/xwiki/,AVAILABLE}{/xwiki}
2017-03-14 20:37:25.489:INFO:oejs.ServerConnector:main: Started 
ServerConnector@209b4b35{HTTP/1.1}{0.0.0.0:8080}
2017-03-14 20:37:25.490:INFO:oejs.Server:main: Started @29854ms
2017-03-14 20:37:25.490:INFO:oxtjl.NotifyListener:main: 
--
2017-03-14 20:37:25.493:INFO:oxtjl.NotifyListener:main: Server started, you can 
now open http://dwswiki10.westmarine.net:8080/ in your browser to access your 
wiki.
2017-03-14 20:37:25.493:INFO:oxtjl.NotifyListener:main: 
--
2017-03-14 20:39:13,763 [XWiki initialization] INFO  
.HibernateDataMigrationManager - Storage schema updates and data migrations are 
enabled
2017-03-14 20:39:14,064 [XWiki initialization] INFO  
.HibernateDataMigrationManager - No data migration to apply for wiki [xwiki] 
currently in version [9]
2017-03-14 20:39:14,064 [XWiki initialization] INFO  
.HibernateDataMigrationManager - Checking Hibernate mapping and updating schema 
if needed for wiki [xwiki]
2017-03-14 20:39:21,490 [solr/indexer job group daemon thread - 
org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with 
identifier [[solr, indexer]]
2017-03-14 20:39:23,943 [solr/indexer job group daemon thread - 
org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
o.x.s.s.i.j.IndexerJob - 814 documents added, 0 deleted and 0 updated 
during the synchronization of the Solr index.
2017-03-14 20:39:23,943 [solr/indexer job group daemon thread - 
org.xwiki.search.solr.internal.job.IndexerJob@121a4e93] INFO  
o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with 
identifier [[solr, indexer]]
2017-03-14 20:40:02,431 [http://dwswiki10:8080/xwiki/bin/view/Main/] ERROR 
.o.i.DefaultObservationManager - Failed to send event [class 
org.xwiki.bridge.event.ActionExecutedEvent (view)] to listener 
[com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl@65741976]
java.lang.IllegalStateException: Response is committed
at org.eclipse.jetty.server.Request.getSession(Request.java:1399)
at org.eclipse.jetty.server.Request.getSession(Request.java:1377)
at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:279)
at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:279)
at 
com.xpn.xwiki.stats.impl.StatsUtil.getRecentActionFromSessions(StatsUtil.java:281)
at 
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.onEvent(XWikiStatsServiceImpl.java:160)
at 
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304)
at 
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:549)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at