Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: TOMCAT 1.4

David Smith

2007-01-01

Replies:

Tomcat is typically installed as a service using commons-daemon from
http://jakarta.apache.org/commons/daemon. As a result, it's process
name in any install I've done is jsvc. You might also see it as java if
you start it using a shell script directly. Individual netstat commands
change from os to os, but in Mandriva Linux, executing netstat -tlnp as
root will list all the listening TCP ports and the process names.
Something similar might help you identify both your tomcat process when
running and what's listening on port 8080.

--David

tuosu wrote:
> Hello Charles,
> Honored to see your post, since i have seen your wonderful, worthful posts.
> Thanks for all your info.
> It was a typo - it should have been - 4.1.34
> .profile =
> CATALINA_HOME=/tomcat-4.1.34
>
> I am running solaris -8,
> postgresql-8.1.5-sol8-sparc-local
> j2sdk-1_4_2_13-solaris-sparc
> j2re-1_4_2_13-solaris-sparc
> J2SE_Solaris_8_Recommended patches
> rrdtool-1.0.49-sol8-sparc-local  and
> opennms-1.2.8-sol8-sparc-local
>
> The question i have is - when i do ps -ae, i don't see tomcat as a deamon
> process.
> How can i make tomcat a process.
> If tomcat cannot be a process then how do i verify if tomcat is working or
> not.
>
> When i enter the following:
> ./catalina.sh run
> Using CATALINA_BASE:  /tomcat-4.1.34
> Using CATALINA_HOME:  /tomcat-4.1.34
> Using CATALINA_TMPDIR: /tomcat-4.1.34/temp
> Using CATALINA_OUT:   /tomcat-4.1.34/logs/catalina.out
> Using JAVA_HOME:     /usr/java
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.digester.Digester).
> log4j:WARN Please initialize the log4j system properly.
> Catalina.start: LifecycleException: Protocol handler initialization failed:
> java.net.BindException: Address already in use:8080
> LifecycleException: Protocol handler initialization failed:
> java.net.BindException: Address already in use:8080
>      at
> org.apache.coyote.tomcat4.CoyoteConnector.initialize (CoyoteConnector.java:1324)
>      at
> org.apache.catalina.core.StandardService.initialize (StandardService.java:531)
>      at
> org.apache.catalina.core.StandardServer.initialize (StandardServer.java:2268)
>      at org.apache.catalina.startup.Catalina.start (Catalina.java:457)
>      at org.apache.catalina.startup.Catalina.execute (Catalina.java:345)
>      at org.apache.catalina.startup.Catalina.process (Catalina.java:129)
>      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 (Bootstrap.java:150)
> Catalina.stop: LifecycleException: This server has not yet been started
> LifecycleException: This server has not yet been started
>      at
> org.apache.catalina.core.StandardServer.stop (StandardServer.java:2235)
>      at org.apache.catalina.startup.Catalina.start (Catalina.java:489)
>      at org.apache.catalina.startup.Catalina.execute (Catalina.java:345)
>      at org.apache.catalina.startup.Catalina.process (Catalina.java:129)
>      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 (Bootstrap.java:150)
>
> I have no clue on this error message.
>
> Thanks in advance
>
>
>
>
> Caldarale, Charles R wrote:
>  
>>> From: tuosu [mailto:chella2830@(protected)]
>>> Subject: TOMCAT 1.4
>>>
>>> My O.S ==> sun solaris 8.0, running tomcat 1.4.2
>>>    
>> It's highly unlikely you have Tomcat 1.4.2; the oldest level in the
>> archives is 3.0, and that's almost seven years old. The 1.4.2 probably
>> refers to the level of Java (JRE) you have installed.
>>
>> You probably need to download and install Tomcat from here:
>> http://tomcat.apache.org/download-55.cgi
>>
>> Since you are most likely running version 1.4.2 of the JVM, you'll also
>> need the JDK 1.4 Compatibility Package, from the same download page.
>>
>> - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you
>> received this in error, please contact the sender and delete the e-mail
>> and its attachments from all computers.
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@(protected)
>> To unsubscribe, e-mail: users-unsubscribe@(protected)
>> For additional commands, e-mail: users-help@(protected)
>>
>>
>>
>>  
>
>  


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.