Re: Web Service port (fix instead of random)

Guillaume Sauthier <[email protected]>
Newsgroups gmane.comp.java.objectweb.jonas
Organization Objectweb Consortium
Message-ID <[email protected]>
When you look at the console, you should see something like this (if 
ondemand is activated):

BaseWebContainerService.doStart :    OnDemand Feature enabled: Listening 
on '9010' port (internal:8968).
Http11Protocol.init :    Initializing Coyote HTTP/1.1 on http-8968
StandardService.start :    Starting service jonas
StandardEngine.start :    Starting Servlet Engine: Apache Tomcat/6.0.29
Http11Protocol.start :    Starting Coyote HTTP/1.1 on http-8968

That means that there are 2 ports open:
* 9010: the "frontend" port that clients should use
* an internal random port (in my case 8968) that is the real tomcat 
connector port

It seems you're using the interal random port.

Why didn't you use the frontend port (described in your 
tomcat6-server.xml as usual) ?

Thanks
--Guillaume

Le 03/01/2011 20:51, ROUMEAS Micaël a écrit :
> Hi,
>
> I'm actually trying to deploy and use a web service on a JOnAS 5 (last 
> release) test server.
>
> I My test application was working yesterday but not this morning when 
> I restart my server.
> I just realise this is due to a random port used by JOnAS when 
> deploying my web service.
>
> Is there any way to have a fix port for Web Services ?
>
> Best wish for this new year.
> MR.
>
>
Guillaume_Sauthier.vcf (text/x-vcard, 387 B)
begin:vcard
fn:Guillaume Sauthier
n:Sauthier;Guillaume
org:<a href="http://www.ow2.org"><img title="OW2" alt="OW2 Consortium" border="0" src="http://www.ow2.org/xwiki/bin/skin/XWiki/DefaultSkin/logoOW2.png" /></a>
adr:;;;;;;France
email;internet:[email protected]
title:<a href="http://jonas.ow2.org">JOnAS Application Server</a>
url:http://jonas.ow2.org
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.