JBoss Community

Re: JBoss 5.1 and tmp folder

created by bauerpl in Beginner's Corner - View the full discussion

Yes i have like this but when i create file

[code]

File file = new File(getSession().getServletContext().getRealPath("/WEB-INF/user.xml"));

[/code]

file is create in

[code]

/home/java/jboss-5.1.0.GA/server/default/tmp/3j011-2g323u-gzskzxr2-1-gzsl0v6g-9o/ProjectName/WEB-INF/user.xml

[/code]

 

after few seconds JBoss remove this file (user.xml). I try with java.security.manager and server.policy but it does not work.

 

Best regards

Lukas

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community