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.
Created attachment 115127 [details] Sample app Have a simple maven project that will not deploy through Netbeans as a standalone war. Deploy as an EAR it works fine, and deploying through the WebLogic console works fine, but if I deploy through NetBeans I get an error (from weblogic). The error has to do with a RequestScoped CDI bean being included in the project and weblogic is complaining about public scoped fields, even though there are not any public fields defined. See attached for sample project and exceptions.
Created attachment 115128 [details] error on deploy
CCing to Denis and Petr. Guys do you have any idea what could be the problem here? Issue 207623 might be somehow related.
No, it doesn't relate to the issue #207623 at all ( I've reassign the latter issue to the CDI and close it as duplicate ). This issue is actually duplicate of issue #207078 and it is not maven specific. It looks like WebLogic deployment bug. On the other hand the reporter says that deployment works fine via WebLogic console. This is not mine area so probably PetrH knows smth about it. The problem is purely runtime issue and CDI support in NB has no any runtime support. So this is not a NB CDI area problem.
Thanks for fast response Denis. Reassigning to Petr for evaluation.
Some more details, this does happen on both Windows and Linux, and obviously only on WebLogic 12c, as CDI is involved. And yes, the war file does deploy through the WL Console just fine, and the EAR will deploy from both Netbeans and the Console. Also, we figured this might be an issue with WL itself, so we have opened an oracle support ticket concerning this issue, and will keep this ticket updated if we hear anything from that side.
Can you provide link to the ticket opened for WebLogic ?
Setting FastSwap to false did the trick for me: Change weblogic.xml from <fast-swap> <enabled>true</enabled> </fast-swap> to <fast-swap> <enabled>false</enabled> </fast-swap> Also found the internal bug number at: https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=13572166
Not a netbeans bug. Anyway fastswap is now disabled by default.