<?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: Steps to Deploy Customizations in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/steps-to-deploy-customizations/m-p/326986#M13987</link>
    <description>&lt;P&gt;In Eclipse, I right click on the project and select Nuxeo-&amp;gt;Export Jar.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Nov 2014 21:30:04 GMT</pubDate>
    <dc:creator>dweisinger</dc:creator>
    <dc:date>2014-11-24T21:30:04Z</dc:date>
    <item>
      <title>Steps to Deploy Customizations</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/steps-to-deploy-customizations/m-p/326984#M13985</link>
      <description>&lt;P&gt;I've used Studio to create document types and their layout forms.
I've also used the Eclipse IDE for some customizations.
In my development environment with Eclipse launching Tomcat, it works as expected.&lt;/P&gt;
&lt;P&gt;I then tried to deploy these configurations/customizations to another server (same 5.9.5 Nuxeo version).
From the IDE I exported the Nuxeo bundle project as a jar file.
I took that jar file along with the Studio jar file and placed both in the nxserver/bundles directory of a newly installed Nuxeo instance.&lt;/P&gt;
&lt;P&gt;The server started without error and for a client, the login page comes up, but immediately on login, I get an error: 'nxu:test' not found.&lt;/P&gt;
&lt;P&gt;When I remove the jar file created from the IDE and try to login, there is no error.  Although those files work when deployed via eclipse.&lt;/P&gt;
&lt;P&gt;I'm not sure exactly where files are being pushed out to the server when deployed from eclipse, but they're not being jarred into a single file.&lt;/P&gt;
&lt;P&gt;Am I following the correct steps to move my customizations to another server?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;javax.servlet.forward.request_uri : /nuxeo/nxpath/default@view_domains
javax.servlet.forward.context_path : /nuxeo
javax.servlet.forward.servlet_path : /nxpath/default@view_domains
javax.servlet.forward.query_string :    mainTabId=MAIN_TABS%3Adocuments&amp;amp;conversationId=0NXMAIN&amp;amp;tabIds=MAIN_TABS%3Adocuments
com.sun.faces.util.RequestStateManager :     {com.sun.faces.renderKitImplForRequest=org.ajax4jsf.renderkit.ChameleonRenderKitFactory@73a75853,    com.sun.faces.INVOCATION_PATH=.faces,    com.sun.faces.ExternalContextImpl=com.sun.faces.context.ExternalContextImpl@6f97ec76}
relatedRoutes : []
DocumentView : DocumentViewImpl [documentLocation=DocumentLocationImpl [docIdRef=null, docPathRef=null,     docRef=null, serverName=default], parameters={mainTabId=MAIN_TABS:documents, conversationId=0NXMAIN,     tabIds=MAIN_TABS:documents, tabId=null, subTabId=null, language=null}, patternName=default, subURI=null,     tabId=null, viewId=view_domains]
org.nuxeo.theme.url : nxtheme://theme/default/*/jsf-facelets/galaxy/default/default/edm_brand
deleteActions : org.nuxeo.ecm.webapp.action.DeleteActionsBean@1b387bb0
org.nuxeo.ecm.platform.layouts.LAYOUT_ID_COUNTERS : {nxw_mainTabs=0}
org.nuxeo.theme.default.theme : galaxy/default
org.nuxeo.theme.default.engine : default
org.nuxeo.theme.negotiation.result.mode : *
org.nuxeo.theme.negotiation.result.collection : edm_brand
org.jboss.seam.core.manager : Manager([0NXMAIN])
messageBundle : java.util.PropertyResourceBundle@19406dc6
currentTabAction : TAB_CONTENT
currentSuperSpace : DocumentModelImpl(f7412aea-5cf3-46b4-b21b-004ef34a8f23, path=/, title=f7412aea-5cf3-  46b4-b21b-004ef34a8f23)
stackTrace : javax.servlet.ServletException: Function 'nxu:test' not found
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;EDIT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When I copy:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Studio Jar&lt;/LI&gt;
&lt;LI&gt;IDE Jar
to the new instance that I see errors when logging in, as described above.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;But when I setup eclipse to point to the new nuxeo instance area and start the server from eclipse that I have no problem.&lt;/P&gt;
&lt;P&gt;Eclipse copies some files directly into the nuxeo.war area rather than building and deploying a jar.
Why is that?  Could that be the reason why I have a problem?&lt;/P&gt;</description>
      <pubDate>Sat, 22 Nov 2014 18:22:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/steps-to-deploy-customizations/m-p/326984#M13985</guid>
      <dc:creator>dweisinger</dc:creator>
      <dc:date>2014-11-22T18:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Steps to Deploy Customizations</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/steps-to-deploy-customizations/m-p/326985#M13986</link>
      <description>&lt;P&gt;Hi, nxserver is the directory, but how did you generate the artifact ? You should use export jar from the nuxeo ide menu , not from the default eclipse menu.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Nov 2014 09:36:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/steps-to-deploy-customizations/m-p/326985#M13986</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2014-11-23T09:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Steps to Deploy Customizations</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/steps-to-deploy-customizations/m-p/326986#M13987</link>
      <description>&lt;P&gt;In Eclipse, I right click on the project and select Nuxeo-&amp;gt;Export Jar.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2014 21:30:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/steps-to-deploy-customizations/m-p/326986#M13987</guid>
      <dc:creator>dweisinger</dc:creator>
      <dc:date>2014-11-24T21:30:04Z</dc:date>
    </item>
  </channel>
</rss>

