- Application is a EAR file
- Shared Library where the third party jar are bundled and deployed to managed server as shared library.
- weblogic-application.xml file where library ref to shared library is made and present in EAR file(META-INF folder).
- Shared libraries are deployed to managed server as target and is successful.
- while deploying the EAR file, the selection of EAR from console deployment results in ClassNotFoundException of the class present in shared library even though the reference is made in weblogic-application.xml.
- Note that if the Library deployment is targeted to Admin Server and Managed Server the deployment of EAR file is successful without any exception.
- Single Admin Server deployment is working fine without any issues for the same setup.
- Deployment is expecting the JAR is classpath of admin server while deploying to managed server. is this an intended behavior ?
Is there any setup configuration we are missing here ? Correct me if there is any steps gone wrong. Update : we did the same deployment with ant script using wldeploy and no errors are encountered and application is deployed successfully.