My Oracle Support Banner

WebLogic Server 12.1.3 Deployment Failure With Existing "weblogic.xml" File (Doc ID 2231181.1)

Last updated on FEBRUARY 14, 2017

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

 Installed WebLogic12.1.3 on a new Sun/Solaris server. EAR file Deployment had the Below Error:

Message icon - Error VALIDATION PROBLEMS WERE FOUND <9:4> problem: cvc-complex-type.2.4a: Expected elements
'jdbc-column-name-max-inactive-interval@http://xmlns.oracle.com/weblogic/weblogic-web-app
url-rewriting-enabled@http://xmlns.oracle.com/weblogic/weblogic-web-app
http-proxy-caching-of-cookies@http://xmlns.oracle.com/weblogic/weblogic-web-app
encode-session-id-in-query-params@http://xmlns.oracle.com/weblogic/weblogic-web-app
monitoring-attribute-name@http://xmlns.oracle.com/weblogic/weblogic-web-app
sharing-enabled@http://xmlns.oracle.com/weblogic/weblogic-web-app
invalidate-on-relogin@http://xmlns.oracle.com/weblogic/weblogic-web-app'
instead of 'jdbc-connection-timeout-secs@http://xmlns.oracle.com/weblogic/weblogic-web-app'
here in element
session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-web-app

 After troubleshooting narrowed it down to "weblogic.xml" file in the EAR file. Removed the "weblogic.xml" file OUT of the EAR file and Deployment now works fine.

The same "weblogic.xml" file works fine with WebLogic 10g on another Sun/Solaris server.

Below is the "weblogic.xml" file that is causing the Deployment Error:

<?xml version="1.0" encoding="UTF-8"?>

<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
<session-descriptor>
<persistent-store-type>jdbc</persistent-store-type>
<persistent-store-pool>sessionDS</persistent-store-pool>
<cache-size>2048</cache-size>
<persistent-store-table>TBLTT_WEBLOGIC_SESSION</persistent-store-table>
<jdbc-connection-timeout-secs>60</jdbc-connection-timeout-secs>
<id-length>52</id-length>
</session-descriptor>
</weblogic-web-app>

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.