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 61842 - When starting WL server with wrong user name or password,status dialogs are multipliing and could hang computer
Summary: When starting WL server with wrong user name or password,status dialogs are m...
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 11:04 UTC by Jaroslav Pospisil
Modified: 2005-09-05 10:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (7.96 KB, text/plain)
2005-08-08 21:15 UTC, Pavel Buzek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2005-08-05 11:04:55 UTC
build 200508041800

1)Try to enter wrong password or user name,when adding Weblogic server instance
in Runtime tab.
2)try to start it
3)ERROR!!!
The Server status dialog will proceed and then it be multipliing rapidly,just
running another dialogs  and remaining itself.Before I have stoped it by killing
Netbeans process,I've got in worst case 76 open dialogs!
Comment 1 Pavel Buzek 2005-08-05 14:56:39 UTC
I guess this must be 4.2, not 4.0.
Comment 2 Pavel Buzek 2005-08-08 21:15:38 UTC
Created attachment 23581 [details]
stack trace
Comment 3 Pavel Buzek 2005-08-08 21:21:48 UTC
There is an ugly loop in j2eeserver that should be fixed anyway but is not
visible for other plugins. 

Weblogic returns true from StartServer.isRunning() since it only tests that the
URL is active and then cannot create a connected DM.
Tomcat checks the status of process, Sun AS tests the DM in isRunning() - this
also has a benefit of testing _what_ is running.
Comment 4 Pavel Buzek 2005-08-09 14:43:00 UTC
I added a test for connected DM into WLStartServer.isRunning(). 

This fixes the issue to the extent it is fixed in sun plugin, which mean that
whne you enter incorrect username/password the IDE just thinks that the server
is not running.
Since you cannot change the username/passwd you have to remove the server, add
it again w/correct passwd, then refresh should show running.

/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/WLDeploymentFactory.java,v
 new revision: 1.5; previous revision: 1.4

/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/optional/WLStartServer.java,v
 new revision: 1.7; previous revision: 1.6

/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/resources/layer.xml,v
 new revision: 1.5; previous revision: 1.4
Comment 5 Jaroslav Pospisil 2005-08-15 15:40:22 UTC
Verified in 20050815.