How to add weblogic-application.xml to a WAR file

Could you tell me if the weblogic-application.xml file can be added to the WAR file, and if so, how to do the same.

+6
source share
2 answers

No, he can not. If you do this, it will not be considered.

It should be in the ear file / META -INF

The weblogic-application.xml file is a WebLogic server deployment descriptor extension for the Sun Microsystems application.xml deployment descriptor. Here you configure features such as the Java EE shared libraries referenced by the application and EJB caching.

This information is intended for WLS 10.3.x in more detail at: http://docs.oracle.com/cd/E21764_01/web.1111/e13706/app_xml.htm#i1007581

+9
source

The file is located in the META-INF subdirectory of the application archive. Also follow this link for more details.

0
source

Source: https://habr.com/ru/post/916326/


All Articles