How to resolve exception “weblogic.application.ModuleException: Context path '' is already in use by the...












1















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:NetBeansProjectsSocketssSocketss-warnbprojectbuild-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!










share|improve this question




















  • 1





    Are you using autodeploy like that link mentioned? If you're not - you need to open the weblogic admin console and removed your old deployment. See some info here: stackoverflow.com/questions/22049332/…

    – Display Name is missing
    Apr 29 '14 at 20:21











  • Yes I deleted all the previous Deployments and now it's running fine; but I guess its not a solution because what if I want to run two programs concurrently.

    – Developer
    Apr 30 '14 at 3:21






  • 1





    You can't have them with the exact same name OR you can create 2 managed servers and run one program on each. There are many options there but naming them differently is probably the easiest

    – Display Name is missing
    Apr 30 '14 at 15:44











  • Yes obviously sir; but actually I did not give the same name to two or more programs; and that is why I don't know what went wrong and the exception...; May be I made some mistake.. Thank u so much JAZAKALLAH Khair! Response was very helpful!

    – Developer
    May 2 '14 at 3:36
















1















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:NetBeansProjectsSocketssSocketss-warnbprojectbuild-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!










share|improve this question




















  • 1





    Are you using autodeploy like that link mentioned? If you're not - you need to open the weblogic admin console and removed your old deployment. See some info here: stackoverflow.com/questions/22049332/…

    – Display Name is missing
    Apr 29 '14 at 20:21











  • Yes I deleted all the previous Deployments and now it's running fine; but I guess its not a solution because what if I want to run two programs concurrently.

    – Developer
    Apr 30 '14 at 3:21






  • 1





    You can't have them with the exact same name OR you can create 2 managed servers and run one program on each. There are many options there but naming them differently is probably the easiest

    – Display Name is missing
    Apr 30 '14 at 15:44











  • Yes obviously sir; but actually I did not give the same name to two or more programs; and that is why I don't know what went wrong and the exception...; May be I made some mistake.. Thank u so much JAZAKALLAH Khair! Response was very helpful!

    – Developer
    May 2 '14 at 3:36














1












1








1








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:NetBeansProjectsSocketssSocketss-warnbprojectbuild-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!










share|improve this question
















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:NetBeansProjectsSocketssSocketss-warnbprojectbuild-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!







java ejb weblogic






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 23 '17 at 11:47









Community

11




11










asked Apr 29 '14 at 6:43









DeveloperDeveloper

761313




761313








  • 1





    Are you using autodeploy like that link mentioned? If you're not - you need to open the weblogic admin console and removed your old deployment. See some info here: stackoverflow.com/questions/22049332/…

    – Display Name is missing
    Apr 29 '14 at 20:21











  • Yes I deleted all the previous Deployments and now it's running fine; but I guess its not a solution because what if I want to run two programs concurrently.

    – Developer
    Apr 30 '14 at 3:21






  • 1





    You can't have them with the exact same name OR you can create 2 managed servers and run one program on each. There are many options there but naming them differently is probably the easiest

    – Display Name is missing
    Apr 30 '14 at 15:44











  • Yes obviously sir; but actually I did not give the same name to two or more programs; and that is why I don't know what went wrong and the exception...; May be I made some mistake.. Thank u so much JAZAKALLAH Khair! Response was very helpful!

    – Developer
    May 2 '14 at 3:36














  • 1





    Are you using autodeploy like that link mentioned? If you're not - you need to open the weblogic admin console and removed your old deployment. See some info here: stackoverflow.com/questions/22049332/…

    – Display Name is missing
    Apr 29 '14 at 20:21











  • Yes I deleted all the previous Deployments and now it's running fine; but I guess its not a solution because what if I want to run two programs concurrently.

    – Developer
    Apr 30 '14 at 3:21






  • 1





    You can't have them with the exact same name OR you can create 2 managed servers and run one program on each. There are many options there but naming them differently is probably the easiest

    – Display Name is missing
    Apr 30 '14 at 15:44











  • Yes obviously sir; but actually I did not give the same name to two or more programs; and that is why I don't know what went wrong and the exception...; May be I made some mistake.. Thank u so much JAZAKALLAH Khair! Response was very helpful!

    – Developer
    May 2 '14 at 3:36








1




1





Are you using autodeploy like that link mentioned? If you're not - you need to open the weblogic admin console and removed your old deployment. See some info here: stackoverflow.com/questions/22049332/…

– Display Name is missing
Apr 29 '14 at 20:21





Are you using autodeploy like that link mentioned? If you're not - you need to open the weblogic admin console and removed your old deployment. See some info here: stackoverflow.com/questions/22049332/…

– Display Name is missing
Apr 29 '14 at 20:21













Yes I deleted all the previous Deployments and now it's running fine; but I guess its not a solution because what if I want to run two programs concurrently.

– Developer
Apr 30 '14 at 3:21





Yes I deleted all the previous Deployments and now it's running fine; but I guess its not a solution because what if I want to run two programs concurrently.

– Developer
Apr 30 '14 at 3:21




1




1





You can't have them with the exact same name OR you can create 2 managed servers and run one program on each. There are many options there but naming them differently is probably the easiest

– Display Name is missing
Apr 30 '14 at 15:44





You can't have them with the exact same name OR you can create 2 managed servers and run one program on each. There are many options there but naming them differently is probably the easiest

– Display Name is missing
Apr 30 '14 at 15:44













Yes obviously sir; but actually I did not give the same name to two or more programs; and that is why I don't know what went wrong and the exception...; May be I made some mistake.. Thank u so much JAZAKALLAH Khair! Response was very helpful!

– Developer
May 2 '14 at 3:36





Yes obviously sir; but actually I did not give the same name to two or more programs; and that is why I don't know what went wrong and the exception...; May be I made some mistake.. Thank u so much JAZAKALLAH Khair! Response was very helpful!

– Developer
May 2 '14 at 3:36












2 Answers
2






active

oldest

votes


















0














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






share|improve this answer































    0














    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.






    share|improve this answer

























      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f23357350%2fhow-to-resolve-exception-weblogic-application-moduleexception-context-path%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      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






      share|improve this answer




























        0














        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






        share|improve this answer


























          0












          0








          0







          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






          share|improve this answer













          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







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 25 '14 at 14:37









          GauravGaurav

          1519




          1519

























              0














              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.






              share|improve this answer






























                0














                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.






                share|improve this answer




























                  0












                  0








                  0







                  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.






                  share|improve this answer















                  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.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 28 '16 at 16:54

























                  answered Jan 28 '16 at 16:38









                  99Sono99Sono

                  2,1531830




                  2,1531830






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f23357350%2fhow-to-resolve-exception-weblogic-application-moduleexception-context-path%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      How to pass form data using jquery Ajax to insert data in database?

                      National Museum of Racing and Hall of Fame

                      Guess what letter conforming each word