You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by cactux <ca...@gmail.com> on 2009/02/04 10:54:29 UTC

Wrong install on debian server 40r6

Hi,

The Tomcat install on Debian Server 40r6 is quite weird and not functionnal,
although I used the package manager.

I just installed tomcat5.5 on debian server 40r6, with:
aptitude install sun-java5-jre
aptitude install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps

It is then available from http://localhost:8180/, as well as the Tomcat
Manager (http://localhost:8180/manager/html). So far, so good.

Then I create a dummy HTML file I want to see when calling
http://localhost:8180/foo.html, I have to put it there:
/usr/share/tomcat5.5-webapps/ROOT/foo.html
This works.

If I put a WAR file in this directory, it is automatically expanded:
/var/lib/tomcat5.5/webapps/

BUT the problem is that:
1. it does not show up in the “Tomcat Web Application Manager” page
2. it is not reachable by http://localhost:8180/

If I deploy a WAR using the “Tomcat Web Application Manager”, it is then
available in /var/lib/tomcat5.5/webapps, but not shown in the Manager page.

What’s the problem?
It seems I have 2 webapps directories, instead of one:
/usr/share/tomcat5.5-webapps/
/var/lib/tomcat5.5/webapps/
Changing /var/lib/tomcat5.5/webapps/ to a link to
/usr/share/tomcat5.5-webapps/ does not solve the problem.

How can I solve that?

Thanks
-- 
View this message in context: http://www.nabble.com/Wrong-install-on-debian-server-40r6-tp21827401p21827401.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Wrong install on debian server 40r6

Posted by cactux <ca...@gmail.com>.

Markus Schönhaber-10 wrote:
> 
> Most people on this list (me included) are not interested in helping to
> solve problems which might be caused by the Debian-specific re-packaging
> of Tomcat (or in finding out whether or not this really is the case).
> Therefore, the answer you'll most likely get is: go to
> http://tomcat.apache.org
> download a recent Tomcat version from there and use that.
> 
> If you still want to use the Debian package, you'll probably have more
> luck asking on a Debian list.

Thanks Markus.
I'll investigate both paths, then I'll come back to you if I succeed, either
way.
Hopefully this thread will be indexed by search engines and will be of help
to other people looking for this problem.

Regards
-- 
View this message in context: http://www.nabble.com/Wrong-install-on-debian-server-40r6-tp21827401p21831830.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Wrong install on debian server 40r6

Posted by Markus Schönhaber <to...@list-post.mks-mail.de>.
cactux:

> The Tomcat install on Debian Server 40r6 is quite weird and not functionnal,
> although I used the package manager.
> 
> I just installed tomcat5.5 on debian server 40r6, with:
> aptitude install sun-java5-jre
> aptitude install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps

Most people on this list (me included) are not interested in helping to
solve problems which might be caused by the Debian-specific re-packaging
of Tomcat (or in finding out whether or not this really is the case).
Therefore, the answer you'll most likely get is: go to
http://tomcat.apache.org
download a recent Tomcat version from there and use that.

If you still want to use the Debian package, you'll probably have more
luck asking on a Debian list.

Regards
  mks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org