I've installed Tomcat 5.5 into my Ubuntu + sun-java-1.5, tomcat5.5-webapps
and tomcat5.5-admin.

I'm in a mess because the structure of directories has changed.
   For example: 
           *tomcat5.5-webapps package installs webapps into
/usr/share/tomcat5.5-webapps, but tomcat5.5 is in /usr/share/tomcat5.5
(symbolic link to /var/lib/tomcat5.5 !!). I don't know how on earth
tomcat5.5 can find these webapps?
           *Other question is when I deploy a single war file correctly, it
is deployed into /var/lib/tomcat5.5/webapps

As you can see bellow (executing a "ls -l"):
/usr/share/tomcat5.5/:
   ... bin
   ... common
   ... conf -> /var/lib/tomcat5.5/conf
   ... doc -> ../doc/tomcat5.5
   ... logs -> /var/lib/tomcat5.5/logs
   ... server
   ... shared -> /var/lib/tomcat5.5/shared
   ... temp -> /var/lib/tomcat5.5/temp
   ... work -> /var/lib/tomcat5.5/work

/var/lib/tomcat5.5/:
   ... conf
   ... logs -> ../../log/tomcat5.5
   ... shared
   ... temp
   ... webapps
   ... work -> ../../cache/tomcat5.5

It implies that exists three webapps directories:
/usr/share/tomcat5.5/server/webapps
   ... admin
   ... host-manager
   ... manager

/usr/share/tomcat5.5-webapps/   (tomcat5.5-webapps ubunti package (apatitude
install tomcat5.5-webapps)
   ... balancer
   ... balancer.xml
   ... jsp-examples
   ... jsp-examples.xml
   ... ROOT
   ... ROOT.xml
   ... servlets-examples
   ... servlets-examples.xml
   ... tomcat-docs
   ... tomcat-docs.xml
   ... webdav
   ... webdav.xml
And as last:  (where tomcat manager has deployed my web application)
/var/lib/tomcat5.5/webapps/
   ... web_gm
   ... web_gm.war

And to make things worse, tomcat manager says that web_gm (my web app) is
running!!! When I want to access it (http://host:8180/web_gm), tomcat says
me that "The requested resource (/web_gm/) is not available.", however I can
access to manager, admin, jsp-examples applications.

So, Can you help with this structure of directories?
Where are the config files that links all.

Other question:

Why context.xml is as bellow? It is empty!!!

<!-- The contents of this file will be loaded for each web application -->
<Context>

    <!-- Default set of monitored resources -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>

    <!-- Uncomment this to disable session persistence across Tomcat
restarts -->
    <!--
    <Manager pathname="" />
    -->

</Context>

Can you help me please?
Note I'm running tomcat using daemon (/etc/init.d/tomcat5.5)

Thanks in advanced for all.

            
-- 
View this message in context: 
http://www.nabble.com/I%27m-in-a-mess-with-Tomcat-5.5-tf4290941.html#a12215388
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to