<?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: What does means &amp;quot;Entering compatibility mode&amp;quot; Warn Message in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313987#M988</link>
    <description>&lt;P&gt;not sure if you have the description quite right there - I think you mean&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2012 07:02:39 GMT</pubDate>
    <dc:creator>neilbelford_</dc:creator>
    <dc:date>2012-01-13T07:02:39Z</dc:date>
    <item>
      <title>What does means "Entering compatibility mode" Warn Message</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313985#M986</link>
      <description>&lt;P&gt;I created an empty bundle/I test a bundle developed for a Nuxeo before 5.4.2 into a Nuxeo 5.4.2 (or higher) version.
Here is my configuration files:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;MANIFEST.MF&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Manifest-Version: 1.0
Bundle-ManifestVersion: 1
Bundle-Name: Kasaba Sample project
Bundle-SymbolicName: org.nuxeo.project.sample;singleton:=true
Bundle-Version: 2.0.0
Bundle-Vendor: Nuxeo
Require-Bundle: org.nuxeo.runtime,
 org.nuxeo.ecm.core.api,
 org.nuxeo.ecm.core,
 org.nuxeo.ecm.webapp.core
Nuxeo-Component: OSGI-INF/actions-contrib.xml
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And here is my deployment-fragment.xml file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;fragment&amp;gt;
  &amp;lt;extension target="application#MODULE"&amp;gt;
    &amp;lt;module&amp;gt;
      &amp;lt;java&amp;gt;${bundle.fileName}&amp;lt;/java&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/extension&amp;gt;
  &amp;lt;install&amp;gt;
    &amp;lt;!-- Unzip the war template --&amp;gt;
    &amp;lt;unzip from="${bundle.fileName}" to="/"&amp;gt;
      &amp;lt;include&amp;gt;nuxeo.war/**&amp;lt;/include&amp;gt;
    &amp;lt;/unzip&amp;gt;   
  &amp;lt;/install&amp;gt;
&amp;lt;/fragment&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I have this message&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor] 
Entering compatibility mode - Please update the deployment-fragment.xml in my-bundle-1.0-SNASHOT.jar to use new dependency management.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Is it a real problem ? What I have to do to in my deployment-fragment.xml ?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2011 15:39:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313985#M986</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2011-12-07T15:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: What does means "Entering compatibility mode" Warn Message</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313986#M987</link>
      <description>&lt;P&gt;Dear Me,&lt;/P&gt;
&lt;P&gt;Don't be afraid this is not a hard problem.
In fact since Nuxeo Runtime 5.4.2 version, the dependency informations are no more exposed into the MANIFEST.MF file.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;So first you must remove the Require-Bundle entry into your MANIFEST.MF file.&lt;/LI&gt;
&lt;LI&gt;Next, you must report this dependency information into your deployment-fragment.xml file&lt;/LI&gt;
&lt;LI&gt;To specify to the runtime that you are no more using the old dependency exposition add a version attribute to your deployment-fragment.xml with the value "1"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So your MANIFEST.MF must be something like that:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Manifest-Version: 1.0
Bundle-ManifestVersion: 1
Bundle-Name: Kasaba Sample project
Bundle-SymbolicName: org.nuxeo.project.sample;singleton:=true
Bundle-Version: 2.0.0
Bundle-Vendor: Nuxeo
Nuxeo-Component: OSGI-INF/actions-contrib.xml
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And your deployment-fragment.xml:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;fragment version="1"&amp;gt;
  &amp;lt;require&amp;gt;the.name.of.bundle.before.me&amp;lt;/require&amp;gt;
  &amp;lt;requiredBy&amp;gt;the.name.of.bundle.after.me&amp;lt;/requiredBy&amp;gt;

  .... your web.xml contributions, etc ...

  &amp;lt;install&amp;gt;
    &amp;lt;!-- Unzip the war template --&amp;gt;
    &amp;lt;unzip from="${bundle.fileName}" to="/"&amp;gt;
      &amp;lt;include&amp;gt;nuxeo.war/**&amp;lt;/include&amp;gt;
    &amp;lt;/unzip&amp;gt;
  &amp;lt;/install&amp;gt;
&amp;lt;/fragment&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I will just add that you have this following dependency information that you can set into your deployment-fragement.xml:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;&amp;lt;require&amp;gt;the.name.of.bundle.before.me&amp;lt;/require&amp;gt;&lt;/CODE&gt; specify that your bundle will be deployed after the.name.of.bundle.before.me&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;&amp;lt;requiredBy&amp;gt;the.name.of.bundle.after.me&amp;lt;/requiredBy&amp;gt;&lt;/CODE&gt; specify that your bundle will be deployed before the.name.of.bundle.after.me&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;&amp;lt;require&amp;gt;all&amp;lt;/require&amp;gt;&lt;/CODE&gt; will ask to the runtime to be deployed after all other bundles.&lt;/LI&gt;
&lt;LI&gt;If you contribute to a service in a xml file - into the OSGI-INF directory - dependency declaration of this service into the deployment-fragment is not required. The runtime will automatically activate your bundle after the service you are contributing.&lt;/LI&gt;
&lt;LI&gt;if you have no dependency information to transmit to the runtime, no template to populate, no pre-processing to execute that will mean that your deployment-fragment is empty, you can remove it.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The reason of this modification is that MANIFEST.MF is a descriptor for the OSGi container and preprocessing is not related to OSGi neither to JAR Manifests. Preprocessing is more like a build time operation (let say a post build task). And Nuxeo is preparing the migration the platform to a standard OSGi container.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2011 15:51:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313986#M987</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2011-12-07T15:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: What does means "Entering compatibility mode" Warn Message</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313987#M988</link>
      <description>&lt;P&gt;not sure if you have the description quite right there - I think you mean&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2012 07:02:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313987#M988</guid>
      <dc:creator>neilbelford_</dc:creator>
      <dc:date>2012-01-13T07:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: What does means "Entering compatibility mode" Warn Message</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313988#M989</link>
      <description>&lt;P&gt;Yes you're right. I change into my answer... Thanks...&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2012 09:20:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313988#M989</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-01-13T09:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: What does means "Entering compatibility mode" Warn Message</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313989#M990</link>
      <description>&lt;P&gt;Adjusted answer to use the correct &lt;CODE&gt;&amp;amp;lt;requiredBy&amp;amp;gt;&lt;/CODE&gt; and not &lt;CODE&gt;&amp;amp;lt;required-by&amp;amp;gt;&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2012 16:27:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/what-does-means-quot-entering-compatibility-mode-quot-warn/m-p/313989#M990</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-01-13T16:27:02Z</dc:date>
    </item>
  </channel>
</rss>

