Local port
Why is the local port in a run configuration? Picture this scenario, which is impossible with port being per run config.
- App server can bind to multiple ports and hosts
- User selects what port a particular webapp is to run on.
This used to be possible by having a custom deployment panel for the web module, to allow the user to select the appropriate port/website to 'mount' the webapp on. Of course, this is still possible. However, the introduction of a global local port concept (1 per run instance) makes it impossible to have a sane UI to support the above scenario.
So I suggest that this method be removed (getLocalPort), and instead let the plugin itself display the appropriate textfield or whatever it wants for local port, so it has the choice of putting it in the web deployment panel or in the main config panel.
Please sign in to leave a comment.
Nope that don't work. I tried it by making the change. Then I just modified a class and added a comment on a line. Compiled it, and it reloaded the whole context.
The problem is that idea is generating a file for the context now, and the default for that is reloadable="true" if I change that to false, IDEA overwrites it back to true.
Not entirely sure why.
I'll file a bug.
R
This should be a host setting, not the context.
Norris Shelton
Sun Certified Java Programmer
Robert S. Sfeir wrote:
>Nope that don't work. I tried it by making the change. Then I just modified a class and added a comment on a line. Compiled it, and it reloaded the whole context.
>
>The problem is that idea is generating a file for the context now, and the default for that is reloadable="true" if I change that to false, IDEA overwrites it back to true.
>
>Not entirely sure why.
>
>I'll file a bug.
>
>R
>
Well I changed it in the server.xml and it didn't make a diff. Now if you mean the setup for Tomcat should have that to set reload or not, then I agree, what ever or where ever it is, it needs to exist and it needs to stop reloading everything constantly.
Thanks
R
Are you using IntelliJ to launch TC? If so, don't. : )
Try it with Tomcat in isolation to make sure the flag is working.
Norris Shelton
Sun Certified Java Programmer
Robert S. Sfeir wrote:
>Well I changed it in the server.xml and it didn't make a diff. Now if you mean the setup for Tomcat should have that to set reload or not, then I agree, what ever or where ever it is, it needs to exist and it needs to stop reloading everything constantly.
>
>Thanks
>R
>