Maybe you need to ask a different question: "If I'm pretty sure that Tomcat is installed on a given Linux machine but I'm not sure where it is, how do I find it?"

If you don't know who installed what and by what means, then, like you said, tomcat can be anywhere .. and rpm might put it some where, an admin might compile from source and put it somewhere novel (like your /var/tomcat) .. point is, there's a million + 1 places it can be.

another guess would be somewhere in /usr/local .. but why not try and make the machine do the work for you?

Why not type at the terminal:
$ locate tomcat

and see what comes up ... trying to play hide an seek on a machine you're not administering can make you lose your hair pretty quickly.

If you get an error saying something about your location database (or whatever it's called) not being setup/initialized, then try to init that: I think you need to be root and run the updatedb command (in / usr/sbin (?))

Then try and locate tomcat ... still no luck, try and do some magical incantation of find ... or even do a grep for a file w/ some unique 'tomcat'ness to it .. like maybe "<Context" or "servlet" or something ...

My 2 cents.
-steve


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to