Bug 102730 - Mixed server log.
Mixed server log.
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9
6.x
All All
: P4 (vote)
: TBD
Assigned To: Nitya Doraisamy
issues@serverplugins
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-27 11:14 UTC by Michael Nazarov
Modified: 2009-12-10 12:55 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
mixed log (34.39 KB, text/plain)
2007-04-27 11:16 UTC, Michael Nazarov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nazarov 2007-04-27 11:14:29 UTC
I installed two copies of IDE as specified in 102729. Two IDEs were linked with
one AS. I started IDEs and made command start AS in both. In result mixed log
from two AS starting processes appeared in IDE. This log co9ntains both this:

A conflict occured on port 8080 . Server is shutting down.

and this

Application server startup complete.

It's bit strange in my opinion.
Comment 1 Michael Nazarov 2007-04-27 11:16:24 UTC
Created attachment 41818 [details]
mixed log
Comment 2 Michael Nazarov 2007-04-27 15:06:56 UTC
See also 102735 for important details.
Looks like server plugin needs improvement.
Comment 3 Vince Kraemer 2007-07-24 01:12:21 UTC
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
Comment 4 Michael Nazarov 2007-07-24 11:10:37 UTC
So you think it's good idea to show both success and failed reports next lines?
Comment 5 Vince Kraemer 2008-04-26 00:07:22 UTC
Does the v3 plugin have similar issues? Is it worth correcting in the v3 plugin, if this issue exists?
Comment 6 _ pcw 2008-04-26 03:21:49 UTC
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.
Comment 7 _ pcw 2008-04-26 03:25:14 UTC
OTOH was suppose to be "Off the top of my head...", in the above comment.
Comment 8 Vince Kraemer 2009-12-10 12:55:04 UTC
no bug should be assigned to issues. distributing the load.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo