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 660 [main] DEBUG httpclient.wire.header - >> "HEAD / HTTP/1.1[\r][\n]" 660 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Adding Host request header 706 [main] DEBUG httpclient.wire.header - >> "clientID: ID:manu-37676-1324564977298-0:1[\r][\n]" 706 [main] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]" 707 [main] DEBUG httpclient.wire.header - >> "Host: localhost:8443[\r][\n]" 707 [main] DEBUG httpclient.wire.header - >> "[\r][\n]" After this point the program just hangs. Any idea, what may be wrong with this. Do I have to change some settings in jetty xml file or any other file. Thanks Manu -- View this message in context: http://activemq.2283324.n4.nabble.com/Java-client-doesnt-work-with-https-tp4222791p4225471.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.