Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Specifying startup port on the command line?

Specifying startup port on the command line?

2003-09-16       - By Shapira, Yoav

 Back

Howdy,
I mean writing a little Java class to launch tomcat as an embedded
service.  Then this class could read whatever CLI arguments you'd like
and setup tomcat accordingly.

Yoav Shapira
Millennium ChemInformatics


>-- --Original Message-- --
>From: Stefan Lasiewski [mailto:stefanl@(protected)]
>Sent: Monday, September 15, 2003 3:44 PM
>To: 'Tomcat Users List'
>Subject: RE: Specifying startup port on the command line?
>
>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@(protected)]
>> 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@(protected)]
>> >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@(protected)]
>> >> 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@(protected)]
>> >> >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@(protected)
>> >> >For additional commands, e-mail:
>> tomcat-user-help@(protected)
>> >>
>> >>
>> >>
>> >>
>> >> 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@(protected)
>> >> For additional commands, e-mail:
>> tomcat-user-help@(protected)
>> >>
>> >>
>> >
>> >
>>
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>> >To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>> >For additional commands, e-mail: tomcat-user-help@(protected)
>>
>>
>>
>>
>> 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@(protected)
>> For additional commands, e-mail: tomcat-user-help@(protected)
>>
>>




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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.