Re: Java client doesnt work with https

2011-12-22 Thread manua
Tim, the same code works fine for SSL. Does this confirm that my certificates are correct. Also, for https, do I need made any other setting in activemq.xml, except the transport connector setting.All other settings for ssl are already there. Thanks Manu -- View this message in context: http://

Re: Java client doesnt work with https

2011-12-22 Thread manua
Thanks Tim, I enabled the TRACE level logging. I didnt see any thing at the broker end. The log at the client end says, 455 [main] TRACE org.apache.commons.httpclient.HttpClient - enter HttpClient.executeMethod(HttpMethod) 455 [main] TRACE org.apache.commons.httpclient.HttpClient - enter Http

Re: Java client doesnt work with https

2011-12-22 Thread Timothy Bish
On Thu, 2011-12-22 at 06:47 -0800, manua wrote: > Dejan, I got http working. I havent included all the xpp libraries. So http > is working now, but having same issue with the https. > > When I try to connect with https, the DEBUG log (at teh end) says, > > > 351 [main] DEBUG org.apache.commons.h

Re: Java client doesnt work with https

2011-12-22 Thread manua
Dejan, I got http working. I havent included all the xpp libraries. So http is working now, but having same issue with the https. When I try to connect with https, the DEBUG log (at teh end) says, 351 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Open connection to localhost:8443

Re: Java client doesnt work with https

2011-12-22 Thread manua
Thanks Dejan. I hope my certificates are appropriate as same certificates works with ssl. So, I assume that its not a certificate issue. Also, when I used http instead of https, i got a response back from broker, but then the connection was closed. My debug log says, 533 [main] DEBUG org.apache

Re: Java client doesnt work with https

2011-12-22 Thread Dejan Bosanac
Did you set appropriate certificates to be used? Take a look at this unit test for an example https://fisheye6.atlassian.com/browse/activemq/trunk/activemq-optional/src/test/java/org/apache/activemq/transport/https/HttpsJmsSendAndReceiveTest.java?hb=true Regards -- Dejan Bosanac - http://twitte