Create a bash script that copies the original server.xml, adjusts the
configuration and after that starts tomcat. (that's the way we do it). You
need to use sed or some other tool to replace the entries you want to
replace...

Mvgr,
Martin

> -----Original Message-----
> From: praveen Kumar [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 9:52 PM
> To: [EMAIL PROTECTED]
> Subject: Specifying port number , host name during startup
>
>
> Hello,
>
> We run couple dozens of web srevers, for different services.
> The port number and host name to bind to comes from a config file.
>
> I need to have a way to specify port number and hostname which to which
> it should bind
> when the server startsup, on the command line (through catalina.sh
> command line arguments).
>
> Is there a way to specfiy these parametes on the command line .
>
> We want to keep a single server.xml and web.xml file for each service,
> but started by different
> developers during devlopement.
>
> Regards,
> Praveen Kumar A.R.
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to