aspose file tools*
The moose likes Web Services and the fly likes Error in deploying struts project in weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Error in deploying struts project in weblogic" Watch "Error in deploying struts project in weblogic" New topic
Author

Error in deploying struts project in weblogic

Praneet Mirchandani
Ranch Hand

Joined: Dec 16, 2009
Posts: 46
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

Thanks,
Praneet
Praneet Mirchandani
Ranch Hand

Joined: Dec 16, 2009
Posts: 46
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

Joined: Dec 16, 2009
Posts: 11
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

Joined: Dec 16, 2009
Posts: 46
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

Joined: Dec 16, 2009
Posts: 11
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error in deploying struts project in weblogic
 
Similar Threads
File not found error
Encapsulation and getter&setter methods
ServletContext
i have a Errors in Hibernate Query
Tomcat & MS Active Directory