Using the UTL_HTTP package

When UTL_HTTP.REQUEST() is called with a URL it tries to contact
a remote server just like a web browser.
A web browser has a timeout setting on it - if the remote server
doesn't respond within, say 60 seconds, you'll get a 'timed out -
server not available' message.
The Oracle documentation says that Oracle does this too -
raising an exception, however, it doesn't say how long the
timeout is and how we change it. Can anyone tell me how this
can be done?
Many thanks
Rob

When UTL_HTTP.REQUEST() is called with a URL it tries to contact
a remote server just like a web browser.
A web browser has a timeout setting on it - if the remote server
doesn't respond within, say 60 seconds, you'll get a 'timed out -
server not available' message.
The Oracle documentation says that Oracle does this too -
raising an exception, however, it doesn't say how long the
timeout is and how we change it. Can anyone tell me how this
can be done?
Many thanks
Rob

Similar Messages

  • How can we use the same package in our report used by some other report

    how can we use the same package in our report used by some other report

    Hi,
    You just need to assign package while saving your report.
    No extra is required providing you are aware of package to be used.

  • How to use the Client_image package

    I need to use the client_image package (read_image_file, write_image_file) to do the file upload from my client pc.
    we use a digtal camera to take picture and need to use the oracle 9i form webutil to insert into the form and save in 9ias.
    Any samples about how I can use the webutil to upload images will be truly appreciated!
    Thanks for replying!

    Thanks for your reply on Oracle Forums about using webutil to perform image upload in 9i forms.
    I just download the new Webutil Demo but I got the error messages:
    WUC-015: Your Form must contain the following Bean for this function to be available:
    Oracle.forms.webutil.clientinfo.GetClientInfo
    WUC-015: Your Form must contain the following Bean for this function to be available:
    Oracle.forms.webutil.fileTransfer.FileTransfer
    WUC-015: Your Form must contain the following Bean for this function to be available:
    Oracle.forms.webutil.browser.BrowserFunctions
    I have done all the environment config. and things in FAQ
    (Make sure the your environment is set up correctly; including issues such as CLASSPATH and ensure it is no longer that 512 characters.
    Ensure that the WebUtil object group has been dragged onto the form.
    By putting the form into visual view, ensure that you have a window called WEBUTIL_HIDDEN_WINDOW and that it contains a set of WebUtil Java Beans.
    If your forms does already contain the WebUtil object group then the cause is likely to be that the triggers used internally by the bean areas are uncompiled (usually because the OLB was subclassed before the library was attached). To resolve the problem try performing a Compile All on your module (ctrl-shift-k))
    The errors are still coming out and would you please let me know what I should do to solve the problem and thanks a lot!

  • Coder needed to wrap my .jar using the JavaFX Packager Utility

    Hello-I am not a coder. I am looking for a programmer who is able to wrap my .jar using the JavaFX Packager Utility. I would like to upload my app to the Mac App Store also and need assistance doing that.
    Please contact me for more details if you are able to do one or both of the above.
    Thank you,
    Jeff
    Edited by: 929408 on Sep 9, 2012 9:16 PM

    Ok. Please let me know when you are able to upload the .jar I have (packaged) to the Macintosh App Store if you would. Do you need a way to contact me? I don't know if I am able to place my email or main website here, and I don't check here often. We can work out a payment arrangement. Thank you.

  • I have a package for photographers - want like to use the complete package

    I have a package for photographers - want like to use the complete package. How do I switch to the complete package at an affordable price?

    Upgrade single to all Cloud http://forums.adobe.com/thread/1235382 may help

  • Embedding images using the TEXT_IO package

    Good morning people,
    I'm in the process of converting one of my client's corporate reports to an Excel format, using the "TEXT_IO" package. The client requires his logo to appear in the Excel file (for a purely aesthetic purpose).
    I've tried - to no avail, might I add - to embed/insert the company's corporate logo into the generated Excel file. This logo is stored as a LONG RAW datatype in the associated JCG_EXCEL_DATA table.
    Whenever I attempt to embed this logo, using the "Text_IO.Putf" built-in, Excel displays it as "Bit!+".
    Do you perhaps know of a way to do this?
    Here's an example of the statement used:
    "Text_IO.Putf(out_file, chr(9) || :image_file);"
    Thanks and regards,
    Johann.

    Hi,
    It will not be possible to do it as it doesn't recognize it as an image.
    What about going for a delimiteddata output having the header with the logo.
    Please see the 6i patch 11 release notes on OTN documentation for Reports
    Thanks
    The Oracle Reports team

  • Do I need basic cable to use the MLB package purchased through itunes to use on my Apple TV?

    I would like to purchase the MLB package through itunes to use on my Apple TV. Do I need to have basic cable in order to watch it on the tv like some of the other apps require?

    Yes sorry, I can see that from your question title.  Are you in the US? Ifv so movie redownloads should be available, but I believev some studios aren't onboard.
    In iTunes, go to the Store home page - on the right in Quick Links is there a Purchased/Purchases section? If so check if you can download the movies from there.
    If you can't see them go to expresslane.apple.com and raise a support ticket for iTunes store, asking them to enable download via iTunes.
    AC

  • How can I use the security package in JCOP41V2.2?

    Hi all, I'm a newbie in javacard programming. I'm trying to develop a project with RSA_signature. But I found, the exception NO_SUCH_ALGORITHM will be thrown out when I new an instance of KeyPair.
    My java file Temp_1.java following:
    package temp;
    import javacard.framework.Applet;
    import javacard.framework.ISO7816;
    import javacard.framework.ISOException;
    import javacard.framework.APDU;
    import javacard.security.*;
    * @author lujj
    public class Temp_1 extends Applet {
    KeyPair myKeyPair = null;
         public static void install(byte[] bArray, short bOffset, byte bLength) {
              // GP-compliant JavaCard applet registration
              new Temp_1().register(bArray, (short) (bOffset + 1), bArray[bOffset]);
         public void process(APDU apdu) throws ISOException{
              // Good practice: Return 9000 on SELECT
              if (selectingApplet()) {
                   return;
              byte[] buf = apdu.getBuffer();
              if(buf[ISO7816.OFFSET_CLA] == (byte)0xEE)
                   try
                        myKeyPair = new KeyPair(KeyPair.ALG_RSA, KeyBuilder.LENGTH_RSA_1024);
                   catch(CryptoException e)
                        ISOException.throwIt((short)(0x6F00+e.getReason()));                    
                   return;
              switch (buf[ISO7816.OFFSET_INS]) {
              case (byte) 0x00:
                   break;
              default:
                   // good practice: If you don't know the INStruction, say so:
                   ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
    This package can be upload and the applet can be installed successfully.
    But if I send the apdu "EE 00 00 00 00" after selected the applet, "6F 03" will be returned.
    Is there anyone can help me? Thanks a lot.

    Thank you so much~
    Actually, it's only an applet for test. I cannot get the error code if I new the KeyPair in install function or Applet construct function. It will return "6A 80" when install the applet.
    And, I found that it support few algorithm. For example, it does not support ALG_DES_MAC4_ISO9797_M2,etc. Is there anything I can do if I want to use the algorithm? Shall I rewrite security package by myself?
    5555, security package is the standard package in JAVACARD API 2.1.1.

  • Error Uncompressing using the Zip Package

    Hi There,
    I have xml data that I have been compressing into a byte array and writing to a file. I use the deflater to compress the data and then the inflater to uncompress the data.
    This has been working fine for some time but now I have found a couple of cases where I get the following exception when I am uncompressing data.
    java.util.zip.DataFormatException: incorrect data check
    at java.util.zip.Inflater.inflateBytes(Native Method)
    at java.util.zip.Inflater.inflate(Unknown Source)
    at java.util.zip.Inflater.inflate(Unknown Source)
    I have no idea what is different to cause this exception.
    Has someone experienced this hardship?
    Is there a limitation of this package that I might be suffering from?
    thanks for any info.

    Are you working on the US payroll?
    Looks like some issue with regards to the address.
    Where exactly do you get this error?
    regards,
    Sandeep

  • Can I use the dbms_application_info package with ADF BC?

    Hi,
    I am executing a PL/SQL package from my ADF BC Application module and need to set some audit information within the PL/SQL. The package does some intensive background processing that would be time consuming to do in ADF. Can I use the dbms_application_info pakage to store session information for the user?
    I am not sure if the application module has a true database session with the database or is it pooled/shared with other users that may be logged on to the application?
    I want to use dbms_application_info.set_client_info and dbms_application_info.read_client_info.
    thanks,
    Brenden

    >
    If I created the new user what are the privileges shoud I grant him.You should grant EXPORT FULL DATABASE for exporting and IMPORT FULL DATABASE for importing.
    >
    I created one user testdba and granted DBA privileges as well full_export_database.
    after that I run catexp.sql with sys credential.
    While running the schema level export using testdba I am getting the below error:
    My Export scripts is
    exp testdba/password FILE=ALLEDW_edw2.dmp log=ALLEDW_edw2.log owner=ALLEDW grants=y indexes=y direct=y compress=y
    EXP-00008: ORACLE error 4068 encountered
    ORA-04068: existing state of packages has been discarded
    ORA-04063: view "TESTDBA.V_$OPTION" has errors
    ORA-06512: at "SYS.DBMS_AW", line 151
    ORA-06512: at "SYS.DBMS_AW_EXP", line 225
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_AW_EXP.schema_inf
    o_exp
    EXP-00008: ORACLE error 980 encountered
    ORA-00980: synonym translation is no longer valid
    ORA-06512: at "SYS.DBMS_RULE_EXP_RULES", line 133
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_RULE_EXP_RULES.sc
    hema_info_exp
    . exporting foreign function library names for user ALLEDW
    . exporting PUBLIC type synonymsDo You have any invalid objects in database?
    recompile them with $OARCLE_HOME/rdbms/admin/utlrp.sql

  • Using the unnamed package in 1.4

    I'm having a problem with something mentioned in the following excerpt from the release notes:
    The compiler now rejects import statements that import a type from the unnamed namespace. Previous versions of the compiler would accept such import declarations, even though they were arguably not allowed by the language (because the type name appearing in the import clause is not in scope). The specification is being clarified to state clearly that you cannot have a simple name in an import statement, nor can you import from the unnamed namespace.
    To summarize, the syntax
    import SimpleName;
    is no longer legal. Nor is the syntax
    import ClassInUnnamedNamespace.Nested;
    which would import a nested class from the unnamed namespace. To fix such problems in your code, move all of the classes from the unnamed namespace into a named namespace.
    We use a couple of 3rd party packages that have classes in the unnamed package, so now we can't compile our application!
    Is there a solution to this? (I wonder what problem they were trying to resolve by this change in behavior?)
    The only solution we have come up with is to uncompile the 3rd party classes and move them. That doesn't seem reasonable.
    Thanks in advance for your help.
    Sloan Looney
    [email protected]

    I ran into a similar problem with a jdbc driver. The vendor driver is located in a jar. The jar gets placed in a classpath and the whole thing magically works by calling the class.forName() method.
    Where things stopped working was when I wanted to use the db driver in a stand alone utility. The user would have had to install the jar on the machine.
    I decompressed the jar and kept it's components in the correct directory location...
    com.inet.....
    ... in my code, instead of calling class.forName() to instantiate the driver object I called....
    com.driver D = new com.driver().
    Compiled the whole thing directories and all into a jar and now the end user can run it without having to install anything. The jar looks internally for the structure.
    So, you could, as was noted before, just make sure that the vendor classes were in the same place as your application and they will be found just by using them.

  • How do I use the DBMS_AQADM packages?????

    Hey everyone,
    Oracle noob needing help with creating and managing an Advanded Queue.
    Oracle version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    I have a user that was granted the roles of AQ_ADMINISTRATOR_ROLE and AQ_USER_ROLE. I am trying to learn how to create queues, send, and receive messages to the queue. My problems all appear as soon as I get to using anything dealling with DBMS_AQADM. [I was using the steps from this site.|http://www.akadia.com/services/ora_advanced_queueing.html] When I try to use any of the DBMS_AQADM procedures I get an ORA-00900: invalid SQL statement.
    Things I have tried:
    EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
    privilege => 'ENQUEUE_ANY',
    grantee => 'my_aq_user_role',
    admin_option => FALSE);
    EXEC SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
    privilege => 'ENQUEUE_ANY',
    grantee => 'my_aq_user_role',
    admin_option => FALSE);
    Begin
    DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
    privilege => 'ENQUEUE_ANY',
    grantee => 'my_aq_user_role',
    admin_option => FALSE);
    End;
    Begin
    SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
    privilege => 'ENQUEUE_ANY',
    grantee => 'my_aq_user_role',
    admin_option => FALSE);
    End;
    All of these fail. I have also read somewhere that in Oracle 8, none of the DBMS_AQADM programs may be used inside SQL, directly or indirectly. If this is still the case, what does that mean exactly? Can I not call it in a script editor? I am at a complete lose and am in need of help.
    Thanks in advance (no pun intended)

    Working demos here:
    http://www.morganslibrary.org/reference/aq_demo1.html
    The full library here:
    http://www.morganslibrary.org/library.html

  • Error using the Business Package ESS

    Hi folks, am a bit new with Enterprise Portals, and we are having this kind of error when trying to update record in IT06(HCM).
    Data record 0001635000061      2001102919980101000 has grouping value "" instead of "10"
    Data record 0001635000061      2002123120011030000 has grouping value "" instead of "10"
    Data record 0001635000061      2003051320030101000 has grouping value "" instead of "10"
    Data record 0001635000061      9999123120030514000 has grouping value "" instead of "10"
    This is using the BP ESS/MSS, where can i find how this error is occuring?
    Thanks,
    André

    Are you working on the US payroll?
    Looks like some issue with regards to the address.
    Where exactly do you get this error?
    regards,
    Sandeep

  • How to use the FBean package?

    I really haven't a clue what i am doing but using the online help i constructed the following code in my forms "when-new-form-instance" trigger. I then created a bean item in my control block called 'MyBeanArea'. I ran the form and nothing happened, the bean area remained blank. How do i get this thing to work?
    Thanks
    Gus
    Forms 10.1.2 on XP (standalone)
    -- Java Beans
    FBean.Register_Bean('control.MyBeanArea', 1, 'sunw.demo.juggler.Juggler');
    fBean.Set_Property('control.MyBeanArea',1,'animationRate',150);
    FBEAN.INVOKE('control.MyBeanArea',1,'startJuggling');

    Database 10g Express Edition on Win XP
    Have downloaded Forms demo 10gr2 and have found that its not been updated and there appear to be lots of discrepancies in the install guide e.g.
    The often referred to forms90 directory in the install notes is now called 'forms' in my installation I believe.
    Modifying orion-web.xml as per installation notes means having to read between the lines e.g.
    <classpath path="%ORACLE_HOME%/forms90/java/f90jdapi.jar" />
    <classpath path="%ORACLE_HOME%\forms90\demos/metadatabrowser/classes" />
    <virtual-directory virtual-path="/formsdemo" real-path="%ORACLE_HOME%\forms90\demos" />The first line is not a correct DOS path (Linux I assume) so this would not be valid would it? Also the 'forms90' directory is no longer valid, its 'Forms'.
    Modifing the web.xml .....
    <servlet>
      <servlet-name>l90servlet</servlet-name>
      <servlet-class>oracle.forms.servlet.ListenerServlet</servlet-class>
    </servlet>had to replace l90servlet with lservlet (is this correct)
    and a number of other similar incidences of this. Only half way through the guide and will finish off tomorrow. Following the install guide as best i can but am a little bit frustrated as i don't understand the changes i am making, ah well hey ho.
    Funny thing is when i run the sample test in my browser which is a blue tick (tick.gif) I eventually got it to work by typing in the following
    http://127.0.0.1:8889/forms/formsdemo/images/tick.gif[\code]
    In the URL "/forms/formsdemo/images/tick.gif" is a directory path but i don't have a directiry called "formsdemo" so how come this seems to work???
    Confused
    Gus                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Can't use the jai package after installing it

    when i downloaded the package it was an exe file that extracts the package and instals it.
    the default path for installation was c:/jbuilderx/jdk1.4.1 so i kept it like that and i got 3 files,
    jai_core ( i think this is the main package ) in the path C:\JBuilderX\jdk1.4\jre\lib\ext ,
    jai_codec in the same path ,
    mlibwrapper_jai in the same path ,
    but in my project when i write 'import' i can't find it anywhere so plz tell me what to do
    thanx in advance.

    take the JAI files and put them in the corresponding folders of your current Java installation, there isn't any classpath to them, so you cannot see them.

Maybe you are looking for