Bug 1006078 - State storage location
Summary: State storage location
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Build and Assembly
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ER5
: 6.0.0
Assignee: Alexandre Porcelli
QA Contact: Jiri Svitak
URL:
Whiteboard:
Depends On:
Blocks: bpms6_ux, brms6_ux
TreeView+ depends on / blocked
 
Reported: 2013-09-10 00:38 UTC by Catherine Robson
Modified: 2015-06-02 01:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:09:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Catherine Robson 2013-09-10 00:38:37 UTC
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.

Comment 3 Alexandre Porcelli 2013-10-23 13:27:45 UTC
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)

Comment 4 Jiri Svitak 2013-12-04 12:48:51 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.