Here is another sample for exposing apps on different ports
http://cwiki.apache.org/GMOxDOC11/exposing-web-applications-on-distinct-ports.html
HTH
Cheers!
Hernan
Hernan Cunico wrote:
> the only workaround I found was to declare a new web connector and
> specify the port you want the application to listen on.
>
> then I configured the VH as desc in the
> http://cwiki.apache.org/GMOxDOC12/configuring-virtual-hosts-in-geronimo-tomcat.html
> doc.
>
> the down side of this workaround is that the app, although it will be
> accessible only through the virtual host you specify, it will also be
> listening on all the ports defined as network listeners.
>
> btw, I used Geronimo v1.1.1 for this test, don't think v1.2 will make
> any difference in this configuration.
>
> Would this work for you? I'll keep looking for a better solution
>
> Cheers!
> Hernan
>
> Jack wrote:
>>
>>
>> */Hernan Cunico <hcunico@gmail.com>/* wrote:
>>
>> What container are you using?
>>
>> Here are two docs for Geronimo v1.2 that might help a bit.
>>
>>
>> http://cwiki.apache.org/GMOxDOC12/configuring-virtual-hosts-in-geronimo-jetty.html
>>
>>
>>
>> http://cwiki.apache.org/GMOxDOC12/configuring-virtual-hosts-in-geronimo-tomcat.html
>>
>>
>> For the Tomcat config, if I'm not wrong, you could also specify the
>> port as part of the "initParams" in the config.xml. ( I haven't
>> tried this in a long time though)
>>
>> HTH
>>
>> Cheers!
>> Hernan
>>
>>
>> thanks, i'm using tomcat but the page pointed by your link doesn't
>> tell anything
>> about the port number. i'm using geronimo 1.1 at this time. may be i
>> should
>> check with 1.2 ?
>> regards,
>>
>>
>> ------------------------------------------------------------------------
>> It's here! Your new message!
>> Get new email alerts
>> <http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/>
>> with the free Yahoo! Toolbar. <
>> http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/>
>>
>
|