This makes me wonder why Winstone didn't issue an error in the first
place...
It's a program's job to reject bogus options, right?
Thomas Sundberg wrote:
> Hi!
>
> You are absolutely right!
>
> Two minuses did the trick.
>
> Thanks a lot!
>
> Thomas
>
> On Wed, May 13, 2009 at 16:41, Jon Schewe <jpschewe@mtu.net> wrote:
>> You want --httpPort=9090
>>
>> Thomas Sundberg wrote:
>>> Hi!
>>>
>>> I want to define the port my Hudson should respond to. I start it as
>>> below with the command:
>>>
>>> java -jar hudson.war -httpPort=9090
>>>
>>> and as you can see below, it listens to port 8080
>>>
>>> What am I missing? My gut feeling tells me that I have defined the
>>> httpPort parameter incorrect, but how should it be stated?
>>>
>>> /Thomas
>>>
>>>
>>> C:\hudson>java -jar hudson.war -httpPort=9090
>>> Running from: C:\Agical\xp2009\shortDemo\hudson\hudson.war
>>> [Winstone 2009/05/13 16:27:24] - Beginning extraction from war file
>>> [Winstone 2009/05/13 16:27:25] - No webapp classes folder found -
>>> C:\Documents and Settings\Thomas\.hudson\war\WEB-INF\classes
>>> hudson home directory: C:\Documents and Settings\Thomas\.hudson
>>> [Winstone 2009/05/13 16:27:34] - Winstone Servlet Engine v0.9.10
>>> running: controlPort=disabled
>>> [Winstone 2009/05/13 16:27:34] - AJP13 Listener started: port=8009
>>> [Winstone 2009/05/13 16:27:34] - HTTP Listener started: port=8080
>>> 2009-maj-13 16:27:35 hudson.ClassicPluginStrategy createPluginWrapper
>>> INFO: Loading plugin: C:\Documents and
>>> Settings\Thomas\.hudson\plugins\maven-plugin.hpi
>>> 2009-maj-13 16:27:36 hudson.model.Hudson load
>>> INFO: Took 109 ms to load
>>> 2009-maj-13 16:27:36 hudson.TcpSlaveAgentListener <init>
>>> INFO: JNLP slave agent listener started on TCP port 1067
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> Jon Schewe |
http://mtu.net/~jpschewe>> If you see an attachment named signature.asc, this is my digital
>> signature. See
http://www.gnupg.org for more information.
>>
>> For I am convinced that neither death nor life, neither angels nor
>> demons, neither the present nor the future, nor any powers,
>> neither height nor depth, nor anything else in all creation, will
>> be able to separate us from the love of God that is in Christ
>> Jesus our Lord. - Romans 8:38-39
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
>> For additional commands, e-mail: users-help@hudson.dev.java.net
>>
>>
>
>
>
--
Kohsuke Kawaguchi
Sun Microsystems
http://weblogs.java.net/blog/kohsuke/