-
Notifications
You must be signed in to change notification settings - Fork 33
JETTY_HOME + JETTY_USER not being set #8
Comments
Hi @nozpheratu, The file containing these variables is generated here https://github.com/hipsnip-cookbooks/jetty/blob/master/recipes/default.rb#L204 (with this template https://github.com/hipsnip-cookbooks/jetty/blob/master/templates/default/jetty.default.erb), you should be able to find it at Could you check these files are there and well generated, sorry that's hard to help you more here. |
Hey @lbdremy, thanks for the response. I had a look at /etc/default/jetty, and it looks like the variables are in fact defined: export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export JETTY_HOME=/usr/share/jetty
export JETTY_USER=jetty
export JETTY_PORT=8983
export JETTY_ARGS="-Djetty.port=8983 -Djetty.logs=/var/log/jetty"
export JAVA_OPTIONS="-Dsolr.data.dir=/usr/local/solr/data -Dsolr.solr.home=/usr/share/solr -Djava.util.logging.config.file=/usr/share/jetty/etc/logging.properties"
export JETTY_LOGS="/var/log/jetty" Sorry, I'm new to this whole sys-admin thing, but what do you mean when you say "you need to source /etc/default/jetty with . /etc/default/jetty". Will this have to happen every time I login? If so, how do I go about making them permanent. |
The dot is a command similar to |
Is this perhaps an issue with my setup? Jetty manages to install everything but doesn't set the
JETTY_HOME
orJETTY_USER
environment variables. Runningecho $JETTY_HOME
orecho $JETTY_USER
returns blank values.The text was updated successfully, but these errors were encountered: