tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Devisser" <p...@stonylakesolutions.com>
Subject Re: Start Tomcat3.3a meeting error!!!!(Verplex)
Date Fri, 18 Jan 2002 20:02:10 GMT
Dunno if this will work for Solaris, but I use it on linux boxes and it
works fine...

#!/bin/bash

for port in `netstat -an | grep ^tcp.*LISTEN | cut -f 2 -d ':' | cut -f 1 -d
':' | cut -f 1 -d ' '`;
        do fuser -v -u -n tcp $port;
done

A gift from another mailling list... forget who the original author is...

Paul Devisser

.sig removed by request of moral majority.

----- Original Message -----
From: "Di Shan" <dshan@verplex.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, January 18, 2002 2:36 PM
Subject: Start Tomcat3.3a meeting error!!!!(Verplex)


> Hi,
>
> I have Unix solaris box and already installed Oracle 9i database and
apache
> server. After I download Tomcat 3.3a and installed. Once I try to start
the
> Tomcat server, I meet the following error. I think that's because port
> number already in used, but how can I check all port number in used on
Unix
> box?
>
> Using classpath: ./../lib/tomcat.jar
> Using JAVA_HOME: /user/oracle/OraHome1/Apache/jdk1_3_1_02
> Using TOMCAT_HOME: /user/jakarta-tomcat-3.3a
> lroot@kia(68):2002-01-17 18:47:22 - ServerXmlReader:
> Config=$TOMCAT_HOME/conf/server.xml
> 2002-01-17 18:47:22 - PathSetter: home=/user/jakarta-tomcat-3.3a
> 2002-01-17 18:47:22 - ContextXmlReader: Context
> config=$TOMCAT_HOME/conf/apps-127.0.0.1.xml
> 2002-01-17 18:47:22 - ContextXmlReader: Context
> config=$TOMCAT_HOME/conf/apps-admin.xml
> 2002-01-17 18:47:22 - ContextXmlReader: Context
> config=$TOMCAT_HOME/conf/apps-examples.xml
> 2002-01-17 18:47:22 - AutoWebApp: Loaded from config: DEFAULT:/admin
> 2002-01-17 18:47:22 - AutoWebApp: Auto-Adding DEFAULT:/
> 2002-01-17 18:47:22 - AutoWebApp: Loaded from config: DEFAULT:/examples
> 2002-01-17 18:47:22 - ContextManager: Tomcat configured and in stable
state
> 2002-01-17 18:47:22 - ContextManager: Adding  DEFAULT:/admin
> 2002-01-17 18:47:22 - ContextManager: Adding  DEFAULT:/examples
> 2002-01-17 18:47:22 - ContextManager: Adding  DEFAULT:/ROOT
> EmbededTomcat: Init time 3660
> Guessed home=/user/jakarta-tomcat-3.3a
> java.lang.reflect.InvocationTargetException:
> org.apache.tomcat.core.TomcatException: Root cause - Address already in
use
>         at
> org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown
> Source)
>         at org.apache.tomcat.core.ContextManager.start(Unknown Source)
>         at org.apache.tomcat.startup.EmbededTomcat.start(Unknown Source)
>         at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown
Source)
>         at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
>         at
> org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown
> Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown
> Source)
>         at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown
Source)
>         at org.apache.tomcat.startup.Main.execute(Unknown Source)
>         at org.apache.tomcat.startup.Main.main(Unknown Source)
>
> If you have experience on that, please let me know your suggestion.
>
> Di
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.314 / Virus Database: 175 - Release Date: 1/11/2002


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message