First off, your ClassCastException was at your second narrow, according to the 
stack trace you provided, and indeed a second narrow should not be done.  Good 
move cleaning up classes from your web tier, though.  Classes that exist in the 
ejb tier should not be duplicated in your web tier.  As long as both tiers are 
bundled in the same enterprise app (ear), the spec says the ejb tier classes 
will be visible by the web tier.

Anyway, per your more current problem, again, I need to see the relevant 
sections of your ejb-jar.xml, jboss.xml and the code that is doing the lookup.  
Also, are you making use of ejb-local-ref's?  You should be.  Also, are you 
using any code generation tools, like XDoclet?  Just trying to understand how 
your app is glued together...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031584
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to