Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] IRemoteProcess.isCompleted occaisionally fails to report process completion

Hi Dave,

The $1 variable should be the version of the plugin not the architecture. Since you're running from your workspace, the version will be "1.0.0.qualifier" which won't ever match the version that is in .eclipsesettings, so this will cause a new copy of the server to be downloaded. This is expected behavior and it doesn't happen when you're using an installed version of the plugins.

I think the "Unable to start server: null" must be something going wrong with the java launch command in the start_server() function. You could try running the following command from the .eclipsesettings directory to see if you get any other messages:

java -cp proxy/plugins/org.eclipse.equinox.launcher_1.*.jar org.eclipse.equinox.launcher.Main -application org.eclipse.remote.proxy.server.core.application -noExit

If it just sits there you can try typing something and it should say "invalid command: ...". Let me know if you get any other error message.

You can open a connection using the Remote Development preference page. First click on the Remote Development preference and make sure you have PROXY set as the Default connection type. Next open Remote Development and click on Remote Connections. Select PROXY from the Remote Services dropdown. Now create a connection, click Apply, then click Open. If you already have a connection you can try opening it (it MUST be a PROXY connection). Opening the connection will cause the server to be downloaded and started. Note: SSH connections will not interact with the PROXY connections so there's no use using them.

Regards,
Greg



On Feb 15, 2018, at 3:02 PM, David Wootton <dwootton@xxxxxxxxxx> wrote:

Greg
That fixed the build problem. Now when I try to start the proxy connection, I got message Unable to start server: null because bootstrap.sh is sending back ok:not_found/linux/ppc64le apparently because org.eclipse.remote.proxy.server.core_$1.jar is not found in ~/.eclipsesettings (line 57 of bootstrap.sh) where I think $1 is ppc64le.

I thought deleting .eclipsesettings and refreshing it might help, but ran into more problems, where I unfortunately did not take notes as I went.

I was unable to connection at that point, and the only way I could populate .eclipsesettings was to connect with a ssh connection and then try to run an application (using the IBM PE target system configuration), which failed, but did populate .eclipsesettings.

I also think I had problems seeing the ssh connection in the run configuration dialog unless the default connection type was ssh, but now I can see both the ssh and proxy connections so I'm not sure what was happening.

Dave

<graycol.gif>Greg Watson ---02/15/2018 01:56:25 PM---Dave, I think it was my fault. Try running 'mvn clean install' instead of 'mvn clean package'. I jus

From: Greg Watson <g.watson@xxxxxxxxxxxx>
To: Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
Date: 02/15/2018 01:56 PM
Subject: Re: [ptp-dev] IRemoteProcess.isCompleted occaisionally fails to report process completion
Sent by: ptp-dev-bounces@xxxxxxxxxxx





Dave,

I think it was my fault. Try running 'mvn clean install' instead of 'mvn clean package'. I just checked the pom.xml and it looks like the copy happens in the install phase.

Thanks,
Greg
      On Feb 15, 2018, at 1:07 PM, David Wootton <dwootton@xxxxxxxxxx> wrote:

      Greg
      This is the contents
      wootton@IBM748-PBT5D6Y MINGW64 ~/git/org.eclipse.remote/releng/org.eclipse.remote.proxy.server.product/target/products (master)
      $ ls
      proxy.server/ proxy.server-macosx.cocoa.x86_64.tar.gz
      proxy.server-linux.gtk.ppc64le.tar.gz proxy.server-win32.win32.x86.zip
      proxy.server-linux.gtk.x86.tar.gz proxy.server-win32.win32.x86_64.zip
      proxy.server-linux.gtk.x86_64.tar.gz


      There's a lot of files in the proxy.server subdirectory, so a recursive list of that is attached.


      Dave

      (See attached file: proxy.server.list)




      <graycol.gif>Greg Watson ---02/15/2018 12:13:34 PM---From: Greg Watson <g.watson@xxxxxxxxxxxx> To: Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>

      From:
      Greg Watson <g.watson@xxxxxxxxxxxx>
      To:
      Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
      Date:
      02/15/2018 12:13 PM
      Subject:
      Re: [ptp-dev] IRemoteProcess.isCompleted occaisionally fails to report process completion
      Sent by:
      ptp-dev-bounces@xxxxxxxxxxx






      What's in org.eclipse.remote.proxy.server.product/target/products?

      Greg
              On Feb 15, 2018, at 11:57 AM, David Wootton <dwootton@xxxxxxxxxx> wrote:

              Greg
              All three copy tasks are in the pom.xml
              There is no proxy.server.tar.gz anywhere in my local git repository before I start the build
              The build failed
              There is still no proxy.server.tar.gz anywhere in my local git repository

              I'm assuming the git repository is where the build output goes. If build output goes somewhere else, I have no idea where that would be.

              Dave


              <graycol.gif>Greg Watson ---02/15/2018 09:44:31 AM---From: Greg Watson <g.watson@xxxxxxxxxxxx> To: Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>

              From:
              Greg Watson <g.watson@xxxxxxxxxxxx>
              To:
              Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
              Date:
              02/15/2018 09:44 AM
              Subject:
              Re: [ptp-dev] Fw: IRemoteProcess.isCompleted occaisionally fails to report process completion
              Sent by:
              ptp-dev-bounces@xxxxxxxxxxx






              Dave,

              I'm not sure what is going on, but I'm wondering if it might be a Windows issue. The build step for org.eclipse.remote.proxy.server.product should copy the tar files to the correct plugins. Can you do the following:

              1. Check that the org.eclipse.remote.proxy.server.product/pom.xml contains the three <copy> tasks.
              2. Remove the proxy.server.tar.gz from all of the plugins.
              3. Rerun the build. When it fails, check if any of the plugins contain proxy.server.tar.gz

              If not, then check in org.eclipse.remote.proxy.server.product/target/products and see if there are proxy.server files for each architecture. If there is, you might need to manually copy them into the plugins.

              Regards,
              Greg

      _______________________________________________
      ptp-dev mailing list

      ptp-dev@xxxxxxxxxxx
      To change your delivery options, retrieve your password, or unsubscribe from this list, visit

      https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_ptp-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=yA1Giwd7Ls577uUKQ3fQWICGHopYggQ46OvlB30WK5M&m=_A-dWTsBikkG6YMUkvf_csaHko0YffBEB-qcwjdGsHQ&s=egpqljC_ivQlJFp8iohnkESkkVhPmfB1wkVvSKdE4xk&e=


      <proxy.server.list>_______________________________________________
      ptp-dev mailing list
      ptp-dev@xxxxxxxxxxx
      To change your delivery options, retrieve your password, or unsubscribe from this list, visit
      https://dev.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_ptp-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=yA1Giwd7Ls577uUKQ3fQWICGHopYggQ46OvlB30WK5M&m=xd8AJ0HeSUxI6qCzqpZgZLxB0pTXJiWVLyKro8KBBDw&s=z1ca9O6_QYdrkg0RA-ADAnIpbv4S5dq2jDh-KSjyxLI&e=


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top