Installation jasperserver - Existing Tomcat problem

I installed tomcat6 on my Ubuntu server

apt-get install tomcat6

Now I want to install jasperserver - I choose with an existing tomcat 

I have to insert the tomcat location..

i tried /etc/tomcat6

/usr/share/tomcat6

everytime I receive an error: The directory you selected does not seem to be a valid Tomcat directory...

What is the location then??

samhast's picture
653
Joined: Nov 4 2011 - 6:41am
Last seen: 6 years 10 months ago

1 Answer:

When you install tomcat with aptitude (apt-get) as a package in Ubunto (or other linux flavors) the package installers separates catalina home and catalina base in to separate places in the file system. If I remember correctly in Ubuntu by default, CATALINA_HOME is /usr/share/tomcat6, and CATALINA_BASE is /var/lib/tomcat6. This prevents the bundled installer to properly find tomcat in the system (since it was designed to allow you to install everything in one go, tomcat + postgres + jasper)

I recommend you to do a WAR file instalation of Jasper instead  see Chapter 5 of the install guide http://community.jaspersoft.com/documentation
where you can set in your default_master.properties this 2 diferent paths with no problem like this:

# if linux package managed tomcat instance, set two properties below
CATALINA_HOME = /usr/share/tomcat6
CATALINA_BASE = /var/lib/tomcat6
marianol's picture
17644
Joined: Sep 13 2011 - 8:04am
Last seen: 4 years 11 months ago

ok thanks,
But maybe I don't have to install the war distribution, because the only reason i should do that is because I have following problem:

http://community.jaspersoft.com/questions/817167/make-jasperserver-defau...

Do you know how I can do that?

samhast - 10 years 2 months ago

Dear Samhast,

Have you succesfully installed Jasperserver with existing tomcat?
Which tomcat location you choose?
I have the same problem with you.
Maybe you can share the solution.

Thank You

wahyu.sri.pamungkas_1 - 8 years 3 months ago
Feedback
randomness