Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in deploying struts project in weblogic

 
Praneet Mirchandani
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

The error I am getting is:
<Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1260962889375' for task '1'. Error is: 'weblogic.application.ModuleException: Context path '/HelloWorld' is already in use by the module: HelloWorld.war application: _appsdir_HelloWorld_war'

Any idea what's wrong??I can post my java and xml codes if required. Please Help:-(

Praneet
 
Praneet Mirchandani
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry I forgot to give any details...and the post cant even be edited....

I am trying to run a simple HelloWorld application in struts. IDE I am using is eclipse ganymede 3.4.2
Server I am using is weblogic 9.2. I even tried deleting the existing domain and creating a new domain and running the project.

Praneet
 
Ales Mesni
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you trying to redeploy it? Did you already deployed it once? It looks like it already exists and cant be overwritten because its in use?
This doesnt look like a code problem but more like a conflict. Look in the folder it here is any HelloWorld application deployed and try to delete it manually

Lp, Mesni
 
Praneet Mirchandani
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to redeploy it...thanks for the suggestion..it worked..i deleted some files manually, and stopped the application from the weblogic console. I think I will have to do that everytime I make a new war file.

Praneet
 
Ales Mesni
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For an example:
I use WASCE and sometimes i get the same error. Sometimes i just restart the server and everything is okay but sometimes i have to manually delete it.
The problem can be that one application is running and using the application or the application didn't stop running, maybe an infinite loop? That could be the main problem. Try to check if you application returns anything and is stopped.

Lp, Mesni
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic