<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Cannot add hotfix on a newly installed nuxeo 6.0 (Nuxeo doesn&amp;apos;t restart) in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/cannot-add-hotfix-on-a-newly-installed-nuxeo-6-0-nuxeo-doesn/m-p/321607#M8608</link>
    <description>&lt;H3&gt;Encountered problem&lt;/H3&gt;
&lt;P&gt;I can not start nuxeo 6.0 after installing hotfixes. The problem occurs on a newly installed 6.0 Nuxeo platform. The operation is correct before patch installation.
After uninstalling the patch, starting the server becomes possible and the operation is correct again ...&lt;/P&gt;
&lt;H3&gt;More details :&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;After initial installation and server start&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Connection and some tests (Administrator account) ==&amp;gt; OK&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl showconf
Detected Tomcat server.
Nuxeo home:          /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat
Nuxeo configuration: /home/nuxeopp/nuxeo60/conf/nuxeo.conf
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common-base
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/postgresql
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/drive
***** Nuxeo instance configuration *****
NUXEO_CONF: /home/nuxeopp/nuxeo60/conf/nuxeo.conf
NUXEO_HOME: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat
Instance CLID: ab4bb3c1-bc3e-........
** Distribution
- name: cap
- server: tomcat
- version: 6.0
- date: 201412051100
- packaging: zip
** Packages:
- nuxeo-template-rendering (version: 6.4.0 - id: nuxeo-template-rendering-6.4.0 - state: downloaded)
- nuxeo-diff (version: 1.5.0 - id: nuxeo-diff-1.5.0 - state: downloaded)
- nuxeo-drive (version: 1.4.1 - id: nuxeo-drive-1.4.1 - state: downloaded)
- nuxeo-dam (version: 6.0.0 - id: nuxeo-dam-6.0.0 - state: started)
- nuxeo-web-mobile (version: 1.6.0 - id: nuxeo-web-mobile-1.6.0 - state: downloaded)
- nuxeo-spreadsheet (version: 1.0.0 - id: nuxeo-spreadsheet-1.0.0 - state: downloaded)
- nuxeo-drive (version: 1.4.4 - id: nuxeo-drive-1.4.4 - state: started)
** Templates:
Database template: postgresql
Package template: drive
** Settings from nuxeo.conf:
nuxeo.directory.type=multi
server.status.key=********
JAVA_OPTS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true -Djava.util.Arrays.useLegacyMergeSort=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true
nuxeo.templates=postgresql,drive
nuxeo.bind.address=0.0.0.0
nuxeo.pid.dir=/var/log/nuxeo60
nuxeo.log.dir=/var/log/nuxeo60
nuxeo.wizard.done=true
nuxeo.loopback.url=http://127.0.0.1:8080/nuxeo
nuxeo.data.dir=/binaires/data
nuxeo.db.name=nuxeopreprod_2
org.nuxeo.dev=false
nuxeo.force.generation=true
.......

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Hotfix installation :&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[nuxeopp@nux-60-preprod conf]$ $NUXEO_HOME/bin/nuxeoctl mp-install nuxeo-6.0-HF01-1.0.0
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;... and Nuxeo can't start :&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl start &amp;amp;
[3] 13291
[nuxeopp@nux-60-preprod ~]$ Detected Tomcat server.
Nuxeo home:          /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat
Nuxeo configuration: /home/nuxeopp/nuxeo60/conf/nuxeo.conf
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common-base
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/postgresql
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/drive
Configuration files generation (nuxeo.force.generation=true)...
Configuration files generated.
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common-base
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/postgresql
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/drive
Server started with process ID 13369.
.............................................................................................................................................................................................................................................................................
Starting process is taking too long - giving up.

Some commands failed:


server.log :

