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.
Found in nb60 dev 20070710 in glassfish v2 b54 Create an ear (java ee 1.4) with ejb and web modules. Create a remote session bean. Create a servlet. Call remote session bean from servlet. Deploy it and run. Session bean cannot be found. Server log is attached.
Created attachment 44883 [details] server log
The sun-ejb-jar.xml file doesn't have an entry for the jndi name...
Created attachment 45035 [details] the resulting ear file
Need to assign default JNDI names for ejb's in J2EE 1.4. Hadn't been implemented yet (was on my list though). We also need same for some other fields, to be enumerated here when I fix this.
I have the fix for this specific problem. I am cleaning it up some and testing against the other required fields.
Fixed. New remote session or remote entity beans in J2EE 1.4 should get the default JNDI name "ejb/[ejbname]". Note: Existing broken projects will not be "automatically fixed". But future adjustments to the standard descriptor (such as deleting or adding remote interface support or new beans) should resolve correctly.
VERIFIED