My Oracle Support Banner

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:



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

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