Oracle Glassfish Server - 'javax.xml.stream.XMLStreamException: java.net.ConnectException: Connection Timed Out' When Making Web Service Call (Doc ID 1542376.1)

Last updated on APRIL 04, 2017

Applies to:

Oracle GlassFish Server - Version 3.1.2 and later
Information in this document applies to any platform.

Symptoms

Configure a JNDI resource with a web services URL, http://<hostname>:<port> . When the application tries to make a call to this URL, it runs for a long while and then outputs the following java errors.

 

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