This seems to be saying that it is failing to set the max frame size,
one of the first things the client does when opening the AMQP
connection, because the proton transport has already been used. My
only gues is that it has actually received data and given it to the
transport before getting as far as opening its connection. If thats
the case the client would need to guard against it, though ideally the
server side wouldnt do that either. I'll try to look next week.

Robbie

On 26 October 2016 at 13:50, Artem <artem.fedo...@tut.by> wrote:
> I`m change my JMS client for  this
> <https://github.com/apache/qpid-jms/blob/master/qpid-jms-examples/src/main/java/org/apache/qpid/jms/example/Sender.java>
> . Now url see like this:Also i know that SSLHandshake successfully finished:
> (information from ssl debug)Signature Algorithm
> SHA512withRSAnioEventLoopGroup-2-1, WRITE: TLSv1.2 Handshake, length =
> 264nioEventLoopGroup-2-1, WRITE: TLSv1.2 Change Cipher Spec, length = 1***
> Finishedverify_data:  { bytes }***nioEventLoopGroup-2-1, WRITE: TLSv1.2
> Handshake, length = 80nioEventLoopGroup-2-1, READ: TLSv1.2 Change Cipher
> Spec, length = 1nioEventLoopGroup-2-1, READ: TLSv1.2 Handshake, length =
> 80*** Finishedverify_data:  { bytes }***%% Cached client session:
> [Session-1, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256]*But now, when i call
> connection.start() it throw this exception: *javax.jms.JMSException: Cannot
> set max frame size after transport has been initialised at
> org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:66)
> at
> org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:88)
> at org.apache.qpid.jms.JmsConnection.createResource(JmsConnection.java:551)
> at org.apache.qpid.jms.JmsConnection.createResource(JmsConnection.java:535)
> at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:450)    at
> org.apache.qpid.jms.JmsConnection.createSession(JmsConnection.java:257) at
> org.apache.qpid.jms.example.Receiver.main(Receiver.java:60)     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)     at
> com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)Caused
> by: java.io.IOException: Cannot set max frame size after transport has been
> initialised     at
> org.apache.qpid.jms.util.IOExceptionSupport.create(IOExceptionSupport.java:45)
> at
> org.apache.qpid.jms.provider.ProviderFuture.failOnError(ProviderFuture.java:108)
> at org.apache.qpid.jms.provider.ProviderFuture.sync(ProviderFuture.java:102)
> at org.apache.qpid.jms.JmsConnection.createResource(JmsConnection.java:546)
> ... 9 moreCaused by: java.lang.IllegalStateException: Cannot set max frame
> size after transport has been initialised       at
> org.apache.qpid.proton.engine.impl.TransportImpl.setMaxFrameSize(TransportImpl.java:199)
> at
> org.apache.qpid.jms.provider.amqp.AmqpProvider$4$1.processConnectionInfo(AmqpProvider.java:278)
> at
> org.apache.qpid.jms.meta.JmsConnectionInfo.visit(JmsConnectionInfo.java:373)
> at
> org.apache.qpid.jms.provider.amqp.AmqpProvider$4.run(AmqpProvider.java:252)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
>
>
>
> --
> View this message in context: 
> http://qpid.2158936.n2.nabble.com/SSL-server-tp7652063p7652498.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to