<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: 'weblogic.management.DeploymentException: Applicationmy_app is a WAR file, but it contains > 1 component.'
weblogic.management.DeploymentException: 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.