Friday, 8 September 2017

Error while testing service in EM ADF_FACES-60096: Server Exception during PPR, #8 java.io.IOException: Stream closed

I came across the below error when I tried to test deployed SOA service on EM. This problem started after a server restart.

ADF_FACES-60097: For more information, please see the server's error 
log for an entry beginning with ADF_FACES-60096 server Exception during PPR,#8

ISSUE -

Post logging into EM, when any of the SOA composite is attempted to be tested by clicking the TEST button, A popup with the above error can be seen. This issue can be user specific i.e. might occur for one of the user while other users might not face the same.
The details of the error are captured in admin log file.


AdminServer] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator]
[tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)']
[userId: weblogic] [ecid: bdd06acffce2e19a:26bccba1:15e577c16ae:-8000-00000000000002bf,0]
[APP: em] ADF_FACES-60096:Server Exception during PPR, #8[[
java.io.IOException: Stream closed
          at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
          at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
          at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
          at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:377)
          at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:315)
          at oracle.jsp.parse.XMLUtil.getDocument(XMLUtil.java:447)

Cause-

The reason is corrupt files for the specific user. Hence removing the corrupt files for particular user and restarting the server will help resolve the issue as files will be regenerated on server restart.


Solution -

    1)    Stop the server

    2)  Under domain home look for the username that is facing the issue.
In my case below are the directories from where I removed all the existing xml files. Take backup of all files before deleting.

$DOMAIN_HOME/sysman/mds/partition1/ai/sca/share/audit/mdssys/cust/user/weblogic
$DOMAIN_HOME/sysman/mds/partition1/as/wsmgt/mdssys/cust/user/weblogic
$DOMAIN_HOME/sysman/mds/partition1/oracle/sysman/mds/files/model/mdssys/cust/user/weblogic
$DOMAIN_HOME/sysman/mds/partition1/oracle/sysman/mds/files/model/template/splitters/mdssys/cust/user/weblogic


     3)  Restart the server


HAPPY LEARNING!!!!

1 comment:

Demystifying getActiveUnitofWork property of DB Adpater

Here in this I am going to discuss one of the interaction options available in Database adapter configuration, getActiveUnitofWork The p...