Some HTTP server take 30s to respond back

Hi,
I have written a multi threaded Proxy Server in Java. After some debugging I found that some server takes 30sec to respond back, where as others respond back immediately.
This is what I have done:
1. u = new URL(urlFields[1]);
2. connection = (HttpURLConnection) u.openConnection();
3. LOOP: //send the http headers to the server connection
4.   connection.addRequestProperty(headerKey, headerValue[i]);
5. int serverReturnCode = connection.getResponseCode();
I have noticed, with some servers eg. fickr.com, Line 5 takes around 30s to return. I think the server in question is waiting for some "header completion" chars. It works but is painfully slow.
The same code works perfect with www.yahoo.com, cnn.com.
Any idea/suggestion ?
Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

So from what you said, I think am on right track.
I am seeing this problem only with few sites that I have tested so far. so that made me think if that is due to some requirements of those particular servers.
Here is the output log I am using to detect this problem.
The 3rd line in the log (below), "Got the Status CODE" is immediately after Line 5, ie.
5. int serverReturnCode = connection.getResponseCode();And all queries similar to that for flickr.com takes exactly 30s. The Origin site is not slow at all. Works really fast without the Proxy.
"Date - ThreadID - Thread Reuse - client port - message "
2009/11/22 18:47:00 - 4 - 1 - 63262 - URL: GET: http://farm4.static.flickr.com/3549/buddyicons/[email protected]?1241382841 - REQUEST
2009/11/22 18:47:00 - 4 - 1 - 63262 - Finished Sending Headers TO SERVER
2009/11/22 18:47:30 - 4 - 1 - 63262 - Got the Status CODE
2009/11/22 18:47:30 - 4 - 1 - 63262 - Reading Header from Server
2009/11/22 18:47:30 - 4 - 1 - 63262 - Reading Data from Server
2009/11/22 18:47:30 - 4 - 1 - 63262 - HTTP/1.1 200 OK - GET http://farm4.static.flickr.com/3549/buddyicons/[email protected]?1241382841 HTTP/1.1 - 6360 true - RESPONSE
thanks for you inputs!

