I have follwing web.xml for an application.
<?xml version="1.0"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <display-name>..</display-name> <description>..</description> <session-config> <cookie-config> <name>SESSIONDEBUG_JSESSIONID</name> </cookie-config> </session-config> </web-app>
I get the following deployment error
Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected element ' session-timeout@http ://java.sun.com/xml/ns/javaee' instead of 'cookie- config@http ://java.sun.com/xml/ns/javaee' here in element session- config@http ://java.sun.com/xml/ns/javaee:<null>
Not sure if I fully understand the error. I see that he wants me to declare a session timeout there. I will try to try.
user6123723
source share