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 148174 - org.netbeans.modules.glassfish classes are loaded on NetBeans startup with LimeWire project
Summary: org.netbeans.modules.glassfish classes are loaded on NetBeans startup with Li...
Status: VERIFIED DUPLICATE of bug 148177
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Hejl
URL: http://wiki.netbeans.org/FitnessViaWh...
Keywords: PERFORMANCE, TEST
Depends on:
Blocks:
 
Reported: 2008-09-24 10:02 UTC by Alexander Kouznetsov
Modified: 2008-10-09 13:35 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktraces (27.56 KB, text/plain)
2008-09-24 10:03 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2008-09-24 10:02:52 UTC
Performance test reports that the following classes are loaded on NetBeans startup with LimeWare project:

    org.netbeans.modules.glassfish.common.GlassfishInstanceProvider
    org.netbeans.modules.glassfish.javaee.Hk2DeploymentFactory
    org.netbeans.modules.glassfish.javaee.Hk2OptionalFactory
    org.netbeans.modules.glassfish.spi.ServerUtilities

Please don't load these classes unless they are really necessary.
Comment 1 Alexander Kouznetsov 2008-09-24 10:03:15 UTC
Created attachment 70417 [details]
Stacktraces
Comment 2 _ pcw 2008-09-25 06:45:41 UTC
Initialization of the GlassFish server registry is already lazy (to the extreme).  These classes are being loaded
because j2eeserver module is explicitly requesting server registry initialization.

--> j2eeserver for evaluation on whether this is necessary in this circumstance.
Comment 3 Petr Hejl 2008-10-08 13:19:40 UTC
The cause is the same as for issue 148177.

*** This issue has been marked as a duplicate of 148177 ***
Comment 4 Alexander Kouznetsov 2008-10-09 13:35:13 UTC
verified