Status: Open
Status: Answered
Status: Closed
Status: Duplicate

Error Connecting to Appworks

0
Posted Oct 09 by Pradeep Tekkey.
Updated Oct 28 by Marcin Pacyga.

Hello, after installing the Appworks gateway when I try to connect to the Admin URL http://<Server>:8080/gateway

I get "Internal Error".

The gateway.log file has the following error. Please advise hot to fix it.

2014-10-09 16:30:03.636 ERROR  com.opentext.otds.client.WebServiceOtdsCallerV2  - Error Code=1001 message=The resource doesn't exist. 291d4bbf-2489-4225-9e0f-0cb1ecddd94d
2014-10-09 16:30:03.636 ERROR  com.opentext.otag.auth.IdentityService  - Could not initialize OTDS identity service--OTAG login may not function; expect to see further errors.
com.opentext.otds.OtdsException: Error Code=1001 message=The resource doesn't exist. 291d4bbf-2489-4225-9e0f-0cb1ecddd94d
at com.opentext.otds.client.WebServiceOtdsCallerV2.checkWebServiceV2Response(WebServiceOtdsCallerV2.java:578)
at com.opentext.otds.client.WebServiceOtdsCallerV2.otdsActivateResource(WebServiceOtdsCallerV2.java:156)
at com.opentext.otds.client.OtdsClient.activateResource(OtdsClient.java:653)
at com.opentext.otag.auth.OtdsInstaller.reactivateOtdsResource(OtdsInstaller.java:443)
at com.opentext.otag.auth.OtdsIdentityService$ClientHolder.&lt;clinit&gt;(OtdsIdentityService.java:186)
at com.opentext.otag.auth.OtdsIdentityService.getClient(OtdsIdentityService.java:203)
at com.opentext.otag.auth.OtdsIdentityService.auth(OtdsIdentityService.java:224)
at com.opentext.otag.auth.IdentityService.authorize(IdentityService.java:128)
at com.opentext.otag.rest.impl.AuthImpl.auth(AuthImpl.java:95)
at com.opentext.otag.rest.v1.Auth.auth(Auth.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
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:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
2014-10-09 16:32:49.058 INFO   com.opentext.otag.rest.util.JsonpFilter  - A warning about POST requests is expected due to jsonp filtering, and can be safely ignored.
2014-10-09 16:45:45.196 INFO   com.opentext.otag.rest.util.JsonpFilter  - A warning about POST requests is expected due to jsonp filtering, and can be safely ignored.

2 Answers

0
BEST ANSWER: As chosen by the author.

Hi Pradeep,

Did you install the built-in OTDS or did you connect to existing OTDS? did you see the resource from the OTDS Admin page or Admin Client?

Regards, Andre


3
BEST ANSWER: As chosen by the author.

It may be an incomplete installation. If this is a fresh install, and you chose to use the "Embedded" directory services, you can revert to a clean state (ready for re-init) with the following:

Shut down tomcat, delete all directories under &lt;tomcat home&gt;/otds/ EXCEPT 'install', and delete all files from &lt;tomcat home&gt;/conf/Catalina/localhost/.


 You have subscribed and will receive email notifications of updates to this topic. To unsubscribe, uncheck the checkbox.

Statistics

Related categories

Related tags

Your answer

To leave an answer, please sign in.