Rewrite/Redirect rules on HTTP Server

Hi there
I am using Oracle 10G R2 OAS, Portal built on top of infrastructure.
I would like to write some redirect rules where http://abc/myoldpage.com is redirected to http://abc/mynewpage.com
I know that I can write a simple ReWrite rule inside the httpd.conf file
RewriteRule /myoldpage /mynewpage
What I would like to do is have a conf file called ReWrites.conf with those same details inside. What I'm not sure about is how to put a directive in the httpd.conf file to point to the ReWrites.conf file.
Is there a way of doing this?
Thanks
Andy

How it is?
The normalization rule we have created is to remove the +2 and it working with Polycom CX700 after
upgrade its firmware aslo but still doesnt work with CX600
also as i mentioned before:
When i call this number
+2XXXXXXXXXXX from Polycom dial pad, the normalization rule applied successfully and the number appears without +2 and the call established successfully.
But when i call the same number by accessing my contacts then choosing Contact has the same number
+2XXXXXXXXXXX, normalization rule is not applied and the number appears in this format +2XXXXXXXXXXX so the call ended.

Similar Messages

  • Can URL redirects be configured with XE and what is the HTTP Server

    I would like to be able to URL redirects. I'm running XE with Application Express 2.1.0.00.39.
    I want to be able to have a URL like www.schoolwebsite.com and when the user hits it - have it redirect to the Apex page for the application. I was thinking that I needed to use a redirect in the HTTP config file, and that XE used Oracle_HTTP and I could configure in that manner.
    But, I can't find an Apache directory.
    1. What HTTP server is used with XE and Application Express 2.1.0.00.39?
    2. Can I configure for this type of redirect?
    3. Do I need to install an HTTP server to accomplish this?
    Thanks,
    Stephen

    Hi Steven,
    search for "proxy" in this forum.
    It explains how to configure a plain Apache http server as a proxy to XE. Then you can use the default mechanisms to rewrite an url.
    Here is an example (save the file as XE.conf and store it in the Apache conf directory (file httpd.conf is there).
    The following instructions are valid for Apache2.
    # Activate the following modules in httpd.conf:
    #LoadModule proxy_module modules/mod_proxy.so
    #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    #LoadModule proxy_http_module modules/mod_proxy_http.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    #LoadModule headers_module modules/mod_headers.so
    # include the XE configuration (this file XE.conf) in httpd.conf:
    #include "conf/XE.conf"
    # XE listener is buggy, thus downgrade to http 1.0
    SetEnv force-proxy-request-1.0 1
    RewriteEngine On
    RewriteLog "D:\Programme\Apache Group\Apache2\logs\rewrite.log"
    RewriteLogLevel 0
    ## Rewrite requests /apex, /i, /public, /sys to locally installed XE
    RewriteCond %{REQUEST_URI} /(([^/]+)(/.*)*)$
    RewriteCond %2 =apex [OR]
    RewriteCond %2 =i [OR]
    RewriteCond %2 =public [OR]
    RewriteCond %2 =sys
    RewriteRule ^/(.*) http://%{SERVER_NAME}:8080/%1 [P]
    ## Rewrite main page
      RewriteEngine On
      RewriteRule ^/$       http://%{SERVER_NAME}/apex/f?p=107:1 [R]
      RewriteRule ^/index.html$       http://%{SERVER_NAME}/apex/f?p=107:1 [R]
    ## Rewrite /app1
      RewriteRule ^/app1$      http://%{SERVER_NAME}/apex/f?p=107:1:0 [R=303]Regards,
    ~Dietmar.
    Edited by: Dietmar Aust on Oct 14, 2008 1:16 AM

  • I have multiple SSID, but want users of a single SSID to be redirected to a HTTP or HTTPS URL (LAN SERVER for authentication)

    Hi team,
    I  have multiple SSID, but want users of a single SSID to be redirected to a HTTP or HTTPS URL (LAN SERVER for authentication)
    I am very curious and it is important. I want to see how to achieve this with CISCO WLC !!!

    http://10.229.3.99/login.html?switch_url=https://1.1.1.1/login.html&ap_mac=e8:40:40:ad:cc:80&wlan=MO-GUEST&redirect=/login.html?switch_url=https://1.1.1.1/login.html&ap_mac=e8:40:40:ad:cc:80&wlan=MO-GUEST&redirect=/login.html?switch_url=https://1.1.1.1/login.html&ap_mac=e8:40:40:ad:cc:80&wlan=MO-GUEST&redirect=/login.html?switch_url=https://1.1.1.1/login.html&ap_mac=e8:40:40:ad:cc:80&wlan=MO-GUEST&redirect=/login.html?switch_url=https://1.1.1.1/login.html&ap_mac=e8:40:40:ad:cc:80&wlan=MO-GUEST&redirect=/login.html?switch_url=https://1.1.1.1/login.html&ap_mac=e8:40:40:ad:cc:80&wlan=MO-GUEST&redirect=/login.html?switch_url=https://1.1.1.1/login.html&ap_mac=e8:40:40:ad:cc:80&wlan=MO-GUEST&redirect=/login.html?switch_url=https://1.1.1.1/login.html&ap_mac=e8:40:40:ad:cc:80&wlan=MO-GUEST&redirect=10.229.3.99/login.html?switch_url=https://1.1.1.1/login.html&ap_mac=e8:40:40:ad:cc:80&wlan=MO-GUEST&redirect=www.geo.tv/
    I wanted if someone connects to WLAN "MO-GUEST" automatically the user should be redirected to http://10.229.3.99/login.html and once authenticated by 10.229.3.99 , he/she should be allowed to access anything as normal. [ actually i just want automatic url redirection for the first time for the user of wlan "MO-GUEST"
    waiting expert opinions.

  • Redirect AIR app http traffic to SOCKS server

    Hi there,
    I have an AIR app creating an SSH tunnel/SOCKS5 using a JAVA class via Native process, that so far works perfect but I need to redirect all the http requests from the AIR to the SOCKS server, can this be done via Socket/ServerSocket?? any exmaples?
    Thanks
    MArcos

    First things first - WS6.1sp4 is very old. You should upgrade to the latest SP. There are security problems that have been fixed in the years since SP4 was released.
    <Client match="none" security="true">
    NameTrans fn="redirect" from="/" url-prefix="https://www.example.com"
    </Client>This would probably work. <Client security="false"> might work. I'm not positive if Security is holding a Boolean value and this is the right way to test for it, but some quick experimentation should be able to validate the solution.
    Basically what you're trying to do is test for whether the request is secure or not and, if it is not, redirect the browser to the same URI but on a new protocol (https).
    You could also have two obj.conf files. One could be attached to the Port 80 listen socket and do nothing but redirect anything that comes in to the Port 443 listen socket.

  • Redirect / Block non https traffic

    I have a quick question. Today I setup teaming 2.0 on SLES10.
    After customizing the SuSE firewall per the instructions everything is perfect. I then cut off non-secure port 80 traffic. Looked OK. I found that the email that teaming sends out is http://server, since I killed http traffic it's now broken. I tried changing the firewall rule to FW_REDIRECT="0/0,10.0.100.100,tcp,80,8443 to see if it would just redirect the port 80 traffic to 8443 on the server - but that did not work. Is their a place I can simply change the email to link to https://server?
    Any other thoughts?
    Cool product by the way!
    Tha
    Dennis

    Dennis,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Email Redirection Rule Issue

    We have on premise Exchange Server 2013. when creating an email redirection rule, the rule works just fine. the emails coming to certain recipients will be diverted to one service account. so far so good. but after some time (two to four weeks) the redirection
    stops and the only way to overcome this is by deleting and recreating the rule.
    Appreciate any tips

    Hi,
    first of all we should have to check whether the transport rule is applying or not .
    That can be achieved via transport pipeline logs and also by message tracking .
    You have said on your rule a email to specific recipients will be redirected to a single service account.
    1.Just enable the transport pipeline for the anyone of the recipient mentioned on the rule.Then check the logs you will came to know whether transport rule is applying or not .
    http://social.technet.microsoft.com/Forums/exchange/en-US/87b56525-0d4a-48b6-a646-92f5d2931702/how-to-track-which-transport-rule-that-applying
    Note : Once you completed troubleshooting please disable the transport pipeline logs .
    2.Then do a message tracking for any one of the recipient there you came to know is there any transport agents or rules acting on that message or not .
    Please reply me if you have any queries .
    Regards
    S.Nithyanandham
    Thanks S.Nithyanandham

  • Web Site Hosting in Oracle HTTP Server

    Hi All,
    We have an application based on Oracle UCM. We are accessing that application using the url http://site_name/GMKP/index.htm . I have done virtual hosing (name based) with HTTP Server to host multiple web sites. One requirement is we need to access our application using url http://site_name/gmkp/index.htm . How can we do that? Please let me know a solution for this. Do we have to write some rewrite rule for this?
    Thanks,
    Manikandan
    Edited by: Manikandan on Nov 9, 2010 2:22 AM

    Look into mod_rewrite with a .htaccess file. You turn it on in httpd.conf.
    There is a pretty nice instruction at http://www.addedbytes.com/for-beginners/url-rewriting-for-beginners/

  • Is it possible to manually setup a Folder Redirection Policy on SBS 2008 for one user? Also are you able to set up folder redirection on a different server than you have SBS 2008 on?

    I have a SBS 2008 DC I would like to be able to change the Folder Redirection to a different server.  I also would like to be able to test with one user.  I read on the forums that it is best to use the wizards for SBS2008.  The only problem
    I have with using the wizards is that I am unable to test and I am also unable to use a network share for my redirection location.  

    Hi,
    I am sure you would get some help from :
    http://blogs.technet.com/b/sbs/archive/2010/10/08/folder-redirection-in-small-business-server-2008.aspx
    https://social.technet.microsoft.com/Forums/en-US/448583ca-471e-4a0c-9d26-aa9181e73962/folder-redirection-changing-location?forum=smallbusinessserver
    User setting can be found:
    Windows SBS Console > Shared Folders and Web Sites > Shared Folders - in Tasks panel click on Redirect folders for user accounts to the server.
    Under Folder Names Select folder(s) you want to redirect (e.g. Documents).
    Under User Accounts select accounts you want to have folders redirected.
    Click OK
    Binu Kumar - MCP, MCITP, MCTS , MBA - IT , Director Aarbin Technology Pvt Ltd - Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How can i Download file directly to http server (like in cloud server) instead user's pc

    I wan to create a plugin like download manager which download file directly in cloud.
    On Download prompt it ask for login and after user authenticate successfully it will redirects to our website in next tab where download will started.
    But i am unable to get download file url when click on particular file for download .
    I need this download file url and pass it to http server to download there.
    Please help me how can i do this ???
    Urgent help required.
    Thanks in advance.
    Sagar Modi

    Try to ask advice at the MozillaZine Extension Development forum.
    *http://forums.mozillazine.org/viewforum.php?f=19
    You need to register on the MozillaZine forum site in order to post at that forum.

  • A trouble free way of giving Administrators access to redirected folders on Windows Server 2008 R2 Standard?

    A few months ago I set up some redirected folders on a clients Windows Small Busines Server 2008. I recall that setting up the redirected folders was straightforward, but when I edited the permissions to allow administrative access to these server located
    folders, all hell broke lose. The permissions change seemed to trash the folders. I think I managed to 'bodge' it for a couple of users and got it working, but it was such a headache I didn't bother doing it for the other users.
    Now, I sit in front of a brand-spanking-new Windows Server 2008 R2 Standard box which is going to be installed with a new client within 48 hours. I would like to set up redirected folders and would like to grant admin rights on these folders so I can view
    their contents directly from the server.
    It seems to me that there is no offical Microsoft documentation which relates specifically to doing this on Windows Server 2008. Given the amount of problems this has caused for many admins, I am astounded.
    Somewhere there are articles which describe how to do it on 2003, but this procedure does not work well in 2008.
    There is an SBS article that admits permissions can be trashed, but this is no help on Standard edition:
    http://blogs.technet.com/b/sbs/archive/2010/10/08/folder-redirection-in-small-business-server-2008.aspx
    I have just posted a note on this rather long article:
    http://social.technet.microsoft.com/Forums/en-GB/smallbusinessserver/thread/70fa7f0e-7f2c-4f00-8401-42d262d80cd6
    So, my question, hopefully to Microsoft employee, please can you document
    exactly how to grant admin rights to users redirected folders on Windows Server 2008 R2 Standard, and please could you do it today :-)
    In the absence of this help, then I'm afraid this is yet another great but badly implemented feature that we will not be using.
    Stuart

    Typical Micro$haft answer!
    Quote "Hope this helps!"
    NO IT DOESN'T!
    Did you bother to read the original question?
    Quote "So, my question, hopefully to Microsoft employee, please can you document exactly how
    to grant admin rights to users redirected folders on Windows Server 2008 R2 Standard"
    So, Micro$haft, Why did you give instructions to Server 2003?
    ... When the requester SPECIFICALLY stated: "Somewhere
    there are articles which describe how to do it on 2003, but this procedure does not work well in 2008"

  • Mod_osso behavior differences with 10gR3 Oracle HTTP Server 2

    We have an install of standalone 10gR3 Oracle HTTP Server 2 (i.e. the Apache 2 version), and have noticed that the behavior of mod_osso is different than the regular 10gR3 Oracle HTTP Server (i.e. the Apache 1 version).
    We use the following in our mod_osso.conf:
    <Location /somepath>
    AuthType Basic
    require valid-user
    </Location>
    First Difference: With OHS 2, when we go to /somepath, we get the error "missing AuthName" in the Apache logs.
    So, we set an AuthName. Now, our mod_osso.conf looks like this:
    <Location /OnDemand>
    AuthType Basic
    AuthName "Oracle Single Sign On"
    require valid-user
    </Location>
    Second Difference: Now, we we go to /somepath, Apache returns a 401, which causes the browser to prompt for credentials! We can enter anything we want in the dialog, and everything will continue as normal (i.e. redirects to the Oracle SSO Server to prompt for credentials, etc).
    So, our question is: Why these behavior differences in 10gR3 OHS 2? It almost seems as if it's using an old 9i mod_osso!
    Thanks,
    - Bill

    Okay, we figured it out.
    Apparently, the three "LoadModule mod_auth*" lines in OHS 2 httpd.conf need to be commented out.
    Now mod_osso is working exactly as with OHS 1.
    - Bill

  • Configuring Apache HTTP Server with Oracle Weblogic Server plugin

    Hello friends,
    I have a scenario of OIM 9.1.0.2 on Oracle Application Server 11g and Weblogic Server Apache HTTP Server.
    Oracle WebLogic Server is configured in cluster (node1 and node2), also use the Oracle Weblogic Server plugin for integration with Apache.
    One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead.
    When the mode is node1 and node2 stop start mode and try to access the management console of Oracle Identity Manager, the plugin sometimes redirects to the other active node, and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel.
    Deputy of the Apache HTTP Server log, do you expect your comments to solve this case?
    *************************************************log****************************************************
    Server Details are:
    OrigHostInfo [192.168.1.200]
    isOrigHostInfoDNS [0]
    Host [192.168.1.200]
    Port [7002]
    SecurePort [7004]
    Mon Jan 30 22:10:43 2012 <2600713279794431> Initializing lastIndex=0 for a list of length=1
    Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
    Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
    Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2600713279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
    Mon Jan 30 22:10:43 2012 <2600713279794431> getPreferredFromCookie: Found 1 servers
    Mon Jan 30 22:10:43 2012 <2600713279794431> attempt #0 out of a max of 5
    Mon Jan 30 22:10:43 2012 <2600713279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
    Mon Jan 30 22:10:43 2012 <2600713279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
    Mon Jan 30 22:10:43 2012 <2600713279794431> New SSL URL: match = 0 oid = 22
    Mon Jan 30 22:10:43 2012 <2600713279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
    Mon Jan 30 22:10:43 2012 <2600713279794431> EINPROGRESS in connect() - selecting
    Mon Jan 30 22:10:43 2012 <2600713279794431> Setting peerID for new SSL connection
    Mon Jan 30 22:10:43 2012 <2600713279794431> 0ae2 0436 0000 1b5c ...6...\
    Mon Jan 30 22:10:43 2012 <2600713279794431> Local Port of the socket is 39186
    Mon Jan 30 22:10:43 2012 <2600713279794431> Remote Host 192.168.1.200 Remote Port 7004
    Mon Jan 30 22:10:43 2012 <2600713279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/spacer.gif', Local port:39186
    Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: CA certificate missing basicConstraints, validation failed
    Mon Jan 30 22:10:43 2012 <2600713279794431> ERROR: SSLWrite failed
    Mon Jan 30 22:10:43 2012 <2600713279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2600713279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2600713279794431> Marking 192.168.1.200:7004 as bad
    Mon Jan 30 22:10:43 2012 <2600713279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3160
    Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2598413279794431>
    ================New Request: [GET /images/cab.gif HTTP/1.1] =================
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL is configured
    Mon Jan 30 22:10:43 2012 <2598413279794431> SSL Main Context not set. Calling InitSSL
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL configured successfully
    Mon Jan 30 22:10:43 2012 <2598413279794431> Using Uri /images/cab.gif
    Mon Jan 30 22:10:43 2012 <2598413279794431> After trimming path: '/images/cab.gif'
    Mon Jan 30 22:10:43 2012 <2598413279794431> adding prepend path: /xlWebApp/
    Mon Jan 30 22:10:43 2012 <2598413279794431> The final request string is '/xlWebApp/images/cab.gif'
    Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.100]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.200]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=2
    Mon Jan 30 22:10:43 2012 <2598413279794431> getListNode: created a new server node: id='192.168.1.100:7004,192.168.1.200:7004' server_name='OIMSERVER', port='443'
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferred: availcookie=[JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Found cookie from cookie header: JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
    Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cookie JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
    Mon Jan 30 22:10:43 2012 <2598413279794431> getpreferredServersFromCookie: [-872106207!NONE]
    Mon Jan 30 22:10:43 2012 <2598413279794431> primaryJVMID: [-872106207]
    secondaryJVMID: [NONE]
    Mon Jan 30 22:10:43 2012 <2598413279794431> No of JVMIDs found in cookie: 1
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Start Position is 0, listLen is 2
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Either JVMIDs not set or they are stale. Will try to get JVMIDs from WLS
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Iterating SrvrList from position 0
    Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
    initJVMID: Trying Host[192.168.1.100] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
    Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
    Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 146, msg 'Connection refused'
    Mon Jan 30 22:10:43 2012 <2598413279794431> Error connecting to host 192.168.1.100:7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [CONNECTION_REFUSED] (Error connecting to host 192.168.1.100:7004 errno = 146) raised at line 1723 of ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Failed to retrieved JVMID for 192.168.1.100:7004:7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Marked server as BAD
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
    Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
    initJVMID: Trying Host[192.168.1.200] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
    Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
    Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
    Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
    Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
    Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
    Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39188
    Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Certificate validation succeeded
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Negotiated to cipher: 3
    Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite sent 171
    Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite completed, sent 171
    Mon Jan 30 22:10:43 2012 <2598413279794431> Reader::fill() SSLRead returned: 0 290
    Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]
    Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: StatusLine set to [404 Not Found]
    Mon Jan 30 22:10:43 2012 <2598413279794431> parsed all headers OK
    Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cluster list: -872106207!182584374!7002!7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Parsing JVMID '-872106207!182584374!7002!7004'
    Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Actually parsing '-872106207!182584374!7002!7004'
    Mon Jan 30 22:10:43 2012 <2598413279794431> ServerInfo struct for JVMID '-872106207' populated
    Server Details are:
    OrigHostInfo [192.168.1.200]
    isOrigHostInfoDNS [0]
    Host [192.168.1.200]
    Port [7002]
    SecurePort [7004]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=1
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Found 1 servers
    Mon Jan 30 22:10:43 2012 <2598413279794431> attempt #0 out of a max of 5
    Mon Jan 30 22:10:43 2012 <2598413279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
    Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 22
    Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
    Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
    Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
    Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
    Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39189
    Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/cab.gif', Local port:39189
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: CA certificate missing basicConstraints, validation failed
    Mon Jan 30 22:10:43 2012 <2598413279794431> ERROR: SSLWrite failed
    Mon Jan 30 22:10:43 2012 <2598413279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2598413279794431> Marking 192.168.1.200:7004 as bad
    Mon Jan 30 22:10:43 2012 <2598413279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3160
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
    Thanks

    "One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead."
    Note that the plug-in does a round robin load balancing, for example, in the case of three server (1,2,3) it does 1-2-3-1-2-3-1...
    with server 3 going down it does 1-2-1-2-1...
    An example configuration (with SSL off) looks as follows:
    LoadModule weblogic_module   "/home/oracle/weblogic12.1.1/apache/modules/mod_wl.so"
    <IfModule weblogic_module>
         ConnectTimeoutSecs 10
         ConnectRetrySecs 2
         DebugConfigInfo ON
         WLSocketTimeoutSecs 2
         WLIOTimeoutSecs 300
         Idempotent ON
         FileCaching ON
         KeepAliveSecs 20
         KeepAliveEnabled ON
         DynamicServerList ON
         WLProxySSL OFF
    </IfModule>
    <Location /LoadTest6>
         SetHandler weblogic-handler
         WebLogicCluster 172.31.0.175:7002,172.31.0.113:7003
    </Location>Also see the complete example here: http://middlewaremagic.com/weblogic/?p=7795
    "the plugin sometimes redirects to the other active node"
    This is somewhat strange, do you have session binding turned off?
    "and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel."
    This could happen due to mime types (not really sure just a hunch). Here is a general story on this concept: https://developer.mozilla.org/en/Properly_Configuring_Server_MIME_Types
    and the apache module: http://httpd.apache.org/docs/2.2/mod/mod_mime.html

  • HTTP Server High Availability

    Hello All.
    I have a question regarding OC4J and HTTP server High Availability.
    I want to do something like the Figure 3-1 of the Oracle Application Server High Availability Guide 10.1.2. See this link
    http://download-east.oracle.com/docs/cd/B14099_11/core.1012/b14003/midtierdesc.htm#CIHCEDFC
    What I have now is the following:
    Three hosts
    Two of them are an OAS 10.1.2 which we already configured the Cluster and deployed our applications (used this tutorial: http://www.oracle.com/technology/obe/obe_as_1012/j2ee/deploy/j2eecluster/farmcluster.htm)
    Let's say this nodes are:
    - host1
    - host2
    The other one is the Oracle WebCache stand alone (will act as Load Balancer). We will call this
    - hostwc3
    We already configured the WebCache as Load Balancer and is working just fine. We also configured the session replication successful and work great with our applications.
    What we have not clear is the following:
    When a client try to visit http://hostwc3/application/ the LOAD BALANCER routes him to, let's say http://host1/application/ and in the browser's URL will not show the Virtual Server anymore (the webcache server) and will show the actual real Apache address (host1 )that is attending him. IF we "kill" on ENTIRE host1 (apache, oc4j, etc..) the clients WILL perceive the down and if they try to press F5, the will try to access to an Apache that doesn't is up and running.... The behavior expected is that the browser NEVER shows the actual Apache URL, so, when some apache goes down, the client do not disconnect (as it happens with and OC4J downfall ) and always works with the "virtual web server".
    I came up with some ideas but I want you Guys to give me an advice:
    - In Web Cache, do not route for load balancing to Apache, and route the Oc4J directly (Is this possible?)
    - Configure a HTTP Server Cluster, this means that we have to have a "Virtual Name"to the Apaches (two of them). Is this possible? how?
    - Use the rewrite mode of the Apache. Is this a good idea?
    - Any other idea how to fix the Apache "Single Point Of Failure" ?
    According with the figure 3-1 ( Link above ) we do can have HTTP Server in a cluster. But I have no idea how to manage it or configure it.
    Thanks in advance any help!

    You cannot point Outlook Anywhere to your DAG cluster IP address. It must be pointed to the actual IP address of either server.
    For no extra cost DNS round robin is the best you will get, but it does have some drawbacks as it may give the IP address of a server you have taken down for maintenance or the server has an issue.
    You could look to implement a load balancer but again if you are doing this for high availability then you want more than one load balancer in the cluster - otherwise you've just moved your single point of failure.
    Having your existing NAT and just remembering to update it to point to the other server during maintenance may suit your needs for now.
    If you can go into more detail about what the high availability your business is looking to achieve and the budget we can suggest the best method to meet those needs for the price point.
    Have a great day
    Oliver
    Oliver Moazzezi | Exchange MVP, MCSA:M, MCITP:Exchange 2010,Exchange 2013, BA (Hons) Anim | http://www.exchange2010.com | http://www.cobweb.com | http://twitter.com/OliverMoazzezi

  • 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)

  • Oracle HTTP Server and mod_plsql

    Hi there,
    I have a problem using HTML DB on a small network. LAN consists of two computers with Windows XP Professional, Service Pack 1. Server has two NIC. One connected to the local internet provider (PPPoE) with TCP/IP set to "Obtain an IP address automatically" and second network adapter (for the LAN) with TCP/IP address 192.168.0.2. Second computer has NIC with IP 192.168.0.3. The server is set with HTML DB 2.0. There is NO ANY problem if I work on it as stand alone computer - second network adapter disable!
    The problem arises if I connect the second computer and then start HTML DB by http://localhost:7777/…"503 the service is temporary unavailable", emagent is down, DBconsole service is not active anymore, etc. Apache or Oracle HTTP Server is up.
    I have found, after several days of troubleshooting, that the problem might be in httpd.config file. If somebody have experience in similar networks or Oracle HTTP Server settings please, give me advice or send httpd.conf file as an example.
    Please help me!
    Konstantin

    Hi,
    If I disable the network adapters and restart the computer, then connect to the HTML DB or my application, everything is OK. Then enable connection and I can work from both computers!
    This is listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = KONCOMP)(PORT = 1521))
    This is tnsnames.ora
    KONSTA10 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = koncomp)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = KONSTA10)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    The dad.conf is empty because I am using marvel.conf. I just checked the rules to build such file. Listener uses as host name - computer name (in my case koncomp), but in all config files Oracle HTTP Server uses name localhost or 127.0.0.1. That is the reason for SYSMAN to make too separate folders in Oracle home named LOCALHOST_instancename and hostname_instanceename.
    One error from emagent.log
    It goes down all the times when the problem arises.
    2005-12-05 15:11:58 Thread-1996 ParseError: File=stream, Line=4, Msg=Missing value for ARG in RemoteOperationArgument (01006)
    An error from sqlnet.log
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=koncomp)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=KONSTA10)(CID=(PROGRAM=C:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe)(HOST=KONCOMP)(USER=Konsta))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 08-&#1044;&#1045;&#1050;. -2005 20:31:09
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0
    Moreover in listener.log LISTENER is tried to connect to 127.0.0.1 and to 192.168.1.2 which is the second network adapter.
    From Database Control, then Management Services and Repository, and Agent there are one agent and 4 targets. I found there several Metric erros.
    Agent to Agent (Agent Process Statistics)
    em_result=3696|0.00|14204|20384|1.94||751|12|14204|20384 Terminating on signal SIGTERM(15)
    Agent to Database Instance (SQL Response Time, Streams Capture Queue Statistics, SGA Pool Wastage, etc.)
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor,
    ORA-12545: Connect failed because target host or object does not exist,
    em_error=Could not connect to dbsnmp/(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(Port=1521))(CONNECT_DATA=(SID=Konsta10))) : ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach),
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    Agent to Listener (Response)
    Terminating on signal SIGTERM(15)
    Policy Violations found
    Oracle recommends that you close all unnecessarily open ports, especially on internet-facing hosts

Maybe you are looking for

  • Memory leak in weblogic 6.0 sp2 oracle 8.1.7 thin driver

    Hi,      I have a simple client that opens a database connection, selects from a table containing five rows of data (with four columns in each row) and then closes all connections. On running this in a loop, I get the following error after some time:

  • Sync says i need 4.6g but library is only 2.8g

    Hello, I just purchased a Macbook last week and have transferred over my music library. My 4g Nano used to sync just fine with my PC iTunes. But when i tried to sync it (using the erase and resync method) with my transferred library in iTunes, it say

  • Error in Database recover

    HI all while trying to recover database got error ORA-00283: recovery session canceled due to errors ORA-01201: file 53 header failed to write correctly Please guide me for this. Thanks

  • ORA 01840 SELECT INTO

    HI, Would someone please look at this code? For all the changes I made it still returns the same error above. If I can not use the TYPE TABLE ... would be great. The select statement is going return several values with the same date (sysdate-1). I am

  • Logic Collaboration Via Dropbox not working

    Hi I've started co-writing with a couple of other Logic9 Users and assumed that by sharing the .lso in dropbox that we could literally save updated versions of the song and add in parts as we see fit. We're all (for writing purposes) using the factor