Consuming Web Service Generated from PL/SQL Package, Got Serialization Error: java.sql.SQLException: Closed Connection (Doc ID 1056338.1)

Last updated on FEBRUARY 10, 2017

Applies to:

Web Services - Version 10.1.3.5 and later
Information in this document applies to any platform.
***Checked for relevance on 15-Oct-2012***

Symptoms

When attempting to call web services generated from PL/SQL package using JDeveloper 10.1.3.5, it works fine locally but when creating WAR File and deploy it to AS 10.1.3.5 and calling the deployed WS with the same input parameters like before, the following error occurs:

ERROR
---------
Internal Server Error (serialization error: java.sql.SQLException: Closed Connection

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