Invalid content was found starting with element 'cookie-secure'. No child element is expected at this point.

0 votes
47 views
asked Apr 24 in WebService by anonymous

Hi 

  I am using eclipse and maven to run the service in weblogic and am getting below error in  weblogic-application.xml

cvc-complex-type.2.4.d: Invalid content was found starting with element 'cookie-secure'. No child element is expected at this point.

1 Answer

0 votes
answered Apr 24 by admin (8,115 points)

Hi 

  I also faced the same problem i hope 'cookie-secure order is not properly maintained eclipse for more information refer this link 

https://docs.oracle.com/cd/E21764_01/doc.1111/e14308/securecookies.htm

<session-descriptor>
    <persistent-store-type>replicated_if_clustered</persistent-store-type>
    <cookie-http-only>false</cookie-http-only>
    <cookie-name>oimjsessionid</cookie-name>
    <cookie-secure>true</cookie-secure>
    <url-rewriting-enabled>false</url-rewriting-enabled>
  </session-descriptor>
...