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.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish v3. See the server log file for details. | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Jaroslav Pospisil <jpospisil> |
Component: | GlassFish | Assignee: | Vince Kraemer <vkraemer> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | gianoglio, jhorvath, kb9agt, kganfield, pjiricka, rgarske, vkraemer |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=137190 | ||
Issue Type: | DEFECT | Exception Reporter: | 137190 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace |
Description
Jaroslav Pospisil
2009-01-06 13:49:31 UTC
Created attachment 75491 [details]
stacktrace
Build: NetBeans IDE Dev (Build 200901080201) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.6, i386 User Comments: just starting the IDE Stacktrace: org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish V3 Prelude. See the server log file for details. at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(ServerRegistry.java:358) at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.createInstancePropertiesWithoutUI(InstanceProperties.java:260) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.createModule(JavaEEServerModuleFactory.java:107) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:155) at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:123) at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:187) Created attachment 75584 [details]
stacktrace
Vince, Could you take a look at this one? This issue has already 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=137190 Build: NetBeans IDE Dev (Build 200902040232) VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153 OS: Mac OS X, 10.5.6, x86_64 User Comments: Stacktrace: org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish v3 Prelude Domain. See the server log file for details. at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(ServerRegistry.java:354) at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.createInstancePropertiesWithoutUI(InstanceProperties.java:260) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.createModule(JavaEEServerModuleFactory.java:112) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:156) at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:124) at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:195) Created attachment 76695 [details]
stacktrace
Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: Trying to open netbeans with a EJB project for WebSphere Stacktrace: org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish V3. See the server log file for details. at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(ServerRegistry.java:367) at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.createInstancePropertiesWithoutUI(InstanceProperties.java:260) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.createModule(JavaEEServerModuleFactory.java:107) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:155) at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:123) at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:187) Created attachment 76897 [details]
stacktrace
this exception is showing up too often. raising to p2. *** Issue 158982 has been marked as a duplicate of this issue. *** *** Issue 159288 has been marked as a duplicate of this issue. *** the root cause for this appears to be the fact that the 6.5/config/GlassFish directory is not copied as part of the import of user settings... http://hg.netbeans.org/main/rev/c4725acb60c2 If you ran into this exception WITHOUT having imported your userdir, please let me know more details BUT put the info into issue 159169... which I am leaving open to track a different path to an InstanceCreationException. Integrated into 'main-golden', will be available in build *200903060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c4725acb60c2 User: Vince Kraemer <vkraemer@netbeans.org> Log: #156351 : the common server instances associated with v3 Prelude are not copied when userdir is imported. the two registries don't match and it is hard to correct the situation from inside the IDE's UI. v. |