WebLogic 10中的临时目录 [英] Temporary Directories in WebLogic 10

查看:887
本文介绍了WebLogic 10中的临时目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当WL停止时,它不会删除其临时目录..即

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

因此,当我们部署新的应用程序时,它没有'部署一些JSP或某些类,它保留这些文件的旧版本。导致许多业务错误+运行时错误。

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.

这是一个已知问题吗?我们如何处理它?<​​/ p>

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

推荐答案

一般情况下,WL会缓存您的部署,除非被要求,否则不会重新部署。但这取决于您部署应用程序的方式以及服务器是否处于生产或开发模式。请参阅开发部署生产部署

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.

一个简单的解决方法,转到 / domains / mydomain / servers / myserver / 目录并删除:

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


  • tmp

  • 缓存

  • 日志

  • tmp
  • cache
  • logs

并保留数据安全目录。然后重启。这将迫使WL重新部署。

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

我的原始答案包括删除数据目录,但是如下面的@ g-demecki和@ j23指出的那样,可能会搞乱一个管理服务器。我相信删除托管服务器上的数据目录是可以的。

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.

这篇关于WebLogic 10中的临时目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