FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 07-30-2008, 11:37 PM
 
Default Installing tomcat5 on RHEL4

In the tomcat dir there should be as follows
Server/conf/log (don't remember the exact path for the log dir) there will be two file in there

Post the last 20 lines on the server.log

And check the boot log for errors


Can you telnet or netstat to port 8080 ?


Sent via BlackBerry from T-Mobile

-----Original Message-----
From: Ben Kevan <ben.kevan@gmail.com>

Date: Wed, 30 Jul 2008 16:29:21
To: General Red Hat Linux discussion list<redhat-list@redhat.com>
Subject: Re: Installing tomcat5 on RHEL4


On Wednesday 30 July 2008 03:17:25 pm Chaim Rieger wrote:
> Ben Kevan wrote:
> > Hi..
> >
> > I am trying to install tomcat5 on RHEL4 but after installtation the page
> > doesn't come up for me.. post output of
>
> ps -aeef | grep java

ps -aeef | grep java
tomcat 8812 1 6 08:22 pts/2
00:00:02 /usr/lib/jvm/java/bin/java -Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/tomcat5/common/lib -Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/tomcat5/common/lib -Djava.endorsed.dirs=/usr/share/tomcat5/common/endorsed -classpath /usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-impl.jar:/usr/share/java/mx4j/mx4j-jmx.jar -Dcatalina.base=/usr/share/tomcat5 -Dcatalina.home=/usr/share/tomcat5 -Djava.io.tmpdir=/usr/share/tomcat5/temp
org.apache.catalina.startup.Bootstrap start

rpm -qa | grep tomcat
tomcat5-servlet-2.4-api-5.5.23-0jpp_11rh
tomcat5-jasper-5.5.23-0jpp_11rh
tomcat5-jsp-2.0-api-5.5.23-0jpp_11rh
tomcat5-common-lib-5.5.23-0jpp_11rh
tomcat5-server-lib-5.5.23-0jpp_11rh
tomcat5-5.5.23-0jpp_11rh


I don't see a webapps package.. should I have one? (I installed from the
developer v3 rhn repo).

Thanks..

Ben

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-31-2008, 04:45 PM
Chaim Rieger
 
Default Installing tomcat5 on RHEL4

Ben Kevan wrote:



I don't see a webapps package.. should I have one? (I installed from the
developer v3 rhn repo).

Thanks..


Ben



Ben
didja figure it out ?

--
--
Chaim Rieger

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-31-2008, 05:28 PM
Ben Kevan
 
Default Installing tomcat5 on RHEL4

