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

Connecting to existing OTDS failed

1
Posted Feb 15 by Ferdinand Prantl.
Updated Mar 30.

I'm installing OTAG 1.1.5 with the local Oracle XE and an external OTDS 10.5.0, running on Tomcat 7.0.42, JDK 1.7.0_21. OTDS has the patch OTDS-1050-002 applied. The first configuring at the /gateway page ends up with this error:

Error:
Problem installing or configuring OpenText Directory Services.

This is the end of the Tomcat (catalina) log:

Feb 15, 2014 1:30:00 PM com.opentext.otag.rest.util.JsonpFilter doFilter
INFO: A warning about POST requests is expected due to jsonp filtering, and can be safely ignored.
Feb 15, 2014 1:30:00 PM com.sun.jersey.spi.container.servlet.WebComponent filterFormParameters
WARNING: A servlet request, to the URI http://vmfp-oclipse.opentext.net/gateway/v1/setup, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
Feb 15, 2014 1:30:00 PM com.opentext.otag.api.PersistenceContext close
INFO: Closing persistence context for OTAG so it can be safely redeployed.
Feb 15, 2014 1:30:00 PM com.opentext.otag.api.PersistenceContext getEntityManagerFactory
INFO: Making an EntityManagerFactory for db persistence context "OTAG"
Feb 15, 2014 1:30:03 PM com.opentext.otds.client.OtdsRichClient <init>
INFO: OtdsRichClient constructed (http://vmfp-otds105.eng-muc.opentext.net:8080/otds-v2/services/authentication?wsdl)
Feb 15, 2014 1:30:03 PM com.opentext.otds.client.OtdsAdminClient <init>
INFO: OtdsRichClient constructed (http://vmfp-otds105.eng-muc.opentext.net:8080/otds-v2/services/authentication?wsdl)
Feb 15, 2014 1:30:03 PM com.opentext.otds.client.OtdsClientBase initializeConnectionWithRetry
INFO: initializeConnectionWithRetry(): Attempting connection #0 of 0
Feb 15, 2014 1:30:03 PM com.opentext.otds.client.UserGroupWSCallerV2 checkWebServiceResponseV2
SEVERE: No such object
Feb 15, 2014 1:30:03 PM com.opentext.otag.auth.OtdsInstaller getOrCreateResource
INFO: Created resource named OTAG
Feb 15, 2014 1:30:04 PM com.opentext.otds.client.UserGroupWSCallerV2 checkWebServiceResponseV2
SEVERE: No such object
Feb 15, 2014 1:30:04 PM com.opentext.otag.auth.OtdsInstaller createOtdsResource
SEVERE: com.opentext.otds.OtdsException: No such object
Feb 15, 2014 1:30:04 PM com.opentext.otds.client.OtdsRichClient close
INFO: OtdsRichClient closed(http://vmfp-otds105.eng-muc.opentext.net:8080/otds-v2/services/authentication?wsdl)
Feb 15, 2014 1:30:04 PM com.sun.jersey.spi.container.ContainerResponse logException
SEVERE: Mapped exception to response: 500 (Internal Server Error)
javax.ws.rs.WebApplicationException
    at com.opentext.otag.auth.OtdsInstaller.createOtdsResource(OtdsInstaller.java:277)
    at com.opentext.otag.auth.OtdsInstaller.connectToOtds(OtdsInstaller.java:120)
    at com.opentext.otag.rest.impl.SetupImpl.connectToOtds(SetupImpl.java:228)
    at com.opentext.otag.rest.impl.SetupImpl.doBasicConfig(SetupImpl.java:173)
    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:601)
    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:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.opentext.otag.rest.util.JsonpFilter.doFilter(JsonpFilter.java:67)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    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:722)

I see the OTAG resource created in OTDS, but not the otag user partition. Creating the otag user partition by hand leads to an error that a partition with the specified name already exists. How should I continue investigating this problem? Thanks!

6 Answers

0
BEST ANSWER: As chosen by the author.

Hi Ferdinand,

OTDS 10.5 Patch 2 introduced an incompatibility with the AppWorks Gateway setup.
Currently, the AppWorks Gateway must be setup to use OTDS 10.5 or 10.5 Patch 1 PRIOR to applying Patch 2.

We will be releasing a new version of the AppWorks Gateway which solves this problem shortly and will post to the forum when it becomes available via the downloads page.


0
BEST ANSWER: As chosen by the author.

Newbie question: how do I know which OTDS 10.5 I have with the AppWorks Gateway that's currently available for download?


1
BEST ANSWER: As chosen by the author.

Any uypdate on the new version of the gateway that will resolve this issue?
I need to add Tempo Box to an existing OTDS 10.5 Patch 2 environment and am unabel to proceed until this is fixed.
Thanks


0
BEST ANSWER: As chosen by the author.

Hi, Any ETA for AppWorks Gateway new version that supports OTDS 10.5 p2?
Thanks


0
BEST ANSWER: As chosen by the author.

The patch for AppWorks (1.1.6) is currently being processed for release. It should be available for download within the next 2 weeks.


0
BEST ANSWER: As chosen by the author.

Dear Support,

I am having a likely error with OTAG using OTCS resource in OTDS.

After the settings, when I click on "Save Changes", the partition is created in OTDS but the message error "Probelm Installing or Configuring OTDS" is diplayed.

OTDS is installed on a server different from OTCS server and from OTAG server.
Could you please help? Thanks a lot.

enter image description here

enter image description here

enter image description here

Error Gateway Last lines:

2014-11-07 10:29:56.579 INFO com.opentext.otag.auth.OtdsInstaller - Created user partition Otag

2014-11-07 10:29:56.626 INFO com.opentext.otag.auth.OtdsInstaller - Granted otag user partition members access to OTAG

2014-11-07 10:29:56.672 INFO com.opentext.otag.auth.IdentityService - Made admin user for internal user management; id is otdsadmin@Otag

2014-11-07 10:29:56.688 INFO com.opentext.otag.auth.IdentityService - added otdsadmin@Otag to admin group for OTAG's partition

2014-11-07 10:29:56.735 INFO com.opentext.otag.auth.IdentityService - Made OTAG administrator group; id is otagadmins@Otag

2014-11-07 10:29:56.782 INFO com.opentext.otag.auth.OtdsInstaller - Made admin user; id is otag@Otag

2014-11-07 10:29:56.891 INFO com.opentext.otag.auth.OtdsInstaller - added otag@Otag to otagadmins@Otag

2014-11-07 10:29:57.016 INFO com.opentext.otds.client.OtdsRichClient - OtdsRichClient closed(http://server:port/otds-v2/services/authentication?wsdl)

2014-11-07 10:29:57.016 INFO com.opentext.otds.client.OtdsClient - OTDSClientImpl constructed. resource ID='aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaaa'

2014-11-07 10:29:57.016 INFO com.opentext.otds.client.OtdsClientBase - initializeConnectionWithRetry(): Attempting connection #0 of 0

2014-11-07 10:29:57.157 ERROR com.opentext.otds.client.WebServiceOtdsCallerV2 - Error Code=1003 message=The resource is already activated

2014-11-07 10:29:57.157 ERROR com.opentext.otag.auth.OtdsInstaller - com.opentext.otds.OtdsException: Error Code=1003 message=The resource is already activated

2014-11-07 10:29:57.157 INFO com.opentext.otds.client.OtdsClient - OtdsClient closed

Error Catalina

Nov 07, 2014 10:25:28 AM com.sun.jersey.spi.container.servlet.WebComponent filterFormParameters
WARNING: A servlet request, to the URI http://server:port/gateway/v1/setup, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
Nov 07, 2014 10:29:51 AM com.sun.jersey.spi.container.servlet.WebComponent filterFormParameters
WARNING: A servlet request, to the URI http://server:port/gateway/v1/setup, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
Nov 07, 2014 10:29:57 AM com.sun.jersey.spi.container.ContainerResponse logException
SEVERE: Mapped exception to response: 500 (Internal Server Error)
javax.ws.rs.WebApplicationException

at com.opentext.otag.auth.OtdsInstaller.activateOtdsResource(OtdsInstaller.java:429)
at com.opentext.otag.auth.OtdsInstaller.connectToOtds(OtdsInstaller.java:124)
at com.opentext.otag.rest.impl.SetupImpl.connectToOtds(SetupImpl.java:229)
at com.opentext.otag.rest.impl.SetupImpl.doBasicConfig(SetupImpl.java:174)
at com.opentext.otag.rest.v1.Setup.doBasicConfig(Setup.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

 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.