The 'cookie-http-only' element in weblogic.xml doesn't work. (Doc ID 1071895.1)

Last updated on MAY 24, 2017

Applies to:

Oracle WebLogic Server - Version 9.2 to 10.0
Information in this document applies to any platform.

Symptoms

The documentation on the weblogic.xml properties describes the property "cookie-http-only".  However, when you attempt to use this property, an error similar to the below is thrown on WLS 9.2:

<Feb 9, 2010 12:12:24 PM EST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor xxxxxxxxxxxxxxxxxxxxx/WEB-INF/weblogic.xml of module eapinfo.war. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
xxxxxxxxxxxxxxxxxx/WEB-INF/weblogic.xml:13:7:13:7: problem: cvc-complex-type.2.4a: Expected elements 'http-proxy-caching-of-cookies@http://www.bea.com/ns/weblogic/90 encode-session-id-in-query-params@http://www.bea.com/ns/weblogic/90 monitoring-attribute-name@http://www.bea.com/ns/weblogic/90 sharing-enabled@http://www.bea.com/ns/weblogic/90' instead of 'cookie-http-only@http://www.bea.com/ns/weblogic/90' here in element session-descriptor@http://www.bea.com/ns/weblogic/90:<xxxxxxxxxxxxxxxx/WEB-INF/weblogic.xml:13:7>

Changes

None.

Cause

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