-
Bug
-
Resolution: Done
-
Blocker
-
7.1.0.DR10, 7.1.0.DR12
-
User Experience
-
Regression
-
-
-
-
-
-
-
Workaround Exists
-
-
I am unable to do JNDI lookup if I use only wildfly-jms-client-bom. I see the following exception
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: org/jboss/modules/ModuleLoadException at org.jboss.remoting3.EndpointBuilder.build(EndpointBuilder.java:117) at org.jboss.remoting3.ConfigurationEndpointSupplier.lambda$static$0(ConfigurationEndpointSupplier.java:68) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.remoting3.ConfigurationEndpointSupplier.<clinit>(ConfigurationEndpointSupplier.java:48) at org.wildfly.common.context.ContextManager.setGlobalDefaultSupplierIfNotSet(ContextManager.java:108) at org.jboss.remoting3.Endpoint.lambda$static$0(Endpoint.java:58) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.remoting3.Endpoint.<clinit>(Endpoint.java:56) at org.wildfly.naming.client.remote.RemoteNamingProviderFactory.supportsUriScheme(RemoteNamingProviderFactory.java:70) at org.wildfly.naming.client.WildFlyRootContext.getProviderContext(WildFlyRootContext.java:318) at org.wildfly.naming.client.WildFlyRootContext.lookup(WildFlyRootContext.java:123) at org.wildfly.naming.client.WildFlyRootContext.lookup(WildFlyRootContext.java:113) at javax.naming.InitialContext.lookup(InitialContext.java:417) at org.jboss.as.quickstarts.jms.HelloWorldJMSClient.main(HelloWorldJMSClient.java:62) ... 6 more Caused by: java.lang.ClassNotFoundException: org.jboss.modules.ModuleLoadException at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 20 more
This issue was marked as Blocker because there shouldn't be needed any additional dependencies if wildfly-jms-client-bom is used.
Customer impact: Standalone clients doesn't work out of the box and programmer has to append additional dependency. This is serious user experience issue. Quickstarts do not work as well.
As of JBoss EAP 7.1.0.DR12, the following stacktrace is produced:
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: org/wildfly/common/expression/Expression$Flag at org.wildfly.naming.client.WildFlyRootContext.getProviderUrl(WildFlyRootContext.java:502) at org.wildfly.naming.client.WildFlyRootContext.getProviderContext(WildFlyRootContext.java:425) at org.wildfly.naming.client.WildFlyRootContext.lookup(WildFlyRootContext.java:127) at javax.naming.InitialContext.lookup(InitialContext.java:417) at org.jboss.as.quickstarts.jms.HelloWorldJMSClient.main(HelloWorldJMSClient.java:62) ... 6 more Caused by: java.lang.ClassNotFoundException: org.wildfly.common.expression.Expression$Flag at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 11 more
- causes
-
JBEAP-8530 Unable to execute step Build and Execute the Quickstart in helloworld-jms quickstart
- Closed
- is cloned by
-
WFLY-7864 Missing dependency in wildfly-jms-client-bom
- Closed