Hi Dirk,

The non-standard 'HttpOnly' flag is the problem. It is not supported resp. needed by an ULC application.
For a definition of this flag, please have a look at Wikipedia:

> http://en.wikipedia.org/wiki/HTTP_cookie

The server sends a 'Set-Cookie' header with this flag in it and the ULC cookie handler on the client side is not able to handle resp. does not expect such a flag. You are probably using the JNLP environment and Java4, right? Tell me if I am wrong.
For now I see following solutions to your problem:

* You upgrade to Java5 (Java Web Start provides a default CookieHandler since Java 5 and I hope, this one
can handle the 'HttpOnly' flag).
* You, kind of, get rid of this 'HttpOnly' in the 'Set-Cookie' header. Either by telling to Weblogic to do so (is this possible?) or by writing, for instance, a servlet filter which will remove this flag from the header.

Maybe an useful link:

> http://rejeev.blogspot.com/2008/09/httponly-cookies-and-java-ee.html

Kind regards,

christian
--
Canoo - Your Solution Provider for Rich Internet Applications

    Christian Ribeaud
    Canoo Engineering AG
    Kirschgartenstrasse 5
    CH-4051 Basel

    Tel: +41 61 228 94 44
    Fax: +41 61 228 94 49

    [email protected]
    http://www.canoo.com/

On Nov 10, 2009, at 3:56 PM, Dirk Gabler wrote:

Hi,

trying to run an ULC application on Weblogic 10 I get the following error message:

com.ulcjava.base.shared.internal.IllegalArgumentException: Illegal cookie string: JSESSIONID =PJ2pK52MTssz1vkLpZzBrVGLX2brzy9QcgJQphCymzWhGw9plDRm!-1876863367; path=/; HttpOnly=

at com.ulcjava.container.servlet.client.Cookie.fromString(Cookie.java:31) at com .ulcjava .container .servlet .client.CookieRequestPropertyStore.a(CookieRequestPropertyStore.java: 16) at com .ulcjava .container .servlet .client .CookieRequestPropertyStore .handleHeaderFields(CookieRequestPropertyStore.java:11)

at com .ulcjava .container .servlet .client .AbstractRequestPropertyStore .handleConnection(AbstractRequestPropertyStore.java:2)

at com .ulcjava .container .servlet.client.ConnectorCommand.execute(ConnectorCommand.java:18) at com .ulcjava .container .servlet .client.ServletConnector..executeCommand(ServletConnector.java:59) at com .ulcjava .container.servlet.client.ServletConnector.b(ServletConnector.java:45) at com .ulcjava .container .servlet.client.ServletConnector.start(ServletConnector.java:72) at com.ulcjava.base.client.UISession.startConnector(UISession.java:318) at com .ulcjava .base .client .launcher .DefaultSessionStateListener .sessionStarted(DefaultSessionStateListener.java:6)

        at com.ulcjava.base.client.UISession.a(UISession.java:29)
at com.ulcjava.base.client.UISession.access $200(UISession.java:221)
        at com.ulcjava.base.client.UISession$0.run(UISession$0.java:1)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com .ulcjava .base .client.FilteringEventQueue.dispatchEvent(FilteringEventQueue.java:47) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)





We are using Version 6.1.3.



Any idea?



The same application works fine on WL 9



Thanks in advance,

Dirk





_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to