Hello,
You just have to edit tomcat/conf/server.xml and change the ports number. For example change
<Server port="8005" shutdown="SHUTDOWN" debug="0">
to
<Server port="9005" shutdown="SHUTDOWN" debug="0">
and
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />
to
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="9090" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />and
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
to
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="9009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
With this wou will run the coyote connector on port 9090. So you will access jahia with http://localhost:9090/jahia/Jahia
Philippe. Jinesh Parekh wrote:
can u tell me how to change the ports in some more detail...
Jinesh
>From: Philippe Vollenwn more detaeider <[EMAIL PROTECTED]> >Reply-To: <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Linux redhat >Date: Wed, 26 May 2004 17:50:32 +0200 > >with such message "Address already in use JVM_Bind 80:80" you must >have something running on this port... >First test if you config is OK by running tomcat on another port >(all connectors, not only coyote) > >/P. > >Jinesh Parekh wrote: > >>I do have IIS. But I do not have it running all the time. Also it >>use to work fine first. could you tell me what would be the >>required environment variable settings? >> >>Jinesh >> >> >From: Philippe Vollenweider <[EMAIL PROTECTED]> >> >Reply-To: <[EMAIL PROTECTED]> >> >To: [EMAIL PROTECTED] >> >Subject: Re: Linux redhat >> >Date: Wed, 26 May 2004 17:33:02 +0200 >> > >> >Hello, Have you got anoter service running on port 80 (like >>iis)? >> > >> >/P. >> > >> >Jinesh Parekh wrote: >> > >> >>Yes you are right. I tried running tomcat directly and it gave >>me >> >>the following error: >> >> >> >>"Address already in use JVM_Bind 80:80" >> >> >> >>Please tell me how to go about solving it. >> >> >> >>Sicnerely, >> >>-Jinesh >> >> >> >> >From: Serge Huber <[EMAIL PROTECTED]> >> >> >Reply-To: <[EMAIL PROTECTED]> >> >> >To: <[EMAIL PROTECTED]> >> >> >Subject: RE: Linux redhat >> >> >Date: Wed, 26 May 2004 12:36:07 +0200 >> >> > >> >> >At 18:50 25.05.2004, you wrote: >> >> >> >> >> >>When I try to run Jahia, it waits on the command prompt >>forever >> >>and >> >> >>the other Tomcat window that opens up ...shuts down. >> >> > >> >> >The startup batch script waits for the HTTP server to be up >>on >> >>the >> >> >default port (localhost:8080). This is why it's doing >>nothing. >> >> > >> >> >The window that's shutting down is probably due to an error, >>for >> >> >example a corrupted Tomcat xml configuration file. Try >>launching >> >> >Tomcat by itself (tomcat/bin/catalina.bat run) to see if you >>can >> >> >read the error. >> >> > >> >> >Regards, >> >> > Serge Huber. >> >> > >> >> > >> >> >- -- --- -----=[ serge.huber at jahia dot com ]=---- --- -- >>- >> >> >Jahia : A collaborative source CMS and Portal Server >> >> >www.jahia.org Community and product web site >> >> >www.jahia.com Commercial services company >> >> > >> >> > >> > >> > >> >-- >> >-------=[ pvollenweider at jahia dot com ]=--------- >> >Jahia : A collaborative source CMS and Portal Server >> >www.jahia.org Community and product web site >> >www.jahia.com Commercial services company >> > > > >-- >-------=[ pvollenweider at jahia dot com ]=--------- >Jahia : A collaborative source CMS and Portal Server >www.jahia.org Community and product web site >www.jahia.com Commercial services company >
-- -------=[ pvollenweider at jahia dot com ]=--------- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company
