title: Configure weblogic.xml to send secure JSESSIONID
body: <p>I'm trying to add to weblogic.xml file <code>&lt;cookie-secure&gt;</code> tag:</p>
  
  <pre><code>&lt;wls:session-descriptor&gt;
      &lt;wls:timeout-secs&gt;1800&lt;/wls:timeout-secs&gt;
      &lt;wls:cookie-path&gt;/my-web&lt;/wls:cookie-path&gt;
      &lt;wls:cookie-http-only&gt;false&lt;/wls:cookie-http-only&gt;
      &lt;wls:url-rewriting-enabled&gt;false&lt;/wls:url-rewriting-enabled&gt;
      &lt;wls:sharing-enabled&gt;true&lt;/wls:sharing-enabled&gt;
      &lt;wls:invalidate-on-relogin&gt;true&lt;/wls:invalidate-on-relogin&gt;
      &lt;wls:cookie-secure&gt;true&lt;/wls:cookie-secure&gt;
  &lt;/wls:session-descriptor&gt;
  </code></pre>
  
  <p>But an error appears:</p>
  
  <pre><code>cvc-complex-type.2.4.d: Invalid content was found starting with element 'wls:cookie-secure'. No child element is expected at this point
  </code></pre>
  
  <p>How is possible to solve the problem?</p>