it.het.richtest.testbackingbean.TestBackingBean

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Add localDataSource="true" to the realm when using local database.

tip

Make sure you use the same name for your database everywhere in context.xml.

tip

Try removing the server.xml file and adding it again to the project, and do a Clean Build.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Re: calling ejb from backing bean
    via by Nicola Dellisanti,
  • Re: calling ejb from backing bean
    via by Nicola Dellisanti,
  • No title
    via by Unknown author,
  • Getting Runtime Error
    via GitHub by justinjoseph89
    ,
    • it.het.richtest.testbackingbean.TestBackingBean at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76) at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:390) Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException: Name RichTestEJBBeanLocal is not bound in this Context at it.het.richtest.testbackingbean.TestBackingBean.getResultList(TestBackingBean.java:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at javax.el.BeanELResolver.getValue(BeanELResolver.java:83) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) at org.apache.el.parser.AstValue.getValue(AstValue.java:123) at org.apache.el.parser.AstNotEqual.getValue(AstNotEqual.java:37) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) ... 2 more Caused by: javax.naming.NameNotFoundException: Name RichTestEJBBeanLocal is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:770) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:152) at javax.naming.InitialContext.lookup(InitialContext.java:351) at it.het.richtest.testbackingbean.TestBackingBean.getResultList(TestBackingBean.java:40) ... 14 more

    Users with the same issue

    Casper
    Casper6 times, last one,
    treefolk
    treefolk1 times, last one,
    asdasd
    asdasd2 times, last one,
    ruifung
    ruifung13 times, last one,
    Unknown visitor1 times, last one,
    29 more bugmates