Hide Forgot
Description of problem: Running jboss-cli.sh after installing the 6.3.2 patch fails with NoClassDefFoundError, see below for stack trace. Version-Release number of selected component (if applicable): 6.3.2 CR1 How reproducible: Always Steps to Reproduce: 1. Install DV 6.3 using the installer (installation of DV+EAP) 2. Install the 6.3.2 CR1 patch 3. Run bin/jboss-cli.sh Actual results: java.lang.NoClassDefFoundError: org/jboss/as/cli/impl/ArgumentWithListValue at org.jboss.as.patching.cli.PatchHandlerProvider.createCommandHandler(PatchHandlerProvider.java:36) at org.jboss.as.cli.impl.CommandContextImpl.registerExtraHandlers(CommandContextImpl.java:477) at org.jboss.as.cli.impl.CommandContextImpl.initCommands(CommandContextImpl.java:471) at org.jboss.as.cli.impl.CommandContextImpl.<init>(CommandContextImpl.java:296) at org.jboss.as.cli.impl.CommandContextFactoryImpl.newCommandContext(CommandContextFactoryImpl.java:76) at org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:294) at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:277) at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:45) 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.jboss.modules.Module.run(Module.java:312) at org.jboss.modules.Main.main(Main.java:473) Caused by: java.lang.ClassNotFoundException: org.jboss.as.cli.impl.ArgumentWithListValue from [Module "org.jboss.as.patching:main" from local module loader @619a5dff (finder: local module finder @1ed6993a (roots: /home/asmigala/install/local-server/dv-632-cr1-local-patch/modules,/home/asmigala/install/local-server/dv-632-cr1-local-patch/modules/system/layers/dv,/home/asmigala/install/local-server/dv-632-cr1-local-patch/modules/system/layers/base/.overlays/layer-base-jboss-eap-6.4.9.CP,/home/asmigala/install/local-server/dv-632-cr1-local-patch/modules/system/layers/base))] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) ... 14 more Expected results: jboss-cli.sh runs correctly
I think I have something that works now. I've included the missing class in the build of the custom patching module, so in versions of EAP less than 6.4.11, it will still be available.
released: https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=47901&product=data.services.platform&version=6.3.0&downloadType=patches