tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Specifying startup port on the command line?
Date Mon, 15 Sep 2003 17:46:50 GMT

Howdy,
Or you could use EmbeddedTomcat...

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Dana Bourgeois [mailto:em-lists@netgods.us]
>Sent: Monday, September 15, 2003 1:42 PM
>To: 'Tomcat Users List'
>Subject: RE: Specifying startup port on the command line?
>
>I would rewrite catalina.sh to read arguments from the command line and
use
>them otherwise use some defaults.  The Oreilly book "Learning the bash
>shell" has a great example for this using getopt to do exactly this.
>
>
>Dana Bourgeois
>
>
>> -----Original Message-----
>> From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
>> Sent: Monday, September 15, 2003 9:28 AM
>> To: Tomcat Users List
>> Subject: RE: Specifying startup port on the command line?
>>
>>
>>
>> Howdy,
>> Replace port="x" with port="y" via perl/sed/awk/whatever.  I
>> wouldn't count on 8080/8443 always being present/always being
>> the default values. In fact, I wouldn't do what you're doing
>> anyways, but I imagine you have good reason for it.
>>
>> Yoav Shapira
>> Millennium ChemInformatics
>>
>>
>> >-----Original Message-----
>> >From: Stefan Lasiewski [mailto:stefanl@iii.com]
>> >Sent: Monday, September 15, 2003 12:28 PM
>> >To: Tomcat Users List (E-mail)
>> >Subject: Specifying startup port on the command line?
>> >
>> >Hey all,
>> >
>> >I am looking for a way to startup Tomcat and be able specify
>> the HTTP,
>> >HTTPS & other ports on the commandline.
>> >
>> >I think I will probably use a sed script inside of catalina.sh to
>> search &
>> >replace for strings like "8080" and "8443" in the server.xml file.
>> >
>> >However, this solution is a bit inflexible, and I was wondering what
>> other
>> >ideas people have come up with.
>> >
>> >Thanks for your help,
>> >
>> >-= Stefan
>> >
>> >----
>> >Stefan Lasiewski, Release Engineer
>> >Innovative Interfaces, Inc. - QA Department
>> >510-450-6363 ext. 4209
>> >
>> >
>>
>---------------------------------------------------------------------
>> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
>>
>> This e-mail, including any attachments, is a confidential
>> business communication, and may contain information that is
>> confidential, proprietary and/or privileged.  This e-mail is
>> intended only for the individual(s) to whom it is addressed,
>> and may not be saved, copied, printed, disclosed or used by
>> anyone else.  If you are not the(an) intended recipient,
>> please immediately delete this e-mail from your computer
>> system and notify the sender.  Thank you.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message