This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Mixed server log. | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Michael Nazarov <michaelnazarov> |
Component: | Sun Appserver 9 | Assignee: | Nitya Doraisamy <nityad> |
Status: | NEW --- | ||
Severity: | blocker | CC: | vkraemer |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | mixed log |
Description
Michael Nazarov
2007-04-27 11:14:29 UTC
Created attachment 41818 [details]
mixed log
See also 102735 for important details. Looks like server plugin needs improvement. two independent processes both try to start the server.. using asadmin start-server. one of them has to find the ports in use and that start will fail... The start fails because the server is starting/started by another process... This could be improved, but there isn't a lot of reason to do it... Changing to enhancement So you think it's good idea to show both success and failed reports next lines? Does the v3 plugin have similar issues? Is it worth correcting in the v3 plugin, if this issue exists? I don't think Vince was saying that it was good -- more that it wasn't necessarily worth the effort to fix it. In this case, the use case is fairly contrived -- there have to be two start vectors (two IDE's in your case) for the server and they have to be starting it at the same time. I can't imagine this is going to happen very often. Furthermore detecting this sort of interaction between processes is hard enough in C code, in Java, it's much more difficult and runs serious risk of regressions that are worse than the problem. I expect the V3 plugin suffers from a similar bug. OTOH, I can't think of a way (not using native code) to detect that some other process on the system is starting the server at the same time a particular plugin instance is. OTOH was suppose to be "Off the top of my head...", in the above comment. no bug should be assigned to issues. distributing the load. |