Hi Parkirat,
What version of broker and client are you using ?
If you are using an older client, are you able to try it with the 0.18
java client (the latest release) ?
I looked at the line numbers in the stack trace and it appears the
version you are using a is a bit different to the one on trunk.
Regards,
Rajith
P.S I noticed you are using producer flow control which is not
implemented in the JMS client.
This will result in timeouts.
On Tue, Sep 11, 2012 at 11:53 AM, ParkiratBagga <[email protected]> wrote:
> Ok. I made those cert again, after doing some research on google which said
> my keystore might be corrupted. Now I am getting the following exception:
>
>
> ============================
> Exception in thread "main" javax.jms.JMSException: Error creating
> connection: Unable to Connect
> at
> org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:286)
> at
> com.source.qpid.producer.MyMsgProducer.getConnection(MyMsgProducer.java:232)
> at com.source.qpid.producer.MyMsgProducer.main(MyMsgProducer.java:245)
> Caused by: org.apache.qpid.AMQConnectionFailureException: Unable to Connect
> at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:472)
> at
> org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:276)
> ... 2 more
> Caused by: org.apache.qpid.transport.TransportException: Error creating SSL
> Context
> at
> org.apache.qpid.transport.network.security.SecurityLayer$SSLSecurityLayer.<init>(SecurityLayer.java:122)
> at
> org.apache.qpid.transport.network.security.SecurityLayer.init(SecurityLayer.java:53)
> at
> org.apache.qpid.transport.TransportBuilder.init(TransportBuilder.java:45)
> at org.apache.qpid.transport.Connection.connect(Connection.java:240)
> at
> org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:184)
> at
> org.apache.qpid.client.AMQConnection.makeBrokerConnection(AMQConnection.java:609)
> at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:396)
> ... 3 more
> Caused by: java.lang.NullPointerException
> at java.io.File.<init>(File.java:222)
> at
> org.apache.qpid.transport.network.security.ssl.SSLUtil.getInitializedKeyStore(SSLUtil.java:166)
> at
> org.apache.qpid.ssl.SSLContextFactory.buildServerContext(SSLContextFactory.java:168)
> at
> org.apache.qpid.transport.network.security.ssl.SSLUtil.createSSLContext(SSLUtil.java:156)
> at
> org.apache.qpid.transport.network.security.SecurityLayer$SSLSecurityLayer.<init>(SecurityLayer.java:118)
> ... 9 more
> ===================================
>
> Regards,
> Parkirat Singh Bagga
>
>
>
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/SSL-between-client-and-broker-Exception-tp7581936p7581943.html
> Sent from the Apache Qpid users mailing list archive at Nabble.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]