Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've just installed Tomcat6 via apt-get on lucid.

Looking at the directory created here: /usr/share/tomcat6

I was expecting a conf directory to be created under this (based on experiences elsewhere). Instead there was a skel directory created. Under this there was the directories bin and conf.

Do I need to patch up the installation by creating a hard link of a conf directory inside tomcat6 that points to .../tomcat6/skel/conf - or is there something better?

PS - Why do I need to to this? Why doesn't it work out the box?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

/usr/share generally contains read-only data. You're likely looking for the /var/lib/tomcat6/ directory which contains both the conf and logs directories.

skel is the abbreviation of "skeleton" which means it should be copied somewhere.

According to the Ubuntu manual on tomcat, you should create an instance with:

tomcat6-create-instance tomcat-instance

This will create a directory named "tomcat-instance" containing some subdirectories like conf. To start it, run:

tomcat-instance/bin/startup.sh

For more information and other links, please refer to the Ubuntu manual.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.