ODBC failure with plsql

I have Oracle9i Client 9.0.1.1.1 and Oracle ODBC Driver 9.1.0.1 installed. When I connect to the remote database with the ADODB activex object with this driver, I get different results running the ADODB.execute command on a plsql procedure depending on the version of the database I am connecting to.
If I am connecting to an Oracle9i 9.2.0.1.0 database, the plsql executes successfully. If I am connecting to an Oracle8i 8.1.7.2.0 database, the plsql fails.
Running the ODBC trace gives two different syntaxes for the different calls also.
Oracle9i 9.2.0.1.0 shows:
Processid:{3D14 714-7d8     ENTER SQLExecDirectW
          HSTMT 00A54850
          WCHAR * 0x024D0E50 [     131] "{ call intp.bline_str_create.createStr(2003, 'VCO', 'W', 'C108010102', 'test', 'C.1.08.01.01.02.CC', 'OE', '062690', '', '', 'F') }"
          SDWORD 131
Processid:{3D14 714-7d8     EXIT SQLExecDirectW with return code 0 (SQL_SUCCESS)
          HSTMT 00A54850
          WCHAR * 0x024D0E50 [     131] "{ call intp.bline_str_create.createStr(2003, 'VCO', 'W', 'C108010102', 'test', 'C.1.08.01.01.02.CC', 'OE', '062690', '', '', 'F') }"
          SDWORD 131
while Oracle8i 8.1.7.2.0 shows:
Processid:{3D14 714-7d8     ENTER SQLExecDirectW
          HSTMT 00A54CD8
          WCHAR * 0x024D8728 [     114] "idaho.ifpapk_manage_task.add_task('COS', 568, 'C.1.08.01.01.02.A1', 'test', 'test', '09/30/2002', '01/01/4712', 0)"
          SDWORD 114
Processid:{3D14 714-7d8     EXIT SQLExecDirectW with return code -1 (SQL_ERROR)
          HSTMT 00A54CD8
          WCHAR * 0x024D8728 [     114] "idaho.ifpapk_manage_task.add_task('COS', 568, 'C.1.08.01.01.02.A1', 'test', 'test', '09/30/2002', '01/01/4712', 0)"
          SDWORD 114
          DIAG [37000] [Oracle][ODBC][Ora]ORA-00900: invalid SQL statement
(900)
Please help.

My mistake on the ODBC Driver Verion number - Sorry. I was using the Oracle ODBC Driver version 9.0.1.0.1. We upgraded to the 9.0.1.5 Oracle ODBC driver with no success.
The Oracle 8.1.7.2 database I am connecting to in the failed instance is not willing, at this time, to upgrade. It is in their plans for the future which doesn't help me.
The syntax for the failing call to the PLSQL is:
opConn.ConnectionTimeout = 60;
     opConn.CommandTimeout = 60;
     opConn.Open(Session("OP_ConnectionString"),
Session("OP_User"),
Session("OP_Password"),
     strQuery2 = "idaho.ifpapk_manage_task.add_task('"
                    + usernameU + "', " + proj_id + ", '"
                    + tt_number + "', '" + tt_name + "', '"
                    + tt_description + "', '"
                    + tt_start_date + "', '"
                    + tt_completion_date + "', "
+ cn_parent_task_id + ")";
opConn.Execute(strQuery2);
I know the connection is getting made - I can perform a Select statement successfully.
Thanks.

Similar Messages

  • ODBC failure with stored procedure

    Procedure runs without error when started from term window. Procedure will run from access using pass through query (module) iff one of the queries is commented out. If the query is present, I receive an ODBC failure on the record insert. It acts like a timing problem but I can't find the place to set it.
    ANY help appreciated.

    I'm assuming that your error is:
    Newmars ea-fa     ENTER SQLExecDirectW
              HSTMT 09DD2910
              WCHAR * 0x0012BA00 [      -3] "BEGIN MARS_BIGSUM_PROCEDURE; END;\ 0"
              SDWORD -3
    Newmars ea-fa     EXIT SQLExecDirectW with return code -1 (SQL_ERROR)
              HSTMT 09DD2910
              WCHAR * 0x0012BA00 [      -3] "BEGIN MARS_BIGSUM_PROCEDURE; END;\ 0"
              SDWORD -3
              DIAG [S1T00] [Oracle][ODBC][Ora]ORA-01013: user requested cancel of current operation
    ORA-06512: at "HQADM.MARS_BIGSUM_PROCEDURE", line 87
    ORA-06512: at line 1
    (1013)
    although I'm not sure whether the earlier error
    Newmars ea-fa     EXIT SQLExecDirectW with return code -1 (SQL_ERROR)
              HSTMT 09DD17D0
              WCHAR * 0x1B0741C8 [      -3] "SELECT Config, nValue FROM MSysConf\ 0"
              SDWORD -3
              DIAG [S0002] [Oracle][ODBC][Ora]ORA-00942: table or view does not exist
    (942)
    is important.
    For the timeout error, the most likely problem is that Access is putting a timeout on the call, and requesting that the driver cancel the query if it takes too long. Ideally, you'd be able to adjust the timeout parameter in Access, but I'm not aware of a way to do that. You can disable query timeout at the DSN level, though, there's a checkbox in the configuration screen for the DSN. This will disable query timeout for every application that uses the DSN, though.
    For the table not found error, that's indicating that there's no table named MSysConf in whatever schema you're connected to.
    Justin

  • Jdbc:odbc problem with SqlDeveloper

    Hi Forum!
    My organization is evaluating moving to SQL Developer, the only obstacle for this is that we are running Oracle RDB on a VAX machine, RBD requires a special client driver that is able to work with ODBC, which is what we usually do, I am trying to setup a connection using an ODBC DSN with jdbc:odbc:DSNName, I tested this same JDBC URL with a small java class and it runs just fine, so the problem is that in SQL Developer I get an "Failure: -invalid connection information specified. Verify the URL format for the specified driver".
    * Has anyone been successful in configuring an ODBC connection on SQL Developer?
    * Any suggestion as to how to connect to Oracle RDB using SQL Developer on Windows XP?
    Thanks a lot!
    Ignacio

    Hi,
    My experience is the following:
    - Install Oracle SQL services 7.2 on Alpha machine.
    - Configure an OCI (SQLNET) service in SQL services layer.
    - Prepare my Rdb database 7.2 to run SQLNET (RDB_NATCONN scripts) and depending on version add users.
    - configure the SQLNET layer (TNSNAME) on client side (warning the default VLS listener port is 1527 on VMS instead 1521).
    - start SQL Developper and connect Rdb database via TNSNAME.

  • HP LaserJet M1212nf MFP Printer - Communication Failure with the scanner

    Dear all,
    May I kindly ask if there are any known resolutions in terms of a scanning issue with the HP LaserJet M1212nf MFP Printer?
    When it starts scanning the printer only scans the up to the 3rd or 4th page, it stops in the middle of the sheet and produces an error message stating the following: Communication Failure with the scanner.
    Are there any steps that may be followed in order to resolve the incident?
    Many thanks in advance.
    Best regards,
    Ryan

    Hi @Ryan_HP ,
    I see that you are experiencing a communication error during scanning of multiple pages. I would like to help, but I will need some more information to provide you with the correct steps to resolve this issue.
    If you are using Windows, download and run the Print and Scan Doctor. It will diagnose the issue and might automatically resolve it. Find and fix common printer problems using HP diagnostic tools for Windows?
    Temporarily turn off any Antivirus Software, just to rule out any interference.
    Try scanning again.
    What operating system are you using?
    How to Find the Windows Edition and Version on Your Computer.
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    How is the printer connected? (USB/Ethernet)
    What were the results when you ran the Print and Scan Doctor? (did it print or scan, any error messages)
    What scanning software are you using?
    Have a wonderful day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • PlayReady failure with specific OS version of Windows 8.1 Update

    Hello,
    I'm observing a failure in my app during Smooth Streaming video playback using PlayReady DRM. The app is a WinJS Universal App solution for Windows Store and Windows Phone, using the latest updates for Visual Studio 2013, Update 4.
    So far, the failure is limited to one specific version of the Windows 8.1 Update. I have two identical devices, both retail versions of the phone, that demonstrate this issue. Note, these same phones that fail with PlayReady can successfully
    stream unprotected Smooth Streaming content.
    My other five Windows Phone devices, with different OS version numbers, do not demonstrate the failure with the identical app installed. Therefore, I suspect the OS version may be the cause.
    Failure description:
    When I attempt to stream PlayReady protected Smooth Streaming video, the player initializes the media player and the MediaProtectionManager, but then displays the error state (The video failed to play. Try again.) immediately, and the following message is
    displayed in Visual Studio:
    MEDIA12899: AUDIO/VIDEO: Unknown MIME type.
    --- Message: MEDIA_ERR_SRC_NOT_SUPPORTED (0x887A0004)
    Summary of tested OS versions:
    Windows Phone 8.1 Update
    8.10.14141.167, untested
    8.10.14147.180, untested
    8.10.14157.200, untested
    8.10.14176.243, NOKIA Lumia 830, fails to stream, tested with two devices
    8.10.14192.280, untested
    8.10.14203.206, HTC HTC6995LVW, streams successfully
    8.10.14219.341, NOKIA Lumia 920, streams successfully
    8.10.14226.359, BLU WIN HD W510u, streams successfully
    Windows Phone 8.1
    8.10.12359.845, untested
    8.10.12382.878, untested
    8.10.12393.890, NOKIA Lumia 920, streams successfully
    8.10.12397.895, untested
    8.10.12400.899, NOKIA Lumia 530, streams successfully
    Note, one of OS versions I've tested fails to stream the PlayReady protected Smooth Streaming content, and five other OS versions I've tested successfully stream the same video content.
    Is this a known issue with a specific version(s) of Windows Phone 8.1?
    Regards,
    Andrew

    Hello,
    0x887A0004 equates to DXGI_ERROR_UNSUPPORTED. This error is usually generated when you are trying to use Direct3D features that are not supported. Different devices support different D3D features since they contain different video hardware. It is possible
    that a hardware feature that is required by the license is not supported in the hardware / driver of the device. I would recommend that you check the license and make sure that it does not contain any hardware specific requirements such as HDCP.
    In other words try playing content with the least restrictive license and see if it works for you.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Failure with EWS via WWSAPI (native code)

    Failure with EWS via WWSAPI (native code)
    I'm trying to make a request against Exchange(*) EWS
    using WWSAPI (native code).
    Exchange replies with the error:
     "Cannot process the message because the content type 
     'application/soap+xml; charset=utf-8; 
      action="http://schemas.microsoft.com/exchange/services/2006/messages/ResolveNames"'
      was not the expected type 'text/xml; charset=utf-8'."
    It seems the SOAP envelope is ill-formed.
    If I manually create the envelope (without WWSAPI) EWS gives no error.
    Is WWSAPI supported for EWS?
    I can provide all the code for testing.
    Thanks & regards
    josue
    On WebServices tracing I see the following events:
    Sending message - bin  (id: 1): 
    3C 73 3A 45 6E 76 65 6C 6F 70 65 20 78 6D 6C 6E 73
    3A 73 3D 22 68 74 74 70 3A 2F 2F 77 77 77 2E 77 33
    2E 6F 72 67 2F 32 30 30 33 2F 30 35 2F 73 6F 61 70
    2D 65 6E 76 65 6C 6F 70 65 22 3E 3C 73 3A 48 65 61
    64 65 72 3E 3C 52 65 71 75 65 73 74 53 65 72 76 65
    72 56 65 72 73 69 6F 6E 20 56 65 72 73 69 6F 6E 3D
    22 45 78 63 68 61 6E 67 65 32 30 31 30 5F 53 50 31
    22 20 78 6D 6C 6E 73 3D 22 68 74 74 70 3A 2F 2F 73
    63 68 65 6D 61 73 2E 6D 69 63 72 6F 73 6F 66 74 2E
    63 6F 6D 2F 65 78 63 68 61 6E 67 65 2F 73 65 72 76
    69 63 65 73 2F 32 30 30 36 2F 74 79 70 65 73 22 2F
    3E 3C 2F 73 3A 48 65 61 64 65 72 3E 3C 73 3A 42 6F
    64 79 3E 3C 52 65 73 6F 6C 76 65 4E 61 6D 65 73 20
    52 65 74 75 72 6E 46 75 6C 6C 43 6F 6E 74 61 63 74
    44 61 74 61 3D 22 74 72 75 65 22 20 43 6F 6E 74 61
    63 74 44 61 74 61 53 68 61 70 65 3D 22 49 64 4F 6E
    6C 79 22 20 78 6D 6C 6E 73 3D 22 68 74 74 70 3A 2F
    2F 73 63 68 65 6D 61 73 2E 6D 69 63 72 6F 73 6F 66
    74 2E 63 6F 6D 2F 65 78 63 68 61 6E 67 65 2F 73 65
    72 76 69 63 65 73 2F 32 30 30 36 2F 6D 65 73 73 61
    67 65 73 22 3E 3C 55 6E 72 65 73 6F 6C 76 65 64 45
    6E 74 72 79 3E 43 6C 65 62 65 72 3C 2F 55 6E 72 65
    73 6F 6C 76 65 64 45 6E 74 72 79 3E 3C 2F 52 65 73
    6F 6C 76 65 4E 61 6D 65 73 3E 3C 2F 73 3A 42 6F 64
    79 3E 3C 2F 73 3A 45 6E 76 65 6C 6F 70 65 3E 
    Sending message        (id: 1): 
    <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
      <s:Header>
        <RequestServerVersion Version="Exchange2010_SP1" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"/>
      </s:Header>
      <s:Body>
        <ResolveNames ReturnFullContactData="true" ContactDataShape="IdOnly" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
          <UnresolvedEntry>Cleber</UnresolvedEntry>
        </ResolveNames>
      </s:Body>
    </s:Envelope>
    Error occurred: 0x803D0000 - The input data was not in the expected format or did not have the expected value.
    Error occurred: 0x0 - The format of the HTTP request was not supported by the server.
    Error occurred: 0x0 - The server returned HTTP status code '415 (0x19F)' with text
    'Cannot process the message because the content type 'application/soap+xml;
    charset=utf-8; action="http://schemas.microsoft.com/exchange/services/2006/messages/ResolveNames"'
    was not the expecte
    Error occurred: 0x0 - There was an error communicating with the endpoint at 'https://gpe-exc2k10/EWS/Exchange.asmx'.
    WsCall API failed by 0x803D0000
    (*) Microsoft Exchange 2010 SP3 with Update Rollup 7

    Thank you for the tip. I was using SOAP 1.2. After changing to SOAP 1.1 it worked fine.
    WS_ENVELOPE_VERSION soapVersion = WS_ENVELOPE_VERSION_SOAP_1_1;
    Thanks and regards,
    Josue

  • [Fwd: Creating an ODBC Driver with Forte]

    Has anyone created an ODBC driver with Forte? The Microsoft ODBC
    Software Development Kit (SDK) assumes that ODBC drivers will be
    developed in C. I would like to write the driver in Forte TOOL. Even
    though C++ code can be generated from TOOL code, I am not certain that
    the generated C++ code will conform to the ODBC API, and be compatible
    with other ODBC components, such as the ODBC Driver Manager, ODBC
    Installer, and ODBC Test applications supplied by Microsoft with the
    ODBC SDK. Any advice would be appreciated. (The purpose of my ODBC
    driver is to enable data access by any ODBC client application, using
    calls to Forte service objects to retrieve and process the data before
    it is sent to the client application.)
    Chris Johnson
    Unified Information, Inc.
    425-814-4007
    MailTo:[email protected]

    The following is extracted from Oralce's Metalink: (sorry lost the link)
    "This is an NLS related issue. The ODBC driver uses the values derived from the NLS_LANG setting from the Oracle Home where the driver is installed.
    The application actually uses the number setting from the NT Regional Settings.
    When these two settings differ, then the decimal character will be cut off. This behaviour is also described in Bug:694323.
    Example:
    You have set your NLS_LANG in the ORACLE_HOME of your ODBC driver to GERMAN_GERMANY.WE8ISO8859P1. This will result in a value for the NLS_NUMERIC_CHARACTERS of ",." (the first part of the NLS_NUMERIC_CHARACTERS being the decimal character and the second part being the group separator).
    So the "." is used by the Application and the "," is used by the Oracle ODBC driver.
    As a result numeric values in your Oracle Database with an integer and a decimal part will thus be displayed by the application without the decimal character, i.e. a value of 10,734 will be displayed as 10734 a value of 0,123 will be displayed as 123.
    To fix this, you will either have to correct the character used for the Decimal Symbol of your NT Regional settings to match the value of your Oracle NLS_LANG setting or vice versa. To change the value for NLS_LANG, go to your registry and change the NLS_LANG parameter that is situated under HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/HOMEnnn/NLS_LANG where HOMEnnn is the home where your Oracle ODBC driver is installed."
    Hope this helps, resolved our issue with this problem.

  • Failure with mpeg2 dvd

    I'm rendering the same sequence of about an hour to different formats mostly hd 1080p h.264 and pal to mpeg2 dvd so encore wont work hard to convert.
    last days I cant get the mpeg 2 dvd to render, I keep getting errors/failure.if I render just mpeg2 it renders perferct.
    so until I could ditch the DVD for good I realy need the AME queue with mpeg2 dvd for my workflow.
    I hav'nt checked it but I'm sure it will export mpeg2 dvd directly from PP

    the settings are done in PP
    by the way if I switch to mercury engine softwere only it renderes but very
    very slow
    2014-05-19 22:52 GMT+03:00 SAFEHARBOR11 <[email protected]>:
        failure with mpeg2 dvd  created by SAFEHARBOR11<https://forums.adobe.com/people/SAFEHARBOR11>in *Adobe
    Media Encoder (AME)* - View the full discussion<https://forums.adobe.com/message/6392014#6392014>

  • Publish subscribe model with plsql

    Hi,
    I did not find any sample that shows how to use the publish subscribe model with plsql.
    Enqueueing is possible and know how to do it, but how can I subscribe to a topic with plsql.
    All samples I found are for Java JMS.
    Thanks
    Günther

    Hello,
    I have assumed you are using 10.2
    There are examples in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14257/toc.htm
    about using multi-consumer queues/topics. There are demos in $ORACLE_HOME/rdbms/demo if you have installed the companion cd.
    Thanks
    Peter

  • Send mail with PLSQL

    Hi, I am using oracle 10G Express Edition for personal use, and i need to send emails with PLSQL. Please any ideas on how to accomplish this.
    Thanks.

    Hi
    As justin suggested link is very useful to know how to send an email through pl/sql.
    Hope it is also very useful .. Please go through the following steps.
    1. First you have to login as sys dba ... as user name : sys pwd : ****** ;
    2. execute the following sql scripts. like sql> @$ORACLE_HOME/rdbms/admin/utlmail.sql ;
    3. execute the following sql script like sql > @$ORACLE_HOME/rdbms/admin/prvtmail.plb ;
    4. Set smtp_server information in init.ora or spfile.ora for this you have to execute the following commond..
    sql > alter system set smtp_out_server = ‘SMTP_SERVER_IP_ADDRESS:SMTP_PORT’ scope=both;
    'SMTP_SERVIER_IP_ADDRESS : SMTP_PORT ' You have to find out with your org/office
    ex : alter system set smtp_out_server = ’172.25.90.165:25′ scope=both;
    Then send a mail like this...
    1. sqlplus ‘/ as sysdba’
    2. exec utl_mail.send((sender => ‘ [email protected]’, --- your office/org email address
    recipients => ‘[email protected]’, --- your friend/coluege email address
    subject => ‘Testing UTL_MAIL Option’,
    message => ‘Hi .. this is testing mail’);
    3. Check the inbox of the email id, to verify the email receipt.
    4 Don't give any gmail/yahoo email address....It won't work.
    Hope you got an Idea on utl_mail ... package.
    KPR

  • JDBC-ODBC Bridge with iAS on Solaris

    Is there any way to use the Sun JDBC-ODBC bridge with the iPlanet
    Application Server running on UNIX (Solaris)? If it is possible, can
    someone who has done it share the basic steps. For example, I cannot
    figure out what parameters to enter when configuring the bridge as a
    datasource and also how to pass certain environment variables (eg the
    LD_LIBRARY_PATH which points to the ODBC driver manager).
    It seems that on Windows iAS has ODBC as a Type 2 JDBC data source (at
    least the manuals have screenshots with ODBC nodes). However I need to
    have iAS running on Solaris (and connecting to a proprietary ODBC
    driver; no JDBC driver is available for this data source).
    I have iAS 6.0 SP3 with iWS 4.1 SP9 on Solaris 8.
    TIA!
    George
    P.S. Apologies if this is a frequently asked question, but I could not
    find archives of the iplanet.ias.* groups. I wish Google would carry
    them...

    Hi,
    I'm not sure if there is a free download available, but you can find some help by visiting the following URL http://www.dbmaker.com/Header/Frame_Forum.htm
    For the exact steps, I think this would be more helpful http://www.dbmaker.com/reference/technotes/jdbc.html
    Please let me know if this helps.
    Regards
    Raj

  • Java.io.IOException: Connection failure with 500

    Hi
    When i am trying to establish connection from applet to servlet using URLConnection..
    It is giving me java.io.ioexception Connection failure with 500.
    Can anybody let me know why and how to solve this.
    Thanks&Regards,
    Subba

    Error code 500 is "Internal Server Error." Unfortunately this could be loads of things. :-(
    What servlet / web-server are you using?
    Some general pointers.....
    - Check your web-server access log and see if the request is received. (I'd expect so as you're getting a 500 error)
    - Check your servlet log & see if it is init-ing correctly.
    - I always write a simple doGet() method in my servlets so that I can check whether the servlet is alive or not...
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    PrintWriter out = new PrintWriter (response.getOutputStream());
    out.println("<html>");
    out.println("<head><title>ObjectServlet</title></head>");
    out.println("<body>doGet() called: "+new java.util.Date());
    out.println("</body></html>");
    out.close();
    Logger.log(this, "doGet", Logger.TRACE, Logger.TRACE_OUT);
    Then repost if you're still stuck.

  • Please HELP!!! URGENT!!! Connection failure with 407 ALL my DUKE $$$$$$$$$

    Hi,
    problem:
    ========
    I have to give a demo of this program next week, I am trying to solve this F***ing problem since last week and can not figure it out....
    I am running my program and tomcat on Computer#1 and trying to run that program from computer#2 and getting
    java.io.IOException: Connection failure with 407...
    Brief Intro:
    ============
    I am hard coding my computer1 ip address.
    If i run my program in the computer#1 i works fine...
    But i am trying to run the program from computer#2 and getting the following error.
    There is nothing wrong with the null pointer....I am definitely sure about this....
    I can access the Servlet directly from the computer#2 by just using a browser.
    for example my Computer#1's IP is 10.121.121.21.
    i can access the tomcat by http:10.121.121.21:8080 from computer#2
    I think the problem is with the security (java.io.IOException: Connection failure with 407)...
    Also i know that 407 means proxy server, but we do have proxy server but i am not going through
    the proxy server...
    Solution:
    =========
    If anyone who can solve this i am going to give them all the duke $$$$$...
    Thanks in advance....
    Error:
    =========================
    java.io.IOException: Connection failure with 407
    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at scanstation.LoginScreen.displayLogInInformation(LoginScreen.java:220)
    at scanstation.LoginScreen.jButton1_actionPerformed(LoginScreen.java:151)
    at scanstation.LoginScreen.passwordTextfield_actionPerformed(LoginScreen.java:255)
    at scanstation.LoginScreen$4.actionPerformed(LoginScreen.java:123)
    at javax.swing.JTextField.fireActionPerformed(Unknown Source)
    at javax.swing.JTextField.postActionEvent(Unknown Source)
    at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source)
    at javax.swing.SwingUtilities.notifyAction(Unknown Source)
    at javax.swing.JComponent.processKeyBinding(Unknown Source)
    at javax.swing.JComponent.processKeyBindings(Unknown Source)
    at javax.swing.JComponent.processKeyEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processKeyEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    Hy,
    this code is similar to 401 (Unauthorized), but indicates that the client must first authenticate itself with the proxy.
    This HTTP code is documented in the RFC 2616 and RFC 2617.
    http://www.ietf.org/rfc/rfc2616.txt
    http://www.ietf.org/rfc/rfc2617.txt

  • Java.io.IOException: Connection failure with 400

    at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
    This occurrs when using getInputStream()
    The URL can be cut and pasted into the browser and it works fine, but when the code executes and only using the plugin it gives this error.
    Any ideas??

    One of my customers is getting :
    java.io.IOException: Connection failure with 400
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
    ...too, on this snippet of code:
    java.io.InputStream aInputStream=aURLConnection.getInputStream();
    Anybody find a cause or solution for this? I believe my customer is using JRun.
    Thanks in advance.

  • Java.io.IOException: Connection failure with 401

    Hi all,
    i recently moved an applet that uses JavaHelp on a new intranet server. I got an error during applet loading since i moved all the files.
    The structure of files is:
    -Tarish2Applet.html
    -tarish2.jar
    +Tarish2Help
    ooooo|---helpset.hs
    ooooo|---toc.xml
    ooooo|---map.xml
    ooooo|---index.xml
    ooooo|--+HTML
    +package
    I use the following HTML code to call the applet in IE6:
    Tarish2Applet.html:
    <!--"CONVERTED_APPLET"-->
    <!-- CONVERTER VERSION 1.0 -->
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = "200" HEIGHT = "200" codebase="http://intranet/plugin/j2re-1.3.1_02-win-i.exe#Version=1,3,1,2">
    <PARAM NAME = CODE VALUE = "tarish2.Tarish2Applet.class" >
    <PARAM NAME = "cache_option" VALUE = "Plugin" >
    <PARAM NAME = "cache_archive" VALUE = "tarish2.jar,package/jbcl.jar,package/rchartTarish2.jar,package/jhall.jar" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.2">
    <COMMENT>
    </OBJECT>
    And i have the following output and error in the java console:
    /*This first IOException seems to be due to the parameters cache_archive and cache_option in the applet call: if i remove them from the html file, this first exception disapears*/
    java.io.IOException: Connection failure with 401
    at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.plugin.cachescheme.PluginURLConnection.downLoadFile(Unknown Source)
    at sun.plugin.cachescheme.PluginJarCacheHandler.downloadJarFileToCache(Unknown Source)
    at sun.plugin.cachescheme.PluginJarCacheHandler.cacheHandler(Unknown Source)
    at sun.plugin.cachescheme.PluginJarCacheHandler.getJarFilesPath(Unknown Source)
    at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Dll detected //A Dll is loaded with success in the System
    //Then, the Help system is loaded, and it gives:
    java.io.IOException: Connection failure with 401
    at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.sun.java.help.impl.XmlReader.createReader(XmlReader.java:99)
    at javax.help.HelpSet.parseInto(HelpSet.java:568)
    at javax.help.HelpSet.<init>(HelpSet.java:129)
    at tarish2.Tarish2Applet.init(Tarish2Applet.java:221)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Parsing failed for null
    Got an IOException (Connection failure with 401)
    Error during Helpset loading: javax.help.HelpSetException: Could not parse
    HelpSet not found
    Here is the code that loads the Helpset:
    Source:
    try
    URL hsURL = HelpSet.findHelpSet(null, "helpset");
    if (hsURL==null)
    hsURL = new URL(getCodeBase(), "Tarish2Help/helpset.hs");
    hs = new HelpSet(null, hsURL);
    catch (Exception ee)
    System.out.println("Error during Helpset loading: "+ee);
    System.out.println("HelpSet not found");
    return;
    Has anybody an idea about this "Connection failure with 401" that happens on .jar caching and helpset loading????
    What does it come from? Is it due to the http server configuration, the java.policy file?? The code???
    If you have any clue, please help me...
    Romain

    Hi
    I have the same problem but with the
    java.io.IOException: Connection failure with 500:
    Does anybody sorted this, please let me know, what is the cause???
    Thanks in advance...
    Saran

Maybe you are looking for