| Summary: | Installer cannot use generated install script if MySQL is configured | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Jiri Sedlacek <jsedlace> | ||||
| Component: | Installer | Assignee: | Francisco Canas <fcanas> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Len DiMaggio <ldimaggi> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.0.0 GA | CC: | atangrin, fcanas, oskutka, soa-p-jira, thauser | ||||
| Target Milestone: | ER8 | Keywords: | TestBlocker | ||||
| Target Release: | 6.0.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | Bug | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
The issue has been fixed, and db installation works with auto install scripts again. Note you'll have to run the installer manually and create a new install xml script for it to work, because the problem was that some of the DB properties weren't being saved to the script for later use. See commit: http://git.app.eng.bos.redhat.com/installer-commons.git/commit/?h=6.1.1.ip&id=2e88b73a446602bbefb5d29a0ba5d6f855a7be23 It blocks our automated testing with other DBs, waiting for new build. Verified in ER8 |
Created attachment 835645 [details] install script I've configured installer to use MySQL, generated install script with it and then tried to run installation with this script, it failed with exception: Connected to Management Interface. [ ERROR: Invocation Problem calling : com.redhat.installer.postinstall.DatasourceScriptHelper, java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.izforge.izpack.installer.ProcessPanelWorker$ExecutableClass.run(ProcessPanelWorker.java:760) at com.izforge.izpack.installer.ProcessPanelWorker$ProcessingJob.run(ProcessPanelWorker.java:516) at com.izforge.izpack.installer.ProcessPanelWorker.runJob(ProcessPanelWorker.java:462) at com.izforge.izpack.installer.ProcessPanelWorker.run(ProcessPanelWorker.java:388) at com.izforge.izpack.panels.ProcessPanelAutomationHelper.runAutomated(ProcessPanelAutomationHelper.java:67) at com.izforge.izpack.installer.AutomatedInstaller.installPanel(AutomatedInstaller.java:500) at com.izforge.izpack.installer.AutomatedInstaller.doInstall(AutomatedInstaller.java:443) at com.izforge.izpack.installer.Installer.main(Installer.java:141) Caused by: com.redhat.installer.postinstall.ServerCommands$BatchIsEmptyException: ServerCommands: The batch is empty. at com.redhat.installer.postinstall.ServerCommands.runBatch(ServerCommands.java:1414) at com.redhat.installer.postinstall.DatasourceScriptHelper.run(DatasourceScriptHelper.java:69) ... 12 more ] Install script is attached.