wood burning stoves 2.0*
The moose likes Tomcat and the fly likes is my tomcat there?---UNIX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "is my tomcat there?---UNIX" Watch "is my tomcat there?---UNIX" New topic
Author

is my tomcat there?---UNIX

rajib chakrabarti
Greenhorn

Joined: Mar 31, 2006
Posts: 7
I am on an UNIX ( SUN SOLARIS) machine in a multi user envioronment.

I needed to run tomcat...

On inspection I find 2 directory which refer to tomcat...

1> /var/apache..

ompmum4 rchakra> pwd
/var/apache
ompmum4 rchakra> ls
cgi-bin htdocs icons logs proxy servlets tomcat
ompmum4 rchakra> more tomcat

*** tomcat: directory ***

ompmum4 rchakra> ls -las
total 24
2 drwxr-xr-x 9 root bin 512 Feb 25 04:40 .
2 drwxr-xr-x 38 root root 1024 Feb 25 04:40 ..
2 drwxr-xr-x 2 root bin 512 Feb 25 04:40 cgi-bin
2 drwxr-xr-x 2 root bin 1024 Feb 25 04:40 htdocs
8 drwxr-xr-x 3 root bin 3584 Feb 25 04:40 icons
2 drwxr-xr-x 2 nobody bin 512 Feb 25 04:40 logs
2 drwxr-xr-x 2 nobody nobody 512 Sep 22 2003 proxy
2 drwxr-xr-x 2 root bin 512 Feb 25 04:40 servlets
2 drwxr-xr-x 6 root bin 512 Feb 25 04:40 tomcat
ompmum4 rchakra> cd tomcat
ompmum4 rchakra> ls -las
total 12
2 drwxr-xr-x 6 root bin 512 Feb 25 04:40 .
2 drwxr-xr-x 9 root bin 512 Feb 25 04:40 ..
2 drwxr-xr-x 2 root bin 512 Feb 25 04:40 conf
2 drwxr-xr-x 2 nobody bin 512 Sep 23 2003 logs
2 drwxr-xr-x 7 root bin 512 Feb 25 04:40 webapps
2 drwxr-xr-x 2 nobody bin 512 Sep 23 2003 work
ompmum4 rchakra> cd conf
ompmum4 rchakra> ls -las
otal 136
2 drwxr-xr-x 2 root bin 512 Feb 25 04:40 .
2 drwxr-xr-x 6 root bin 512 Feb 25 04:40 ..
14 -rw-r--r-- 1 root bin 6700 Nov 2 2002 catalina.policy
24 -rw-r--r-- 1 root bin 11563 Nov 2 2002 server-noexamples.xml.config
32 -rw-r--r-- 1 root bin 16092 Nov 2 2002 server.xml-example
2 -rw-r--r-- 1 root bin 440 Nov 2 2002 tomcat-users.xml
60 -rw-r--r-- 1 root bin 30708 Nov 2 2002 web.xml


2> /usr/apache



ompmum4 rchakra> pwd
/usr/apache
ompmum4 rchakra> ls -las
total 22
2 drwxr-xr-x 10 root bin 512 Aug 18 2004 .
2 drwxr-xr-x 38 root sys 1024 Jan 12 03:02 ..
2 drwxr-xr-x 2 root bin 512 Jan 18 04:37 bin
2 drwxr-xr-x 3 root bin 512 Aug 18 2004 htdocs
2 drwxr-xr-x 3 root bin 1024 Jan 18 04:37 include
2 drwxr-xr-x 3 root bin 512 Aug 18 2004 jserv
4 drwxr-xr-x 2 root bin 1536 Jan 18 04:37 libexec
2 drwxr-xr-x 5 root bin 512 Aug 18 2004 man
2 drwxr-xr-x 3 root bin 512 Aug 18 2004 perl5
2 drwxr-xr-x 6 root bin 512 Aug 18 2004 tomcat
ompmum4 rchakra> cd tomcat
ompmum4 rchakra> ls -las
total 12
2 drwxr-xr-x 6 root bin 512 Aug 18 2004 .
2 drwxr-xr-x 10 root bin 512 Aug 18 2004 ..
2 drwxr-xr-x 2 root bin 512 Aug 20 2004 bin
2 drwxr-xr-x 4 root bin 512 Aug 18 2004 common
2 drwxr-xr-x 2 root bin 512 Aug 20 2004 lib
2 drwxr-xr-x 4 root bin 512 Aug 18 2004 server


This is leading to confusion...

I need to know ........

a> whether the tomcat under apache directory is the one that can work as servlet container?

b>OR i need to install the jakarta-tomcat separately ....

c>If case b above is true then what is the purpose of the tomcat references lying in the machine...

Pl help
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Somebody else may have installed it or it may have shipped with the OS.
When working on a Linux box, I ususally like to start with a clean install of Tomcat. You would have to check with your system administrator to see if this is possible or if you will need to use the existing one.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is my tomcat there?---UNIX