Thanks for the reply...

I have packaged the bean and deployed in the server. But when I tried to access 
the calculator.jsp and hit 'calculate' button...getting an exception....

anonymous wrote : 12:39:13,162 ERROR [STDERR] 
javax.naming.NameNotFoundException: EJB3Trail not bound
  | 12:39:13,162 ERROR [STDERR]         at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | 12:39:13,162 ERROR [STDERR]         at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | 12:39:13,162 ERROR [STDERR]         at 
org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | 12:39:13,162 ERROR [STDERR]         at 
org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | 12:39:13,162 ERROR [STDERR]         at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | 12:39:13,162 ERROR [STDERR]         at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | 12:39:13,162 ERROR [STDERR]         at 
javax.naming.InitialContext.lookup(InitialContext.java:351)
  | 12:39:13,162 ERROR [STDERR]         at 
org.apache.jsp.calculator_jsp.jspInit(calculator_jsp.java:19)
  | 12:39:13,162 ERROR [STDERR]         at 
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:78)
  | 12:39:13,162 ERROR [STDERR]         at 
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:155)
  | ...........
  | ...........
  | 
  | Extra lines not included
  | 

Where are we actually binding the EJB to a JNDI name ?

Thanks and Regards
Uday

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

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

Reply via email to