facebook

WLS6.1SP3 Redeploy expanded WAR fails…

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #200623 Reply

    Hello –

    I consistently get an error message when trying to redeploy an expanded WAR to WLS 6.1 SP3 when the server is running, and have to resort to shutting down the server, redeploying, and restarting. The current workaround is to redeploy a .war archive, but this is quite a bit slower as it forces WLS to undeploy and redeploy rather than simpy recompile the affected JSP…

    Any known reasons why this fails, and does it work under WLS 8.1 correctly?

    Finally, is there a shortcut to redeploying the current project? The current method (Click redeploy button, select project, select deployment, click redeploy) is a bit tedious…

    Thanks, Chad

    #200867 Reply

    Scott Anderson
    Participant

    Chad,

    Redeploy is really the “big hammer” you should only use when your project deployment is suspect. It doesn’t work well with the server running as weblogic can lock some of the files. To force WebLogic to do a full reload of your application, add a file called REDEPLOY (case sensitive) to your META-INF directory inside your web project in MyEclipse. Then when you make an edit to the file and save it, the file change time will cause Weblogic to reload your application. The file doesn’t need to contain anything, so just adding or deleting a space is enough to trigger the change.

    See http://e-docs.bea.com/wls/docs70/webapp/deployment.html#139318 for more information.

    –Scott
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: WLS6.1SP3 Redeploy expanded WAR fails…

You must be logged in to post in the forum log in