'How to resolve exception "weblogic.application.ModuleException: Context path '' is already in use by the module: / application"?
I have gone through the Question: [weblogic.application.ModuleException: Context path '' is already in use by the module: / application: and followed as answer of the question says; but still getting the same exception:
**> Deployment failed. The message was:
weblogic.application.ModuleException: Context path '/socketss-war' is already in use by the module: /Socketss-war application: Socketss D:\NetBeansProjects\Socketss\Socketss-war\nbproject\build-impl.xml:1056: The module has not been deployed. See the server log for details.**
Any guidance or suggestion would be highly appreciable.
Thank you!
Solution 1:[1]
ModualException come due to inproper Bulid. Go through step by step.
- Update project
- Restart your eclipse
- Remove project from server
- clean server and redeploy your project
Now publish it i hope now it will work
Solution 2:[2]
Yup. Try to deploy from Netbeans.
The Weblogic eclipse plugin is, in my experience, the worst deployment plugin I've ever seen. If you are using a patched weblogic - such as 12.1.2 with Patch Set Update 6 - your deployment from eclipse might miraculously not work with such an error.
If you are able to deploy the WAR file without IDE by going to the deploy view, I recommend that you try using Netbeans to deploy and see how it goes.
Notice as well that the outcome of trying to deploy from eclipse as exploded war or as virtual application is not the same. Typically both do not work with different exceptions, depending on the patches you are using.
In my case, I have two local installations of weblogic 12.1.2. One with the patch set update and another one without. From eclipse, It is only possible to deploy to the one without. From Netbeans, deployment works regardless of the instance.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Gaurav |
Solution 2 |