Specifying http port?

7 messages Options
Embed this post
Permalink
Thomas Sundberg

Specifying http port?

Reply Threaded More More options
Print post
Permalink
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




--
Thomas Sundberg
M. Sc. in Computer Science

Agical AB
Västerlånggatan 79, 2 tr
111 29 Stockholm, SWEDEN

Mobile: +46 70 767 33 15
E-mail: [hidden email]
http://www.agical.com

http://www2.xp2009.org/xp2009/en/contentview.wp;jsessionid=7AB2D2631F907406FCDF574EECE8FC5C?contentId=CNG138

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Jon Schewe

Re: Specifying http port?

Reply Threaded More More options
Print post
Permalink
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: [hidden email]
For additional commands, e-mail: [hidden email]

Thomas Sundberg

Re: Specifying http port?

Reply Threaded More More options
Print post
Permalink
Hi!

You are absolutely right!

Two minuses did the trick.

Thanks a lot!

Thomas

On Wed, May 13, 2009 at 16:41, Jon Schewe <[hidden email]> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>



--
Thomas Sundberg
M. Sc. in Computer Science

Agical AB
Västerlånggatan 79, 2 tr
111 29 Stockholm, SWEDEN

Mobile: +46 70 767 33 15
E-mail: [hidden email]
http://www.agical.com

http://www2.xp2009.org/xp2009/en/contentview.wp;jsessionid=7AB2D2631F907406FCDF574EECE8FC5C?contentId=CNG138

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Kohsuke Kawaguchi

Re: Specifying http port?

Reply Threaded More More options
Print post
Permalink

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 <[hidden email]> 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: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/


smime.p7s (4K) Download Attachment
Ajay Mehra

Re: Specifying http port?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Thomas Sundberg

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




--
Thomas Sundberg
M. Sc. in Computer Science

Agical AB
Västerlånggatan 79, 2 tr
111 29 Stockholm, SWEDEN

Mobile: +46 70 767 33 15
E-mail: thomas.sundberg@agical.com
http://www.agical.com

http://www2.xp2009.org/xp2009/en/contentview.wp;jsessionid=7AB2D2631F907406FCDF574EECE8FC5C?contentId=CNG138

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
For additional commands, e-mail: users-help@hudson.dev.java.net
Ajay Mehra

AWT is not properly configured

Reply Threaded More More options
Print post
Permalink
In reply to this post by Kohsuke Kawaguchi
Hi ,

when i am running "java -Djava.awt.headless=true -jar hudson.war" it still shows me the same error on hudson page "AWT is not properly configured on this server. Perhaps you need to run your container with "-Djava.awt.headless=true"?

what could be the issue.

Kohsuke Kawaguchi wrote:
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/

 
Ajay Mehra

AWT is not properly configured

Reply Threaded More More options
Print post
Permalink
Hi ,

when i am running "java -Djava.awt.headless=true -jar hudson.war" it still shows me the same error on hudson page "AWT is not properly configured on this server. Perhaps you need to run your container with "-Djava.awt.headless=true"?

what could be the issue.


Ajay Mehra wrote:
Hi ,

when i am running "java -Djava.awt.headless=true -jar hudson.war" it still shows me the same error on hudson page "AWT is not properly configured on this server. Perhaps you need to run your container with "-Djava.awt.headless=true"?

what could be the issue.

Kohsuke Kawaguchi wrote:
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/