| Summary: | jboss-cli.sh fails with NoClassDefFoundError with DV 6.3.2 CR1 | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Andrej Smigala <asmigala> |
| Component: | Productization | Assignee: | Alex Szczuczko <aszczucz> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Andrej Smigala <asmigala> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.3.0 | CC: | jdurani, jolee, jstastny, mbaluch, vhalbert |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-20 19:09:38 UTC | Type: | Support Patch |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1364507 | ||
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. |
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