gourig
gourig

Reputation: 81

Karaf configuration

When installing karaf in one computer and shifting it to another, lot of base directories have deafult path made during installation. how to change the variables KARAF_BASE, KARAF_ETC, KARAF_DATA in karaf?

Upvotes: 1

Views: 835

Answers (3)

Kushagra Saxena
Kushagra Saxena

Reputation: 71

You can change KARAF environment variables in bin/setenv Unix script .

Upvotes: 0

Karim G
Karim G

Reputation: 478

In karaf–folder/bin/karaf.bat, you can override these variables.

Example:

-Dkaraf.etc="%KARAF_HOME%\..."

Note: you can also customize the KARAF_HOME variable at the begin of the karaf.bat script.

Upvotes: 0

Jorge Martinez
Jorge Martinez

Reputation: 1231

Have a look at your karaf–folder/bin/setenv(.bat/.sh)

Upvotes: 1

Related Questions