On Wednesday 30 July 2008 04:37:23 pm chaim.rieger@gmail.com wrote:
> In the tomcat dir there should be as follows
> Server/conf/log (don't remember the exact path for the log dir) there will
> be two file in there
>
> Post the last 20 lines on the server.log
>
> And check the boot log for errors
>
>
> Can you telnet or netstat to port 8080 ?
>
>
> Sent via BlackBerry from T-Mobile
>

$ tail -n 20 catalina.out
Jul 30, 2008 8:22:10 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 30, 2008 8:22:10 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 869 ms
Jul 30, 2008 8:22:11 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 30, 2008 8:22:11 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Jul 30, 2008 8:22:11 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 30, 2008 8:22:11 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 30, 2008 8:22:11 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jul 30, 2008 8:22:11 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/86 config=null
Jul 30, 2008 8:22:11 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jul 30, 2008 8:22:11 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 460 ms

nc localhost 8080
punt!

NC / Telnet both just hang when I try to connect / test the connection.

Ben

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-31-2008, 05:31 PM
Chaim Rieger
 
Default Installing tomcat5 on RHEL4

Ben Kevan wrote:

post the output of the following please

netstat -an | grep 8080

--
--
Chaim Rieger

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-31-2008, 06:45 PM
Ben Kevan
 
Default Installing tomcat5 on RHEL4

On Thursday 31 July 2008 10:31:45 am Chaim Rieger wrote:
> Ben Kevan wrote:
>
> post the output of the following please
>
> netstat -an | grep 8080

netstat -an | grep 8080
tcp 0 0 :::8080 :::*
LISTEN

Ben

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-31-2008, 07:06 PM
Chaim Rieger
 
Default Installing tomcat5 on RHEL4

Ben Kevan wrote:

On Thursday 31 July 2008 10:31:45 am Chaim Rieger wrote:


Ben Kevan wrote:

post the output of the following please

netstat -an | grep 8080



netstat -an | grep 8080
tcp 0 0 :::8080 :::*
LISTEN


Ben


so tomcate is definitly running

can you deploy a war file
download the liferay war file and is should auto deploy



--
--
Chaim Rieger

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-31-2008, 10:33 PM
Ben Kevan
 
Default Installing tomcat5 on RHEL4

On Thursday 31 July 2008 12:06:28 pm you wrote:
> Ben Kevan wrote:
> > On Thursday 31 July 2008 10:31:45 am Chaim Rieger wrote:
> >> Ben Kevan wrote:
> >>
> >> post the output of the following please
> >>
> >> netstat -an | grep 8080
> >
> > netstat -an | grep 8080
> > tcp 0 0 :::8080 :::*
> > LISTEN
> >
> > Ben
>
> so tomcate is definitly running
>
> can you deploy a war file
> download the liferay war file and is should auto deploy

It was running.. for some reason the tomcat 5 installation doesn't include
test servelets and the main pages (I come from a suse background, and it does
include it). I verified this by going into the webapps folder

/usr/share/tomcat5/webapps

Subsequently when I installed tomcat from source on my production box (I was
brining up a dev box to test getting PHP working on tomcat) everything was
included.. but this damn tomcat5 rpm from rhn was not..

Have you experienced the same?

Ben

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-31-2008, 10:36 PM
Chaim Rieger
 
Default Installing tomcat5 on RHEL4

Ben Kevan wrote:
It was running.. for some reason the tomcat 5 installation doesn't include
test servelets and the main pages (I come from a suse background, and it does
include it). I verified this by going into the webapps folder


/usr/share/tomcat5/webapps

Subsequently when I installed tomcat from source on my production box (I was
brining up a dev box to test getting PHP working on tomcat) everything was
included.. but this damn tomcat5 rpm from rhn was not..

Have you experienced the same?


Ben


certain things i will never install via package (rpm/yum/pkgadd,
etc.....) these include

java, tomcat, apache, php, and perl

tomcat rpm (ASAIK) is blank, with no wars, no console, and no mgmt,

need to deploy those to see something



--
--
Chaim Rieger

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 08-01-2008, 05:04 AM
Ben Kevan
 
Default Installing tomcat5 on RHEL4

On Thursday 31 July 2008 03:36:00 pm you wrote:
> Ben Kevan wrote:
> > It was running.. for some reason the tomcat 5 installation doesn't
> > include test servelets and the main pages (I come from a suse background,
> > and it does include it). I verified this by going into the webapps folder
> >
> > /usr/share/tomcat5/webapps
> >
> > Subsequently when I installed tomcat from source on my production box (I
> > was brining up a dev box to test getting PHP working on tomcat)
> > everything was included.. but this damn tomcat5 rpm from rhn was not..
> >
> > Have you experienced the same?
> >
> > Ben
>
> certain things i will never install via package (rpm/yum/pkgadd,
> etc.....) these include
> java, tomcat, apache, php, and perl
>
> tomcat rpm (ASAIK) is blank, with no wars, no console, and no mgmt,
>
> need to deploy those to see something

Yes, suse packages are not blank and I honestly expected the same from the
RHEL4 packages in the development channel. Not only was nothing included BUT
it also didn't have a seperate package in the dev channel for tomcat5-admin
or tomcat5-webapps .. what's up with that?

Thanks for running through things with me.. I know it was running, just really
didn't expect to go into webapps dir and find nothing (never had to do that
since when I installed via source all was there.. Oh we.. I just copied what
I had on my prod box (installed from source) to my test box..

Now to install php and check to see if I can get it to work with tomcat (not
something I really want to do, but a damn last second requirement..) have you
had experience with this and php 4.4.x?

Ben

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 06:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org