$ service tomcat4 start
Starting tomcat4: process allready running

yet if I follow up with
-------------------------------------------
jnowacki $ /etc/init.d/tomcat4 stop
java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
 at java.net.Socket.connect(Socket.java:426)
 at java.net.Socket.connect(Socket.java:376)
 at java.net.Socket.<init>(Socket.java:291)
 at java.net.Socket.<init>(Socket.java:119)
 at org.apache.catalina.startup.Catalina.stop(Unknown Source)
 at org.apache.catalina.startup.Catalina.execute(Unknown Source)
 at org.apache.catalina.startup.Catalina.process(Unknown Source)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Unknown Source)[FAILED]

but
--------------------------------------------------------------------------
$ /etc/init.d/tomcat4 start        
Starting tomcat4: process allready running

as for my processes
--------------------------------------------------------------------------
$ ps -A
  PID TTY          TIME CMD
    1 ?        00:00:04 init
    2 ?        00:00:00 keventd
    3 ?        00:00:00 kapmd
    4 ?        00:00:00 ksoftirqd_CPU0
    5 ?        00:24:32 kswapd
    6 ?        00:00:00 bdflush
    7 ?        00:00:02 kupdated
    8 ?        00:00:00 mdrecoveryd
   12 ?        00:00:07 kjournald
   64 ?        00:00:00 khubd
  145 ?        00:00:00 kjournald
  562 ?        00:00:00 syslogd
  566 ?        00:00:00 klogd
  577 ?        00:00:00 portmap
  596 ?        00:00:00 rpc.statd
  651 ?        00:06:26 rpciod
  652 ?        00:00:00 lockd
  691 ?        00:00:13 sshd
  706 ?        00:00:00 xinetd
  729 ?        00:00:00 nfsd
  730 ?        00:00:00 nfsd
  731 ?        00:00:00 nfsd
  732 ?        00:00:00 nfsd
  733 ?        00:00:00 nfsd
  734 ?        00:00:00 nfsd
  735 ?        00:00:00 nfsd
  736 ?        00:00:00 nfsd
  760 ?        00:00:00 sendmail
  770 ?        00:00:00 sendmail
  780 ?        00:00:00 gpm
  801 ?        00:00:00 cannaserver
  810 ?        00:00:00 crond
  825 ?        00:00:00 safe_mysqld
  851 ?        00:00:00 mysqld
  892 ?        00:00:00 xfs
  910 ?        00:00:00 atd
  921 ?        00:01:04 rhnsd
  936 tty1     00:00:00 mingetty
  937 tty2     00:00:00 mingetty
  938 tty3     00:00:00 mingetty
  939 tty4     00:00:00 mingetty
  940 tty5     00:00:00 mingetty
  941 tty6     00:00:00 mingetty
  942 ?        00:00:00 gdm-binary
  975 ?        00:00:00 gdm-binary
  976 ?        00:00:50 X
25717 ?        00:00:00 sshd
25719 ?        00:00:05 sshd
25721 pts/0    00:00:01 bash
27040 ?        00:00:00 ntpd
26229 ?        00:00:00 rhn_check
 9289 pts/0    00:00:00 less
 9506 pts/0    00:00:00 bash
 9507 pts/0    00:00:00 less
10252 pts/0    00:00:00 findfunnyclades
20005 ?        00:00:00 sshd
20007 ?        00:00:04 sshd
20011 pts/9    00:00:03 bash
 7077 ?        00:00:00 sshd
 7079 ?        00:00:00 sshd
 7082 pts/3    00:00:00 bash
 1466 ?        00:00:00 httpd
 8291 ?        00:00:18 gdmgreeter
 8959 ?        00:00:00 httpd
 8960 ?        00:00:00 httpd
 8961 ?        00:00:00 httpd
 8962 ?        00:00:00 httpd
 8963 ?        00:00:00 httpd
 8964 ?        00:00:00 httpd
 8965 ?        00:00:00 httpd
 8966 ?        00:00:00 httpd
 2005 ?        00:00:00 sshd
 2007 ?        00:00:00 sshd
 2008 pts/1    00:00:00 bash
 2071 pts/1    00:00:00 su
 2072 pts/1    00:00:00 bash
 2332 pts/1    00:00:05 java
 2353 pts/1    00:00:00 ps

I used the rpm Tomcat
specifically:
tomcat4-4.1.24-full.2jpp.noarch.rpm

which only has a size of 4,118,895

The tarballs are much bigger, logic would make me think they would be
smaller, but I guess not.








On Thu, 29 May 2003, Chad Skinner wrote:
> I downloaded the SDK and tomcat RPMs, installed both, set the JAVA_HOME env
> variable and added the java bin directory to my path and them simply started
> tomcat and it worked. Did you use the tarball or rpm for tomcat? does ps
> show another java process running.
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Jonathan Michael
> > Nowacki
> > Sent: Thursday, May 29, 2003 6:32 PM
> > To: [EMAIL PROTECTED]
> > Subject: TOMCAT HELP
> >
> >
> > I can't get tomcat to work please help
> >
> >
> >
> > Here's what I've done:
> > I've successfully installed (and tested) Java SDK
> > j2sdk-1.4.1_02-fcs
> >
> > and I pretty sure tomcat was a good install
> > tomcat4-4.1.24-full.2jpp
> >
> > Tomcat is running
> > --------------------------
> > $ service tomcat4 start
> > Starting tomcat4: process allready running
> >
> > Java Conf is setup
> > ------------------------------
> > $ ls -ltr /etc/java/java.conf
> > -rwxr-xr-x    1 root     root           35 May 29 17:51
> > /etc/java/java.conf
> > $ cat /etc/java/java.conf
> > JAVA_HOME=/usr/java/j2sdk1.4.1_02
> >
> >
> > The server xml has been changed.
> > ---------------------------------
> > /etc/tomcat4/server.xml
> >       <Host name="parazen.bio.indiana.edu" debug="0" appBase="webapps"
> >        unpackWARs="true" autoDeploy="true">
> >
> >
> >
> > apache is up and running at
> > http://parazen.bio.indiana.edu/
> >
> > but http://parazen.bio.indiana.edu:8080 sends back a "connection refused"
> >
> > (tomcat default port according to the documentation)
> > http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt
> >
> >
> > please help, i'm going nuts
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]
> > https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to