Problems Installing AppWorks Gateway 1.1.5

Options

hi there, I am having problems to install the AppWorks 1.1.5 advertised on the appworks developer page. I tried both Linux Windows, but getting issues installing otds. I follow the installation guide present on this site as well.

Linux 12.04.4 LTS Desktop, Oracles JDK 1.8.0, Tomcat 7.0.52. Keeping defaults for installing appworks delivers error in OTDS deployment log:

20742 [26 Mar 2014 11:04:34.707] INFO com.opentext.otds.deploy.OpenDjUtils - executeScript: To see basic server configuration status and configuration you can launch /usr/local/lib/apache-tomcat-7.0.52/otds/OpenDJ-2.5.0-Xpress1/bin/status
20758 [26 Mar 2014 11:04:34.723] ERROR com.opentext.otds.deploy.OpenDjUtils - executeScript: Non-zero exit code from command shell: 6
20760 [26 Mar 2014 11:04:34.725] ERROR com.opentext.otds.deploy.OpenDjUtils - executeScript: Error executing command
com.opentext.otds.deploy.DeployException
at com.opentext.otds.deploy.OpenDjUtils.executeScript(OpenDjUtils.java:518)
at com.opentext.otds.deploy.OpenDjUtils.setupOpenDj(OpenDjUtils.java:339)
at com.opentext.otds.deploy.OpenDjUtils.installOpenDj(OpenDjUtils.java:94)
at com.opentext.otds.deploy.Installer.installOtds(Installer.java:49)
at com.opentext.otds.deploy.OtdsDeploy.main(OtdsDeploy.java:110)
20767 [26 Mar 2014 11:04:34.732] ERROR com.opentext.otds.deploy.OtdsDeploy - main: com.opentext.otds.deploy.DeployException
com.opentext.otds.deploy.DeployException: com.opentext.otds.deploy.DeployException
at com.opentext.otds.deploy.OpenDjUtils.executeScript(OpenDjUtils.java:524)
at com.opentext.otds.deploy.OpenDjUtils.setupOpenDj(OpenDjUtils.java:339)
at com.opentext.otds.deploy.OpenDjUtils.installOpenDj(OpenDjUtils.java:94)
at com.opentext.otds.deploy.Installer.installOtds(Installer.java:49)
at com.opentext.otds.deploy.OtdsDeploy.main(OtdsDeploy.java:110)
Caused by: com.opentext.otds.deploy.DeployException
at com.opentext.otds.deploy.OpenDjUtils.executeScript(OpenDjUtils.java:518)
... 4 more

white the error reported in the Catalina log is:

SEVERE: Mapped exception to response: 500 (Internal Server Error)
javax.ws.rs.WebApplicationException
at com.opentext.otag.auth.OtdsInstaller.runInstaller(OtdsInstaller.java:168)
at com.opentext.otag.auth.OtdsInstaller.installOtds(OtdsInstaller.java:110)
at com.opentext.otag.rest.impl.SetupImpl.installOtds(SetupImpl.java:213)
at com.opentext.otag.rest.impl.SetupImpl.doBasicConfig(SetupImpl.java:170)
at com.opentext.otag.rest.v1.Setup.doBasicConfig(Setup.java:55)
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:483)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at ...

The other platform was Windows 8.1 x64, Oracle JDK 7u51, Tomcat 7.0.52. Used again the recommended defaults to install and getting report in Catalina log:

SEVERE: Mapped exception to response: 500 (Internal Server Error)
javax.ws.rs.WebApplicationException
at com.opentext.otag.auth.OtdsInstaller.runInstaller(OtdsInstaller.java:168)
at com.opentext.otag.auth.OtdsInstaller.installOtds(OtdsInstaller.java:110)
at com.opentext.otag.rest.impl.SetupImpl.installOtds(SetupImpl.java:213)
at com.opentext.otag.rest.impl.SetupImpl.doBasicConfig(SetupImpl.java:170)
at com.opentext.otag.rest.v1.Setup.doBasicConfig(Setup.java:55)
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.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.opentext.otag.rest.util.JsonpFilter.doFilter(JsonpFilter.java:67)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

and the link to OTDS Deployment log is empty :-(

Is there anything that I am missing?

Comments

  • On Linux, typically the default settings won't work because non-admin processes can't bind to ports less than 1024. You can select different ports in the advanced DS config section.

    Also, AppWorks has not been tested and is not supported with Java 8.

    On Windows, you should be fine with the defaults. If the OTDS deploy log is empty, the error must be before that, which could mean the installer is missing (/otds/install) or your java executable isn't in your path. I would expect at least one further line of logging, likely just above what you posted, that may provide a clue.