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.
Summary: | org.netbeans.modules.j2ee.persistence* classes are loaded on NetBeans startup with LimeWire project | ||
---|---|---|---|
Product: | javaee | Reporter: | Alexander Kouznetsov <mrkam> |
Component: | Persistence | Assignee: | Sergey Petrov <sj-nb> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | CC: | issues, jtulach, pflaska, pjiricka |
Priority: | P3 | Keywords: | PERFORMANCE, TEST |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://wiki.netbeans.org/FitnessViaWhiteAndBlackList | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 150194 | ||
Bug Blocks: | |||
Attachments: | Stacktraces |
Description
Alexander Kouznetsov
2008-09-24 10:17:05 UTC
Created attachment 70420 [details]
Stacktraces
Plan to address this issue in the next release I believe the situation could now be better because: - due to ergonomics, the jboss and genericserver and ejbverification classes are hopefully not loaded - the JPA verification was disabled in 6.7 (see issue 162133), which could help the jpa/persistence classes Could you please test again and attach the latest list of undesirable classes? Thanks. Waiting for more input. build 20090608 org.netbeans.modules.j2ee.genericserver.GSDeploymentFactory org.netbeans.modules.j2ee.genericserver.ide.GSOptionalDeploymentManagerFactory org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory org.netbeans.modules.j2ee.jboss4.ide.JBOptionalDeploymentManagerFactory org.netbeans.modules.j2ee.jboss4.ide.ui.JBPluginUtils org.netbeans.modules.j2ee.jboss4.ide.ui.JBPluginUtils$Version org.netbeans.modules.j2ee.persistence.api.EntityClassScope org.netbeans.modules.j2ee.persistence.api.PersistenceScope org.netbeans.modules.j2ee.persistence.api.PersistenceScopes org.netbeans.modules.j2ee.persistence.spi.EntityClassScopeFactory org.netbeans.modules.j2ee.persistence.spi.EntityClassScopeImplementation org.netbeans.modules.j2ee.persistence.spi.EntityClassScopeProvider org.netbeans.modules.j2ee.persistence.spi.PersistenceLocationProvider org.netbeans.modules.j2ee.persistence.spi.PersistenceScopeFactory org.netbeans.modules.j2ee.persistence.spi.PersistenceScopeImplementation org.netbeans.modules.j2ee.persistence.spi.PersistenceScopeProvider org.netbeans.modules.j2ee.persistence.spi.PersistenceScopesFactory org.netbeans.modules.j2ee.persistence.spi.PersistenceScopesImplementation org.netbeans.modules.j2ee.persistence.spi.PersistenceScopesProvider org.netbeans.modules.j2ee.persistence.spi.support.EntityMappingsMetadataModelHelper org.netbeans.modules.j2ee.persistence.spi.support.PersistenceScopesHelper org.netbeans.modules.j2ee.persistence.spi.support.PersistenceScopesHelper$FileListener org.netbeans.modules.j2ee.persistence.spi.support.PersistenceScopesHelper$PersistenceScopesImpl org.netbeans.modules.j2ee.persistenceapi.EntityClassScopeAccessor org.netbeans.modules.j2ee.persistenceapi.FileChangeSupport org.netbeans.modules.j2ee.persistenceapi.FileChangeSupport$Holder org.netbeans.modules.j2ee.persistenceapi.FileChangeSupportListener org.netbeans.modules.j2ee.persistenceapi.PersistenceScopeAccessor org.netbeans.modules.j2ee.persistenceapi.PersistenceScopesAccessor org.netbeans.modules.j2ee.sun.api.ServerLocationManager org.netbeans.modules.j2ee.sun.ide.dm.Bundle org.netbeans.modules.j2ee.sun.ide.dm.Bundle_en org.netbeans.modules.j2ee.sun.ide.dm.Bundle_en_US org.netbeans.modules.j2ee.sun.ide.dm.Constants org.netbeans.modules.j2ee.sun.ide.dm.SunDeploymentFactory org.netbeans.modules.j2ee.sun.ide.j2ee.Constants org.netbeans.modules.j2ee.sun.ide.j2ee.OptionalFactory org.netbeans.modules.j2ee.sun.ide.j2ee.PluginProperties org.netbeans.modules.j2ee.sun.ide.j2ee.RunTimeDDCatalog org.netbeans.modules.j2ee.sun.share.CharsetMapping org.netbeans.modules.j2ee.sun.share.SecurityMasterListModel org.netbeans.modules.j2ee.weblogic9.WLDeploymentFactory org.netbeans.modules.j2ee.weblogic9.WLDeploymentManager org.netbeans.modules.j2ee.weblogic9.optional.WLOptionalDeploymentManagerFactory Thanks! Let's use this issue to track classes from j2ee.persistence - the ones from the server plugins are already tracked in issue 148177. So the list of relevant classes is: org.netbeans.modules.j2ee.persistence.api.EntityClassScope org.netbeans.modules.j2ee.persistence.api.PersistenceScope org.netbeans.modules.j2ee.persistence.api.PersistenceScopes org.netbeans.modules.j2ee.persistence.spi.EntityClassScopeFactory org.netbeans.modules.j2ee.persistence.spi.EntityClassScopeImplementation org.netbeans.modules.j2ee.persistence.spi.EntityClassScopeProvider org.netbeans.modules.j2ee.persistence.spi.PersistenceLocationProvider org.netbeans.modules.j2ee.persistence.spi.PersistenceScopeFactory org.netbeans.modules.j2ee.persistence.spi.PersistenceScopeImplementation org.netbeans.modules.j2ee.persistence.spi.PersistenceScopeProvider org.netbeans.modules.j2ee.persistence.spi.PersistenceScopesFactory org.netbeans.modules.j2ee.persistence.spi.PersistenceScopesImplementation org.netbeans.modules.j2ee.persistence.spi.PersistenceScopesProvider org.netbeans.modules.j2ee.persistence.spi.support.EntityMappingsMetadataModelHelper org.netbeans.modules.j2ee.persistence.spi.support.PersistenceScopesHelper org.netbeans.modules.j2ee.persistence.spi.support.PersistenceScopesHelper$FileListener org.netbeans.modules.j2ee.persistence.spi.support.PersistenceScopesHelper$PersistenceScopesImpl org.netbeans.modules.j2ee.persistenceapi.EntityClassScopeAccessor org.netbeans.modules.j2ee.persistenceapi.FileChangeSupport org.netbeans.modules.j2ee.persistenceapi.FileChangeSupport$Holder org.netbeans.modules.j2ee.persistenceapi.FileChangeSupportListener org.netbeans.modules.j2ee.persistenceapi.PersistenceScopeAccessor org.netbeans.modules.j2ee.persistenceapi.PersistenceScopesAccessor Reassigning to the persistence subcategory. do you mean I need to download limeware sources from limewire.org, create project(if it's not in sources) and start ide? what is criteria for unneeded and irrelevant classes/needed and relevant classes? test: ./ide.kit/test/whitelist // some(or all) classes may be required in j2se project as j2se support jpa, need to evaluate there is also org.netbeans.modules.j2ee.jpa.verification.JPAProblemFinderFactory loaded, but in my opinion it ok to scan if there are persistence problems. looks like ost other classes are used by scanner, still need more investigation. may use issue 173031 for actions part of classes as reference later (if will be resolved first). *** Bug 177851 has been marked as a duplicate of this bug. *** I'm still think it's required, all listeners + *scope classes are looking for project modifications, i.e. if persistence.xml is added/removed etc, this functionality should be enabled even if no persistence.xml exists yet. |