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.

Bug 63179

Summary: Debug mode failed to start
Product: serverplugins Reporter: Michal Mocnak <mmocnak>
Component: WebLogicAssignee: Pavel Buzek <pbuzek>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Michal Mocnak 2005-08-26 16:20:17 UTC
Found in the nb42dev

1. start weblogic9 server in normal mode
2. create simple j2ee app
3. debug the application
=> the wl server is stopped but the pointbase is beeing stopped asynchronously
and if a new instance of weblogic in debug mode is started the old instance of
pointbase isn't stopped yet and due to a new instance of wl isn't started
completely (db connection pools are not created and so on)
Comment 1 Pavel Buzek 2005-09-07 14:33:48 UTC
I will take a look at this in trunk.
Comment 2 Michal Mocnak 2005-09-08 13:58:16 UTC
Priority increase to P1. It's a beta stopper because due to this issue it's
impossible to work with weblogic9 app server in debug mode.
Comment 3 Pavel Buzek 2005-09-13 04:34:14 UTC
As far as I can tell it is not impossible to work with debug mode, it is
impossible to restart the server in debug mode (and FWIW, it is impossible to
restart the server even in standard mode). If you debug a project when the
server is not running yet it works for me.

When stopping the server the IDE waits for the server port to become inactive
and assumes that the server is stopped at that moment. This is not enough. What
I added is that the IDE will wait for the stopWeblogic.* process to finish and
then wait some additional time (25% of time that was required for
stopWeblogic.*). This seems to work for me.

http://serverplugins.netbeans.org/source/browse/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/optional/WLStartServer.java?r1=1.11&r2=1.12

This could still be improved, e.g. to wait only when restarting and not wait
when just stopping the server, but I will first wait to see if the fix works for QA.
Comment 4 Michal Mocnak 2005-09-14 15:38:07 UTC
It works well. Verified.