Another way to waste a few minutes

I have been helping a user duplicate the results of my Appclient calling and Stateles EJB 3.0 example. The user was seeing the Java Console open and then close right back up...

I read the user's code a couple times, to no avail...

It just did not work.

We kept getting this message in the log:

    Applying default to ejb reference: Unresolved Ejb-Ref client.Main/bean@jndi: beans.DistantGreeting@null@beans.DistantGreeting@Session@null
    

The Root Cause

The user had implemented the method defined in the DistantGreeting interface but did not "implement DistantGreeting". So, I am joining Cay Horstmann to call for better error messages and diagnotic tools. I have filed a couple issues against GlassFish (issue 208 and 209). Now, I am headed over to NetBeans.org to file a couple issues there...
Comments:

Post a Comment:
Comments are closed for this entry.
About


Vince Kraemer writes the entries in this blog.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
News
Blogroll

No bookmarks in folder

automarks