Portal Does Not Respond to All User Agents as Expected - Why?

(Doc ID 455128.1)

Last updated on MARCH 16, 2015

Applies to:

Portal - Version to [Release 10gR2]
Information in this document applies to any platform.
Checked for relevance on 16-Mar-2015


A user-agent is a client application used with a particular network protocol. The phrase is most commonly used in reference to those that access the World Wide Web.
Web user agents range from web browsers to search engine crawlers ("spiders"), mobile phones, screen readers and braille browsers used by people with disabilities.
When Internet users visit a web site, a text string is generally sent to identify the user agent to the server.

This form part of the HTTP request and is usually prefixed with User-Agent.
It typically includes information such as the application name, version, host operating system, and language. Internet Bots, or web spidering, often also include a URL and/or e-mail address so that the web master can contact the operator of the bot.

Grinder (stress testing tool) : http://grinder.sourceforge.net
W3C Validator : http://validator.w3.org
There are a lot more...

What can be seen in the Apache log: - - [25/Jul/2007:04:19:21 -0600] "GET 
/portal/page/portal?_esiReqType=2 HTTP/1.1" 200 788 - - [25/Jul/2007:04:19:21 -0600] "GET 
/portal/pls/portal/PORTAL.wwpob_home.redirect_to_home_page HTTP/1.1" 501 171 - - [25/Jul/2007:04:19:31 -0600] "GET 
/portal/page/portal/TOPLEVELSITE/Welcome HTTP/1.1" 200 10414 - - [25/Jul/2007:04:19:31 -0600] "POST 
HTTP/1.1" 200 319 - - [25/Jul/2007:04:19:32 -0600] "POST 
/portal/pls/portal/PORTAL.wwptl_mobile_config.getMobileGatewayURL HTTP/1.1" 
200 5 - - [25/Jul/2007:04:19:32 -0600] "POST 
/portal/pls/portal/PORTAL.wwptl_mobile_config.getMobileGatewayURL HTTP/1.1" 
200 5 - - [25/Jul/2007:04:19:32 -0600] "POST 
/portal/page/portal/TOPLEVELSITE/Welcome?_esiReqType=3 HTTP/1.1" 406 5 - - [25/Jul/2007:04:19:32 -0600] "POST 
/portal/page/portal/TOPLEVELSITE/Welcome?_esiReqType=3 HTTP/1.1" 406 5 - - [25/Jul/2007:04:19:33 -0600] "POST 
/portal/page/portal/TOPLEVELSITE/Welcome?_esiReqType=3 HTTP/1.1" 406 5 - - [25/Jul/2007:04:19:33 -0600] "POST 
/portal/pls/portal/PORTAL.wwptl_mobile_config.getMobileGatewayURL HTTP/1.1" 
200 5 - - [25/Jul/2007:04:19:33 -0600] "POST 
/portal/page/portal/TOPLEVELSITE/Welcome?_esiReqType=3 HTTP/1.1" 406 5 - - [25/Jul/2007:04:19:33 -0600] "POST 
/portal/pls/portal/PORTAL.wwptl_mobile_config.getMobileGatewayURL HTTP/1.1" 
200 5 - - [25/Jul/2007:04:19:43 -0600] "GET /portal/page/portal/xpto
HTTP/1.1" 200 10384 - - [25/Jul/2007:04:19:43 -0600] "POST 
/portal/pls/portal/!PORTAL.wwpob_smd.has_privilege/xpto HTTP/1.1" 200 305

Observe the requests being redirected to the Mobile and a HTTP-406 on the esiReqType=3.

What can be seen in the J2EE Portal application.log (PPE):

07/07/25 04:19:32 portal: [module=RepositoryServlet, ecid=84230983184,3] 
url=/portal/pls/portal/PORTAL.wwptl_mobile_config.getMobileGatewayURL status=200 user=PUBLIC reqTime=40ms connSU=HIT,0ms connRO=HIT,0ms procTime=10ms sessionTidyTime=20ms cache=(null) cookie=CLIENT,10ms 
pageCalls=0,0ms bytes=5 describe=NO,0ms streamTime=0ms pid=-1864369232 sessFile=(null) userFile=202/5677 sysFile=243/2302 cacheLevel=(null) cacheTime=0ms dbProcTime=0ms spid=(null) requestTrace=(null) cookieLen=0 
cookieValue=(null) reqUserTime=20ms assertUser=(null) subid=1 authLevel=0 oraError=0 uploads=0,0ms referer=(null) readTime=0ms
07/07/25 04:19:32 portal: [module=PortalServlet, ecid=84230983184,3] [perf] ipAddr=  url=http://hostname:port/portal/pls/portal/PORTAL.wwptl_mobile_config.getMobileGatewayURL
type=servlet status=200 user=PUBLIC
subscriberID=1 reqTime=94ms procTime=32ms reqUserTime=82ms 07/07/25 04:19:32 portal: id=84230983184,1 Can not handle request for Accept='', User-Agent='RPT-HTTPClient/0.3-3'. Mobile gateway not configured 
so returning not acceptable.

07/07/25 04:19:32 portal: [module=PortalServlet, ecid=84230983184,1] [perf] ipAddr= url=http://hostname:port/portal/page/portal/TOPLEVELSITE/Welcome?_esiReqType=3 type=servlet status=406 user=PORTAL subscriberID=1 
reqTime=394ms procTime=394ms reqUserTime=368ms
07/07/25 04:19:32 portal: id=92820918040,1 Can not handle request for Accept='', User-Agent='RPT-HTTPClient/0.3-3'. Mobile gateway not configured so returning not acceptable.
07/07/25 04:19:32 portal: [module=PortalServlet, ecid=92820918040,1] [perf] ipAddr= url=http://hostname:port/portal/page/portal/TOPLEVELSITE/Welcome?_esiReqType=3 type=servlet status=406 user=PORTAL subscriberID=1 
reqTime=268ms procTime=267ms reqUserTime=263ms
07/07/25 04:19:33 portal: [module=PortalServlet, ecid=84230984620,3] [perf-repos] url=session status=200 user=PUBLIC reqTime=50ms connSU=HIT,0ms connRO=(null),0ms procTime=0ms sessionTidyTime=0ms cache=(null) 
cookie=CREATE,50ms pageCalls=0,0ms bytes=0 describe=NO,0ms streamTime=0ms pid=-1736320080 sessFile=510/3728 userFile=(null) sysFile=(null) cacheLevel=(null) cacheTime=0ms dbProcTime=0ms spid=(null) 
requestTrace=(null) cookieLen=0 cookieValue=(null) reqUserTime=50ms assertUser=(null) subid=1 authLevel=0 oraError=0 uploads=0,0ms referer=/portal/pls/portal/PORTAL.wwptl_mobile_config.getMobileGatewayURL readTime=0ms
07/07/25 04:19:33 portal: id=84230984620,1 Can not handle request for 
Accept='', User-Agent='RPT-HTTPClient/0.3-3'. Mobile gateway not configured so returning not acceptable.


Notice the User-Agent -- RPT-HTTPClient/0.3-3 -- in this case for the Grinder test.



The access to the Portal is done by a 3rd Party Tool.
The normal access, eg, via a browser doesn't highlight this issue.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms