[ grinder-Bugs-3133660 ] Relative classpath issues in 3.4

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Bugs item #3133660, was opened at 2010-12-09 11:07
Message generated for change (Comment added) made by concealed
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3133660&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: Deleted
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: Jared C (concealed)
Date: 2010-12-09 11:08

Message:
When I refreshed I posted twice... sorry.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3133660&group_id=18598

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.