<?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: Access to default repository via WebEngine in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/access-to-default-repository-via-webengine/m-p/325458#M12459</link>
    <description>&lt;P&gt;Hello Vladimir, thank you for your documentation.
Alexis from &lt;A href="http://www.solutis.fr"&gt;Solutis&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2014 17:04:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-23T17:04:04Z</dc:date>
    <item>
      <title>Access to default repository via WebEngine</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/access-to-default-repository-via-webengine/m-p/325456#M12457</link>
      <description>&lt;P&gt;I've been trying to upgrade our existing Nuxeo setup (5.3) to 5.6.&lt;/P&gt;
&lt;P&gt;I have all the documents loading up in nuxeo correctly and have been trying to get our WebEngine code converted over from the old module.xml setup into the newer annotations setup.&lt;/P&gt;
&lt;P&gt;When I try and hit the url for one of WebEngine modules, I'm getting the following error about the repository not being available and this is causing errors when it tries to access the CoreSession.  We are using a PostreSQL database and I ran through the setup wizard which seems to have generated the updated default-repository-config.xml file.&lt;/P&gt;
&lt;P&gt;Caused by: javax.ws.rs.WebApplicationException: java.lang.IllegalStateException: Unable to get X-NXRepository repository
at
org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider.createSession(CoreSessionProvider.java:71)
at org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider.getSessionRef(CoreSessionProvider.java:56)
at org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider.getSession(CoreSessionProvider.java:64)
at org.nuxeo.ecm.webengine.jaxrs.session.SessionFactory.getSession(SessionFactory.java:87)
at org.nuxeo.ecm.webengine.jaxrs.session.SessionFactory.getSession(SessionFactory.java:83)
at org.nuxeo.ecm.webengine.model.impl.AbstractWebContext.getCoreSession(AbstractWebContext.java:156)
at org.nuxeo.ecm.webengine.model.impl.AbstractWebContext.initializeBindings(AbstractWebContext.java:681)
... 70 more
Caused by: java.lang.IllegalStateException: Unable to get X-NXRepository repository
at org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider._createSession(CoreSessionProvider.java:88)
at org.nuxeo.ecm.webengine.jaxrs.session.CoreSessionProvider.createSession(CoreSessionProvider.java:69)
... 76 more&lt;/P&gt;
&lt;P&gt;I'm not sure where the word X-NXRepository has come from.  We've only ever used the default repository.&lt;/P&gt;
&lt;P&gt;EDIT - When I make a request to a WebEngine url, I'm getting this warning coming up straight away :&lt;/P&gt;
&lt;P&gt;[org.nuxeo.ecm.platform.web.common.ServletHelper] Invalid request transaction timeout: Nuxeo-Transaction-Timeout&lt;/P&gt;
&lt;P&gt;I'm guessing that the database connection isn't working for some reason.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2012 06:42:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/access-to-default-repository-via-webengine/m-p/325456#M12457</guid>
      <dc:creator>mark_</dc:creator>
      <dc:date>2012-12-27T06:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Access to default repository via WebEngine</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/access-to-default-repository-via-webengine/m-p/325457#M12458</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2012 12:01:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/access-to-default-repository-via-webengine/m-p/325457#M12458</guid>
      <dc:creator>Vladimir_Pasqui</dc:creator>
      <dc:date>2012-12-31T12:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Access to default repository via WebEngine</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/access-to-default-repository-via-webengine/m-p/325458#M12459</link>
      <description>&lt;P&gt;Hello Vladimir, thank you for your documentation.
Alexis from &lt;A href="http://www.solutis.fr"&gt;Solutis&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 17:04:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/access-to-default-repository-via-webengine/m-p/325458#M12459</guid>
      <dc:creator />
      <dc:date>2014-09-23T17:04:04Z</dc:date>
    </item>
  </channel>
</rss>

