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.
weblogic.xml has FastSwap enabled by default but it is generally causing the following exception with the first deployment of any Java EE 6 project. <Dec 29, 2011 4:37:52 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 java.lang.NoClassDefFoundError: Could not initialize class com.bea.wls.redef.ClassRedefinerFactory at weblogic.servlet.internal.WebAppModule.loadFastSwapClassloader(WebAppModule.java:1928) at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:267) at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:636) at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162) at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:74) Truncated. see log file for complete stacktrace Please change <enabled>true</enabled> to <enabled>false</enabled> for a a better OOTB experience.
Does it happen for *any* Java EE 6 project? I was under the impression that FastSwap mostly works, and it only causes problems in some corner case situations. But you seem to be saying that it is much less reliable than I thought :-(
(In reply to comment #0) > weblogic.xml has FastSwap enabled by default but it is generally causing the > following exception with the first deployment of any Java EE 6 project. I've just tested it and it works ok. It might be something in domain/server configuration. Please provide some more details about the configuration and full log as mentioned in the message. Does it happen when WL is started from command line?
Saw this error consistently on my machine during fresh project ceation but cannot reproducible it now. Will try some more and update the bug.
Just got information that the WebLogic team uncovered some FastSwap-related issues themselves - these problems manifest themselves especially in conjunction with the new Java EE 6 specs. So we may want to turn off FastSwap by default after all for NB 7.1.1. Marking as a 71patch-candidate.
Fixed in web-main 84759848956a.
Integrated into 'main-golden', will be available in build *201201250600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/84759848956a User: Petr Hejl <phejl@netbeans.org> Log: #206798 Disable FastSwap by default
Please verify so we can put it to the patch.
Integrated into 'releases', will be available in build *201202082200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/da1808e981f4 User: Petr Hejl <phejl@netbeans.org> Log: #206798 Disable FastSwap by default (transplanted from 84759848956ac3c23231b7a23c8e170fc6fa3336)
Verified. Please, increase module spec. version.
*** Bug 206593 has been marked as a duplicate of this bug. ***