Posted by: repettas | August 21, 2008

PeopleSoft WebServer Incorrectly Configured?

Error during signon to PT 8.19 or higher.

“Webserver appears to be incorrectly configured. System detected that multiple webserver sessions are being generated during login.”

As the message suggests, this indicates that several connections are being initiated from the browser to the webserver. This can happen because the webserver is not able to read back the cookie it submitted to the browser.

Cookies have primarily 3 attributes, a name, a value and a domain to which they are associated. The Peoplesoft Webserver uses a cookie to track user sessions. Typically, the cookie name follows the naming convention “–WebLogicSession”, where hostname is the local name of the webserver, and port refers to the port the webserver is listening on for incoming http connections.
Examples are: tssun-7001-WebLogicSession , psofthr-80-WebLogicSession, etc.
For Weblogic, the cookie name is set in the file for WL 5.1, and in config.xml for WL 6.1 or higher.

(Note: Websphere imposes the J2EE convention more strictly and does not allow the cookie name to be changed, its always “JSESSIONID” . On some systems, the cookie may have the suffix “JSESSIONID” instead of “WebLogicSession” )

The cookie value is set by the application, and is a unique identifier that ties the http session to the session object created within the Webserver.

The cookie domain is set by the webserver. When a user accesses a webserver, the browser will only submit cookies that match the domain of the URL being accessed.
For e.g if the URL is then all cookies that have the domain “” will be submitted to the webserver, similarly, if the URL is then all cookies with the domain “” or “” will be submitted. Note that cookies with the domain “” will *not* be submitted to either of these URLs.
Using a domain in the URL is optional, if its not being used, the cookie will be associated with the server name, rather than the domain name. If you plan to use Peoplesoft’s Single Signon feature, you will need to use a domain qualified URL.

The issue mentioned above occurs if the webserver sends a cookie to the browser, and then redirects it to another link expecting to read the cookie back, but somehow is not able to. i.e the browser does not send the cookie back to the domain it came from.

Following scenarios have been identified

Cookies are disabled on the browser.

For Internet Explorer, check the status bar (lower right corner) for the zone your domain is on. Then go to Tools/Internet Options/Security, select the Zone, and select Custom settings. Make sure cookies are enabled. The domain name in the cookie does not match the domain name in the URL.

Note the domain name in the URL you are using to access the Webserver. If you are running WL 5.1, the file, and should have the domain name. See example below:



Check the following properties are set correctly if you are not using a domain name in the URL




Bad configuration examples:

Example 1: ( Reason: weblogic.httpd.session.cookie.domain is empty)

Example 2: ( Reason: weblogic.httpd.session.cookie.domain should be commented out if not using Domains)

Example 3: (Reason: Cookie domain in does not match AuthTokenDomain)

Example 4: (Reason: MYSESSIONID may not be recognized by cookierules.xml )

Lastly make sure that these parameters are not duplicated in the file. An aborted or incorrect installation may cause the parameters to appear more than once, in which case weblogic only recognizes the last one.

You are not using a domain in the URL, but the cookie has a domain, or vice-versa.

For example, if the file has
but you are using


to access the webserver.

Alternatively, the contains
but you are using

Cookies are being set in other parts of the application, or by other content providers(for portal) that exceed the 20 cookies per domain limit for the browser. When more than 20 cookies are set, the browser starts discarding cookies randomly.

Type in “javascript:document.cookie” in your browser address bar to get a dump of all cookies associated with the current site. Each NAME=VALUE; pair identifies one cookie.

A bad cookie has been set that cannot be parsed by the webserver, causing all cookies to be discarded. For example, with Weblogic 5.1 SP12, commas are no longer allowed in the cookie value. If a cookie containing commas(,) is encountered by the webserver, it rejects the http header, causing the signon cookie to be lost too. Same situation can happen with cookies whose value exceeds 4K which is the maximum size limit for a cookie data.
Note: Weblogic 5.1 SP9 and Weblogic 6.1SP1 allowed commas in cookie values, so some of the code within the Peoplesoft application used them as delimiters. Since PT 8.43.03, this has been changed to use “|”(pipe) instead. If you are mixing pre-PT 8.41.03 and post-PT 8.41.04 (including PT 8.19 or later) releases you might see cookies being set by one webserver with commas that get blocked when they hit the other webserver. For example, this can happen with a pre-PT 8.41.03 portal accessing content on PT 8.19.

