Re: How to start tomcat on a port other than 8080

"Petar Tahchiev" <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
2007/5/4, [email protected] <[email protected]>:
>
> hi,
>
> i think you need two independent tomcat instances. one instance is
> configured for port 8080 (default) and the second instance is configured
> for port 8081(change in %TOMCAT_HOME%/conf/server.xml). so you can run
> your cactus tests against the second instance at port 8081. in the cactus
> configuration you have to point the serverxml attribute to the server.xml
> of your second instance.
>
> greets,
> mathias
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]]
> Gesendet: Freitag, 04. Mai 2007 08:27
> An: [email protected]
> Betreff: Re: How to start tomcat on a port other than 8080
>
> Hello Kamal,
>
> Thanks for your reply ... I changed the port to 8081 in my
> test/res/server.xml as that is the file getting used for running cactus
> test ... But even after that, I'm getting the same error - cactus test
> failed to connect to port 8081 ... I have another instance of tomcat
> running on port 8080 - will this be a problem? This one is using
> %CATALINA_HOME%\conf\server.xml, so I've left the port number uncahnged
> there i.e. port number there still remains at 8080 ...
>
> Thank you,
> Venkatesh
>
>
> ----- Original Message ----
> From: Kamal Chandana Mettananda <[email protected]>
> To: Cactus Users List <[email protected]>
> Sent: Thursday, May 3, 2007 6:00:42 PM
> Subject: Re: How to start tomcat on a port other than 8080
>
> Hi,
>
> For changing the tomcat 8080 port:
>
> Goto %TOMCAT_HOME%\conf/server.xml
>
> Change the connector port to 8081(search for 8080) in this file.
>
> <Connector
> > port="8080"               maxHttpHeaderSize="8192"
> >                maxThreads="150" minSpareThreads="25"
> maxSpareThreads="75"
> >                enableLookups="false" redirectPort="8443"
> acceptCount="100"
> >                connectionTimeout="20000" disableUploadTimeout="true" />
> >
>
> BR,
> Kamal
>
> --
> Kamal Mettananda
> Visit me at: http://lkamal.blogspot.com
>
>
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]




And I think it is a good idea to look at catalina.out and the other logs to
see why the server
can't start. There must be some exception, like the port is already in use
or something
else.

Hope that helps.


-- 
Regards, Petar!
Karlovo, Bulgaria.

Public PGP Key at:
https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.