2015-10-09 16:47:51,590 ERROR [http-bio-0.0.0.0-8080-exec-52] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo].[Nuxeo Status Servlet]] "Servlet.service()" pour la servlet Nuxeo Status Servlet a généré une exception
java.lang.NullPointerException
        at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:66)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Removing the Hotfix :&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[nuxeopp@nux-60-preprod conf]$ $NUXEO_HOME/bin/nuxeoctl mp-remove nuxeo-6.0-HF01-1.0.0
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;... and Nuxeo starts again.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I encounter the same problem using the admin GUI or with the following commands:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl mp-hotfix
...
[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl mp-purge
...
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Postgresql database is newly created and empty before the Nuxeo installation.&lt;/P&gt;
&lt;P&gt;There are no messages indicating a problem with this database, both during the Nuxeo install or when installing hotfixes&lt;/P&gt;
&lt;P&gt;I can't see what is wrong on this server. (?)&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;Patrice&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2015 08:48:24 GMT</pubDate>
    <dc:creator>apx25_</dc:creator>
    <dc:date>2015-10-14T08:48:24Z</dc:date>
    <item>
      <title>Cannot add hotfix on a newly installed nuxeo 6.0 (Nuxeo doesn&amp;apos;t restart)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/cannot-add-hotfix-on-a-newly-installed-nuxeo-6-0-nuxeo-doesn/m-p/321607#M8608</link>
      <description>&lt;H3&gt;Encountered problem&lt;/H3&gt;
&lt;P&gt;I can not start nuxeo 6.0 after installing hotfixes. The problem occurs on a newly installed 6.0 Nuxeo platform. The operation is correct before patch installation.
After uninstalling the patch, starting the server becomes possible and the operation is correct again ...&lt;/P&gt;
&lt;H3&gt;More details :&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;After initial installation and server start&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Connection and some tests (Administrator account) ==&amp;gt; OK&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl showconf
Detected Tomcat server.
Nuxeo home:          /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat
Nuxeo configuration: /home/nuxeopp/nuxeo60/conf/nuxeo.conf
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common-base
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/postgresql
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/drive
***** Nuxeo instance configuration *****
NUXEO_CONF: /home/nuxeopp/nuxeo60/conf/nuxeo.conf
NUXEO_HOME: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat
Instance CLID: ab4bb3c1-bc3e-........
** Distribution
- name: cap
- server: tomcat
- version: 6.0
- date: 201412051100
- packaging: zip
** Packages:
- nuxeo-template-rendering (version: 6.4.0 - id: nuxeo-template-rendering-6.4.0 - state: downloaded)
- nuxeo-diff (version: 1.5.0 - id: nuxeo-diff-1.5.0 - state: downloaded)
- nuxeo-drive (version: 1.4.1 - id: nuxeo-drive-1.4.1 - state: downloaded)
- nuxeo-dam (version: 6.0.0 - id: nuxeo-dam-6.0.0 - state: started)
- nuxeo-web-mobile (version: 1.6.0 - id: nuxeo-web-mobile-1.6.0 - state: downloaded)
- nuxeo-spreadsheet (version: 1.0.0 - id: nuxeo-spreadsheet-1.0.0 - state: downloaded)
- nuxeo-drive (version: 1.4.4 - id: nuxeo-drive-1.4.4 - state: started)
** Templates:
Database template: postgresql
Package template: drive
** Settings from nuxeo.conf:
nuxeo.directory.type=multi
server.status.key=********
JAVA_OPTS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true -Djava.util.Arrays.useLegacyMergeSort=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true
nuxeo.templates=postgresql,drive
nuxeo.bind.address=0.0.0.0
nuxeo.pid.dir=/var/log/nuxeo60
nuxeo.log.dir=/var/log/nuxeo60
nuxeo.wizard.done=true
nuxeo.loopback.url=http://127.0.0.1:8080/nuxeo
nuxeo.data.dir=/binaires/data
nuxeo.db.name=nuxeopreprod_2
org.nuxeo.dev=false
nuxeo.force.generation=true
.......

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Hotfix installation :&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[nuxeopp@nux-60-preprod conf]$ $NUXEO_HOME/bin/nuxeoctl mp-install nuxeo-6.0-HF01-1.0.0
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;... and Nuxeo can't start :&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl start &amp;amp;
[3] 13291
[nuxeopp@nux-60-preprod ~]$ Detected Tomcat server.
Nuxeo home:          /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat
Nuxeo configuration: /home/nuxeopp/nuxeo60/conf/nuxeo.conf
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common-base
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/postgresql
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/drive
Configuration files generation (nuxeo.force.generation=true)...
Configuration files generated.
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common-base
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/common
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/postgresql
Include template: /home/nuxeopp/nuxeo60/nuxeo-cap-6.0-tomcat/templates/drive
Server started with process ID 13369.
.............................................................................................................................................................................................................................................................................
Starting process is taking too long - giving up.

Some commands failed:


server.log :

2015-10-09 16:47:51,590 ERROR [http-bio-0.0.0.0-8080-exec-52] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo].[Nuxeo Status Servlet]] "Servlet.service()" pour la servlet Nuxeo Status Servlet a généré une exception
java.lang.NullPointerException
        at org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.doFilter(NuxeoEncodingFilter.java:66)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;Removing the Hotfix :&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[nuxeopp@nux-60-preprod conf]$ $NUXEO_HOME/bin/nuxeoctl mp-remove nuxeo-6.0-HF01-1.0.0
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;... and Nuxeo starts again.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I encounter the same problem using the admin GUI or with the following commands:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl mp-hotfix
...
[nuxeopp@nux-60-preprod ~]$ $NUXEO_HOME/bin/nuxeoctl mp-purge
...
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Postgresql database is newly created and empty before the Nuxeo installation.&lt;/P&gt;
&lt;P&gt;There are no messages indicating a problem with this database, both during the Nuxeo install or when installing hotfixes&lt;/P&gt;
&lt;P&gt;I can't see what is wrong on this server. (?)&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;Patrice&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 08:48:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/cannot-add-hotfix-on-a-newly-installed-nuxeo-6-0-nuxeo-doesn/m-p/321607#M8608</guid>
      <dc:creator>apx25_</dc:creator>
      <dc:date>2015-10-14T08:48:24Z</dc:date>
    </item>
  </channel>
</rss>

