Error when substracting 2 dates in Packgage using toad

Hi there , I am having a problem when calculating dates in a package usiong Toad.
I have my function :
FUNCTION PORTFOLIO_MEMO_RPT_Sql
( schema_name IN  VARCHAR2
  , select_business_date IN  DATE
) RETURN VARCHAR2
SELECT DISTINCT
       Case
    when NVL(TO_DATE(''09/24/2013'',''MM/DD/YYYY'') - DECODE(mn.Active, 1, mn.DueDate, sc.DueDate ),0) = 0 then ''0Days''
    when NVL(''' || select_business_date  || '''   - DECODE(mn.Active, 1, mn.DueDate, sc.DueDate ),0) = 0 then .....
when I give it my variable from outside , it is not working......but when I use a date inside, it works.
Please note I call my function from outside like :
SELECT * FROM  TABLE ( FI_rpt.Fi_Rpt_Pkg_loan.PORTFOLIO_MEMO_RPT (sys_context('userenv','session_user'),TO_DATE('09/24/2013','MM/DD/YYYY')) ) 
Any help ?

Hi,
Once again, post a complete test script that people can run to re-create the problem.
The script just has to show the problem you need to solve.  If it's difficult to post the acutal tables that get the actaul results you need, then post something simpler that just shows the part you don;'t understand.
It looks like the part you don't understand is: "How can I create dynamic SQL with a DATE datatype?"
For example, say you need a function that takes 2 arguments: a table name and a DATE (cutoff_date), and it returns the number of rows in that table where hiredate>=cutoff_date.  That is, given the scott.emp table, we'd like to write a query such as this:
SELECT    ename, hiredate
,         hired_since ('SCOTT.EMP', hiredate)  AS h
,         hired_since ('SCOTT.EMP', SYSDATE)   AS t
FROM      scott.emp
ORDER BY  hiredate;
and have it produce resutls like this:
ENAME      HIREDATE             H          T
SMITH      17-Dec-1980         14          0
ALLEN      20-Feb-1981         13          0
WARD       22-Feb-1981         12          0
JONES      02-Apr-1981         11          0
BLAKE      01-May-1981         10          0
CLARK      09-Jun-1981          9          0
TURNER     08-Sep-1981          8          0
MARTIN     28-Sep-1981          7          0
KING       17-Nov-1981          6          0
JAMES      03-Dec-1981          5          0
FORD       03-Dec-1981          5          0
MILLER     23-Jan-1982          3          0
SCOTT      19-Apr-1987          2          0
ADAMS      23-May-1987          1          0
where the h column is the number of people hired since the hiredat in the output, and the t column is the number of people hired on or after run time, which will, of course, be 0.
You assemble the dynamic SQL statement using || operators to connect strings.  As you pointed out, as string like
TO_DATE ('09/24/2013', 'MM/DD/YYYY')
woule work very nicely, but we're dealing with a DATE, not a string.  We could use TO_CHAR to create a string like that from the given DATE, but there's a much better way.  Pass the cutoff_date in to the dynamic SQL statement as a DATE, using a buind varible, like this:
CREATE OR REPLACE FUNCTION  hired_since
(   table_name   IN  VARCHAR2
,   cutoff_date  IN  DATE
RETURN NUMBER
IS
    return_val  NUMBER;
    sql_txt VARCHAR2 (1000);
BEGIN
    sql_txt := 'SELECT  COUNT (*)'
            || ' FROM ' || table_name
            || ' WHERE  hiredate >= :1';
    dbms_output.put_line (sql_txt || ' = sql_txt in hired_since'); -- For debugging only
    EXECUTE IMMEDIATE sql_txt
    INTO              return_val
    USING             cutoff_date;
    RETURN  return_val;
END  hired_since;
SHOW ERRORS

Similar Messages

  • Error when reading data from XML using JAXB?

    Hi all,
    I get the error message when reading data from XML using JAXB.
    [org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.]
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException
    (AbstractUnmarshallerImpl.java:315)
         at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:481)
         at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:199)
         at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:142)
    I don't find the reason, please help!
    Thanks in advance!

    The problem is sovled.

  • Double character input error when entering data in numbers using Bluetooth keyboard.

    Using a bluetooth keyboard (Logitech) sometimes causes a double character input when entering data in numbers.
    For example if wish to enter the number "22" or the word "in" they become "2222" and "iinn". Pressing enter of tab also causes a double jump
    This problem is not always solved by turning keyboard off and on or by closing down and restarting numbers.
    This problem does not occur in any other app.
    I have used 2 different Logitech keyboards (ultra-slim and the recently new folio keyboard) and both caused the same problem.
    The error is sporadic but frequent and has lead to me often having to switch back to touch input.
    Very frustrating considering these excellent keyboards are ideal for using in numbers when working correctly!
    ANy advice would be much appreciated

    Zombie,
    Not much help I'm afraid, but I just saw your post & wanted to let you know that I have the same problem, but for me it manifests itself in many apps, and it happens with the Apple bluetooth keyboard
    . The only thing I've noticed is that it only seems to happen when I first start typing after not using the keyboard for a while (I'm not sure how long a while is, but maybe 30 seconds or so). Then I'll type & the first few letters will be fine, and then one letter double-types, and then it's fine again until I stop using it for whatever the threshold amount of time is. I'm guessing that it has something to do with the iPad's battery management & that it's shutting off the connection to the keyboard or something & once it picks it back up, then it double-types that letter.
    At least in Pages, it isn't as big of a deal because I know it's coming, I can correct it & then type for a long time. In Numbers, my keyboard use is much less consistent, so I need to be more cognisant of it.

  • Using the latest version of Firefox for business when I access this site get corruped data error when downloading .dat files.It used to work

    When I acess this site I can not download .dat files get a corrupted data error

    <i>Moderator Comment<br>
    (Duplicate thread closed. Continue at [/questions/1000178]) -m) </i>

  • Can anyone list problems/errors when uploading data using BDC's and BAPI's?

    Can anyone list the problems/errors when uploading data using BDC's and BAPI's?

    Hi,
    If you are actually creating a BDC to load data pls be more specific.
    Data format incorrect. Tab delimited/ etc
    Dates in wrong formats
    Currency incorrect formats
    Missing screens
    Wrong transaction code
    File not found,
    Missing Mandatory fields,
    Screen resoultion.
    You should always use refresh for your Bdcdata table.
    Loop at internal table.
    refresh Bdcdata.
    regards,
    sowjanya.

  • Error when reading data from socket

    Hi,
    I am getting the error 'NiRawReadError: An error occured when reading data from socket.' when using the ABAP API  'mo_core_service->invoke_matching'.
    And I get this error only when I pass ABAP_TRUE to the paramter 'iv_wait_for_invocation' .
    Can anybody help me in correcting this?

    Hi Narasa,
    The following error is already in discussion in the below forum.Plz consult the forum link you will find the error solution.
    Problem in ABAP API - NiRawReadError: error when reading data from socket
    Rgds
    Ankit

  • Error when extracting data with extractor 2lis_04_matnr - NEED HELP ASAP !!

    Hi experts!
    Got an error when extracting data with extractor 2lis_04_matnr.
    System says (short dump):
    DUMP TEXT START----
    Runtime error:    CONNE_IMPORT_WRONG_COMP_TYPE
    Exception:   CX_SY_IMPORT_MISMATCH_ERROR
    Error when attempting to import object "MC04P_0MAT_TAB".
    The current ABAP program "SAPLMCEX" had to be terminated because one of the statements could not be executed. This is probably due to an error in the ABAP program. When attempting to import data, it was discovered that the data type of the stored data was not the same as that specified in the program.
    An exception occurred. This exception is dealt with in more detail below. The exception, which is assigned to the class 'CX_SY_IMPORT_MISMATCH_ERROR', was neither caught nor passed along using a RAISING clause, in the procedure  "MCEX_BW_LO_API" "(FUNCTION)".                                                                             
    Since the caller of the procedure could not have expected this exception      
    to occur, the running program was terminated.                                
    The reason for the exception is:  When importing the object "MC04P_0MAT_TAB", the component no. 5 in the dataset has a different type from the corresponding component of the target object in the program "SAPLMCEX". <b>The data type is "D" in the dataset, but "C" in the program.</b>
    DUMP TEXT END----
    Please, can someone explain me how to solve it? 
    Really need help ASAP!
    Thanks in advance,
    Jaume
    Message was edited by:
            Jaume Saumell
    Message was edited by:
            Jaume Saumell

    Hi,
    Check this note: 328181
    So you need to delete entries in SM13/LBWQ for application and also detup table content.
    And then refill teh set up table.
    If you are in production clear the entries by running collective run no of times for this application 04.
    With rgds,
    Anil Kumar Sharma .P

  • IR webclient: error when uncompressing data retrieved: *Data Error*!

    A small (?) number of IR webclient 931 installations we notice the next error when processing: " error when uncompressing data retrieved: *Data Error*! " It does not seem to be user or permission/provision related.
    Does anyone have an idea how to solve it. Reinstalling the IR webclient does not solve it.

    Hi there, I got to the point where I found the cause, but now I still need to solve it. perhaps anyone can give me a hint.
    931 bqy's are stored on server as zip files. (although they are renamed as *.1) On 832 they were stored as bqy files (although they were renamed to *.1 too).
    The clients which had the error message tried to open their 931 documents with the 832 plugin. Which does not have the capebility to uncompress the .1 file. In that perspective is the error message very obvious.
    We need to run both 832 intelligence plugin and the 931 webclient on the same client.
    How can we force that the corrcet version is used for openeing the docs?

  • Error when sending data request

    Hi All,
       i have scheduled info package for different type data sources in bi 7.0, for this i am getting the data from  ecc 6.0 . all of this schedule's showing  the status "error when sending data request" with the following details.
    status
    diagnosis
    the request idoc could not be sent to the source system using rfc
    system response
    there is an idoc in the warehouse outbox that did not arrive in the ale inbox of the source system
      in step by step analysis it is showing
       rfc to source system successful showing with ash status
       data selection successfully stated  and finished ? show with red status
    in that details tab
    request : showing with green status
    everything ok
    extraction :showing with red status
    missing messages
    transfer(idocs and trfc) : missing messeges
    processing(data packet) : no data
        it is showing technical status with red as processing overdue
                           processing step call to source system
       so it is showing error with 0 from 0 records.
    please any body could help me for solving this error.
    regards,
    naveen.

    Hi
    Seems you have connectivity issues between the Source system and Bi system.
    You need to check whether you have data on R/3 side via RSA3 with Full / Delta Update Modes with Target System as your BI system.
    RSA13--Source System -- Right click Connection parameters/check/Restore/Activate again Say Replicate All Data Sources (If Possible , provided if you have time because it consumes lot of time )
    You need to check the tRFC Queue SM58/59 for any Stucks and WE19/20 for IDocs.
    Much of BASIS Issue .
    Hope it helps and clear

  • Error when getting data (RSDRI_CUBE_READ) - RSCRM_BAPI

    Hello Gurus,
                I am getting a error when I try to create a extract using RSCRM_BAPI using Process Chain.
                I created a job and used that in the Process Chain, Once I run the Process Chain it is executing and
               the job is deleted and the extract gives me this error in the Monitor.
                Error Message - Error when getting data (RSDRI_CUBE_READ)
                If I run manually I am able to see the extracted records.
                Please help.
    Regards,
    Raj

    Hi,
    "Unknown error when executing MDX" is msg number BRAINOLAPAPI012.
    Check out these 3 SAP notes:
    1091523 MDX: System error in connection with named sets
    1252372 OLE DB for OLAP: Additional corrctions for new MDX parser  
    1282785 MDX: System error "Invalid MDX command with <internal>     
    Also test in transaction MDXTEST to see if your statements are syntactically correct.
    Rgds,
    Colum

  • EPM11.1.1.2:error when uncompressing data retrieved

    After I open a BQY in IR WEB client and click the "table",there is an error happened. The error message is "error when uncompressing data retrieved:*Data Error*". My IE has no google toolbar or any other toolbar. What's wrong?

    Hi there, I got to the point where I found the cause, but now I still need to solve it. perhaps anyone can give me a hint.
    931 bqy's are stored on server as zip files. (although they are renamed as *.1) On 832 they were stored as bqy files (although they were renamed to *.1 too).
    The clients which had the error message tried to open their 931 documents with the 832 plugin. Which does not have the capebility to uncompress the .1 file. In that perspective is the error message very obvious.
    We need to run both 832 intelligence plugin and the 931 webclient on the same client.
    How can we force that the corrcet version is used for openeing the docs?

  • IRWebclient: error when uncompressing data retrieved: *Data Error*!

    We experience a sporadic "error when uncompressing data retrieved: *Data Error*!" while processing a query with IR webclient 931. The problem occurs on several webclients but on other desktops it does not. The IHTML processes fine.
    Any one an idea? reinstalling interactive webclient on the same pc does not help.
    Completely reinstall the pc (os and other client software including interactive webclient) does help.

    Hi there, I got to the point where I found the cause, but now I still need to solve it. perhaps anyone can give me a hint.
    931 bqy's are stored on server as zip files. (although they are renamed as *.1) On 832 they were stored as bqy files (although they were renamed to *.1 too).
    The clients which had the error message tried to open their 931 documents with the 832 plugin. Which does not have the capebility to uncompress the .1 file. In that perspective is the error message very obvious.
    We need to run both 832 intelligence plugin and the 931 webclient on the same client.
    How can we force that the corrcet version is used for openeing the docs?

  • Activating DemoContent: Error when reading data target

    I'm trying to activate the SAP Demo cube <i>Purchasing Data</i> (0D_PU_C01). The Grouping Mode is set to <i>In Dataflow Before and Afterwards</i>.
    When I simulate installation, I get the error message <b>Error when reading data target 0D_PU_C01</b> (Message no. RSAU126) in the logs (although in the Collection Area the Simulation Result column is marked with a green check).
    I could find only 2 notes related to this error in the SAP Service Marketplace. SAP note nr. 540873 is about the BW indexing job. Note nr. 587796 (Error in after import of update rules) seams more appropriate, however not thoroughly right. In fact it refers to <b>BW 3.1 Content</b> or <b>BW 3.0B</b>.
    My system version instead is:
    BI_CONT 353
    SAP_BW 350
    The very same problem occurs when I try to activate the SAP Demo <i>Sales and Distribution</i>.
    Any suggestion?
    Thanks, Davide

    Ok, it worked! Now however I have some more doubts.
    1. I can't find the InfoObjects (e.g. 0D_GR_QTY, 0D_PLANT, 0D_MATERIAL, etc.) anywhere in <i>Modeling -> InfoObjects</i>, even if:
      a) I can find them under the <i>InfoSource</i> tree of the <i>SAP Demo</i> Application Component
      b) they appear activated in <i>Business Content</i>
    What's going on?
    2. The newly activated <i>Purchasing Data</i> cube has been added to the <i>Unassigned Nodes</i> InfoArea, and not to a newly created SAP Demo Purchasing (0D_MMPUR) InfoArea, similarly to the structure I saw when collecting the InfoProvider in Business Content. Is this the normal behaviour?
    3. No DataSource has been assigned to any of the InfoSources. I read at:
    http://help.sap.com/saphelp_erp2004/helpdata/en/43/57df37463a126ae10000009b38f842/content.htm
    that the <i>SAP Demo</i> Source System will be used. What I can't understand is if I need to manually create and select this Source System. I thought it would be automatically created and assigned during the Business Content's cube activation. This is not the case. What steps would I have needed to perform?
    Davide

  • Keep getting this error when ever I try to use the CC_2014

    keep getting this error when ever I try to use the CC_2014 InDesign
    Unable to launch Adobe InDesign as you do not have sufficient permissions to access the preferences folders. Ensure that you have appropriate permissions and then restart Adobe InDesign.
    Also have Ai quit out on me in the CC_2014.
    This is very frustration since I use these the most

    For MAC try to give permissions to Adobe Indesign Folder:
    Users/[user]/Library/Caches/Adobe InDesign
    Users/[user]/Library/Preferences/Adobe InDesign
    Access hidden user library files | Mac OS 10.7 and later
    For Windows try to give permissions to Adobe Indesign Folder:
    C:\Users\[username]\AppData\Roaming\Adobe\InDesign
    C:\Users\[username]\AppData\Roaming\Adobe\InDesign
    Also you can try logging in under a local administrator account as suggested by jeff.

  • Gettign this error when trying to access webpage using JRE V 1.4.2_06

    Gettign this error when trying to access webpage using JRE V 1.4.2_06
    Any suggestions?
    java.io.IOException
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
    at sun.plugin.cache.FileCache.get(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
    ... 21 more
    java.io.IOException
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
    at sun.plugin.cache.FileCache.get(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
    ... 21 more
    load: class com.adp.e.hrclient.Client.class not found.
    java.lang.ClassNotFoundException: com.adp.e.hrclient.Client.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)

    I got it, i only had to check the option 'Use SSL 2.0 compatible ClientHello format' from the java's control panel advanced tab.
    Metalink's note: 787739.1
    :)

Maybe you are looking for

  • Value Mapping in XSLT

    Hello, I am implementing value mapping in XSLT using template I call following template to retrieve the value from ID.... <xsl:template name="NonMerchandiseSaleValueMapping"> <xsl:param name="GMNonMerchandiseType"/> <xsl:value-of select="vm:executeMa

  • Dropdown in table element using webDynpro for ABAP

    Hi All, My requirement is: i have a dropdown in table ui element . before i do a bind_table with context , my dropdown should be loaded. how to do this ?? pls help me with sample code. thanks, Hema.

  • Enclosing an int variable in a statement

    hello i have a problem that i can't seem to solve i have a database with for example: name=varchar number=int now i want a statement: int n = 4; select name where number=n; i know i have to use '"+n+"' if it is a String but i don't know what to do wi

  • Ad-hoc currency

    hi, what is Ad-hoc currency Thanking u suneel.

  • Variable: AreaLinePt in Diadem 9.0

    When I try to execute the following lines to set the frame I get an error saying "Invalid Vector or Matrix Index" AreaLinePt(1,1) = 2 AreaLinePt(1,2) = 67 AreaLinePt(1,3) = 87 AreaLinePt(1,4) = 79 the PicObjMaxSize = 100. Can you please help me to re