trouble with TableBean.

UI Components for JSF
Post Reply
samwun9988
Posts: 69
Joined: 22 Jan 2011, 11:04

30 Jan 2011, 08:13

Hello,

I have tried to add TableBean in my existing project, but it caused the following run-time error:

Code: Select all

Caused by: javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=com.customerapp.web.TableMBean/table,Remote 3.x interface =com.customerapp.entity.TableBean,ejb-link=null,lookup=null,mappedName=,jndi-name=com.customerapp.entity.TableBean,refType=Session' .  Actual (possibly internal) Remote JNDI name used for lookup is 'com.customerapp.entity.TableBean#com.customerapp.entity.TableBean' [Root exception is javax.naming.NamingException: Lookup failed for 'com.customerapp.entity.TableBean#com.customerapp.entity.TableBean' in SerialContext  [Root exception is javax.naming.NameNotFoundException: com.customerapp.entity.TableBean#com.customerapp.entity.TableBean not found]]
        at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:174)
        at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1040)
        at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:688)
        at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:657)
        at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:148)
        at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:428)
        ... 61 more
Caused by: javax.naming.NamingException: Lookup failed for 'com.customerapp.entity.TableBean#com.customerapp.entity.TableBean' in SerialContext  [Root exception is javax.naming.NameNotFoundException: com.customerapp.entity.TableBean#com.customerapp.entity.TableBean not found]
        at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:442)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:169)
        ... 66 more
Caused by: javax.naming.NameNotFoundException: com.customerapp.entity.TableBean#com.customerapp.entity.TableBean not found
        at com.sun.enterprise.naming.impl.TransientContext.doLookup(TransientContext.java:197)
        at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:168)
        at com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:58)
        at com.sun.enterprise.naming.impl.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:101)
        at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:430)
        ... 68 more



Enviornment is:
Glassfish 3.0.1, PF 2.2RC2, Netbeans 6.9.1, Vista.

I am not sure what caused of that problem.
Any suggestion for resolving this issue is greatly appreciated.

Thanks
Sam
Primefaces 2.2.1, JBOSS 6.0.0.Final, JDK1.6

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 53 guests