Gah, I thougth Seam was going to make things easy to integrate not harder?

Since Seam Remoting doesn't appear to work on GlassFish I am attempting to 
switchback to DWR which works fine as usual. But when I hit my server side 
object that does a JNDI lookup I get a no object bound to name exception. The 
exact same code works fine without using Seam.

Very basic lookup in GlassFish that works without Seam:


  |  private GarageEntityBeanFacadeLocal lookupGarageEntityBeanFacade() {
  |       try {
  |          Context c = new InitialContext();
  |          return (GarageEntityBeanFacadeLocal) 
c.lookup("java:comp/env/ejb/GarageEntityBeanFacade");
  |       } catch(NamingException ne) {
  |          Logger.getLogger(getClass().getName()).log(Level.SEVERE,"exception 
caught" ,ne);
  |          throw new RuntimeException(ne);
  |       }
  |    }
  | 

With Seam I constantly get the exception

javax.naming.NameNotFoundException: No object bound to name exceptions.


I really think Seam has potential but perhaps it is not ready for use with 
GlassFish. I'm really encountering several snags that really bogs me down and 
is preventing me from getting stuff done.

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

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

Reply via email to