Hey Christopher, i got it working... i changed the host-entry and set the correct CATALINA_HOME and CATALINA_BASE. Both were not set correctly.
Now i set the following in server.xml: for localhost appBase="webapps/localhost/" for srv2.tudom.de appBase="webapps/tudom/" after that i saw in the localhost directory that i will need a ROOT directory in webapps/tudom. There (webapps/tudom/ROOT/) i deployed my files. Dont know why, but its working. Is it regular that i will need a ROOT-directory in my app-base? Thank you for your great help! 2011/1/13 Christopher Schultz <ch...@christopherschultz.net>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Johannes, > > On 1/13/2011 2:20 PM, Johannes Stein wrote: >> Now $CATALINA_HOME is setted to "/usr/share/tomcat6". > > Was that set to something else, earlier? /usr/share/tomcat6 looks like > the CATALINA_HOME for a package-managed version of Tomcat. If that's the > case, stuff could be anywhere. > > Do you have a "webapps" directory anywhere? Your default <Host> is set > to appBase="webapps" and your /other/ <Host> is set to appBase="tudom". > Since these settings aren't fully-qualified, they will be relative to > the CATALINA_BASE setting (which is the same as CATALINA_HOME in a > standard install, but might be different depending on how your package > manager has laid things out). > >> There i can find "bin, lib, webapps". > > Okay, that's a start. Here's what's in my CATALINA_HOME: > > - -rw-r--r-- 1 root root 37950 Mar 9 2010 LICENSE > - -rw-r--r-- 1 root root 557 Mar 9 2010 NOTICE > - -rw-r--r-- 1 root root 8669 Mar 9 2010 RELEASE-NOTES > - -rw-r--r-- 1 root root 6670 Mar 9 2010 RUNNING.txt > drwxr-xr-x 2 root root 4096 Mar 19 2010 bin > drwxr-xr-x 2 root root 4096 Mar 9 2010 conf > drwxr-xr-x 2 root root 4096 Mar 19 2010 lib > drwxr-xr-x 2 root root 4096 Mar 9 2010 logs > drwxr-xr-x 2 root root 4096 Mar 19 2010 temp > drwxr-xr-x 7 root root 4096 Mar 9 2010 webapps > drwxr-xr-x 2 root root 4096 Mar 9 2010 work > > Here's what's in my CATALINA_BASE: > > drwx------ 3 cschultz cschultz 4096 Jan 7 14:49 conf > drwxr-xr-x 2 cschultz cschultz 4096 Jan 13 08:56 logs > drwxr-xr-x 2 cschultz cschultz 4096 Jan 7 14:49 temp > drwxr-xr-x 3 cschultz cschultz 4096 Jan 7 14:49 webapps > drwxr-xr-x 3 cschultz cschultz 4096 Jan 7 14:49 work > >> But now srv2.tudom.de is not resolvable. > > Works for me: > > $ host srv2.tudom.de > srv2.tudom.de A 109.239.60.41 > > Did you mean that you can't reach your webapps? > > I suspect that your webapp isn't placed into the correct location. You > said that you can get to it, somehow. Is there a URL that responds with > a 200 response that Tomcat serves? If so, what is it? > > (By the way, offering someone you don't know shell access on your server > is a really bad idea.) > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk0vU0IACgkQ9CaO5/Lv0PDZIACeP2oeRJMnYvhiBJKZasz4QmM7 > soIAn01l5h/23WfEUHp4yyLtIjjxvp19 > =p78x > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org