We are trying to communicate with ActiveMQ from JMS adapter in weblogic over
https. 
But while we are trying to do same (https://<DNSNAME>/activemq), we are
getting below error message.

If we give https port along with DNS name (https://<DNSNAME>:443/activemq)
it is going through fine. Any idea if https transport is expecting 443
explicitly?




Caused By: java.lang.IllegalStateException: Failure trying to create scheme
registry
       at
org.apache.activemq.transport.https.HttpsClientTransport.createSchemeRegistry(HttpsClientTransport.java:54)
       at
org.apache.activemq.transport.https.HttpsClientTransport.createClientConnectionManager(HttpsClientTransport.java:41)
       at
org.apache.activemq.transport.http.HttpClientTransport.createHttpClient(HttpClientTransport.java:320)
       at
org.apache.activemq.transport.http.HttpClientTransport.getReceiveHttpClient(HttpClientTransport.java:236)
       at
org.apache.activemq.transport.http.HttpClientTransport.doStart(HttpClientTransport.java:253)
       at
org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
       at
org.apache.activemq.transport.AbstractInactivityMonitor.start(AbstractInactivityMonitor.java:169)
       at
org.apache.activemq.transport.InactivityMonitor.start(InactivityMonitor.java:52)
       at
org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:1017)
       at
org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:148)
       at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
       at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
       at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)
Caused By: java.lang.IllegalArgumentException: Port is invalid: -1
       at org.apache.http.conn.scheme.Scheme.<init>(Scheme.java:91)
       at
org.apache.activemq.transport.https.HttpsClientTransport.createSchemeRegistry(HttpsClientTransport.java:51)
       at
org.apache.activemq.transport.https.HttpsClientTransport.createClientConnectionManager(HttpsClientTransport.java:41)
       at
org.apache.activemq.transport.http.HttpClientTransport.createHttpClient(HttpClientTransport.java:320)
       at
org.apache.activemq.transport.http.HttpClientTransport.getReceiveHttpClient(HttpClientTransport.java:236)
       at
org.apache.activemq.transport.http.HttpClientTransport.doStart(HttpClientTransport.java:253)
       at
org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
       at
org.apache.activemq.transport.AbstractInactivityMonitor.start(AbstractInactivityMonitor.java:169)
       at
org.apache.activemq.transport.InactivityMonitor.start(InactivityMonitor.java:52)
       at
org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:1017)
       at
org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:148)
       at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
       at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
       at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to