Score:0

Modifying/Closing Connector 9060 port from server.xml without whole appserver restart

fo flag

I have an app which listens on 9060 port. What i want to acheive is, if i remove the 9060 port from server.xml and then stop/terminate my app, 9060 port should be completely closed i.e netstat -tanp | grep 9060 - should return nothing.

Currently 9060 related connector in my server.xml looks like this,

<Connector port="9060" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" acceptCount="100"
         connectionTimeout="20000" disableUploadTimeout="true" />

However, what i want to understand is, is it practically possible without whole appserver restart? Does the 9060 port related change in server.xml reflect only when appserver is restarted? Is there any way to achieve this without entire appserver restart?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.