<?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: Failed to connect to remote VM. Connection refused. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245652#M198782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I read in developer guide, as to configure Tomcat.See below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;——————————————————————————————————————————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Follow these steps to set this up:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Set the JPDA_TRANSPORT environment variable to dt_socket.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Set the JPDA_ADDRESS environment variable to 8000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. In Tomcat's startup script, change the line that invokes Catalina to include&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jpda. On Linux, this looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Start Tomcat. You should see a message like "Listening for transport&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dt_socket at address: 8000".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Getting Started with Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ 54 ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. In Eclipse, go to the Debug Configuration dialog and create a new Remote&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Java Application. Browse to the project you want to debug. Take the defaults&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for everything else:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Click Debug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;——————————————————————————————————————————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now on the command "JPDA_OPTS=-agentlib:jdwp=transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for "developer guide" the parameters "set JPDA_ADDRESS=8000",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; while on the command on the post&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "set DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n" is "JPDA_ADDRESS=4000".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the value is 4000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which is right one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you kindly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2009 15:22:27 GMT</pubDate>
    <dc:creator>cristina</dc:creator>
    <dc:date>2009-10-08T15:22:27Z</dc:date>
    <item>
      <title>Failed to connect to remote VM. Connection refused.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245650#M198780</link>
      <description>Hi,When I try to run eclipse debugger, I am getting the error:Failed to connect to remote VM. Connection refusedFailed to connect to remote VM. Connection refused.java.net.ConnectException: Connection refused: connectat java.net.PlainSocketImpl.socketConnect(Native Method)at java.net.PlainSocketImpl</description>
      <pubDate>Thu, 08 Oct 2009 10:30:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245650#M198780</guid>
      <dc:creator>cristina</dc:creator>
      <dc:date>2009-10-08T10:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect to remote VM. Connection refused.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245651#M198781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you are missing some configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's mine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;set DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 11:32:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245651#M198781</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-10-08T11:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect to remote VM. Connection refused.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245652#M198782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I read in developer guide, as to configure Tomcat.See below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;——————————————————————————————————————————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Follow these steps to set this up:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Set the JPDA_TRANSPORT environment variable to dt_socket.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Set the JPDA_ADDRESS environment variable to 8000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. In Tomcat's startup script, change the line that invokes Catalina to include&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jpda. On Linux, this looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Start Tomcat. You should see a message like "Listening for transport&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dt_socket at address: 8000".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Getting Started with Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ 54 ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. In Eclipse, go to the Debug Configuration dialog and create a new Remote&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Java Application. Browse to the project you want to debug. Take the defaults&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for everything else:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Click Debug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;——————————————————————————————————————————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now on the command "JPDA_OPTS=-agentlib:jdwp=transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for "developer guide" the parameters "set JPDA_ADDRESS=8000",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; while on the command on the post&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "set DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n" is "JPDA_ADDRESS=4000".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the value is 4000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which is right one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you kindly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 15:22:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245652#M198782</guid>
      <dc:creator>cristina</dc:creator>
      <dc:date>2009-10-08T15:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect to remote VM. Connection refused.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245653#M198783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I must urgently know where is the problem,why are several days , that&amp;nbsp; I are&amp;nbsp; stop on the problem and I can't go beyond&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cristina&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 15:31:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245653#M198783</guid>
      <dc:creator>cristina</dc:creator>
      <dc:date>2009-10-08T15:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect to remote VM. Connection refused.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245654#M198784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had this problem on Windows 7 and was able to work around it by changing the JPDA port from 8000 to 1044.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Darryl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 20:02:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/failed-to-connect-to-remote-vm-connection-refused/m-p/245654#M198784</guid>
      <dc:creator>darryl_staflund</dc:creator>
      <dc:date>2009-10-09T20:02:04Z</dc:date>
    </item>
  </channel>
</rss>

