When you start the server a .index and .niogit and repository directory is created. These directories are generated wherever you executed the standalone.sh file from (pwd). This should be configured to be in a specific directory instead so that if someone starts the server from the ~/, jboss-eap-6.1, jboss-eap-6.1/bin directory for example the state is stored in a consistent location.
you can configure both using enviroment variables, here are the variables: org.kie.nio.git.dir -> defines where store the .niogit folder (that will be replaced in next release to org.uberfire.nio.git.dir) org.kie.kieora.index.dir -> defines where store the .index folder (that will be replaced in next release to org.uberfire.metadata.index.dir)
You can specify the state storage location using java environment variables, for example like this: jboss-eap-6.1.1/bin/standalone.sh -Dorg.uberfire.nio.git.dir=/home/user/tmp -Dorg.uberfire.metadata.index.dir=/home/user/tmp Verified in ER5.