Temporary Directories in WebLogic 10

27,404

Solution 1

In general WL will cache your deployment and won't redeploy unless it is asked to. But it depends on how you deployed your application and if the server is in production or development mode. See development deployments and production deployments.

One easy fix, go to the /domains/mydomain/servers/myserver/ directory and delete:

  • tmp
  • cache
  • logs

and leave the data and security directory. Then restart. This will force WL to redeploy.

My original answer included a delete of the data directory but as @g-demecki and @j23 point out below, that can mess up an admin server. I believe it is OK to delete the data directory on a managed server.

Solution 2

I never run into such issue in production mode, if you are running in development mode and using auto deploy, please follow best practices documented

You must touch the REDEPLOY file (alter its timestamp) any time you wish to trigger redeployment of an auto-deployed application. Even if you modify an application while a server is shut down, you must touch REDEPLOY to ensure that changes are applied when the server next starts up.

Share:
27,404
Em Ae
Author by

Em Ae

Updated on July 11, 2020

Comments

  • Em Ae
    Em Ae almost 4 years

    Whenever, WL is stopped it doesn't delete its temporary directories .. i.e.

    domains/mydomain/servers/myserver/tmp/_WL_TEMP_APP_DOWNLOADS

    /domains/mydomain/servers/myserver/tmp/_WL_user/ /domains/mydomain/servers/myserver/stage

    and because of this, when we deploy new application, it doesn't deploy some JSP or some classes and it keeps the old version of those files. resulting in lots of business errors + runtime error.

    Is it a known issue ? How can we tackle it?