If I remove the "getName()"  and just print out 'student' it doesn't crash.  I get the 
JNDI name:primaryKey displayed on the screen. 

 while(iter.hasNext())
{
student = (Student)iter.next();
System.out.println(student);  
}

It also works if I use student.getPrimaryKey(), or student.getEJBLocalHome(). 

I think it can't find the Student local object,...as mentioned on the error... but I'm 
not getting any casting error on my iter.next().   strange...

causedBy:javax.ejb.NoSuchObjectLocalException: 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843344#3843344

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843344


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to