Forum Discussion

philgounbin's avatar
philgounbin
New Contributor
16 years ago

errors in soapui-pro.sh (classpath entries, cygwin support)

Hi!
There are classpath entries added to SOAPUI_CLASSPATH that do not exist: xulrunner-win32.jar , xulrunner-linux-i686.jar, xulrunner-mac-un-i386-ppc.jar , reports-1.0.jar , wsi-test-tools-1.0.jar. I've commented out that lines and got it to work. The reason why I got this error is because I'm running under cygwin and it runs cygpath before launching java and it fails on non-existent paths, so probably this does not happen on native linux environment.
Also there's another problem with cygwin: only SOAPUI_HOME and SOAPUI_CLASSPATH are passed through cygpath, so, for example "soapui.ext.libraries" property is set to unix-like path not to windows-like and that stops Java from recognizing it and jars (jdbc drivers in my case) can't be loaded. Probably all startup arguments containing paths should be passed through cygpath in case of cygwin..
Thanks.

1 Reply

  • I've moved the section where vars are passed through cygpath to the position right after "export SOAPUI_CLASSPATH" and it works normally (jdbc drivers are added to the classpath)