Hello Andrea,
[r...@webtest tomcat5]# netstat -anp|grep LISTEN|grep 6980
tcp 0 0 ::ffff:127.0.0.1:8005 :::*
LISTEN 6980/java
tcp 0 0 :::8009 :::*
LISTEN 6980/java
tcp 0 0 :::8080 :::*
LISTEN 6980/java
[r...@webtest tomcat5]# ps -ef|grep 6980
tomcat 6980 1 0 Mar12 ? 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
root 30570 4896 0 08:59 pts/2 00:00:00 grep 6980
SERVER.XML
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.core.AprLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
/>
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener
className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
<GlobalNamingResources>
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
/>
<Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
</Host>
</Engine>
</Service>
</Server>
Will appreciate if you could help. On my server http://hostname:8080 shows a
blank page. I was expecting a apache tomcat page. What could it be?
regards,
vm
===========END ==========
On Fri, Mar 12, 2010 at 3:55 PM, André Warnier <[email protected]> wrote:
> testwreq wreq wrote:
>
>> I see 8080 running as follows:
>> tcp 0 0 :::8080 :::*
>> LISTEN 6980/java
>>
>> Ok, that /might/ be Tomcat, and it /might/ be the Tomcat we are talking
> about. But it is not sure yet, because it seems that there may be more
> running on that system than you (and us) know about.
>
> teswreq,
> I am going to try to help you, but you have to follow the steps and do what
> you are told, ok ?
>
> First, enter this command :
>
> netstat -anp | grep LISTEN | grep 6980
>
> you should see the same line as above, and a couple of additional ones.
> Paste these lines here, in your next message.
>
> Then, enter this :
>
> ps -ef | grep 6980
>
> and also paste the result here.
>
> Then, navigate to the "conf" directory of Tomcat (we do not know where the
> CentOS Tomcat package puts that one, so you have to find it yourself). In
> that directory, is a file "server.xml".
> Make a copy of that file, and edit that copy.
> Remove all the XML comments from it. (Those are text sections between
> "<!--" and "-->" sequences), and also paste the rest here.
>
> Then, we might see things a bit more clearly.
>
> Then, while we are looking at that, get yourself an add-on for your
> browser, that we will use later to show what exactly is going on between the
> browser and the server. If you are using Firefox (recommended), get the
> HttpFox add-on for example. If you are using IE, get Fiddler2. You can
> find these things in Google, or in the "add-ons/plugins" menu of the
> browser.
>
>
> So, off you go.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>