Having the problem that, each time when starting up Oracle Discoverer Plus (10.1.2) and you try to login, you need to login twice to because the first time login failed. Well here’s the solution to your problem. This behaviour is caused by an incorrect conversion of the URL in OC4J.
Quick fix
The shorttime solution (for end users) is to startup Oracle Discoverer Plus using the complete servername and domainname in the URL (instead of using the shortname). Start Discoverer Plus throught: http://servername.domain.com/discoverer/plus
Robust solution
The longtime solution lies in adjusting the Apache/Apache/httpd.conf file.
The servername needs to be modified into the fully qualified servername. (so including the domainname).
Old situation is probably this:
servername servername
New situation should be:
servername servername.domainname.com ## or whatever your domainname is.
After changing and saving the httpd.conf configuration file, Stop and Start Apache to make the change effective.
