Seeking Oracle out of the matrix

Google
 
Web aboutoracle.blogspot.com
Oracle New Articles
Oracle Critical Patches
Oracle jDeveloper News
Oracle Blogs of interest


This blog records my personal experience.
Latest news from the front
               

Thoughts about oracle Author's note : Thank you all for your supporting letters. You have been a motivation to this web spot's posting. I wish you all the very best for you and your families for the new year.
Interested to know about a next post? You can suscribe to my RSS feed
HOW TO:

TIP : request.getRemoteAddr() and request.getRemoteHost() return the Server names, not the client's host name and ip (on Oracle Application Server)
Sunday, November 12, 2006

Well, this is a known issue since Oracle Application Server 9i. I have found a solution in Oracle Application Server 10g release 2. I know it applies to the 10g product family but i didn't test it on 9i. If anyone knows if this also applies on 9i, don't hesitate to leave a comment here :-)

Goto your Oracle Business Intelligence platform (not infrastructure) and click on Http Server-> Administration-> Advanced Server Properties-> httpd.conf

Oracle Application Server 10g bug request.getRemoteAddr request.getRemoteHost



and uncomment the line :

UseWebCacheIp On





When webcache is forwarding requests to OHS, the clientIP becomes the IP of the originating webcache server and the real client IP is stored in the ClientIP header.
Instead of modifying the header with more java source code, just uncomment the UseWebCacheIp and you will have the Client's IP recorded in the log files and also your source code : request.getRemoteAddr() request.getRemoteHost() will work properly.

posted by Admin @ 11:17 PM  
add to del.icio.us Digg it! Furl this! add to reddit! add to dzone!
4 Comments:
Post a Comment
<< Home

About Me

Name: John Galanopoulos
Home: The NeverLands
About Me: A source code wonderer since the early 80s with my first ZX81 by Sinclair, home computer.
See my complete profile
Previous Post
Archives
Links
ΣΚΛΗΡΥΝΣΗ ΚΑΤΑ ΠΛΑΚΑΣ - ΕΓΚΕΦΑΛΟΣ - ΕΓΚΕΦΑΛΟΓΡΑΦΗΜΑ - ΑΝΟΙΑ - ΝΕΥΡΟΛΟΓΟΣ - ΨΥΧΙΑΤΡΟΣ - ΛΟΙΜΩΔΗΣ ΜΟΝΟΠΥΡΗΝΩΣΗ - ΠΑΡΚΙΝΣΟΝ - ΑΓΧΟΣ - ΚΑΤΑΘΛΙΨΗ - ALZHEIMER - EPSTEIN BARR Eurolife
Email notification

Enter your email address and get notified whenever there is a new post:

Delivered by FeedBurner

This website abides by a strict policy : no spam, just posts; and that's a promise.

Powered by

Free Blogger Templates

BLOGGER


Register for a skinnyscore at www.blogskinny.com and increase traffic
Software Blogs -  Blog Catalog Blog Directory

© 2005 Seeking Oracle out of the matrix Template by Isnaini Dot Com