Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Attachments: jenkins-systeminfo.txt
Components: infrastructure
Created: 25/Sep/12 8:57 AM
Description:

Hi,

we have the problem, that we runs on our build/development machine many instances of java software.
Our main application, sets a cookie with this cookie name: "SessionPersistence-dev-publish,publishdev"
We can't changed this cookie name.

If I get the webfrontend of this application, e.g.:
http://<developmentmachine>.<localdomain>:4503/

Then I get a cookie with this name.

If I change now to jenkins on the same machine:
http://<developmentmachine>.<localdomain>:8080/jenkins/

then I get a blank white page.
In jenkins.log I get the following exception:

Sep 25, 2012 9:27:23 AM winstone.Logger logInternal
SEVERE: Error within request handler thread
java.lang.IllegalArgumentException: Cookie name contains a comma
        at javax.servlet.http.Cookie.setName(Cookie.java:79)
        at javax.servlet.http.Cookie.<init>(Cookie.java:25)
        at winstone.WinstoneRequest.parseCookieLine(WinstoneRequest.java:698)
        at winstone.WinstoneRequest.parseHeaders(WinstoneRequest.java:653)
        at winstone.HttpListener.parseHeaders(HttpListener.java:394)
        at winstone.HttpListener.parseURI(HttpListener.java:256)
        at winstone.RequestHandlerThread.run(RequestHandlerThread.java:75)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

Workarounds:
1.) Access jenkins directly via IP.
2.) Delete this cookie.

Is this the desired behavior?

many regards,
Jens

Environment: Cent OS 6.3 x86_64. Jenkins runs as executable jenkins.war.
Project: Jenkins
Labels: cookie comma
Priority: Major Major
Reporter: Jens Großmann
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to