Community
Participate
Working Groups
I had both the dstore server and the PBS proxy running and tried to restart the PBS proxy. I got: Unable to locate payload "rdt-server.jar" in bundle "org.eclipse.ptp.rm.pbs.jproxy" Restarting it a few more times, I got every time the same error. After I restarted the workbench it worked and I couldn't reproduce the error. I looked at the code and don't understand how the getPayload call works to get the payload from the correct plugin.
RemoteServerManager#getServer searches for the extension point with the correct ID of the server. If one is found, the bundle ID of the declaring bundle is retrieved along with the command and payload. AbstractRemoteServerRunner#launchServer then uses the bundle ID to locate the payload. However, it looks like it should be using getContributor().getName() instead of getDeclaringExtension().getNamespaceIdentifier() so this may have caused the problem. The javadoc for IConfigurationExtension#getNamespace seems to imply that the wrong ID could be returned (for our purposes), although it's not exactly clear what these circumstances might be. Fixed in HEAD.