Cannot Login To HTTPS Java Client With Error "Application Could Not Be Started"

(Doc ID 2422054.1)

Last updated on JULY 11, 2018

Applies to:

Oracle Agile Engineering Data Management - Version 6.2.0.0 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
When attempting to Login to Java Client through https the following error occurs.

ERROR
Application could not be started

<Java Console Log>

ERROR 2018-06-14 16:19:43,357 [ClientWorker] - com.agile.eci.ConnectionException: Could not resolve the ip adress of: XXXX.YYYY
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.agile.plmapi.eci.ws.PlmApiWebServiceHandler.call(PlmApiWebServiceHandler.java:278)
at com.agile.plmapi.eci.ws.PlmApiWebServiceHandler.connect(PlmApiWebServiceHandler.java:208)
at com.agile.plmapi.eci.ws.PlmApiWebServiceHandler.<init>(PlmApiWebServiceHandler.java:123)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.agile.eci.EciProtocolHandlerFactory.createHandlerInstance(EciProtocolHandlerFactory.java:139)
at com.agile.eci.EciProtocolHandlerFactory.createHandler(EciProtocolHandlerFactory.java:109)
at com.agile.eci.EciCon.init(EciCon.java:1462)
at com.agile.plmapi.eci.ws.PlmApiWebServiceClient.<init>(PlmApiWebServiceClient.java:73)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.agile.share.lang.ClassHelper.newInstance(ClassHelper.java:508)
at com.agile.plmapi.api.impl.PlmSessionImpl.createClient(PlmSessionImpl.java:430)
at com.agile.plmapi.api.impl.PlmSessionImpl.getConnection(PlmSessionImpl.java:383)
at com.agile.plmapi.api.impl.PlmSessionImpl.open(PlmSessionImpl.java:314)
at com.agile.plmapi.eci.session.PlmApiSessionHandler.connect(PlmApiSessionHandler.java:99)
at com.agile.plmapi.eci.session.PlmApiSessionHandler.<init>(PlmApiSessionHandler.java:76)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.agile.eci.EciProtocolHandlerFactory.createHandlerInstance(EciProtocolHandlerFactory.java:139)
at com.agile.eci.EciProtocolHandlerFactory.createHandler(EciProtocolHandlerFactory.java:109)
at com.agile.eci.EciCon.init(EciCon.java:1462)
at com.agile.plmapi.eci.session.PlmEciCon.init(PlmEciCon.java:53)
at com.agile.eci.EciCon.connect(EciCon.java:151)
at com.agile.eci.EciConnectionFactory.connect(EciConnectionFactory.java:81)
at com.agile.jacc.e6.DaemonConnectAction$ClientWorker.construct(DaemonConnectAction.java:365)
at com.agile.jacc.e6.DaemonConnectAction$ClientWorker.construct(DaemonConnectAction.java:322)
at com.agile.share.swing.SwingWorker$2.run(SwingWorker.java:176)
at java.lang.Thread.run(Unknown Source)



FACT
1. In the Server itself the address XXXX.YYYY could also not be resolved.
2. Added an entry with the internal IP address for XXXX.YYYY into the hosts file so that it now can be resolved internally. This leads to a different error message in the Java Console.
<Java Console Log>

ERROR 14.06.18 16.51 [ClientWorker] - com.agile.eci.ConnectionException: Could not create a socket!
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.agile.plmapi.eci.ws.PlmApiWebServiceHandler.call(PlmApiWebServiceHandler.java:278)
at com.agile.plmapi.eci.ws.PlmApiWebServiceHandler.connect(PlmApiWebServiceHandler.java:208)
at com.agile.plmapi.eci.ws.PlmApiWebServiceHandler.<init>(PlmApiWebServiceHandler.java:123)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.agile.eci.EciProtocolHandlerFactory.createHandlerInstance(EciProtocolHandlerFactory.java:139)
at com.agile.eci.EciProtocolHandlerFactory.createHandler(EciProtocolHandlerFactory.java:109)
at com.agile.eci.EciCon.init(EciCon.java:1462)
at com.agile.plmapi.eci.ws.PlmApiWebServiceClient.<init>(PlmApiWebServiceClient.java:73)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.agile.share.lang.ClassHelper.newInstance(ClassHelper.java:508)
at com.agile.plmapi.api.impl.PlmSessionImpl.createClient(PlmSessionImpl.java:430)
at com.agile.plmapi.api.impl.PlmSessionImpl.getConnection(PlmSessionImpl.java:383)
at com.agile.plmapi.api.impl.PlmSessionImpl.open(PlmSessionImpl.java:314)
at com.agile.plmapi.eci.session.PlmApiSessionHandler.connect(PlmApiSessionHandler.java:99)
at com.agile.plmapi.eci.session.PlmApiSessionHandler.<init>(PlmApiSessionHandler.java:76)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.agile.eci.EciProtocolHandlerFactory.createHandlerInstance(EciProtocolHandlerFactory.java:139)
at com.agile.eci.EciProtocolHandlerFactory.createHandler(EciProtocolHandlerFactory.java:109)
at com.agile.eci.EciCon.init(EciCon.java:1462)
at com.agile.plmapi.eci.session.PlmEciCon.init(PlmEciCon.java:53)
at com.agile.eci.EciCon.connect(EciCon.java:151)
at com.agile.eci.EciConnectionFactory.connect(EciConnectionFactory.java:81)
at com.agile.jacc.e6.DaemonConnectAction$ClientWorker.construct(DaemonConnectAction.java:365)
at com.agile.jacc.e6.DaemonConnectAction$ClientWorker.construct(DaemonConnectAction.java:322)
at com.agile.share.swing.SwingWorker$2.run(SwingWorker.java:176)
at java.lang.Thread.run(Unknown Source)

STEPS
The issue can be reproduced at will with the following steps:
1. Login to Java Client

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms