tag:blogger.com,1999:blog-38586079.post8070624015889951500..comments2024-01-22T15:27:00.730+08:00Comments on One size doesn't fit all: Handy JDeveloper utility: the Http AnalyzerChris Muirhttp://www.blogger.com/profile/06566648350240654621noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-38586079.post-2775385895976810452011-05-29T01:42:07.192+08:002011-05-29T01:42:07.192+08:00I had a nightmare getting http analyzer to work an...I had a nightmare getting http analyzer to work and found your post was very helpful. I am not sure why JDeveloper cannot make this a one click process.<br /><br />Thank you.Clive Jefferieshttps://www.blogger.com/profile/08118568645019917350noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-30764330669839823012007-12-06T09:53:00.000+09:002007-12-06T09:53:00.000+09:00Yep, you hit the nail on the head, my instructions...Yep, you hit the nail on the head, my instructions only work for JDev 10.1.3. JDev 11g's HTTP Analyzer has changed.<BR/><BR/>For JDev 11g in the HTTP Analyzer:<BR/><BR/>1) Say you have an app running at http://127.0.0.1:8080/blah/blah<BR/>2) Open the HTTP Analyzer preferences<BR/>3) Add a URL Substitution rule<BR/>4) Make sure the Substitution rule come before the Pass through rule that already exists<BR/>5) In the substitution rule set:<BR/>5.1) Host = localhost<BR/>5.2) Listen on port = 8099<BR/>5.3) URL filter = http://localhost:8099.*<BR/>5.4) Filter test = (leave blank)<BR/>5.5) String to replace = localhost:8099<BR/>5.6) String to replace is reg expression = unchecked<BR/>5.7) Replacement String = 127.0.0.1:8080<BR/><BR/>I have rushed writing these instructions somewhere so let me know if you have any issues.<BR/><BR/>Note that <A HREF="http://kingsfleet.blogspot.com/" REL="nofollow">Gerard Davison</A> at Oracle has some guidelines on his blog to help you understand what you're actually doing.<BR/><BR/>CM.Chris Muirhttps://www.blogger.com/profile/06566648350240654621noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-70631012929590488552007-11-29T21:30:00.000+09:002007-11-29T21:30:00.000+09:00Chris,Your article is very interesting.I have your...Chris,<BR/><BR/>Your article is very interesting.<BR/>I have your steps but with jdev11 tp2.<BR/>With a very simple case, I get this error message :<BR/>JDeveloper HTTP Analyzer encountered an error retrieving:<BR/><BR/>GET http://vaio-portable:8099/Protectia1-ViewController-context-root/faces/pprDeclaratif2.jspx?_adf.winId=1826625445_4&_adf.ctrl-state=1826625445_3 HTTP/1.1<BR/>Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*<BR/>Accept-Language: fr-FR,en-GB;q=0.7,en-US;q=0.3<BR/>UA-CPU: x86<BR/>Accept-Encoding: gzip, deflate<BR/>User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1)<BR/>Host: 192.168.1.4:8099<BR/>Connection: Keep-Alive<BR/>Cookie: JSESSIONID=cd191ac74967837766100ee4743ce7c0e7e8e6a86f9a0c813e3a0d969188df68; oracle.uix=0^^GMT+1:00<BR/>X-Forwarded-For: 192.168.1.4<BR/><BR/>The error was:<BR/><BR/>The request URL http://vaio-portable:8099/Protectia1-ViewController-context-root/faces/pprDeclaratif2.jspx?_adf.winId=1826625445_4&_adf.ctrl-state=1826625445_3 handled by instance vaio-portable:8099 cannot be serviced, as it would result in looped invocation of the instance<BR/><BR/>Have you got an idea ?<BR/><BR/>Thanks you very much,<BR/><BR/>Christophe,Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-38586079.post-90585024981120216642007-04-30T20:38:00.000+08:002007-04-30T20:38:00.000+08:00Chris,Nice article, I work in the team that implem...Chris,<BR/><BR/>Nice article, I work in the team that implements this feature and would be interested to hear about any enhancement requests you might have. <BR/><BR/>Also we are working on a preview release for JavaOne which may include some ehancements in the HTTP Analyzer that you might find usefull.<BR/><BR/>Gerard Davison<BR/>Gerard.Davison@oracle.comAnonymousnoreply@blogger.com