[ grinder-Bugs-3133650 ] Relative classpath issues in 3.4
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3133650, was opened at 2010-12-09 16:51 Message generated for change (Comment added) made by philipa You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3133650&group_id=18598 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Console Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jared C (concealed) Assigned to: Nobody/Anonymous (nobody) Summary: Relative classpath issues in 3.4 Initial Comment: I think the relative path issues in previous versions may have resurfaced in 3.4. This only happens when I am using the console. I have a startup script like this: set GRINDERPATH=..\lib set LIBPATH=lib set GRINDERPROPERTIES=mytest.properties set JYTHON_HOME=..\..\jython252 java -cp "%GRINDERPATH%\grinder.jar;%LIBPATH%\somelib.jar;%JYTHON_HOME%\jython.jar;" -Dgrinder.jvm.arguments=-Dpython.home=%JYTHON_HOME% net.grinder.Grinder %GRINDERPROPERTIES% It connects to the console just fine but when I click start, I get the following error while working the worker process because it can't find the Grinder libraries: java.lang.NoClassDefFoundError: net/grinder/engine/process/WorkerProcessEntryPoint Same goes for the jython libraries. If I change the two to an absolute path (such as C:\path\to\jython225), it works just fine. The LIBPATH doesn't have any issues (maybe because it doesn't reverse back any directories). The worker process will startup just fine if I do not use the console. ---------------------------------------------------------------------- >Comment By: Philip Aston (philipa) Date: 2010-12-09 17:01 Message: Not sure this is related to previous issues - they were due to how The Grinder resolves script files. If the agent can start, but the worker can't, there's something funny in the creation of the worker process command line. Please: 1. Try using forward slashes. 2. Copy the worker process command line that the agent writes out to this bug report. Thanks, - Phil ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3133650&group_id=18598 ------------------------------------------------------------------------------