Getting Cannot Resolve URL for Protocol JMS When Non SSL Port is Disabled
(Doc ID 2338471.1)
Last updated on DECEMBER 13, 2023
Applies to:
Oracle WebLogic Server - Version 12.1.3.0.0 and laterInformation in this document applies to any platform.
Symptoms
A client cannot connect to JMS queue in the following conditions:
- Only SSL ports are enabled on both admin and managed servers, non SSL ports are disabled
- Cluster address includes only SSL ports
The issue can be reproduced with the following test case, including a Java client, attached to this document.
To setup environment
Create a new WLS domain and define the following resources:
- The Admin Server, configure it only with SSL enabled port ( do not enable non-ssl port ). It is ok to use democertificates as well
- a JMS module, having a Connection Factory and two Queues
- Connection Factory, name = inventoryWSQueueCF and jndi-name = inventoryWSQueueCF
- 1 queue, set this as: name = InventoryCustomWSQueue and jndi-name = InventoryCustomWSQueue
- 1 queue, set this as: name = inventoryActivityQueue and jndi-name = inventoryActivityQueue
see: Create a Basic WebLogic Server Domain
https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-server/12.2.1.4/tutorial-install-weblogic-server-create-basic-domain/index.html#CreateaBasicWebLogicServerDomain
Ch 3 Configuring Basic JMS System Resources
https://docs.oracle.com/en/middleware/fusion-middleware/weblogic-server/12.2.1.4/jmsad/basic_config.html#GUID-BD6C5EE3-3796-49F7-BE43-838BC00C3710
Then deploy the Custom.ear application (attached to this note), which contains a HelloWorld web service, MDB listening on JMS Queue (InventoryCustomWSQueue).
On the client end, the JMSQueueClient.jar file sends a WS request on the InventoryCustomWSQueue queue.
To run the testcase
To run this client, copy the attached JMSQueueClient.jar and hello.txt in a testcase directory, for example.
Setup the environment using the {new domain}/bin/setDomainEnv.sh file
The issue persists for both t3s and t3 protocols.
When the non-SSL listen ports are enabled and cluster address is configured to use only them in these conditions the issue cannot be seen.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
To setup environment |
To run the testcase |
To verify the issue from WLS console |
Changes |
Cause |
Solution |
References |