Since JMeter 2.3.1, the RMI registry is started by the server; however the options can still be passed in from the JMeter command line. For example: "jmeter -s -Dsun.rmi.loader.logLevel=verbose" (i.e. omit the -J prefixes). Alternatively the properties can be defined in the system.properties file.
The solution to the problem is to remove the loopbacks 127.0.0.1 and 127.0.0.2 from etc/hosts. What happens is jmeter-server can't connect to rmiregistry if 127.0.0.2 loopback is not available. Use the following settings to fix the problem. Replace - `dirname $0`/jmeter -s "$@" With - HOST="-Djava.rmi.server.hostname=[computer_name][computer_domain] - -Djava.security.policy=`dirname $0`/[policy_file]" - `dirname $0`/jmeter $HOST -s "$@" Also create a policy file and add [computer_name][computer_domain] line to /etc/hosts. Chaitanya M Bhatt http://www.performancecompetence.com On Thu, Apr 22, 2010 at 12:24 AM, abolkog <[email protected]> wrote: > > yes on the same machine > > chaitanya bhatt wrote: > > > > is your server running on the same machine? > > -Chaitanya > > > > On Wed, Apr 21, 2010 at 11:01 PM, abolkog <[email protected]> wrote: > > > >> > >> I have problem starting Jmeter (V.2.3.4) on Ubuntu 9.10 > >> I get the following error message when i try to starte jmeter-server: > >> "Server failed to start: java.rmi.RemoteException: Cannot start. ubuntu > >> is > >> a > >> loopback address". > >> Please help if you can > >> -- > >> View this message in context: > >> > http://old.nabble.com/Problem-with-Jmeter-server-on-Ubuntu-9.10-tp28324171p28324171.html > >> Sent from the JMeter - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/Problem-with-Jmeter-server-on-Ubuntu-9.10-tp28324171p28324618.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

