Glassfish-web.xml In Weblogic Deployment (Doc ID 1682255.1)

Last updated on NOVEMBER 05, 2016

Applies to:

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

Symptoms

An application needs to be deploy in both glassfish and weblogic. Inside the application war, it contains both glassfish-web.xml and also weblogic.xml.

According to http://docs.oracle.com/middleware/1212/wls/WBAPP/glassfish_dd.htm#WBAPP661, glassfish-web.xml should be ignored if weblogic.xml is found. However, in this application, it still reads the glassfish-web.xml

When this application is deployed to WLS, the following error happens:


 

Cause

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