Re: "Could not find or load mail class" error while accessing grinder console

Sean Tiley <[email protected]> Thu, 16 Feb 2017 08:36:24 -0500
Newsgroups gmane.comp.java.grinder.user
Message-ID <CA+v9W_PmhVzX9SBKbz1bihC5hJRq0gT2Cuj7N+4tteMaWFjmcw@mail.gmail.com>
--===============8074953578198769991==
Content-Type: multipart/alternative; boundary=001a11425c9e281c730548a5e2d7

--001a11425c9e281c730548a5e2d7
Content-Type: text/plain; charset=UTF-8

Hi there,
I believe the command you need to use to start the console is

java net.grinder.Console  - (not net.console.grinder)

Give that a try.
Sean

On Thu, Feb 16, 2017 at 8:21 AM, Priyanka Tiwari <[email protected]>
wrote:

> Hi,
>
> I am getting error message "Could not find or load mail class" while
> accessing the grinder console by below command :
>
> java -cp "C:\Grinder\lib\grinder.jar" net.console.grinder
>
> Content of startGrinderAgent:
> set GRINDERPATH=C:\Grinder
> set GRINDERPROPERTIES=C:\Grinder\grinder.properties
> set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH%
> PATH=%JAVA_HOME%\bin;%PATH%
>
> Content of setGrinderEnv
> set GRINDERPATH=C:\Grinder
> set GRINDERPROPERTIES=C:\Grinder\grinder.properties
> set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH%
> PATH=%JAVA_HOME%\bin;%PATH%
>
> Content of grinderconsole.cmv
> call C:\Grinder\setGrinderEnv.cmd
> java -cp "%CLASSPATH%" net.grinder.Console
>
> Content of grinderagent.cmv
> call C:\Grinder\setGrinderEnv.cmd
> echo %CLASSPATH%
> java -cp "%CLASSPATH%" net.grinder.Grinder %GRINDERPROPERTIES%
>
> Could you please help.
>
> Thanks
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> grinder-use mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>
>


-- 
Sean Tiley
[email protected]

--001a11425c9e281c730548a5e2d7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi there,<div>I believe the command you need to use to sta=
rt the console is</div><div><br></div><div><span style=3D"font-size:12.8px"=
>java net.grinder.Console =C2=A0- (not </span><span style=3D"font-size:12.8=
px">net.console.grinder)</span><br></div><div><span style=3D"font-size:12.8=
px"><br></span></div><div><span style=3D"font-size:12.8px">Give that a try.=
</span></div><div><span style=3D"font-size:12.8px">Sean</span></div></div><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Feb 16, 20=
17 at 8:21 AM, Priyanka Tiwari <span dir=3D"ltr">&lt;<a href=3D"mailto:priy=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><p style=3D"fo=
nt-size:12.8px">Hi,</p><p style=3D"font-size:12.8px">I am getting error mes=
sage &quot;Could not find or load mail class&quot; while accessing the grin=
der console by below command :</p><p style=3D"font-size:12.8px">java -cp &q=
uot;C:\Grinder\lib\grinder.jar&quot; net.console.grinder</p><p style=3D"fon=
t-size:12.8px">Content of startGrinderAgent:<br>set GRINDERPATH=3DC:\Grinde=
r<br>set GRINDERPROPERTIES=3DC:\Grinder\g<wbr>rinder.properties<br>set CLAS=
SPATH=3D%GRINDERPATH%\lib\gr<wbr>inder.jar;%CLASSPATH%<br>PATH=3D%JAVA_HOME=
%\bin;%PATH%</p><p style=3D"font-size:12.8px">Content of setGrinderEnv<br>s=
et GRINDERPATH=3DC:\Grinder<br>set GRINDERPROPERTIES=3DC:\Grinder\g<wbr>rin=
der.properties<br>set CLASSPATH=3D%GRINDERPATH%\lib\gr<wbr>inder.jar;%CLASS=
PATH%<br>PATH=3D%JAVA_HOME%\bin;%PATH%</p><p style=3D"font-size:12.8px">Con=
tent of grinderconsole.cmv<br>call C:\Grinder\setGrinderEnv.cmd<br>java -cp=
 &quot;%CLASSPATH%&quot; net.grinder.Console</p><p style=3D"font-size:12.8p=
x">Content of grinderagent.cmv<br>call C:\Grinder\setGrinderEnv.cmd<br>echo=
 %CLASSPATH%<br>java -cp &quot;%CLASSPATH%&quot; net.grinder.Grinder %GRIND=
ERPROPERTIES%</p><p style=3D"font-size:12.8px">Could you please help.</p><p=
 style=3D"font-size:12.8px">Thanks</p></div>
<br>------------------------------<wbr>------------------------------<wbr>-=
-----------------<br>
Check out the vibrant tech community on one of the world&#39;s most<br>
engaging tech sites, SlashDot.org! <a href=3D"http://sdm.link/slashdot" rel=
=3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>_________=
_____________________<wbr>_________________<br>
grinder-use mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
ceforge.<wbr>net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" rel=3D=
"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>lists/lis=
tinfo/grinder-use</a><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div cla=
ss=3D"gmail_signature" data-smartmail=3D"gmail_signature">Sean Tiley<br><a =
href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
</a></div>
</div>

--001a11425c9e281c730548a5e2d7--


--===============8074953578198769991==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--===============8074953578198769991==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
grinder-use mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/grinder-use

--===============8074953578198769991==--