You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run the above program in JDK8 then its working fine.
But if I run the same program in JDK11 then it fails while executing this line line: context.lookup("jms/remoteConnectionFactory")
It fails with the error below: Invalid URL Scheme "null "`
Hello,
I have a sample java program talking to redhat artemis via wildfly java library. https://github.com/wildfly/quickstart/blob/main/helloworld-jms/src/test/java/org/jboss/as/quickstarts/jms/HelloWorldJMSClientIT.java
If I run the above program in JDK8 then its working fine.
But if I run the same program in JDK11 then it fails while executing this line line:
context.lookup("jms/remoteConnectionFactory")
It fails with the error below:
Invalid
URL Scheme "null "`Looks like in JDK11, the following code creates an instance of ReparsedName with urlScheme being null.
https://github.com/wildfly/wildfly-naming-client/blob/main/src/main/java/org/wildfly/naming/client/WildFlyRootContext.java#L814
Can you help me fix the above problem? Do you have a working jms client example for JDK11 using this wildfly client library?
The text was updated successfully, but these errors were encountered: