Glassfish-web.xml In Weblogic Deployment

(Doc ID 1682255.1)

Last updated on APRIL 12, 2018

Applies to:

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


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, 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:



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