On 07/11/2007, Ori Marco <[EMAIL PROTECTED]> wrote: > I handle first exception,still remained with SocketException , The
What was the cause of the first exception? > changes in the log is that > The 2.3 search and find server certificate which is invalid, how can > server certificate be ignored/not used? JMeter 2.3 trusts all server certificates. What is the exact error message? > Ori Marko > Quality Assurance Engineer > Praxell Inc. > http://www.praxell.com > -----Original Message----- > From: sebb [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 1:49 PM > To: JMeter Users List > Subject: Re: Problem when moving from 2.2 to 2.3 > > I've no idea if the other error is connected or not. > > But experience suggests that correcting one error often fixes others. > > You need to find out why the port is aready being used and by what, > and address that first. > > On 07/11/2007, Ori Marco <[EMAIL PROTECTED]> wrote: > > Hi > > > > Is the two exceptions connected ? > > What about the java.net.SocketException: Software caused connection > > abort:> socket write error? > > How can I solved it ,I'm using almost same configuration and same file > > > > Thanks > > > > Ori Marko > > Quality Assurance Engineer > > Praxell Inc. > > http://www.praxell.com > > > > -----Original Message----- > > From: sebb [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 05, 2007 4:09 PM > > To: JMeter Users List > > Subject: Re: Problem when moving from 2.2 to 2.3 > > > > On 05/11/2007, Ori Marco <[EMAIL PROTECTED]> wrote: > > > Hi > > > > > > > > > > > > I have a problem when moving JMX from 2.2 to 2.3 , probably config > > > file... > > > > > > I get a Problem starting BeanShell server and SocketException and > > > can't connect with https samplers (JDBC working fine) > > > > > > Beanshell exception: > > > > > > 2007/11/05 15:38:53 DEBUG - jmeter.testbeans.gui.TestBeanGUI: > testing > > > class: org.apache.jmeter.modifiers.BeanShellPreProcessor > > > > > > 2007/11/05 15:38:53 DEBUG - jmeter.testbeans.BeanInfoSupport: > Getting > > > property for: script > > > > > > 2007/11/05 15:38:53 INFO - > > > jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className > > > property for htmlParser, using default > > > > > > 2007/11/05 15:38:53 INFO - > > > jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html > is > > > > > > 2007/11/05 15:38:53 INFO - > > > jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for > > > application/xhtml+xml is > > > > > > 2007/11/05 15:38:53 INFO - > > > jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for > > application/xml > > > is > > > > > > 2007/11/05 15:38:53 INFO - > > > jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is > > > > > > 2007/11/05 15:38:53 INFO - > > > jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for > > > text/vnd.wap.wml is > > > org.apache.jmeter.protocol.http.parser.RegexpHTMLParser > > > > > > 2007/11/05 15:38:53 ERROR - jmeter.util.BeanShellServer: Problem > > > starting BeanShell server > java.lang.reflect.InvocationTargetException > > > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method) > > > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke(Unknown > > > Source) > > > > > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > > > > at > > > org.apache.jmeter.util.BeanShellServer.run(BeanShellServer.java:97) > > > > > > at > > > org.apache.jmeter.JMeter.startOptionalServers(JMeter.java:385) > > > > > > at org.apache.jmeter.JMeter.start(JMeter.java:326) > > > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method) > > > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke(Unknown > > > Source) > > > > > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > > > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > > > > at > org.apache.jmeter.NewDriver.main(NewDriver.java:183) > > > > > > Caused by: Sourced file: inline evaluation of: ``server(portnum);'' > : > > > Object constructor : at Line: 11 : in file: /bsh/commands/server.bsh > : > > > new Httpd ( port ) > > > > > > > > > > > > Called from method: server : at Line: 1 : in file: inline evaluation > > of: > > > ``server(portnum);'' : server ( portnum ) > > > > > > Target exception: java.net.BindException: Address already in use: > > > JVM_Bind > > > > > > > Looks like the server port is already in use. > > > > > > > > at > bsh.BSHAllocationExpression.constructObject(Unknown > > > Source) > > > > > > at > bsh.BSHAllocationExpression.objectAllocation(Unknown > > > Source) > > > > > > at bsh.BSHAllocationExpression.eval(Unknown Source) > > > > > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > > > > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > > > > > at bsh.BSHArguments.getArguments(Unknown Source) > > > > > > at > bsh.BSHAllocationExpression.objectAllocation(Unknown > > > Source) > > > > > > at bsh.BSHAllocationExpression.eval(Unknown Source) > > > > > > at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) > > > > > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > > > > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > > > > > at bsh.BSHBlock.evalBlock(Unknown Source) > > > > > > at bsh.BSHBlock.eval(Unknown Source) > > > > > > at bsh.BshMethod.invokeImpl(Unknown Source) > > > > > > at bsh.BshMethod.invoke(Unknown Source) > > > > > > at bsh.BshMethod.invoke(Unknown Source) > > > > > > at bsh.Name.invokeLocalMethod(Unknown Source) > > > > > > at bsh.Name.invokeMethod(Unknown Source) > > > > > > at bsh.BSHMethodInvocation.eval(Unknown Source) > > > > > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > > > > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > > > > > at bsh.Interpreter.eval(Unknown Source) > > > > > > at bsh.Interpreter.eval(Unknown Source) > > > > > > at bsh.Interpreter.eval(Unknown Source) > > > > > > ... 12 more > > > > > > Log: > > > > > > 2007/11/05 15:33:45 ERROR - > jmeter.protocol.http.sampler.HTTPSampler: > > > readResponse: java.net.SocketException: Software caused connection > > > abort: socket write error > > > > > > 2007/11/05 15:33:45 ERROR - > jmeter.protocol.http.sampler.HTTPSampler: > > > Cause: java.net.SocketException: Software caused connection abort: > > > socket write error > > > > > > Response in GUI: > > > > > > java.net.SocketException: Software caused connection abort: socket > > write > > > error > > > > > > at > > > sun.reflect.GeneratedConstructorAccessor44.newInstance(Unknown > Source) > > > > > > at > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown > > > Source) > > > > > > at java.lang.reflect.Constructor.newInstance(Unknown > > > Source) > > > > > > at > > > sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) > > > > > > at java.security.AccessController.doPrivileged(Native > > > Method) > > > > > > at > > > > > > sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown > > > Source) > > > > > > at > > > sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown > > > Source) > > > > > > at java.net.HttpURLConnection.getResponseCode(Unknown > > > Source) > > > > > > at > > > > > > sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknow > > > n Source) > > > > > > at > > > > > > org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSam > > > pler.java:251) > > > > > > at > > > > > > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j > > > ava:485) > > > > > > at > > > > > > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl > > > erBase.java:889) > > > > > > at > > > > > > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl > > > erBase.java:875) > > > > > > at > > > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298) > > > > > > at java.lang.Thread.run(Unknown Source) > > > > > > Caused by: java.net.SocketException: Software caused connection > abort: > > > socket write error > > > > > > at java.net.SocketOutputStream.socketWrite0(Native > > > Method) > > > > > > at java.net.SocketOutputStream.socketWrite(Unknown > > > Source) > > > > > > at java.net.SocketOutputStream.write(Unknown Source) > > > > > > at > > > com.sun.net.ssl.internal.ssl.OutputRecord.writeBuffer(Unknown > Source) > > > > > > at > > > com.sun.net.ssl.internal.ssl.OutputRecord.write(Unknown Source) > > > > > > at > > > > com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecordInternal(Unknown > > > Source) > > > > > > at > > > com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown > Source) > > > > > > at > > > com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(Unknown > > > Source) > > > > > > at > > > > > > com.sun.net.ssl.internal.ssl.ClientHandshaker.sendChangeCipherAndFinish( > > > Unknown Source) > > > > > > at > > > > com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(Unknown > > > Source) > > > > > > at > > > com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown > > > Source) > > > > > > at > > > com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source) > > > > > > at > > > com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown > Source) > > > > > > at > > > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown > Source) > > > > > > at > > > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown > > > Source) > > > > > > at > > > com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source) > > > > > > at java.io.BufferedInputStream.fill(Unknown Source) > > > > > > at java.io.BufferedInputStream.read1(Unknown Source) > > > > > > at java.io.BufferedInputStream.read(Unknown Source) > > > > > > at > sun.net.www.http.HttpClient.parseHTTPHeader(Unknown > > > Source) > > > > > > at sun.net.www.http.HttpClient.parseHTTP(Unknown > > Source) > > > > > > at sun.net.www.http.HttpClient.parseHTTP(Unknown > > Source) > > > > > > at > > > sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown > > > Source) > > > > > > at > > > sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown > > > Source) > > > > > > at java.net.URLConnection.getHeaderFieldInt(Unknown > > > Source) > > > > > > at java.net.URLConnection.getContentLength(Unknown > > > Source) > > > > > > at > > > > > > sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Unkno > > > wn Source) > > > > > > at > > > > > > org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSam > > > pler.java:224) > > > > > > ... 5 more > > > > > > > > > > > > Thanks > > > > > > > > > > > > Ori Marko > > > Quality Assurance Engineer > > > Praxell Inc. > > > http://www.praxell.com <http://www.praxell.com> > > > > > > > > > > --------------------------------------------------------------------- > > 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] > > > > > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

