<?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 Re: Static war with PostresSQL returns exception when use the CMIS interface in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/static-war-with-postressql-returns-exception-when-use-the-cmis/m-p/318303#M5304</link>
    <description>&lt;P&gt;Hi Gildas,
thanks for your answer to my question.
I change in the webapps directory the directory name from 'nuxeo' to 'nuxeo.war'. Than I have also to change the URL for the user to server:8080/nuxeo.war/ui and the web user interface can't find some other resources (background files, logos, ...). Also it is not possible to connect via CMIS to the server.
Than I change the name of the directory back to 'nuxeo' and create a second directory 'nuxeo.war' and copy the img directory in this directory. But this is also not a solution for the problem.
Now I need a new idea.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Ralf&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2018 11:37:12 GMT</pubDate>
    <dc:creator>Ralf_Lange</dc:creator>
    <dc:date>2018-06-11T11:37:12Z</dc:date>
    <item>
      <title>Static war with PostresSQL returns exception when use the CMIS interface</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/static-war-with-postressql-returns-exception-when-use-the-cmis/m-p/318300#M5301</link>
      <description>&lt;P&gt;Hi community,
I have created a test system with a Nuxeo community server and a PostgreSQL database. The test server works fine under my user account on a Suse Linux. Now I will generate a static war to deploy to a development server. The installation of the static war works but when I access the Server with the CMIS workbench, I receive an exception and no property information is sendet.
In the server log file I see an exception stack trace:&lt;/P&gt;
&lt;P&gt;aused by: java.lang.NullPointerException
at org.nuxeo.common.utils.FileUtils.getFilePathFromUrl(FileUtils.java:325)
at org.nuxeo.common.utils.FileUtils.getResourcePathFromContext(FileUtils.java:387)
at org.nuxeo.common.utils.FileUtils.getResourceFileFromContext(FileUtils.java:392)
at org.nuxeo.ecm.platform.thumbnail.factories.ThumbnailDocumentFactory.getDefaultThumbnail(ThumbnailDocumentFactory.java:117)
at org.nuxeo.ecm.platform.thumbnail.factories.ThumbnailDocumentFactory.getThumbnail(ThumbnailDocumentFactory.java:69)
at org.nuxeo.ecm.core.api.thumbnail.ThumbnailServiceImpl.getThumbnail(ThumbnailServiceImpl.java:93)
at org.nuxeo.ecm.platform.thumbnail.rendition.ThumbnailRenditionProvider.render(ThumbnailRenditionProvider.java:45)
at org.nuxeo.ecm.platform.rendition.impl.LiveRendition.computeRenditionBlobs(LiveRendition.java:62)
at org.nuxeo.ecm.platform.rendition.impl.LazyRendition.getBlobs(LazyRendition.java:60)
at org.nuxeo.ecm.platform.rendition.impl.LazyRendition.getBlob(LazyRendition.java:50)
at org.nuxeo.ecm.core.opencmis.impl.server.NuxeoObjectData.getRenditionServiceRenditions(NuxeoObjectData.java:469)
at org.nuxeo.ecm.core.opencmis.impl.server.NuxeoObjectData.getRenditions(NuxeoObjectData.java:355)
at org.nuxeo.ecm.core.opencmis.impl.server.NuxeoObjectData.getRenditions(NuxeoObjectData.java:344)
at org.apache.chemistry.opencmis.commons.impl.JSONConverter.convert(JSONConverter.java:1181)
at org.apache.chemistry.opencmis.server.impl.browser.ObjectService$GetObject.serve(ObjectService.java:641)
at org.apache.chemistry.opencmis.server.shared.Dispatcher.dispatch(Dispatcher.java:92)
... 59 more.&lt;/P&gt;
&lt;P&gt;Have you a tipp?&lt;/P&gt;
&lt;P&gt;Ralf Lange
Dresden, Germany&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 04:01:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/static-war-with-postressql-returns-exception-when-use-the-cmis/m-p/318300#M5301</guid>
      <dc:creator>Ralf_Lange</dc:creator>
      <dc:date>2018-06-06T04:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Static war with PostresSQL returns exception when use the CMIS interface</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/static-war-with-postressql-returns-exception-when-use-the-cmis/m-p/318301#M5302</link>
      <description>&lt;P&gt;I looking in the sources and in the ThumbnailDocumentFactory.getDefaultThumbnail line 117 I see:&lt;/P&gt;
&lt;P&gt;File iconFile = FileUtils.getResourceFileFromContext("nuxeo.war" + File.separator + iconPath);&lt;/P&gt;
&lt;P&gt;In the community server the directory "nuxeo.war" exists in the dirctory "nxserver" and so all works fine.
In the static war is no directory "nuxeo.war" and so the call of getResourceFromContext with the argument "nuxeo.war/img/domain.gif" fails.
An quick fix can be to create a directory "nuxeo.war" with all image files in the static war installaton but I don't no where is the right position.
Have enybody an idea for the right position?&lt;/P&gt;
&lt;P&gt;Thanks
Ralf Lange&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 19:52:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/static-war-with-postressql-returns-exception-when-use-the-cmis/m-p/318301#M5302</guid>
      <dc:creator>Ralf_Lange</dc:creator>
      <dc:date>2018-06-08T19:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Static war with PostresSQL returns exception when use the CMIS interface</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/static-war-with-postressql-returns-exception-when-use-the-cmis/m-p/318302#M5303</link>
      <description>&lt;P&gt;Hi Ralf,&lt;/P&gt;
&lt;P&gt;In the folder webapps, can you try to rename the &lt;CODE&gt;nuxeo&lt;/CODE&gt; folder into &lt;CODE&gt;nuxeo.war&lt;/CODE&gt;? Then, the path &lt;CODE&gt;nuxeo.war/icon/domain.gif&lt;/CODE&gt; should be found.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 21:58:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/static-war-with-postressql-returns-exception-when-use-the-cmis/m-p/318302#M5303</guid>
      <dc:creator />
      <dc:date>2018-06-08T21:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Static war with PostresSQL returns exception when use the CMIS interface</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/static-war-with-postressql-returns-exception-when-use-the-cmis/m-p/318303#M5304</link>
      <description>&lt;P&gt;Hi Gildas,
thanks for your answer to my question.
I change in the webapps directory the directory name from 'nuxeo' to 'nuxeo.war'. Than I have also to change the URL for the user to server:8080/nuxeo.war/ui and the web user interface can't find some other resources (background files, logos, ...). Also it is not possible to connect via CMIS to the server.
Than I change the name of the directory back to 'nuxeo' and create a second directory 'nuxeo.war' and copy the img directory in this directory. But this is also not a solution for the problem.
Now I need a new idea.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Ralf&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 11:37:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/static-war-with-postressql-returns-exception-when-use-the-cmis/m-p/318303#M5304</guid>
      <dc:creator>Ralf_Lange</dc:creator>
      <dc:date>2018-06-11T11:37:12Z</dc:date>
    </item>
  </channel>
</rss>

