Re: Cannot setup remote console IP

Joel Lucuik <[email protected]> Mon, 30 Jan 2017 14:04:39 -0500
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAA4qVT+B-M2Mp4fQFiYngouh4ChLJGg7gX8+Y-2nuNf4eOGxLg@mail.gmail.com>
--===============6115494901162296550==
Content-Type: multipart/alternative; boundary=001a113de104c263bd0547547c71

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

An example..

nohup /test_data/java/jdk1.8.0_11/bin/java -cp
/test_data/grinder/lib/grinder.jar:
-Dgrinder.console.httpHost=3Dgrinder_console_host net.grinder.Console >
~/grinderConsoleoutput.log 2>&1 &

Joel


On Jan 30, 2017 1:51 PM, "olivier merlin" <[email protected]> wrote:

> Hi,
> Use -Dgrinder.consoleHost=3Dxxx on your java agent startup script
> Cheers
>
> Le lun. 30 janv. 2017 19:07, Javier Farias <[email protected]> a =C3=A9crit :
>
> I cannot figure out how I can tell my agent where the console is running.
>
> The console and the agent are in two separate machines. The agent runs on
> Windows. Its grinder.properties file is:
>
> grinder.script=3DC:\\Users\\admin\\Desktop\\grinder-3.11\\
> scripts\\grinder.py
> grinder.consoleHost=3D192.168.0.109
> grinder.consolePort=3D6372
> grinder.processIncrement=3D500
> grinder.threads=3D500
> grinder.runs=3D0
> grinder.processIncrementInterval=3D1000
>
> I launch the agent process with:
>
> set GRINDERPATH=3DC:\Users\admin\Desktop\grinder-3.11
> set GRINDERPROPERTIES=3Dgrinder.properties
> set CLASSPATH=3D%GRINDERPATH%\lib\grinder.jar;%CLASSPATH%
> set JAVA_HOME=3DC:\Program Files (x86)\Java\jre1.8.0_121
> PATH=3D%JAVA_HOME%\bin;%PATH%
> java -classpath %CLASSPATH% net.grinder.Grinder %GRINDERPROPERTIES%
>
> The agent output while starting is:
>
> 2017-01-30 13:17:46,787 INFO  agent: The Grinder 3.11
> 2017-01-30 13:17:47,857 WARN  agent: Failed to connect to 'localhost/
> 127.0.0.1:6372', proceeding without the console; set
> grinder.useConsole=3Dfalse to disable this warning.
> 2017-01-30 13:17:47,873 INFO  agent: Worker process command line: java
> '-javaagent:C:\Users\admin\Desktop\grinder-3.11\lib\grinder-dcr-agent-3.1=
1.jar'
> -classpath 'C:\Users\admin\Desktop\grinder-3.11\lib\grinder.jar'
> net.grinder.engine.process.WorkerProcessEntryPoint
> 2017-01-30 13:17:48,033 INFO  agent: worker hp-ref-1-0 started
>
> Why is it trying to connect to 127.0.0.1, if I'm changin the default
> console IP in the properties file?
>
> Thank you
> ------------------------------------------------------------
> ------------------
> 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
>
>
> ------------------------------------------------------------
> ------------------
> 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
>
>

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

<div dir=3D"auto"><div dir=3D"auto">An example..</div><div dir=3D"auto"><br=
></div><div dir=3D"auto">nohup /test_data/java/jdk1.8.0_11/bin/java -cp /te=
st_data/grinder/lib/grinder.jar: -Dgrinder.console.httpHost=3Dgrinder_conso=
le_host net.grinder.Console &gt; ~/grinderConsoleoutput.log 2&gt;&amp;1 &am=
p;</div><div dir=3D"auto"><br></div><div dir=3D"auto">Joel</div><div dir=3D=
"auto"><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_q=
uote">On Jan 30, 2017 1:51 PM, &quot;olivier merlin&quot; &lt;<a href=3D"ma=
ilto:[email protected]">[email protected]</a>&gt; wrote:<br type=3D"att=
ribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" class=3D"m_397891=
0429712572894gmail_msg">Hi,<br class=3D"m_3978910429712572894gmail_msg">
Use -Dgrinder.consoleHost=3Dxxx on your java agent startup script<br class=
=3D"m_3978910429712572894gmail_msg">
Cheers</div><span>
</span><br class=3D"m_3978910429712572894gmail_msg"><div class=3D"gmail_quo=
te m_3978910429712572894gmail_msg"><div dir=3D"ltr" class=3D"m_397891042971=
2572894gmail_msg">Le lun. 30 janv. 2017 19:07, Javier Farias &lt;<a href=3D=
"mailto:[email protected]" class=3D"m_3978910429712572894gmail_msg" target=3D"_=
blank">[email protected]</a>&gt; a =C3=A9crit=C2=A0:<br class=3D"m_397891042971=
2572894gmail_msg"></div><blockquote class=3D"gmail_quote m_3978910429712572=
894gmail_msg" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex"><div dir=3D"ltr" class=3D"m_3978910429712572894gmail_msg"><div s=
tyle=3D"font-size:12.8px" class=3D"m_3978910429712572894gmail_msg">I cannot=
 figure out how I can tell my agent where the console is running.</div><div=
 style=3D"font-size:12.8px" class=3D"m_3978910429712572894gmail_msg"><br cl=
ass=3D"m_3978910429712572894gmail_msg"></div><div style=3D"font-size:12.8px=
" class=3D"m_3978910429712572894gmail_msg">The console and the agent are in=
 two separate machines. The agent runs on Windows. Its grinder.properties f=
ile is:</div><div style=3D"font-size:12.8px" class=3D"m_3978910429712572894=
gmail_msg"><br class=3D"m_3978910429712572894gmail_msg"></div><div style=3D=
"font-size:12.8px" class=3D"m_3978910429712572894gmail_msg">grinder.script=
=3DC:\\Users\\<wbr>admin\\Desktop\\grinder-3.11\\<wbr>scripts\\grinder.py</=
div><div style=3D"font-size:12.8px" class=3D"m_3978910429712572894gmail_msg=
">grinder.consoleHost=3D192.168.0.<wbr>109</div><div style=3D"font-size:12.=
8px" class=3D"m_3978910429712572894gmail_msg">grinder.consolePort=3D6372</d=
iv><div style=3D"font-size:12.8px" class=3D"m_3978910429712572894gmail_msg"=
>grinder.processIncrement=3D500</div><div style=3D"font-size:12.8px" class=
=3D"m_3978910429712572894gmail_msg">grinder.threads=3D500</div><div style=
=3D"font-size:12.8px" class=3D"m_3978910429712572894gmail_msg">grinder.runs=
=3D0</div><div style=3D"font-size:12.8px" class=3D"m_3978910429712572894gma=
il_msg">grinder.<wbr>processIncrementInterval=3D1000</div><div style=3D"fon=
t-size:12.8px" class=3D"m_3978910429712572894gmail_msg"><br class=3D"m_3978=
910429712572894gmail_msg"></div><div style=3D"font-size:12.8px" class=3D"m_=
3978910429712572894gmail_msg">I launch the agent process with:</div><div st=
yle=3D"font-size:12.8px" class=3D"m_3978910429712572894gmail_msg"><br class=
=3D"m_3978910429712572894gmail_msg"></div><div style=3D"font-size:12.8px" c=
lass=3D"m_3978910429712572894gmail_msg">set GRINDERPATH=3DC:\Users\admin\<w=
br>Desktop\grinder-3.11</div><div style=3D"font-size:12.8px" class=3D"m_397=
8910429712572894gmail_msg">set GRINDERPROPERTIES=3Dgrinder.<wbr>properties<=
/div><div style=3D"font-size:12.8px" class=3D"m_3978910429712572894gmail_ms=
g">set CLASSPATH=3D%GRINDERPATH%\lib\<wbr>grinder.jar;%CLASSPATH%</div><div=
 style=3D"font-size:12.8px" class=3D"m_3978910429712572894gmail_msg">set JA=
VA_HOME=3DC:\Program Files (x86)\Java\jre1.8.0_121</div><div style=3D"font-=
size:12.8px" class=3D"m_3978910429712572894gmail_msg">PATH=3D%JAVA_HOME%\bi=
n;%PATH%</div><div style=3D"font-size:12.8px" class=3D"m_397891042971257289=
4gmail_msg">java -classpath %CLASSPATH% net.grinder.Grinder %GRINDERPROPERT=
IES%</div><div style=3D"font-size:12.8px" class=3D"m_3978910429712572894gma=
il_msg"><br class=3D"m_3978910429712572894gmail_msg"></div><div style=3D"fo=
nt-size:12.8px" class=3D"m_3978910429712572894gmail_msg">The agent output w=
hile starting is:</div><div style=3D"font-size:12.8px" class=3D"m_397891042=
9712572894gmail_msg"><br class=3D"m_3978910429712572894gmail_msg"></div><di=
v style=3D"font-size:12.8px" class=3D"m_3978910429712572894gmail_msg">2017-=
01-30 13:17:46,787 INFO =C2=A0agent: The Grinder 3.11</div><div style=3D"fo=
nt-size:12.8px" class=3D"m_3978910429712572894gmail_msg">2017-01-30 13:17:4=
7,857 WARN =C2=A0agent: Failed to connect to &#39;localhost/<a href=3D"http=
://127.0.0.1:6372/" class=3D"m_3978910429712572894gmail_msg" target=3D"_bla=
nk">127.0.0.1:6372</a>&#39;, proceeding without the console; set grinder.us=
eConsole=3Dfalse to disable this warning.</div><div style=3D"font-size:12.8=
px" class=3D"m_3978910429712572894gmail_msg">2017-01-30 13:17:47,873 INFO =
=C2=A0agent: Worker process command line: java &#39;-javaagent:C:\Users\adm=
in\<wbr>Desktop\grinder-3.11\lib\<wbr>grinder-dcr-agent-3.11.jar&#39; -clas=
spath &#39;C:\Users\admin\Desktop\<wbr>grinder-3.11\lib\grinder.jar&#39; ne=
t.grinder.engine.process.<wbr>WorkerProcessEntryPoint</div><div style=3D"fo=
nt-size:12.8px" class=3D"m_3978910429712572894gmail_msg">2017-01-30 13:17:4=
8,033 INFO =C2=A0agent: worker hp-ref-1-0 started</div><div style=3D"font-s=
ize:12.8px" class=3D"m_3978910429712572894gmail_msg"><br class=3D"m_3978910=
429712572894gmail_msg"></div><div style=3D"font-size:12.8px" class=3D"m_397=
8910429712572894gmail_msg">Why is it trying to connect to 127.0.0.1, if I&#=
39;m changin the default console IP in the properties file?</div><div style=
=3D"font-size:12.8px" class=3D"m_3978910429712572894gmail_msg"><br class=3D=
"m_3978910429712572894gmail_msg"></div><div style=3D"font-size:12.8px" clas=
s=3D"m_3978910429712572894gmail_msg">Thank you</div>
</div>
------------------------------<wbr>------------------------------<wbr>-----=
-------------<br class=3D"m_3978910429712572894gmail_msg">
Check out the vibrant tech community on one of the world&#39;s most<br clas=
s=3D"m_3978910429712572894gmail_msg">
engaging tech sites, SlashDot.org! <a href=3D"http://sdm.link/slashdot" rel=
=3D"noreferrer" class=3D"m_3978910429712572894gmail_msg" target=3D"_blank">=
http://sdm.link/slashdot</a>______<wbr>______________________________<wbr>_=
__________<br class=3D"m_3978910429712572894gmail_msg">
grinder-use mailing list<br class=3D"m_3978910429712572894gmail_msg">
<a href=3D"mailto:[email protected]" class=3D"m_39789104297=
12572894gmail_msg" target=3D"_blank">[email protected]<wbr>net=
</a><br class=3D"m_3978910429712572894gmail_msg">
<a href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" rel=3D=
"noreferrer" class=3D"m_3978910429712572894gmail_msg" target=3D"_blank">htt=
ps://lists.sourceforge.net/<wbr>lists/listinfo/grinder-use</a><br class=3D"=
m_3978910429712572894gmail_msg">
</blockquote></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></div>

--001a113de104c263bd0547547c71--


--===============6115494901162296550==
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
--===============6115494901162296550==
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

--===============6115494901162296550==--