Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javax.net.ssl.SSLException: Received fatal alert: internal_error when calling HttpURLConnection.getO

user940663Jan 19 2016 — edited Jan 19 2016

I am trying to make a web service call using SOAPConnection.call(). The call is successful about 50% of the time. But some of the time it fails with a

com.sun.xml.messaging.saaj.SOAPExceptionImpl: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed

exception. I am using saaj-impl-1.3.25.jar as my SAOP api. I setup source code for this library and am able to step to a call to get an output stream. The call is: OutputStream out = httpConnection.getOutputStream(); on line 252 of HttpSOAPConnection. This call results in a javax.net.ssl.SSLException: Received fatal alert: internal_error exception about 50% of the time. I added retry feature to my code where I retry the SOAPConnection.call() and most of the time the call is successful on the second attempt. Note that I don't make any changes to my SOAPMessage that I pass in as the request when I retry the call. I'm at a loss for what could be happening...

BTW: I'm using Java 1.8.0.66 and this problem started when I migrated from 1.7.0.79.

Comments

kuljeet singh -
if using exp give full path in FILE parameter
incase of expdp create directory with full path where you want to store dmp.
875255
im using exp. how to give parameters
Mahir M. Quluzade
Answer
If your dmp file in C:\Documents and Settings\user\TEST.dmp
You can copy to D:\DUMPS\TEST.dmp and use this file with IMP as
  imp user/password file='D:\DUMPS\TEST.DMP' 
Regards
Mahir M. Quluzade
Marked as Answer by 875255 · Sep 27 2020
875255
do we have an option like some software which automatically(makes backup after a specified period like after every hour) makes backup of the whole database as .dmp and saves it to specified location?????
JustinCave
1) Although a dump file is a logical backup, I sincerely hope you are not using it as your primary method of backing up a database. You need physical backups (RMAN or user-managed). Logical backups can compliment but not replace physical backups.

2) You could certainly schedule the export utility to run regularly and to write files to whatever location you desire. It would be exceedingly unusual to want a full database export every hour however. That generally implies that you're doing something wrong.

3) This doesn't appear to relate to database security. It would probably be more appropriate in the Export/Import/SQL Loader and External Tables forum or even in the Database - General forum.

Justin

Edited by: Justin Cave on Jun 23, 2012 1:30 AM
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 16 2016
Added on Jan 19 2016
0 comments
1,979 views