tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Константин Шумай" <kosta....@gmail.com>
Subject Re: jmxproxy server management problem
Date Fri, 25 Jan 2008 13:48:56 GMT
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 <funkman@joedog.org>:
>
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message