This discussion is archived
1 Reply Latest reply: Aug 13, 2012 10:38 AM by 903917 RSS

Redeploy issue on web app that deploys and works fine

903917 Newbie
Currently Being Moderated
I can deploy the "web" directory of my web application to WLS 10.3.3 and run the application with no problems.

When I attempt to do a redeploy with the following batch command and py files...
Batch command file
java weblogic.WLST

connect ('my_user','my_pass','t3://')
I get the following error...
<Aug 13, 2012 10:47:16 AM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1344869235984' for task '19'. Error is: ' Applicationmy_app is a WAR file, but it contains > 1 component.' Applicationmy_app is a WAR file, but it contains > 1 component.
I'm not deploying a .war file to WLS; I'm just choosing the "web" directory when I do my deploy.

Instead of doing an undeploy/deploy every time for this app, is there a way I could get this setup to do a successful redeploy?

BTW - I have to specify a directory rather than the actual .war file I'm building because I'm using getServletContext().getRealPath("") to access some files in my web app.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points