myGrid
  1. myGrid
  2. TAV-719

TestJavaProcess failed during Maven build

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Labels:
      None

      Description

      Since Maven is using its own classloaders, TestJavaProcess of the taverna-engine in the remote execution service failed. (Hence probably the <skip>true</skip> for all tests of the remote execution service).

      It failed like:

      Failed tests: 
        runProcessInherited(net.sf.taverna.service.util.TestJavaProcess)
        runProcessEngine(net.sf.taverna.service.util.TestJavaProcess)
      
      • but worked fine when run from Eclipse.

      Suggested solution

      Remove the "continue" line to not only load java.class.path, but also everything found in getSystemClassLoader.getURLs().
      (Confirmed)

        Activity

          People

          • Assignee:
            Stian Soiland-Reyes
            Reporter:
            Stian Soiland-Reyes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: