>I had trouble getting this working and discovered that there's an error in
>the web page documenation regarding the classpath.
Oh dear..
>The last item, "logkit-1.0.1" should have a ".jar" appended to it. Again,
>the docs say they're all jars, so a person could figure it out, but I
didn't
>and spent four hours in a lesson about how to pay attention. I had just
>copied and pasted the paths and missed that little detail.
I didn't catch it either, I've been following the instructions pretty much
to the letter and wouldn't have the knowledge to know that it should have a
.jar on the end.
So.. I still can't get this working. I'm still getting 'bad call to remote
host', and jmeter.log is still saying :
12/18/2002 1:32:24 PM ERROR - jmeter.engine: rmiregistry needs to be running
to start JMeter in server mode java.rmi.UnmarshalException: Error
unmarshaling return header; nested exception is:
java.net.SocketException: Connection reset
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)
From: Mike Stover
>rmiregistry has to be running first, and then start the jmeter
server(jmeter -s).
This I have done. In order I :
1) check my CLASSPATH
#echo $CLASSPATH
/home/lawreste/jakarta-jmeter/lib/ext/ApacheJMeter_core.jar:/home/lawreste/j
akarta-jmeter/lib/jorphan.jar:/home/lawreste/jakarta-jmeter/lib/logkit-1.0.1
.jar:/usr/java/j2sdk1.4.1_01
2)rmiregistry &
3)./jmeter -s &
4)head jmeter.log
5)*panic*
>The system classpath has to include the appropriate jars for rmiregistry,
not for JMeter.
This confuses me. If I understand correctly, rmiregistry is attempting to
'register' various calls which are used by Jmeter to do remote running. So,
if I have my Jmeter jar's in my CLASSPATH, rmiregister should pick them up,
register them, and um.. make them available when my NT contacts my RedHat on
port 1099.
Does rmiregistry need something that's not with Jmeter? I've putzed around
with my CLASSPATH - tacked on my JAVA_HOME directory, in case there's
something there it needs.
>Also note that rmiregistry can sometimes leave processes hanging, even when
it looks shut down.
>I have in the past found that rebooting my NT machine to be the only sure
way ofclearing such things
>out.
Well, I'm running this on a Redhat box, so I'm pretty sure if I've killed
the process it's dead. Just to make sure I've killed the process, checked my
netstat and confirmed that the box is no longer listening on 1099.
In a fit of pique I also rebooted the box, ran the commands above and still
get the same Jmeter error.
>If JMeter says rmiregistry is not running, it's pretty good bet it's right.
I'm 100 percent sure that rmiregistry is running. I see it in my process
list, I see it listening on 1099, I'm almost certain that it's not picking
up the Jmeter jars / classes / things I don't know about, though.
Can anyone post a sample CLASSPATH / JAVA_HOME, I can look at to see if I've
made a classic booboo?
Thanks muchly,
Steve.
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of
Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential,
proprietary copyrighted and/or legally privileged, and is intended solely for the use
of the individual or entity named on this message. If you are not the intended
recipient, and have received this message in error, please immediately return this by
e-mail and then delete it.
==============================================================================
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>