2 years ago
#47307
Luke
Weblogic cannot deploy EAR due to appmerge failed
I would like to deploy EAR file to weblogic. The original EAR was with log4j version 1, however now we are trying to upgrade it on higher version 2 due to vulnerability.
The original EAR can be deployed on weblogic with success. But the fixed EAR with log4j2 (used via log4j bridge) cannot be deployed. There is below error occured.
Please any idea? :/ Thanks
Message icon - Error Unable to access the selected application.
Message icon - Error java.io.IOException
Message icon - Error weblogic.utils.compiler.ToolFailureException
In console there is error message like this:
<Error> <J2EE> <BEA-160228> <AppMerge failed to merge your application. If you are running AppMerge on the command-line, merge again with the -verbose option for more details. See the error message(s) below.>
EDIT: I have tried to change attributes by updating web.xml schema from 2.3 to 3.1 and using metadata-complete=true. The deployment was fine :) however there was some next issue inside of weblogic - app is not in Active state. There in logs is something with weblogic.application.ModuleException.
Resource: Weblogic: AppMerge failed to merge your application after Java 8 migration
java
deployment
log4j
weblogic
ear
0 Answers
Your Answer