Similar Messages

  • Windows Server Essentials Connector stops responding during install Win 7 Pro to 2012 R2

    I am trying to reconnect a Win 7 Pro computer to a new  Essentials 2012R2 and when it asks me to set it up for just me or multiple users a message pops up saying
    it has stopped responding. It sets up a profile of _clientsetup_$ and it shows up in dashboard as an offline device. This computer was hooked up to an Essentials 2012R2 previously. Tried uninstalling the connector software, removing the computer from the domain,
    renaming the computer and re-installing the connector software from the http://(server)/connect. Even tried backing up the existing profiles and creating a new clean one and went through the above procedure with the same results. I set up 4 others
    with no issues and it would be the bosses computer that fails. I am a newbie so any help would be greatly appreciated, thanks.

    Hi,
    Sorry for my interrupting.
    Would you please let us know whether this problematic client computer was upgraded to Windows 7 Pro from a previous OS? Did you install any third-party application on this Windows 7 Pro client computer? Just a confirmation, thanks for your understanding.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Some Smaller Problems concerning HTTP-Server and iSQL*PLUS

    Hi!
    System: WIN2K, ORA 9.0.0.1
    1. Problem: With HTTP-Server launched by ORACLE at System Start
    can not connect to DB via iSQL*Plus, message: ORA-12638 (german
    message:"Abruf des Berechtigungsnachweis misslungen") Credential
    retrieval failed. Does no longer occur when shutting down
    service and relaunching Apache manually. Why?
    2. HTTP Server dies instantly when accidentially sending /*
    somewhere in SQL-Statement or alone via iSQL*Plus (in SQL*Plus
    Window /* starts DOC-Mode without chance to end DOC-mode with #)
    Can anyone help? Thank you!
    TIP: Manipulating Database via iSQL*Plus on a Eudora-Browser
    with IR Cellular impresses every Boss! :-)

    Hello CJ
    1st of all: Thank you for your answer!
    What privilege iSQL*Plus connection are you trying make?Tried as normal user and as sysdba. Both works well with Apache
    in Console, both doesn4t work with Apache as a Service started
    (even if there is a 2nd Apache started in Console window)
    Can you connect as a normal user
    if you specify a full DB connection string? By full connection
    string I mean the "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS...)))"
    etc. syntax commonly seen in tnsnames.ora. No! Error "SP2-0306 Invalid Option" occurs.
    that the problem also occurs in the old GUI (non-web version)
    version of SQL*Plus?Right! Typing DOC means entering (now unsupported) DOC Mode
    (DOC> Prompt) return to SQL> with #. Typing /* gets you into DOC-
    Mode but you can4t leave with #. (SQL*Plus userguide and
    reference Part F Obsolete Commands)
    In iSQL*Plus (web based version) typing /* caused apache to die
    (on console!! as service as I mentioned: no connection ).
    Somehow problem no longer occurs. (Miracle?)
    3. Your Palm efforts sound neat! Can you share with the forum
    how usable it is? Are there any configuration tricks
    you found?No tricks needed, I just started a connection to a local
    Provider via IR and Nokia Cellular. Connected to DB via
    iSQL*Plus using Eudora-Browser, logged in as sysdba and shutdown
    DB and started it again. Looked at some v$-views, killed a
    session or two had a good time and impressed everyone. Decide
    for yourself if this could be useful. Might be helpful for
    remote troubleshooting during holidays so don4t tell your boss
    about it.
    (Did anyone try this on Windows CE? Like to know!)
    Dominic

  • How to deal with deadlock on wwv_flow_data table when http server times out

    There are some threads about a deadlock on the wwv_flow_data table. None of them contain a real explanation for this behaviour. In my case I will try to explain what I think is happening. Maybe it helps somebody who is hitting the same matter.
    In my case with APEX 3.2.1 I am navigating from one page to another. Doing this APEX will lock the table wwv_flow_data. As soon as the other page is shown the lock will be released. But now this other page contains a bad performing query (standaard report region). After 5 minutes the http server (modplsql) will time out and present the message "No response from the application server" on the screen. In the meanwhile the query is still running on the database server and the lock stays on the wwv_flow_data table.
    Normal user behaviour will be that the user will use the back button to return to the previous page and tries it again to navigate to the other page or
    the user will try to refresh the page with the bad performing query.
    And voila now you will have a deadlock on the wwv_flow_data table since a second session is trying to do the same thing while the first hasn't finished yet.
    How to deal with it?
    First of all. Have a good look at the bad performing query. Maybe you can improve it that it will succeed before the http server will timeout.
    In my case the 11gr1 optimizer couldn't handle a subquery factoring clause in the best way. After changing it back to a classical inline query the problem was solved.
    Secondly you could increase the timeout parameter of the http server. Although this not the best way.
    Maybe it would better if APEX in a next version would release the lock on the table wwv_flow_date earlier or do a rollback just before the moment that the http server is timing out.
    regards,
    Mathieu Meeuwissen

    Hello Shmoove,
    I saw your reply here and you probably understand the problems the HTTP 100 response may cause.
    I am trying to send image that was taken by getSnapshot. The problem is that the server respond with this HTTP 100 message.
    I suspect that the reason that my server doesn't recognize the file that I'm sending from J2me is that the "server to client" response to the 100 message comes after the second message of (see what the TCPIP viewer shows down here):
    POST /up01/up02.aspx HTTP/1.1
    Content-Type: multipart/form-data; boundary=xxxxyyyyzzz
    Connection: Keep-Alive
    Content-length: 6294
    User-Agent: UNTRUSTED/1.0
    Host: szekely.dnsalias.com:80
    Transfer-Encoding: chunked
    400: Client to Server (126 bytes)
    78
    --xxxxyyyyzzz
    Content-Disposition: form-data; name="pic"; filename="david.jpg"
    Content-Type: application/octet-stream
    400: Connected to Server
    400: Server to Client (112 bytes)
    HTTP/1.1 100 Continue
    Server: Microsoft-IIS/5.1
    Date: Wed, 23 Mar 2005 00:47:02 GMT
    X-Powered-By: ASP.NET
    Any help will be appreciated,
    David

  • How hard is it to create a simple http server in java?

    how hard is it? where do i read on how to do it?

    Here is a class I called EchoServer. It simply receives an HTTP request wraps some HTML around it and sends it back to your browser. It should give you an idea of a simple structure and the API's to look at.
    Hope it helps.
    import java.io.IOException;
    import java.io.InterruptedIOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class EchoServer extends Object
         public static void main(String args[])
              throws IOException
              if ( args.length != 1)
                   System.out.println("try: java EchoServer <port>");
                   System.exit(-1);
              // Make sure port is numeric
              int port = -1;
              String portString = args[0];
              try
                   port = Integer.parseInt(portString);
              catch(NumberFormatException nfe)
                   System.out.println("port: " + portString + " is not a valid port number, try again");
                   System.exit(-1);
              // Create server socket and loop forever handling each request as it is received
              ServerSocket server = null;
              try
                   server = new ServerSocket( port );
                   System.out.println( server );
                   while ( true )
                        // this next line will wait until a client hits this port
                        Socket client = server.accept();
                        respond( client );
                        client.close();
              catch(Exception e)
                   e.printStackTrace();
              finally
                   if ( server != null )
                        server.close();
         public static void respond(Socket client)
              String request = getRequest( client);
              // Send request back wrapped in HTML
              OutputStream os = null;
              try
                   os = client.getOutputStream();
                   String response = "HTTP/1.0 200 Ok" + "\n"
                        + "Server: Echo Server" + "\n"
                        + "Content-type: text/html" + "\n"
                        + "\n"
                        + "<h2>The request you made was</h2>\n"
                        + "<pre>\n"
                        + "-------------------------------------\n"
                        + request
                        + "-------------------------------------\n"
                        + "</pre></html>\n";
                   os.write(response.getBytes());
              catch(InterruptedIOException iioe)
              catch(IOException ioe)
                   System.out.println(ioe.getMessage());
         private static String getRequest(Socket client)
    String request = "";
    byte[] iobuff = new byte[512];
    int bytes;
              try
              // Wait 100 milliseconds before assuming the complete request has been received
              // Note: when this test wasn't here the server seemed to hang. If you find a better solution please let me know
              InputStream is = client.getInputStream();
              client.setSoTimeout(100);
    while ( (bytes = is.read( iobuff )) != -1 )
    String temp = new String( iobuff, 0, bytes );
    request += temp;
    //                    System.out.println(temp);
              catch(InterruptedIOException iioe)
                   // this exception handles the socket timeout
              catch(IOException ioe)
                   request = ioe.getMessage();
              return request;

  • Oracle HTTP Server Crash

    Hi all,
    i have an application deployed in OC4J, this application, due to dabase locks, its started to respond very slowly (i had some JSP with 102 seconds response time)
    about 12:50 i had 175 active connection in that OC4J container, some moments after HTTP Server Crashed ... why ?
    I can see in opmn logs (ipm.log) the following:
    06/06/01 06:52:37 [4] Request 19 Completed. Command: start
    06/06/01 12:47:58 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (4592011:2144) [The connection SSL receive
      timed out]
    06/06/01 12:48:49 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (4592011:2144) [The connection SSL receive
      timed out]
    06/06/01 12:49:40 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (4592011:2144) [The connection SSL receive
      timed out]
    06/06/01 12:49:40 [4] [libopmnohs] Process Unreachable: HTTP_Server~HTTP_Server~HTTP_Server~1 (4592011:2144)
    06/06/01 12:49:41 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (4592011:2144)
    06/06/01 12:50:41 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (4592011:2144)
    06/06/01 12:50:41 [4] [libopmnohs] Forcefully Terminating Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (4592011:2144)
    06/06/01 12:50:43 [4] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (4592011:0)
    06/06/01 12:50:44 [4] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (4592011:2984)
    06/06/01 12:50:55 [4] Request 3284 Started. Command: stop
    So, OPMN stopped http server because http did not respond ... is that it ?
    where can i find more log about it ?
    Redirect output errors from HTTP server shows the following:
    06/06/01 06:51:07 Start process
    06/06/01 12:49:41 Stop process
    06/06/01 12:50:43 Start process
    [Thu Jun 01 12:50:44 2006] [warn] pid file e:/oracle/oramid/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache
    run?
    http server error log shows the following
    [Thu Jun 01 12:50:36 2006] [error] [client 10.42.48.237] [ecid: 1481684910016,1] MOD_OC4J_0033: Failed to receive an ajp13 message from
    oc4j.
    [Thu Jun 01 12:50:40 2006] [error] [client 10.42.48.237] [ecid: 11033692180248,1] (10060)A connection attempt failed because the connected
    party did not properly respond after a period of time, or established connection failed because connected host has failed to respond:
    MOD_OC4J_0038: Receiving data from oc4j exceeded the configured "Timeout" value and the error code is 10060.
    [Thu Jun 01 12:50:40 2006] [error] [client 10.42.48.237] [ecid: 11033692180248,1] MOD_OC4J_0054: Failed to call network routine to receive
    an ajp13 message from oc4j.
    [Thu Jun 01 12:50:40 2006] [error] [client 10.42.48.237] [ecid: 11033692180248,1] MOD_OC4J_0033: Failed to receive an ajp13 message from
    oc4j.
    [Thu Jun 01 12:50:44 2006] [notice] FastCGI: process manager initialized
    [Thu Jun 01 12:51:15 2006] [error] [client 127.0.0.1] [ecid: 10.42.48.237:11996:1149162675046,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0085: connect() returns: -1.
    [Thu Jun 01 12:51:15 2006] [error] [client 127.0.0.1] [ecid: 10.42.48.237:11996:1149162675046,2] (10061)No connection could be made because
    the target machine actively refused it: MOD_OC4J_0088: connect() returns error: -1.
    [Thu Jun 01 12:51:15 2006] [error] [client 127.0.0.1] [ecid: 10.42.48.237:11996:1149162675046,2] (0)The operation completed successfully:
    MOD_OC4J_0051: Tried 1 times and failed to connect to oc4j with worker: home_6.
    [Thu Jun 01 12:51:15 2006] [error] [client 127.0.0.1] [ecid: 10.42.48.237:11996:1149162675046,2] MOD_OC4J_0030: Failed to connect an oc4j
    process. This request is recoverable.
    [Thu Jun 01 12:51:15 2006] [error] [client 127.0.0.1] [ecid: 10.42.48.237:11996:1149162675046,2] MOD_OC4J_0026: Failed to marshal a request
    to ajp13 message headers or send them to the web container.
    can you help to undestand this situation ?
    Best Regards

    Hi Ruival and all,
    Currently, i have same problem, can you advise me what do I doing to solve this?
    Anyone give for me a solution?
    Thanks & Regards,
    opmn.log
    07/11/13 14:35:11 [libopmnohs] Process Unreachable: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:24967)
    07/11/13 14:35:13 [pm-process] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:24967)
    07/11/13 14:35:21 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:0)
    07/11/13 14:35:28 [pm-process] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:28923)
    07/11/13 15:22:01 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:28923) [The connection receive timed out]
    07/11/13 15:22:51 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:28923) [The connection receive timed out]
    07/11/13 15:24:17 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:28923) [The connection receive timed out]
    07/11/13 15:25:07 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:28923) [The connection receive timed out]
    07/11/13 15:25:57 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:28923) [The connection receive timed out]
    07/11/13 15:25:57 [libopmnohs] Process Unreachable: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:28923)
    07/11/13 15:25:58 [pm-process] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:28923)
    07/11/13 15:26:06 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:0)
    07/11/13 15:26:13 [pm-process] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:2151)
    07/11/13 16:23:55 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:2151) [The connection receive timed out]
    07/11/13 16:24:45 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:2151) [The connection receive timed out]
    07/11/13 16:25:35 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:2151) [The connection receive timed out]
    07/11/13 16:25:35 [libopmnohs] Process Unreachable: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:2151)
    07/11/13 16:25:37 [pm-process] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:2151)
    07/11/13 16:25:45 [pm-process] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:0)
    07/11/13 16:25:53 [pm-process] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:6086)
    07/11/13 16:35:22 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:6086) [The connection receive timed out]
    07/11/13 16:57:03 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:6086) [The connection receive timed out]
    07/11/13 16:57:53 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:6086) [The connection receive timed out]
    07/11/13 16:58:43 [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:6086) [The connection receive timed out]
    07/11/13 16:58:43 [libopmnohs] Process Unreachable: HTTP_Server~HTTP_Server~HTTP_Server~1 (1958366330:6086)

  • How to set -Xss or ulimit  for Oracle Http Server

    Hi,
    We are facing Out of Memory Error in OHS 11g in our cluster environment. Where I can see below statements in http log file:
    # There is insufficient memory for the Java Runtime Environment to continue.
    # Cannot create GC thread. Out of system resources.
    # Possible reasons:
    # The system is out of physical RAM or swap space
    # In 32 bit mode, the process size limit was hit
    # Possible solutions:
    # Reduce memory load on the system
    # Increase physical memory or swap space
    # Check if swap backing store is full
    # Use 64 bit Java on a 64 bit OS
    # Decrease Java heap size (-Xmx/-Xms)
    # Decrease number of Java threads
    # Decrease Java thread stack sizes (-Xss)
    # Set larger code cache with -XX:ReservedCodeCacheSize=
    # This output file may be truncated or incomplete.
    #  Out of Memory Error (gcTaskThread.cpp:46), pid=17956, tid=140591807985408
    When I run the ulimit command on machine, stack size is showing as 10MB:
    Result:
    [oracle@XXXXXX bin]$ ulimit -a
    core file size          (blocks, -c) unlimited
    data seg size (kbytes, -d) unlimited
    scheduling priority (-e) 0
    file size (blocks, -f) unlimited
    pending signals (-i) 1031958
    max locked memory       (kbytes, -l) 3500000
    max memory size         (kbytes, -m) unlimited
    open files (-n) 131072
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority (-r) 0
    stack size (kbytes, -s) 10240
    cpu time (seconds, -t) unlimited
    max user processes (-u) 131072
    virtual memory          (kbytes, -v) unlimited
    file locks (-x) unlimited
    Setting the stack size to 512KB or 256KB might resolve the problem.
    I tried setting ulimit -s 512  in my user bash_profile. and ran ulimit -a , then it is showing as 
    stack size (kbytes, -s) 512
    If I set at user level, does it have any impact? Or we should set at JVM level using -Xss
    Can some body tell me where can I set -Xss for Oracle HTTP server 11g?
    Regards,
    Vidya

    Hi Marco,
    I believe you'll need to setup a MX record under 'More Actions' for your domain in Site Settings / Site Domains.
    Select the option "Use another external service for email" and enter your primary mail server's hostname at priority 10.
    Think you can repeat this step for your secondary mail server (priority 20) if you have one.
    Regards
    Mike

  • Http server start-up error with portal

    When attempting to start the http server I receive the following error:
    [Tue Feb 12 16:14:20 2002] [crit] (10038)(FormatMessage failed with code 317): Parent: WSADuplicateSocket failed for socket 248.
    [Tue Feb 12 16:14:20 2002] [error] (2)No such file or directory: master_main: create child process failed. Exiting.
    Is there a fix for this? I saw a previous discussion forum post recommending a patch install, but I don't have a MetaLink account and thus can't download the patches. Anyone have a solution to this error other than the patch?

    Dougt
    Thanks for the update. Sorry that the news was not better. But do not give up.
    After I saw your message, I did some Google searching. The following is some of what I found
    http://answers.microsoft.com/en-us/windows/forum/windows_7-files/windows-installer-error-1 325-documents-is-not-a/d70411d0-017d-41f0-b5b4-0861b6ca9955
    I have some further suggestions which you might consider. If you have professional help, then best let it handle the overall situation, especially if it is going to take you into the Registry where you might not feel comfortable.
    My suggestion would be to uninstall Premiere Elements 7, do a run through with ccleaner (regular clearner and registry cleaner parts) and then reinstall Premiere Elements 7. Many have used ccleaner with pros and no cons. In the registry cleaning part, there is a step for you to backup the registry in a file saved to Documents or wherever you want on the computer hard drive.
    But, go with what you feel comfortable doing. If you have Premiere Elements 7 projects in the works and can get into Premiere Elements, you may want to Project Archive them for safe keeping.during this time whether you run the ccleaner or not.
    We will be watching for your progress.
    Thank you.
    ATR

  • Installing Apex 4 on Oracle 11.2.0.3 with Oracle HTTP Server on WINDOWS

    Has someone put together a cookbook on installing the above? I have tried following the documentation; but it is in dire need of updating. I have become quite confused as to how to piece together alll of the parts. Seemed much easier in 10.2...
    TIA!

    Vorlon1 wrote:
    Has someone put together a cookbook on installing the above? I have tried following the documentation; but it is in dire need of updating. I have become quite confused as to how to piece together alll of the parts. Seemed much easier in 10.2...
    TIA!After a database re-install on my Windows 7 laptop 2 months ago I tried to install the HTTP server but had trouble getting it to work. After a day or two I gave up and used the EPG which works with some performance issues - pages can take many seconds to render. I think there is a conflict between the EPG and security software on the laptop but have not been able to pin down the exact problem. Anyway, the EPG is not an option for you and even Oracle does not reccommend it for production implementations. The EPG is okay for quick-and-dirty R & D but real implentation should have something better. I prefer the EPG on my laptop because the Apex listener required an extra window to be open that I was likely to close by mistake (my error yes. Reality is sometimes stupid).
    I have had several sucessful installs on older versions of Apex on Oracle 9 and 10 on Windows XP using the HTTP server but always struggle with the configuration; getting the settings in the .conf file (whatever it is called now) correct remains difficult (at least for me). I keep installation notes on problems encountered and their solutions. Typical issues I encounter are
    1. Incorrect configuration file settings
    2. Improper loading of images
    3. Missing installation steps (unlocking ANONYMOUS, for instance, or not updating the PL/SQL version).
    4. Make sure the correct URL is being used
    5. When using the HTTP Server making sure it is running by using its URL is very heplful
    Follow the installation instructions for your platform and listener. If something does not work first review the installtion instructions very carefully, then perform web searches for answers to the problem. Except for last time when I lost patience with the HTTP server the installations have always worked.
    I also find Windows 7 painful - the added security prevents me from editing needed files without jumping through hoops. I don't even want to think about Windows 8 ...

  • Apex Newbie question !!!!!  HTTP server ????

    I am newbie at APEX. I have a DBA background, but no experience with Oracle applications.
    I DO respect your time, and have tried to find this info on teh docs, but, honestly, can not find it. And I looked over everywhere, metalink, otn, gogling. I thought that I would find it on these forums under some form of FAQs, but have not found the answer :-(
    I have installed oracle database 11g for windows on my laptop, and when installing APEX 3.2, it asks me to stop the http server and ..... :-)
    Now, I have a question regarding the Oracle HTTP server, which is supposed to be isntalled with the 11g, instead of the Companion CD, which no longers exist.
    First question. We have a http server that is used by oracle EM database control, correct ? I do not see a service for it on the Services list. Teh apex application install asks for stopping/starting the http server. How do we do that ? AND, where the the http server binaries located ? I did a search for apache, and found it under C:\app\oracle\product\11.1.0\db_1\perl\site\5.8.3\lib\Apache, but no binaries there, or under ORACLE_BASE\bin either.
    What do I setup for ORACLE_HTTPSERVER windows environment on a brand new 11g database install ?
    Now, I see that we can get HTTP server from BEA install. I was trying to keep APEX from using a web server tier here. To me, the beauty of APEX is to not have to manage BEA, or any other tier. Keep it simple, at least for development, and keep everything on the DB, and simply use the native HTTP server.
    So, this is a VERY basic question, but how do I do that ? I will worry about what I can and can not do with the native HTTP server or BEA later. I just want to get this up and running so that I can start playing with it.
    Thanks,
    Henrique

    Here is my latest update before I go to bed :-(
    I was able to install the HTTP server, but had some issues later down on the apex install.
    C:\app\oracle\product\10g-iAS-http-server\opmn\bin>opmnctl status
    Processes in Instance: IAS-1
    --------------------------------------------------------------+---------
    ias-component | process-type | pid | status
    --------------------------------------------------------------+---------
    HTTP_Server | HTTP_Server | 5204 | Alive
    I am able to see the welcome page for the web server here
    http://localhost:7777/
    I am able to reset the admin password, ( by the way, I did setup the gateway as well :-) ). I am not sure what happens when you have both the gateway and the web server setup. Now, when try to login to the apex admin account using either
    http://localhost:7777/apex/apex_admin or
    http://localhost:7777/pls/apex/apex_admin, nothing happens besides a HTTP-404 error.
    Now, when I had the port set to 8080, via the commands
    SQL> EXEC DBMS_XDB.SETHTTPPORT(8080);
    PL/SQL procedure successfully completed.
    SQL> SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
    GETHTTPPORT
    8080
    and try to login again here
    http://localhost:7777/pls/apex/apex_admin
    I do get a prompt, but when i enter admin, and the password I have setup, it does not allow me to get in :-(
    Now, I need some explanation of this DAD file, as I am not sure if I need it to simply login during install. Here is the man page from the install doc :
    3.4.11.1 Creating a Workspace Manually
    To create an Oracle Application Express workspace manually:
    Log in to Oracle Application Express Administration Services. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. You log in using the ADMIN account and password created or reset during the installation process.
    In a Web browser, navigate to the Oracle Application Express Administration Services application.
    If your setup uses Apache and mod_plsql, go to:
    http://hostname:port/pls/apex/apex_admin
    Where:
    hostname is the name of the system where Oracle HTTP Server is installed.
    port is the port number assigned to Oracle HTTP Server. In a default installation, this number is 7777.
    pls is the indicator to use the mod_plsql cartridge.
    ***apex is the database access descriptor (DAD) defined in the mod_plsql configuration file.***
    Here it mentions this DAD file, and I am not sure if I need it now, and even, how to reference it. My database name is called apex, but I do not have anything on my dads.conf file. Should I have something there ? I see a sample such as this from the README.DADs file :
    <Location /plsqlapp>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername scott
    PlsqlDatabasePassword tiger
    PlsqlDatabaseConnectString orcl
    PlsqlAuthenticationMode Basic
    PlsqlDefaultPage scott.home
    PlsqlDocumentTablename scott.wwdoc_document
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure scott.wwdoc_process.process_download
    </Location>
    It is a bit late tonite. Tomorrow I will get back at it.
    Thanks for any help, but I must be doing something really obvious to you guys here, and I can't see it :-(
    Cheers,
    Henrique

  • Sorry, we are having some temporary server issues. You can work off line if you plan to insert pictures from your computer

    We have about 200 users that connect to three terminal servers. On the servers we have Office 2013 installed. Several users are stating that when they attempt to search for templates or insert Online Pictures, they are getting error messages of "Sorry,
    we are having some temporary server issues. You can work off line if you plan to insert pictures from your computer"
    Remember, they are connecting to a terminal server, all have roaming profiles, and for some users this works fine.
    We've Googled the error message and found no help. A lot of responses was to reset the IE settings, which we've tried to no avail.
    Also as a test, we took one of the users that was having the issue and deleted their profile. When they logged back on the server, the same problem occurred again.
    We're currently at a loss as to why it works for some users and not others?
    Any ideas out there?

    You can refer to this link and find the possible solution which is to delete the offending registry key:
    HKCU\Software\Microsoft\Office\15.0\Common\Internet\WebServiceCache\AllUsers\office15client.microsoft.com
    http://angrytechnician.wordpress.com/2013/05/15/office-2013-error-sorry-we-are-having-some-temporary-server-issues/
    There we can also find information about deploying logon script to all roaming profile users to resolve this issue.

  • HTTP SERVER need help.

    I have a http server problem.
    my platform win2k adv server
    w or w/o iis
    w or w/o active directory
    I installed the oracle 902 but the http quite ?????
    I shut down the iis services the http server doesn't take over. in oracle817 the http index page will just pop up.
    but in 9i it doesn't.
    some other thing i noticed is during the installation sometime the agent service right before the starting http services or just after the scott database creating done. it sometime when through sometime doesn't.
    any help?
    I basically just want to install apache and use apache to launch my form or other html page.

    Thank you so much ejp, I have been reading books for the past week trying to figure this out, had no luck.
    I'm just not sure about a couple of things, if you could clearify it for me.
    At the moment, I am doing the processes in the following order
    read request - main method
    send reply - HTTPclass
    close connection - HTTPclass
    I think you are telling me to change when I close the connection, ie the HTTPclass should remain in a while loop for a while (unless the keep-alive is not set).. I did try that, but everytime a new request would come in, the main method would make a new HTTPclass object and service it, rather then the old one servicing it.
    I dont quite understand this part
    while (read request != EOF)what does end of file have to do with it??
    sorry, these are probably easy questions, i'm just really confused
    Thanks again,
    Hakim

  • Intermedia Database Agent and HTTP Server

    I have intermedia web agent 8.1.5.4 running on nt sp6. i am
    trying to have a username and password in the database agent for
    uploading and retrieving files.
    this works when i use IIS 4.0, however it does not work when i
    use HTTP server. it will ask for username and password.
    here is the database agent description
    service = oracle
    database_user = icras2
    database_password = <password>
    authorized_request_class = clipboard
    authorized_sql_statements = any
    authorized_sql_procedures = *
    display_name = icras2
    authentication_realm_name = icras2
    retrieve_database_agent
    upload_database_agent
    clipboard_user = icras2
    Thanks
    Melissa

    I think it would be helpful if you described the reason that you would like to do this.
    I know that in some environments the powers that be will not install Apex on the database server.
    In such an environment you could create a local Oracle instance and install Apex yourself and access
    the database containing the data via dblinks. You'd have to be careful if you are processing lots of data
    in such a setup.
    I saw another response to your post and it looks like the person that responded assumed that you would install
    apex into the daabase that keeps all the data. However, if ypur administrators will not install Apex (and I have
    come across this) then you cannot follow that advice.

  • Apex SSL from  HTTP server - err 29040

    Have apex environment (originally 3.1.2 now 3.2) workiing fine under http server 10.1.3. regular http port 7777.
    After going thru the ssl and wallet documentation steps to apply certificates supplied to me, and scouring all the blogs, I'm still failing under https 4443 with:
    SSL call to NZ function nzos_Handshake failed with error 29040
    The default oracle ewallet.p12 lets me in after first complaining about the certificates. I made a new wallet, with owm, and added in the trusted certs that are suppsoed to match our internal browsers. Thats when things go wrong.
    I've tried, and of course bounced opmnctl with stopall, startall after changing each one:
    (1) in opmn.xml verified <ssl enabled="true"
    (2) auto-logon checked in the wallet with cwallet.sso,
    (3) left it off, regen'd wallet and set SSLWalletPassword to it's value,
    (4) tried and verified different wallet locations and the right settings in ssl.conf. (feel confident the ssl.conf settings work cause I can cause other errors by commenting out SSLWalletPassword in ssl.conf with auto-logon=off),
    (5) SSLVerifyClient set to none
    (6) in opmn.xml verified <data id="start-mode" value="ssl-enabled"/>
    (7) set LogLevel in httpd.conf to Debug (more output but nothing obviously usefull)
    (8) set SSLLogLevel in ssl.conf to debug (more output but nothing obviously usefull)
    any ideas would be much appreciated. AND especially does anyone know what the default password is for that default ewallet.p12 ?
    if it told me during install I must have missed it. first born for that cause maybe I can modify it and add in my certs ?

    Srini, thanks so much for helping. Sorry I didn't reply right off hand. To be honest I couldn't find doc id 473047 in metalink and then I finally got hold of our Certificate group and have been busy with them and just now got things resolved. Thanks again for replying. Really appreciate it.
    If anyone else stumbles across this in the future, after having installed just the http server and not knowing much about it, the default pwd to the default wallet is welcome. (be sure and make a copy of this ewallet.p12 in conf/ssl.wlt/default before playing with it). The invalid cipher clues of the 29040 msg were not the direct problem in my case. For me it ended up being incomplete wallet information as the root cause under 10.1.3.
    At first we had been just inserting trusted certificates into the wallet thinking that should match our inhouse browser images. Instead the "Warning, this is a development" msg kept showing. Finally we went thru the steps outlined in the documentation, using owm xwindows (or orapki) to create a new wallet from scratch, add a user certificate request, save the wallet, then export the user cert req to a flat file. You can then send that to your internal security group (assuming you have one) or whoever your Cert Authority is. They then send you back a new certificate that should constitute your User Certificate. You must first load in your trusted certificates (usually a Root and Issuing type trusted certs to constitute your "chain"). Then you can do a Import User Cert under owm and load in the afiorementioned fiel recvd from you security group. Also note the ON= value on your request must equal your DNS name as in server.xyz.com Also, I was being sent .key files that I could never import in. They then sent me pem files that had the key info blended in from what I understand and those worked.
    I was able to get variations of the 29040 error (290xx) by trying different values within the HTTPD.conf -> ssl.conf file for the various SSL variables. In the end I've ended up with the modified settings of
    SSLCipherSuite ALL
    SSLProxyCipherSuite ALL
    SSLVerifyClient none
    SSLProtocol ALL
    SSLProxyProtocol ALL
    although I suspect other combinations would be fine as well.
    The opmn/conf settings were set to the various values as seen in other postings and blogs but in the end did nto seem to be the issue for me. Other than modifying those <port local="6xxx" remote="6xxx" request="6xxx"/> to prevent the opmn logs from filling up fast. To do that I had to try different values that the ones found in some of the main google postings.

  • JDev 9.0.3.1035 - Error starting HTTP-Server: Address in use: JVM_BindHello

    Hello, we are unable to use JDev 9.0.3.1035.
    We installed your distribution and set it up as follows:
    1. Linked to CVS and checked out our project which works just fine under JDev 9.0.2
    2. Added libraries for Jakarta ECS and MS SQL Server JDBC drivers.
    Then we can run it once successfully. Close browser and terminate embedded OC4J Server and run project again and we get the following error:
    C:\JDEV\jdk\bin\javaw.exe -ojvm -classpath C:\jdev\j2ee\home\oc4j.jar -Dhttp.proxyHost=APOLLO -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts= -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config C:\jdev\jdev\system9.0.3.1035\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Error creating the ORB :
    Error starting HTTP-Server: Address in use: JVM_Bind
    The IDE then sits there until it times out.
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    **** Warning: JDeveloper timed out waiting for OC4J to startup.
    **** Please check your HTTP proxy server settings in the IDE Preferences dialog.
    Embedded OC4J startup time: 120190 ms.
    Target URL -- http://192.168.254.20:8988/Long postings are being truncated to ~1 kB at this time.

    Target URL -- http://192.168.254.20:8988/eStarGlobal-eStarGlobal-context-root/servlet/com.estar.servlet.eStarMainServlet
    We are now unable to continue running/testing/developing our project. We do not want to have to manually change the port number each time we run it. This problem occurs both in Win 2000 PRO and Win XP Pro. We have tried every combination of OC4J server host names, HTTP Server ports and Web Browser proxy settings.
    A similar problem was fixed in Rel 9.0.2 by changing the Host Name of the embedded OC4J server to localhost from the IP address.
    Would appreciate some help because we would like to take advantage of the new features in your product.

Maybe you are looking for

  • Can any one can provide ISU invoice material ?

    Hi Expert , Can u plz provide me ISU INVOICE material for study and can  u saggest how to install ISU in my system  for practice. Abhishek Tripathi

  • How to MAIL in wdapllication abap .

    Hello  Experts ,   I am developing abap web dynpro application . view is having fields ; mail to  : message text : and button send . clicking on button should send the mail to receipent specified in mail to inputfiled . can anybody help me in doing t

  • How to count only cells with content?

    I'd like to get a count of all cells in a column that have content. Any ideas how that can be done?

  • [Solved] makepkg warning about unknown key

    Hello, when compiling cower 7-1 a strange warning was given by makepkg. ==> Verifying source file signatures with gpg... cower-7.tar.gz ... FAILED (unknown public key 1EB2638FF56C0C53) ==> WARNING: Warnings have occurred while verifying the signature

  • How To: Upgrading from Windows XP to Windows 7 pro

    I upgrades from windows 7 home to windows 7 pro. I could not use the anytime upgrade option, so I did a full install I had a problem that I notice is common for many people, I came up missing drivers for my lan and wifi cards among others, I followed