AppWorks Gateway Setup - OTDS setup failure

Options

I am trying to setup the AppWorks Gateway server for development purpose. I followed the steps given in "Appworks Gateway 16.5 installing". Managed to reach till the otds configuration step. At otds configuration I have tried both the options but end up with the below error. can anyone help me to resolve this issue?

ERROR api.util.RestHelper - Internal Error - null
com.opentext.otag.exception.OTAGException: null
at com.opentext.otag.auth.otds.OtdsInstaller.isLocalOtdsInstalled(OtdsInstaller.java:163) ~[classes/:?]
at com.opentext.otag.api.service.impl.SetupBeanImpl.installLocalOtds(SetupBeanImpl.java:686) ~[classes/:?]
at com.opentext.otag.api.service.impl.SetupBeanImpl.setupOtds(SetupBeanImpl.java:671) ~[classes/:?]
at com.opentext.otag.api.service.impl.SetupBeanImpl.stageTwoOtdsConfig(SetupBeanImpl.java:243) ~[classes/:?]
at com.opentext.otag.api.service.impl.SetupBeanImpl.stageTwoOtdsConfig(SetupBeanImpl.java:197) ~[classes/:?]
at com.opentext.otag.api.endpoints.admin.SetupResource.lambda$doStageTwoOtdsConfig$1(SetupResource.java:62) ~[classes/:?]
at com.opentext.otag.api.util.RestHelper.doRun(RestHelper.java:51) [classes/:?]
at com.opentext.otag.api.util.RestHelper.doRun(RestHelper.java:45) [classes/:?]
at com.opentext.otag.api.endpoints.admin.SetupResource.doStageTwoOtdsConfig(SetupResource.java:61) [classes/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [jersey-server-2.8.jar:?]
at .......