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 64827 - You have to restart IDE to see the pb connections in runtime tab
Summary: You have to restart IDE to see the pb connections in runtime tab
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
: 65852 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-21 12:33 UTC by Michal Mocnak
Modified: 2005-11-03 12:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Mocnak 2005-09-21 12:33:54 UTC
Found in the nb50 in the beta build 200509210657

1. start nb
2. add sun app server
=> now if want to use the pb connections from the runtime tab you have to
restart the IDE. It should be done automaticily without restart.
Comment 1 Vince Kraemer 2005-09-29 00:11:37 UTC
What do you mean by "use the pb connections"?

I have tried:

looking at the tables under the connection... No problem.

using the Enterprise Resources->Use Database item in the Java editor for a
servlet class.... no problem.
Comment 2 Vince Kraemer 2005-09-29 17:26:25 UTC
-- email from mmocnak -- 
i mean if you add the Sun App Server instance for the first time the pointbase
connection will be added after nb restart. It would be great to add the
connection after adding of the instance of as without any restart.
---

The connections are added correctly without restart on solaris with recent dev
builds.  closing as WFM.

Reopen, with more details, like: OS, JVM, Build number, step-by-step
instructions to reproduce.
Comment 3 Michal Mocnak 2005-09-30 00:41:58 UTC
OS: Debian Linux 3.1 (kernel 2.6.8), also reproducable on JDS 3.0 (SuSe Linux
version)
JVM: 1.5.0_06, also reproducable on 1.5.0_04
STEPS:
1. install netbeans regularly (i have chosen the nb50 development build
200509281800)
2. start netbeans (with clear userdir)
3. add a new instance of the Sun Application Server 8.1 (i used the Sun
Application Server 8.1 update 2 build 06)
=> now i expect that the Pointbase db connections and Pointbase driver will be
registered immediately but it's not true in this case. I have to restart an IDE
and then only i am able to see (and especially use) the pb connections)

For my case it's 100% reproducable. If you want i am able to send you
screenshots serial with my steps. Thanks a lot.
Comment 4 Vince Kraemer 2005-09-30 17:48:57 UTC
correct some of the fields in the issue and reopen based on filers input.
Comment 5 Michal Mocnak 2005-10-03 09:39:58 UTC
Removing incomplete. I have filled all required informations.
Comment 6 Petr Blaha 2005-10-04 15:07:46 UTC
*** Issue 65852 has been marked as a duplicate of this issue. ***
Comment 7 _ ludo 2005-10-28 16:02:27 UTC
I can reproduce. The platformimpl is not called if there is no J2EE project opened.
Easy fix. Need to call the db registration when an instance is added.
Comment 8 _ ludo 2005-10-31 18:54:46 UTC
Fixed :
Checking in AddDomainWizardIterator.java;
/cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainWizardIterator.java,v
 <--  AddDomainWizardIterator.java
new revision: 1.2; previous revision: 1.1
done
Comment 9 Michal Mocnak 2005-11-03 12:45:10 UTC
Verified