If you are accessing different PeopleTools releases and have single signon enabled, or if you are running Peoplesoft Portal with content hosted on different PeopleTools releases, make sure that all the Peopletools release either use commas in cookies, or none of them do. As a rule of thumb, all versions later than PT 8.41.03 aand PT 8.18, do not use commas.
When a cookie that uses commas gets submitted to a Webserver that does not allow it, you’ll get the following error:

Mon Jul 28 21:09:06 PDT 2003: Got bad Cookie header: in cookie ‘SignOnDefault; %3ftab%3demployee_page,%3ftab%3dfaculty_homepage,%3ftab%3dpxxxxest; tssun01-80-WebLogicSession=PyXzYetWTYWhCAxTtuYAdwSvdQrOBmU57yNnTYyPyWiK2pyQa6Y9|-4419809228241818902/-2116942805/6/80/80/443/443/80/-1′ character ‘,’ at position 148 is illegal from User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

weblogic.servlet.internal.MalformedCookieHeaderException: in cookie ‘SignOnDefault; %3ftab%3demployee_page,%3ftab%3dfaculty_homepage,%3ftab%3dpapp_guest; tssun01-80-WebLogicSession=PyXzYetWTYWhCAxTtuYAdwSvdQrOBmU57yNnTYyPyWiK2pyQa6Y9|-4419809228241818902/-2116942805/6/80/80/443/443/80/-1′ character ‘,’ at position 148 is illegal
at weblogic.servlet.internal.CookieParser.parseNetscapeCookie(
at weblogic.servlet.internal.CookieParser.parse(
at weblogic.servlet.internal.CookieParser.getCookies(
at weblogic.servlet.internal.CookieParser.parseCookies(
at weblogic.servlet.internal.ServletRequestImpl.parseCookies(
at weblogic.servlet.internal.ServletRequestImpl.getCookies(
at weblogic.servlet.internal.ServletRequestImpl.initSessionInfo(
at weblogic.servlet.internal.ServletRequestImpl.getSession(
at weblogic.servlet.internal.ServletContextImpl.checkA(
at weblogic.servlet.internal.ServletContextImpl.checkAccess(
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(
at weblogic.servlet.internal.ServletContextManager.invokeServlet(
at weblogic.socket.MuxableSocketHTTP.invokeServlet(
at weblogic.socket.MuxableSocketHTTP.execute(

Following the UNC, there should not be underscores in the webserver name or the domain name in the URL. Hyphens are okay.

Bad: http://ps_hr/ps/signon.html
Good: http://pshr/ps-test/signon.html
Note: PT 8.1x allows underscores in domain names whereas PT 8.4x does not.
Attempt to bring up a custom page via directlink.html and they were receiving the above error. Found that they had an ampersand (&)at the end of the url and once they removed the ampersand the page started working. 

Determined that the issue was a result of a local browser setting. Must enable “Always Allow Session Cookies” in IE6.

Internet Explorer 6.x for PCs:
From inside the IE window:

> Go to Tools, then click on Internet Options.
> Click on the Privacy tab.
> Click on the button Advanced.
> Check the box Override Automatic Cookie Handling.
> Check the box Always Allow Session Cookies.

About these ads


  1. Very Good Doc.

  2. Good post! We are linking to this particularly great post on our website.

    Keep up the great writing.

  3. Software problems can be fixed by downloading patches or running some repair programs.
    With the right information, you are sure to get the most appropriate
    one for your computer. Both of them have wide selection of graphics cards that are especially designed for

  4. They are not only very sleek and trendy, they are also very efficient,
    high-speed, and very user-friendly. Fortunately,
    as Mac Repair Experts we stay current on the forums and we were
    able to find a simple and effective solution for syncing i – Tunes on a new Mac
    - Book. Things you should look for when searching for Mac specialist in your local area is the experience
    and knowledge of their staff, give them a call to get a feel of
    their knowledge about Mac computers, you may also want to head online to search for reviews for Mac Repairs, you should be
    able to distinguish the good shops from the bad ones by sifting through the reviews.

  5. I’m extremely impressed along with your writing
    skills as neatly as with the format to your weblog. Is this a paid subject or did you customize it yourself?
    Either way stay up the excellent quality writing, it is uncommon
    to look a great weblog like this one nowadays..

  6. Asking questions are really nice thing if you are
    not understanding anything fully, but this paragraph gives pleasant understanding

  7. Everyone loves what you guys tend to be up too. Such clever
    work and exposure! Keep up the amazing works guys I’ve added you
    guys to my own blogroll.

  8. Great blog you’ve got here.. It’s difficult to find quality writing like yours these days.
    I seriously appreciate people like you! Take care!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s



Get every new post delivered to your Inbox.

%d bloggers like this: