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.
NetBeans 5.5 beta with Enterprise Pack on JDK5u5/WinXP. Create an EE 5 Enterprise Application. Select the "Create EJB Module" and "Create Application Client Module" checkboxes. Un-check the web module option. Create a stateless session bean with a remote interface in the EJB Module. Then create a simple "hello" method that takes a string as a parameter and returns a string as the result. In the Main.java file of the app. client module right-click and choose Enterprise Resources > Call Enterprise Bean. Select the stateless session bean that you just created over in the EJB module. The following gets put into the sun-application-client.xml file: <ejb-ref> <ejb-ref-name>helloWorldServiceBean</ejb-ref-name> <jndi-name>ejb/helloWorldServiceBean</jndi-name> </ejb-ref> With that entry, the application will not run. If I take it out, the application runs just fine.
Not sure, but maybe fixed post beta.. Will verify. Can you move to nightly builds?
This behavior probably exists in beta, but it was fixed in daily builds a while ago by the following patch. revision 1.1.16.4.2.4 date: 2006/05/09 00:47:14; author: pcw; state: Exp; lines: +9 -1 Automatic JNDI names for ejb-ref and resource-ref elements are now optional for JavaEE5 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/configbean/Base.java?r1=1.1.16.4.2.3&r2=1.1.16.4.2.4
Closing as fixed.