A Support Engineer's recommendations for a Tomcat Sandbox

  • 7011002
  • 14-Apr-2011
  • 27-Mar-2013


Access Governance


First, let me state that these are my support sandbox settings and are not an official recommendation from NetIQ. Each environment and use case is unique, and I encourage and welcome feedback from others who are utilizing sandbox environments to provide feedback and ideas in the forum or ask questions here. It has been my experience that has led me to make these choices, as it has offered me what I consider to be optimum performance.

These are settings that should stand up a fairly normal instance of Access Governance Suite to perform activities using Tomcat 6.x, Java 1.6.x, MySQL 5.x and Access Governance Suite 5.x.  Using these settings you should be able to setup a very strong environment for testing or for support purposes to recreate scenarios, test use cases, step through issues, attempt custom work, and to determine results before you run items in production.

Give a modern laptop with at least 6 GB of RAM (8GB if you can afford it - the more RAM you have, the better your experience will be), you should allocate your JVM heap as follows for Tomcat in your Tomcat.sh file by specifying your JAVA_OPTS commands:

JAVA_OPTS="-server-Xms2048m -Xmx2048m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:MaxPermSize=512m -XX:CodeCacheMinimumFreeSpace=2M -XX:ReservedCodeCacheSize=256M -Dsun.lang.ClassLoader.allowArraySyntax=true"

UPDATED 11/14/2011: better performance with some tweaks to my sandbox in Tomcat. Seems that less is more sometimes.

Build out your Access Governance Suite Test environment and load up your applications and data and begin testing as required. Do you notice a difference in the performance of your Sandbox? Is it running smoother for you, does this perform any better than Access Governance Suite had previously (if you have previously run Access Governance Suite in a Sandbox environment and can reasonably compare the two environments)?

Your thoughts, comments and ideas are all welcomed. The idea behind Online is for us to share our experience and knowledge and develop new ways to cooperate. If you have a comment, a question, a tweak to the parameters, or something else important to add here, let us know. This is a community of professionals and we all gain through sharing.