oracle Bea Weblogic 工作文件夹在哪里

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1760069/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 19:27:53  来源:igfitidea点击:

Where is Bea Weblogic Work Folder

oraclejspweblogicweblogic11gtemporary-directory

提问by Nap

I know that this may be a trivial question but I really cannot find the work folder in Oracle BEA weblogic 10.3. Unlike the Apache Tomcat where it is clearly in the work directory usually under WEB-INF.

我知道这可能是一个微不足道的问题,但我确实在 Oracle BEA weblogic 10.3 中找不到工作文件夹。与 Apache Tomcat 不同,它通常位于 WEB-INF 下的工作目录中。

I already researched it on JavaRanchand it said that the directory is at:

我已经在JavaRanch上研究过它,它说该目录位于:

\bea\user_projects\domains\YOUR_DOMAIN_NAME\servers\AdminServer\tmp\_WL_user\APPLICATION_WAR

However, when I checked my directory, I only found the following path.

但是,当我检查我的目录时,我只找到了以下路径。

\bea\user_projects\workspaces\default\<project base>

I have been encountering error where the cache still remained for compiled JSP but I could not delete the work directory content manually. I tried to do full clean compile but it does not work.

我一直遇到错误,其中缓存仍然保留用于已编译的 JSP,但我无法手动删除工作目录内容。我试图做完全干净的编译,但它不起作用。

Note: Already tried to search for the file by monitoring the accessed file via file monitor tool. I tried to watch the processes javaw.exe and java.exe and it shows that when it tries to search for the file in a "jsp_servlet" folder that it could not find the file. The odd thing is the server just works fine.

注意:已经尝试通过文件监控工具监控访问的文件来搜索文件。我试图观察进程 javaw.exe 和 java.exe,它表明当它尝试在“ jsp_servlet”文件夹中搜索文件时,它找不到该文件。奇怪的是服务器运行良好。

采纳答案by Pascal Thivent

As documented in "Domain Configuration Files"in Understanding Domain Configuration, the directories you are looking for are:

作为中记录“域配置文件”了解域配置,您正在寻找的目录是:

servers/server-name/tmp

This directory holds temporary directories and files that are created while a server instance is running. For example, a JMS paging directory is automatically created here unless another location is specified. Files in this directory must be left alone while the server is running, but may be freely deleted when the server instance is shut down.

服务器/服务器名称/tmp

此目录包含在服务器实例运行时创建的临时目录和文件。例如,除非指定其他位置,否则会在此处自动创建 JMS 分页目录。该目录中的文件在服务器运行时必须单独保留,但可以在服务器实例关闭时自由删除。

You'll find the serversdirectory under your domain_namedirectory but I can't say where this one is located on your machine (are you using workshop or what?).

你会servers在你的目录下找到这个目录,domain_name但我不能说这个目录在你的机器上的位置(你是在使用车间还是什么?)。



Oracle Weblogic Workshop should have a .apt_srcbuild directory. Try to manually delete the files in this directory (this is a safe operation). I'm not 100% sure compiled JSPs go there though.

Oracle Weblogic Workshop 应该有一个.apt_src构建目录。尝试手动删除此目录中的文件(这是一个安全的操作)。我不是 100% 确定编译的 JSP 会去那里。