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.
[#200601302300 - Nb5.5 Preview, jdk1.5.0, GlassFish Build 32 21-Dec-05] to reproduce: ------------- 1) create Java EE5 Eenterprise Aplication 2) create a Stateless Session Bean and a servlet 3) choose 'Enterprise Resources > Call Enterprise Bean' from servlet's popup 4) choose the session bean node in the Call Enterprise Bean dialog ERROR: "Already referenced as local and remote" err message appears and OK button is disabled.
This feature isn't supported for EJB 3.0. I suggest to disable the Enterprise item on pop-up menu for EJB 3.0 stuff now.
same problem with 2006-03-24 daily built version
Already fixed. Call EJB is now supported.
Still reproducible in #200605020200, reopening.
WORKAROUND: add @Local annotation into the local SB interface
Fixed in release55 and release5_beta. @Local is now generated by default (already reported). /cvs/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/api/codegeneration/SessionGenerator.java,v <-- SessionGenerator.java new revision: 1.1.2.8.2.4; previous revision: 1.1.2.8.2.3 /cvs/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/api/codegeneration/SessionGenerator.java,v <-- SessionGenerator.java new revision: 1.1.2.8.2.1.6.2; previous revision: 1.1.2.8.2.1.6.1
The interface file should be saved after generating the @Local annotation.
The original problem was fixed, priority changed to P3.
It was fixed with issue 73529