• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

is my tomcat there?---UNIX

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic