[TAV-719] TestJavaProcess failed during Maven build Created: 2008-02-11  Updated: 2008-02-11  Resolved: 2008-02-11

Status: Resolved
Project: myGrid
Component/s: Execute workflows remotely
Affects Version/s: 1.7
Fix Version/s: 1.7.1

Type: Bug Priority: Trivial
Reporter: Stian Soiland-Reyes Assignee: Stian Soiland-Reyes
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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)



 Comments   
Comment by Stian Soiland-Reyes [ 2008-02-11 ]

Included also URLs from the system classloader

Generated at Tue Sep 22 09:33:37 BST 2020 using JIRA 6.1.2#6157-sha1:98c729218aad6de1537eb8e98889ee5562c90d96.