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.


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@ encode-session-id-in-query-params@ monitoring-attribute-name@ sharing-enabled@' instead of 'cookie-http-only@' here in element session-descriptor@<xxxxxxxxxxxxxxxx/WEB-INF/weblogic.xml:13:7>




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