tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Lasiewski" <stef...@iii.com>
Subject RE: Specifying startup port on the command line?
Date Mon, 15 Sep 2003 19:43:34 GMT
Do you mean the "Embedded" code block in catalina.sh ?

This is a full-fledged web application, not an embedded application. I'm not
sure if looking at the Embedded code would help.

Thanks for your help everyone,

-= Stefan

> -----Original Message-----
> From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
> Sent: Monday, September 15, 2003 10:47 AM
> To: Tomcat Users List
> Subject: RE: Specifying startup port on the command line?
> 
> 
> 
> 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.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message