users@glassfish.java.net

RE: http-listener-1 port

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Mon, 2 Mar 2009 09:01:35 -0500

look in %GLASSFISH_HOME%/domains/domain1/domain.xml configuration file specifically:

  <configs>
    <config dynamic-reconfiguration-enabled="true" name="server-config">
      <http-service>
        <access-log format="%client.name% %auth-user-name% %datetime% %request% %status% %response.length%" rotation-enabled="true" rotation-interval-in-minutes="15" rotation-policy="time" rotation-suffix="yyyy-MM-dd"/>
        <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-1" port="4649" security-enabled="false" server-name="" xpowered-by="true">
          <property name="proxiedProtocols" value="ws/tcp"/>
        </http-listener>

take a look at the port attribute for first http-listener node

Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.




> Date: Mon, 2 Mar 2009 05:35:32 -0800
> From: glassfish_at_javadesktop.org
> To: users_at_glassfish.dev.java.net
> Subject: http-listener-1 port
>
> Hi :)
> Is there any way to get the http-listener-1 port using a property or anything in my Java code on a glassfishv3 prelude server?
> Searched a lot but found nothing :(
> Thanks.
> [Message sent by forum member 'tibbar' (tibbar)]
>
> http://forums.java.net/jive/thread.jspa?messageID=334567
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009