<?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: How to Enable remote debug when Nuxeo on Windows in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314774#M1775</link>
    <description>&lt;P&gt;Ok this problem have been fixed for Nuxeo 5.4.2&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2012 14:14:06 GMT</pubDate>
    <dc:creator>Benjamin_Jalon1</dc:creator>
    <dc:date>2012-01-06T14:14:06Z</dc:date>
    <item>
      <title>How to Enable remote debug when Nuxeo on Windows</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314769#M1770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm using Nuxeo DM 5.4.1 (Tomcat bundle) on windows and trying to debug the code of a plugin. Following the docs, I have put those lines in &lt;EM&gt;nuxeo-dm-5.4.1-tomcat/bin/nuxeo.conf&lt;/EM&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;JAVA_OPTS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
[...]
nuxeo.force.generation=true
[...]
JAVA_OPTS=$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It seems to have no effect. Neither I can connect from my IDE to the Tomcat with a remote debug configuration on localhost on port 1044, nor I see with JVisualVM the expected parameters in the JVM arguments list of the Tomcat process.&lt;/P&gt;
&lt;P&gt;Any idea would be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Stéphane&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2012 16:41:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314769#M1770</guid>
      <dc:creator>PomCompot_</dc:creator>
      <dc:date>2012-01-05T16:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable remote debug when Nuxeo on Windows</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314770#M1771</link>
      <description>&lt;P&gt;I noticed that on widows, it doesn't work.&lt;/P&gt;
&lt;P&gt;My quick fix was to copy the additional parameters at the end of the first JAVA_OPTS definition.&lt;/P&gt;
&lt;P&gt;But I think you can replace $JAVA_OPTS by %JAVA_OPTS% may work also...&lt;/P&gt;
&lt;P&gt;If this answer is right one please don't forget to mark it.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2012 17:01:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314770#M1771</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-01-05T17:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable remote debug when Nuxeo on Windows</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314771#M1772</link>
      <description>&lt;P&gt;Indeed, I'm on Windows. I don't succeed with your answer. I have already tried to put parameters at the end of the first line without success. %JAVA_OPTS% don't work better.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2012 08:56:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314771#M1772</guid>
      <dc:creator>PomCompot_</dc:creator>
      <dc:date>2012-01-06T08:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable remote debug when Nuxeo on Windows</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314772#M1773</link>
      <description>&lt;P&gt;Can you start your tomcat and look into the first lines of logs this line&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2012 10:24:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314772#M1773</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-01-06T10:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable remote debug when Nuxeo on Windows</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314773#M1774</link>
      <description>&lt;P&gt;The nuxeo.conf indicated in logs is just the one I was touching. I don't get a NUXEO_CONF variable in my env properties.&lt;/P&gt;
&lt;P&gt;I have made other tests. In nuxeoclt.bat, there is a set JAVA_OPTS line for the launcher JVM arguments. It seems to be propagated to the Tomcat. When I add debug configuration at the end of this line, I see with JVisualVM the correct VM arguments on my Tomcat. It only works with no gui in option, if not the launcher, which is not halt after Tomcat launch, blocks the debug port.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2012 13:45:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314773#M1774</guid>
      <dc:creator>PomCompot_</dc:creator>
      <dc:date>2012-01-06T13:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable remote debug when Nuxeo on Windows</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314774#M1775</link>
      <description>&lt;P&gt;Ok this problem have been fixed for Nuxeo 5.4.2&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2012 14:14:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314774#M1775</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-01-06T14:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable remote debug when Nuxeo on Windows</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314775#M1776</link>
      <description>&lt;P&gt;Thanks for your help. Planning to upgrade in a mid-term.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2012 14:55:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314775#M1776</guid>
      <dc:creator>PomCompot_</dc:creator>
      <dc:date>2012-01-06T14:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable remote debug when Nuxeo on Windows</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314776#M1777</link>
      <description>&lt;P&gt;Windows 7, Nuxeo Cap 5.5, unmcomment&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2012 16:46:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-enable-remote-debug-when-nuxeo-on-windows/m-p/314776#M1777</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2012-06-01T16:46:24Z</dc:date>
    </item>
  </channel>
</rss>

