创建带有随机数作为文件夹名称的目录,其中包含.ser文件 [英] Directories with random numbers as foldername being created that contain .ser files

查看:92
本文介绍了创建带有随机数作为文件夹名称的目录,其中包含.ser文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,在我们的weblogic 10.3服务器中,使用随机名称(例如"7nxxd","tpy16q")生成了文件夹.在每个内部都有相同的子目录结构:

So in our weblogic 10.3 server there are folders being generated with random names (such as "7nxxd", "tpy16q"). Inside each of these is the same subdirectory structure:

<randomfilename>/.tld_cache/WEB-INF/tld/
                                        c.tld/
                                        fn.tld/
                                        spring-form.tld/
                                        fmt.tld/
                                        spring.tld/
                                        tiles-jsp.tld/

每个目录都有2个文件:crc.ser和des.ser.

Each of these directories has 2 files: crc.ser and des.ser.

为什么要创建这些文件?除了随机名称,是否有办法指定他们要写入的目录?

Why are these files being created? Is there a way to specify the directory that they get written to besides the random name?

推荐答案

JavaEE服务器会经常生成临时工作目录来保存各种项目,例如,缓存的描述符,已编译的JSP等.

JavaEE servers will frequently generate temporary working directories to hold various items, such as cahced descriptors, compiled JSPs, etc.

您可能会影响放置它们的位置,但这是特定于服务器的.您需要在服务器上阅读并找出操作方法.

You can probably influence where it puts them, but that's server-specific. You'll need to read up on your server and find out how to do that.

这篇关于创建带有随机数作为文件夹名称的目录,其中包含.ser文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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