Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

exception info as follows:

BUILD FAILED
/home/demoUser/bi/Knowage-6.0.0-CE-Installer-Unix-20170710.sh.24105.dir/user/tomcat-install.xml:78: /home/demoUser/bi/Knowage-Server-CE/webapps/knowage/META-INF/context.xml (No such file or directory)

Total time: 0 seconds
In action "Tomcat Ant JDBC DataDb 2 [Run script]" (screen "Display progress"), property "Script":
java.lang.RuntimeException: Errone durante l'esecuzione dello script
        at ant_exec.Executor.executeAntTask(Executor.java:78)
        at com.install4j.script.I4jScript_Internal_1134.eval(I4jScript_Internal_1134.java:8)
        at com.install4j.script.I4jScript_Internal_1134.evaluate(I4jScript_Internal_1134.java:17)
        at com.install4j.runtime.installer.helper.Script.evaluate(Script.java:33)
        at com.install4j.runtime.installer.ContextImpl.runScript(ContextImpl.java:188)
        at com.install4j.runtime.installer.ContextImpl.runScript(ContextImpl.java:182)
        at com.install4j.runtime.beans.actions.control.RunScriptAction.execute(RunScriptAction.java:34)
        at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.install(SystemInstallOrUninstallAction.java:29)
        at com.install4j.runtime.installer.ContextImpl$7.executeAction(ContextImpl.java:1668)
        at com.install4j.runtime.installer.ContextImpl$7.fetchValue(ContextImpl.java:1659)
        at com.install4j.runtime.installer.ContextImpl$7.fetchValue(ContextImpl.java:1656)
        at com.install4j.runtime.installer.helper.comm.actions.FetchObjectAction.execute(FetchObjectAction.java:14)
        at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionDirect(HelperCommunication.java:274)
        at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionInt(HelperCommunication.java:249)
        at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionChecked(HelperCommunication.java:187)
        at com.install4j.runtime.installer.helper.comm.HelperCommunication.fetchObjectChecked(HelperCommunication.java:170)
        at com.install4j.runtime.installer.ContextImpl.performActionIntStatic(ContextImpl.java:1656)
        at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(InstallerContextImpl.java:151)
        at com.install4j.runtime.installer.ContextImpl.performAction(ContextImpl.java:1103)
        at com.install4j.runtime.installer.controller.Controller.executeAction(Controller.java:368)
        at com.install4j.runtime.installer.controller.Controller.executeActions(Controller.java:334)
        at com.install4j.runtime.installer.controller.Controller.handleCommand(Controller.java:195)
        at com.install4j.runtime.installer.controller.Controller.start(Controller.java:94)
        at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:59)
        at com.install4j.runtime.installer.Installer.main(Installer.java:46)
        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 com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
        at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)
Caused by: /home/demoUser/bi/Knowage-6.0.0-CE-Installer-Unix-20170710.sh.24105.dir/user/tomcat-install.xml:78: /home/demoUser/bi/Knowage-Server-CE/webapps/knowage/META-INF/context.xml (No such file or directory)
        at com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:646)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
        at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
        at ant_exec.Executor.executeAntTask(Executor.java:72)
        ... 30 more
Unable to configure application server (Ant execution)
Rolling back changes ...
in Installer by (310 points)

2 Answers

0 votes
I got stuck in the same problem in MAC OSX env. the error info as follow:

Caused by: /Users/frank/Downloads/Knowage-6.0.0-CE-Installer-Unix-20170710.sh.1297.dir/user/tomcat-install.xml:419: /Users/frank/bigdata/knowage/v6/server/Knowage-Server-CE/conf/server.xml (No such file or directory)

    at com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:646)

    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)

    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:497)

    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

    at org.apache.tools.ant.Task.perform(Task.java:348)

    at org.apache.tools.ant.Target.execute(Target.java:435)

    at org.apache.tools.ant.Target.performTasks(Target.java:456)

    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)

    at org.apache.tools.ant.Project.executeTarget(Project.java:1376)

    at ant_exec.Executor.executeAntTask(Executor.java:72)

    ... 31 more
by (310 points)
reshown by
does anybody else meet the same problem?
0 votes
Hi,

    it's pretty strange the installer can't access files that should exist if previous steps succeded.

Could you check that the file exists before quitting installer?

Is the Linux user lacking file access permission?

Best regards,

Francesco
by (3.8k points)
...