Tim, thanks for explanation. But I do not understand what for this
functionality. Can you give me advice how to change server port on running
server or restart Connector pogrammatically? nI have an aim to change server
port. I do not find any information how to do this making use of Tomcats
management tools or any other way.

2008/1/25, Tim Funk <[EMAIL PROTECTED]>:
>
> All you did was change the bean which contains the property. Now that
> the port property is 8081. You need to stop the Connector and restart
> it. I'm not sure if you can do this via the JMXProxy servlet. (Or if you
> can - if there are any odd unexpected side effects)
>
> -Tim
>
> Константин Шумай wrote:
> >
> > My remote application named "myapp" (myapp.war) tries to change server
> port
> > number. The most interesting is that I receive beneficial reply "OK -
> > Attribute set". Does it mean that now I can work with my application on
> a
> > new port number without restarting server, for example old URL
> > http://localhost:8080/
> > <http://localhost:8080/jmx>myapp<http://localhost:8080/jmx>and new
> > http://localhost:8081/
> > <http://localhost:8081/jmx>myapp<http://localhost:8081/jmx>or my
> > understandings are wrong?
> >
> > My application (myapp.war) consist of single html page, containing
> single
> > link to JMXProxyServlet -
> > <a
> >
> href="/manager/jmxproxy/?set=Catalina:type=Connector,port=8080&att=port&val=8081">Change
> > connector port to 8081</a>
> >
> > After setting the new port number using JMX Proxy servlet I have
> executed
> > JMX
> > Query command to check my changes and received new port (8081) for MBean
> > "Catalina:type=Connector,port=8080".
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to