tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject Re: Limitations in using a different Ajp port than the standard ? (WAS Re: SAAAAAAAM! :))
Date Thu, 02 Aug 2001 13:45:24 GMT
FYI, it works on Tomcat 3.2.2 ... but not on Tomcat 3.3-b1 and not with the
nighlty build of today (2/8/2001) ...
-Vincent

----- Original Message -----
From: "Vincent Massol" <vmassol@octo.com>
To: <tomcat-user@jakarta.apache.org>
Cc: "Pier P. Fumagalli" <pier@betaversion.org>; <craigmcc@apache.org>; "Sam
Ruby" <rubys@us.ibm.com>
Sent: Thursday, August 02, 2001 2:16 PM
Subject: Limitations in using a different Ajp port than the standard ? (WAS
Re: SAAAAAAAM! :))


> Hi,
> I would like to use different ports than the standard Tomcat ones. For the
> HTTP listener, it works fine. However I am having trouble for the Ajp
> listener which is used to stop tomcat. The issue is the following :
> * When I start Tomcat I use my own server.xml file which is located in my
> own directory (I start Tomcat using the -config switch). In server.xml I
> also set the ContextManager home to be my own directory. So Tomcat
generates
> an ajp12.id file in _that_ directory (and not into Tomcat home directory,
> which is normal and fine). The tomcat home directory is set to be the
> directory where I have installed Tomcat.
> * No, when I want to stop Tomcat, it seems Tomcat looks for an ajp12.id
file
> but in the ${tomcat.home}/conf and _not_ in the directory defined in the
> ContextManager home or where my server.xml file is.
>
> In other words, it seems it is not possible to start 2 instances of Tomcat
> and only stop one running instance (the one with the different ajp port)
by
> using only one Tomcat installation ?
>
> Is that a bug, a feature or have I forgotten something ?
>
> Find below my start, stop scripts and relevant portion of server.xml
>
> Thanks a lot.
> -Vincent
>
> ---- start script -------
>
>     <target name="start_tomcat_33">
>
>         <java classname="org.apache.tomcat.startup.Main" fork="yes">
>             <jvmarg value="-Dtomcat.home=${tomcat.home.33}"/>
>             <arg value="-config"/>
>             <arg value="${out.tomcat33.full.dir}/conf/server.xml"/>
>             <classpath>
>                 <pathelement location="${java.home}/../lib/tools.jar"/>
>                 <fileset dir="${tomcat.home.33}/lib">
>                     <include name="tomcat.jar"/>
>                 </fileset>
>             </classpath>
>         </java>
>
>     </target>
>
> ---- stop script -------
>
>     <target name="stop_tomcat_33">
>
>         <java classname="org.apache.tomcat.startup.Main" fork="yes">
>             <jvmarg value="-Dtomcat.home=${tomcat.home.33}"/>
>             <arg value="-stop"/>
>             <arg value="-config"/>
>             <arg value="${out.tomcat33.full.dir}/conf/server.xml"/>
>             <classpath>
>                 <pathelement location="${java.home}/../lib/tools.jar"/>
>                 <fileset dir="${tomcat.home.33}/lib">
>                     <include name="tomcat.jar"/>
>                 </fileset>
>             </classpath>
>         </java>
>
>     </target>
>
> ---- server.xml --------
>
> [...]
>         <RequestInterceptor
>          className="org.apache.tomcat.modules.server.Ajp12Interceptor"
>          tomcatAuthentication="false"
>          port="8777" />
>
>
>
>
> ----- Original Message -----
> From: "Sam Ruby" <rubys@us.ibm.com>
> To: "Pier P. Fumagalli" <pier@betaversion.org>
> Cc: "Vincent Massol" <vmassol@octo.com>
> Sent: Thursday, August 02, 2001 2:27 AM
> Subject: Re: SAAAAAAAM! :)
>
>
> > Vincent, can you take a look at changing the port numbers from 8080 to
> > something unique?  Preferably, something controlable via a property?
> >
> > Pier - I was doing a test build of some changes to cactus...sorry.
> >
> > - Sam Ruby
> >
> >
> > "Pier P. Fumagalli" <pier@betaversion.org> on 08/01/2001 09:23:49 PM
> >
> > To:   Sam Ruby/Raleigh/IBM@IBMUS
> > cc:
> > Subject:  SAAAAAAAM! :)
> >
> >
> >
> > What's going on on Nagoya and Tomcat 4.0? Huh? :)
> > You little brat binding to my network ports and giving me BindExceptions
> :)
> > Can you remove the config for the WARP connector from your TC4
> > configuration?
> > Cheers :)
> >
> >     Pier
> >
> >
> >
> >
>
>


Mime
View raw message