I really didn't have to setup SSL on my windows box at all. I am going to an http site that after login redirects to a https site. What do I need to do to set this up on the linux box then? And why would I not have to do the same on the windows box?
gino -----Original Message----- From: sebb [mailto:[EMAIL PROTECTED] Sent: May 30, 2005 8:54 AM To: Gino Gargiulo Cc: JMeter Users List Subject: Re: Jmeter version 2.03 not working on linux box On 5/30/05, Gino Gargiulo <[EMAIL PROTECTED]> wrote: > Ok I modified my script, and yes it appears the same on my windows > boxes, but now in the jmeter.log file I am getting the following error: > > > > 2005/05/30 08:27:45 ERROR - jmeter.util.JsseSSLManager: Exception > occurred java.lang.NullPointerException > at > org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:145) > at > org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:171 > ) > at > org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:99) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA > ccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons > tructorAccessorImpl.java:27) > at > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > at > org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:280) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTP > Sampler.java:145) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j > ava:462) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl > erBase.java:590) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl > erBase.java:578) > at > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:281) > at java.lang.Thread.run(Thread.java:534) > > 2005/05/30 08:27:45 ERROR - jmeter.util.SSLManager: > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA > ccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons > tructorAccessorImpl.java:27) > at > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > at > org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:280) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTP > Sampler.java:145) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j > ava:462) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl > erBase.java:590) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl > erBase.java:578) > at > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:281) > at java.lang.Thread.run(Thread.java:534) > Caused by: java.lang.IllegalStateException: SSLContextImpl is not > initialized > at > com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(Dasho > A6275) > at javax.net.ssl.SSLContext.getSocketFactory(DashoA6275) > at > com.sun.net.ssl.SSLContextSpiWrapper.engineGetSocketFactory(DashoA6275) > at com.sun.net.ssl.SSLContext.getSocketFactory(DashoA6275) > at > org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:206 > ) > at > org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:99) > ... 11 more > > 2005/05/30 08:27:45 WARN - jmeter.protocol.http.sampler.HTTPSampler: Note: > You may have forgotten to set the ssl.provide > r property in jmeter.properties java.lang.NullPointerException Looks like this is the problem, or related to it. Have you set up SSL identically on both systems? > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTP > Sampler.java:145) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j > ava:462) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl > erBase.java:590) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl > erBase.java:578) > at > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:281) > at java.lang.Thread.run(Thread.java:534) > > regards > Gino > > -----Original Message----- > From: sebb [mailto:[EMAIL PROTECTED] > Sent: May 27, 2005 3:47 PM > To: JMeter Users List > Subject: Fwd: Jmeter version 2.03 not working on linux box > > ---------- Forwarded message ---------- > From: sebb <[EMAIL PROTECTED]> > Date: May 27, 2005 11:46 PM > Subject: Re: Jmeter version 2.03 not working on linux box > To: Gino Gargiulo <[EMAIL PROTECTED]> > > > On 5/27/05, Gino Gargiulo <[EMAIL PROTECTED]> wrote: > > Here is my jmeter log file after the run > > > > 2005/05/27 15:32:57 INFO - jmeter.JMeter: Version 2.0.3 > > 2005/05/27 15:32:57 INFO - jmeter.JMeter: java.version=1.4.2_04 > > 2005/05/27 15:32:57 INFO - jmeter.JMeter: Copyright (c) 1998-2005 The > > Apache Software Foundation > > 2005/05/27 15:32:57 INFO - jmeter.JMeter: Loading file: > > StraightBet_MONEY_06_RND_5.jmx > > 2005/05/27 15:32:58 ERROR - jmeter.save.SaveService: Problem loading > > part of file java.lang.ClassNotFoundException: > > org.apache.jmeter.protocol.http.sampler.httPSampler > > This is not a valid class name - it should be > > org.apache.jmeter.protocol.http.sampler.HTTPSampler > > Looks like your jmx file is corrupt - or perhaps the > upgrade.properties file is corrupt. > > Try comparing them with the ones on Windows. > > S. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]