How to configure location of vfs nestedjar

Solution Verified - Updated -

Issue

  • I have to run two jboss application servers on a Linux container. I want to configure the location of the nestedjar-files for both jboss application server so that they are different are different. Instead of /var/tmp for both jboss server I want to have /var/tmp/jboss1 and /var/tmp/jboss2 for the nestedjar-files. How can I configue that?
  • Regarding nestedjarNNNN.tmp files appearing in /tmp directory, is it possible to configure JBoss to make it to create them in a specific location?
  • I have noticed a huge memory consumption in our Jboss instances which is related to a known Virtual File System (VFS) native memory leak . Having opted to use the JVM option -Djboss.vfs.forceVfsJar=true , JBoss is storing the “nestedjar*.tmp files in the /tmp server path. I would like to know if it is possible to change the path the files are stored?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.