tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: vhost - servlets not available
Date Thu, 13 Jan 2011 19:32:18 GMT
-----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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message