Bug 1211709
Summary: | Errors during installation and config when openjdk is NOT default in an environment. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Anitha Udgiri <audgiri> | |
Component: | ovirt-engine-reports | Assignee: | Yedidyah Bar David <didi> | |
Status: | CLOSED ERRATA | QA Contact: | Gonza <grafuls> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.5.0 | CC: | audgiri, bazulay, didi, gklein, lsurette, pstehlik, rbalakri, Rhev-m-bugs, sbonazzo, sradco, yeylon, ykaul, ylavi | |
Target Milestone: | ovirt-3.6.0-rc | Keywords: | ZStream | |
Target Release: | 3.6.0 | Flags: | ylavi:
Triaged+
|
|
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | rhevm-reports-3.6.0-5.el6ev.noarch.rpm | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1213784 (view as bug list) | Environment: | ||
Last Closed: | 2016-03-09 21:18:46 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1213784 |
Description
Anitha Udgiri
2015-04-14 16:13:46 UTC
This bug refers to jasperreports. The engine already uses the correct jdk if available. Please provide steps to reproduce this issue, attach the logs and error message you encounter. Now reproduced by setting default java to be 1.5 using 'update-alternatives --config java'. engine-setup fails with: 2015-04-21 09:11:32 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_reports.jasper.deploy plugin.execute:866 execute-output: ('./js-import.sh', '--input-dir', '/tmp/tmpO82zKz/ovirt-reports', '--update') stderr: Exception in thread "main" java.lang.NoSuchMethodError: method java.util.regex.Pattern.quote with signature (Ljava.lang.String;)Ljava.lang.String; was not found. at org.springframework.util.AntPathStringMatcher.quote(AntPathStringMatcher.java:95) at org.springframework.util.AntPathStringMatcher.createPattern(AntPathStringMatcher.java:87) at org.springframework.util.AntPathStringMatcher.<init>(AntPathStringMatcher.java:54) at org.springframework.util.AntPathMatcher.matchStrings(AntPathMatcher.java:219) at org.springframework.util.AntPathMatcher.doMatch(AntPathMatcher.java:105) at org.springframework.util.AntPathMatcher.match(AntPathMatcher.java:68) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doRetrieveMatchingFiles(PathMatchingResourcePatternResolver.java:635) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.retrieveMatchingFiles(PathMatchingResourcePatternResolver.java:597) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindMatchingFileSystemResources(PathMatchingResourcePatternResolver.java:552) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(PathMatchingResourcePatternResolver.java:535) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:347) at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:279) at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1245) at org.springframework.context.support.GenericApplicationContext.getResources(GenericApplicationContext.java:226) at com.jaspersoft.jasperserver.export.BaseExportImportCommand.createSpringContext(BaseExportImportCommand.java:121) at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:82) at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43) Workaround: run 'update-alternatives --config java' and choose openjdk 1.7. Anitha: Do we want this in 3.5.z too? It affects also 3.4 - if this is the first such failure, it's probably not that common. Verified with: ovirt-engine-reports-3.6.0-0.0.master.20150507091743.20150507091525.git8a4d6f4.el6.noarch # java -version java version "1.5.0" Execution of setup completed successfully. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0425.html |