JAX-RS 1.1 (as part of Java EE 6) - Exercise 4: JAX_RS with JAXB databinding

132 views
Skip to first unread message

jdieppa

unread,
Oct 1, 2014, 3:47:29 PM10/1/14
to jpassion...@googlegroups.com
Hello,
I installed NetBeans 7.3/Glassfish 3.1.2 to resolve issues with previous exercises in this section. When running exercise 4, the application couldn't find Java:comp/DefaultDataSource (a glassfish issue I guess?) so I tried changing persistence.xml file to use jdbc/sample and jdbc/_default with no success. 

While playing around with this, I noticed that the code for jaxrs_customer provided in the lab (4546_javaee6_jaxrs1.1.zip) doesn't seem to match what is in the video so I'm not sure how to proceed. There are javaeetutorial packages in the lab zip file but not in the code on the index page and screenshots as far as I can tell.

I dunno... maybe I've just been looking at this for too long. Any advice would be appreciated.


Here is the stack trace:

Info: file:/media/jaman/win7/Users/jaman/Desktop/jpassion/4 - Java EE Programming/13-javaee6_jaxrs1.1/samples_maven/jaxrs_customer/target/jaxrs_customer-1.0-SNAPSHOT/WEB-INF/classes/_customerPU logout successful
Warning: PER01000: Got SQLException executing statement "DELETE FROM SEQUENCE WHERE SEQ_NAME = 'SEQ_GEN'": java.sql.SQLSyntaxErrorException: Table/View 'SEQUENCE' does not exist.
Severe: Class [ javax/ws/rs/core/GenericType ] not found. Error while loading [ class javaeetutorial.customer.ejb.CustomerBean ]
Severe: Class [ javax/ws/rs/core/GenericType ] not found. Error while loading [ class javaeetutorial.customer.ejb.CustomerBean ]
Info: EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461
Info: file:/media/jaman/win7/Users/jaman/Desktop/jpassion/4 - Java EE Programming/13-javaee6_jaxrs1.1/samples_maven/jaxrs_customer/target/jaxrs_customer-1.0-SNAPSHOT/WEB-INF/classes/_customerPU login successful
Warning: Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterprise.v3.admin.DynamicInterceptor@3de930b8].
Warning: JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor@3de930b8] from index [0] 
Warning: JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@3527f4ee] from index [1] 
Info: EJB5181:Portable JNDI names for EJB CustomerService: [java:global/jaxrs_customer/CustomerService!javaeetutorial.customer.resource.CustomerService, java:global/jaxrs_customer/CustomerService]
Warning: Error while trying to load Bean Classjavaeetutorial.customer.ejb.CustomerBean$1 : java.lang.NoClassDefFoundError: javax/ws/rs/core/GenericType
Info: WELD-000119 Not generating any bean definitions from javaeetutorial.customer.ejb.CustomerBean because of underlying class loading error
Info: catching
org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class javaeetutorial.customer.ejb.CustomerBean
at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:167)
at org.jboss.weld.bootstrap.BeanDeployer.loadWeldClass(BeanDeployer.java:108)
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:79)
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:123)
at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:184)
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:350)
at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:179)
at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:277)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:460)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/core/GenericType
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2436)
at java.lang.Class.getDeclaredFields(Class.java:1806)
at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:105)
at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:102)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63)
at org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:102)
at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:154)
at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:119)
at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:59)
at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:50)
at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)
at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:163)
... 37 more
Caused by: java.lang.ClassNotFoundException: javax.ws.rs.core.GenericType
at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509)
at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
... 55 more

Info: Registering the Jersey servlet application, named javaeetutorial.customer.resource.CustomerApplication, at the servlet mapping, /webapi/*, with the Application class of the same name
Info: Initializing Mojarra 2.1.6 (SNAPSHOT 20111206) for context '/jaxrs_customer'
Info: Monitoring jndi:/server/jaxrs_customer/WEB-INF/faces-config.xml for modifications
Info: WEB0671: Loading application [jaxrs_customer] at [/jaxrs_customer]
Info: jaxrs_customer was successfully deployed in 2,303 milliseconds.
Severe: Error Rendering View[/index.xhtml]
javax.el.ELException: /index.xhtml @25,78 value="#{customerManager.customer.firstname}": java.lang.IllegalStateException: Exception attempting to inject Remote ejb-ref name=javaeetutorial.customer.ejb.CustomerManager/customerBean,Remote 3.x interface =javaeetutorial.customer.ejb.CustomerBean,ejb-link=null,lookup=,mappedName=,jndi-name=javaeetutorial.customer.ejb.CustomerBean,refType=Session into class javaeetutorial.customer.ejb.CustomerManager: Lookup failed for 'java:comp/env/javaeetutorial.customer.ejb.CustomerManager/customerBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)
at javax.faces.component.UIOutput.getValue(UIOutput.java:169)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:355)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:164)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:312)
at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1757)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1757)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Exception attempting to inject Remote ejb-ref name=javaeetutorial.customer.ejb.CustomerManager/customerBean,Remote 3.x interface =javaeetutorial.customer.ejb.CustomerBean,ejb-link=null,lookup=,mappedName=,jndi-name=javaeetutorial.customer.ejb.CustomerBean,refType=Session into class javaeetutorial.customer.ejb.CustomerManager: Lookup failed for 'java:comp/env/javaeetutorial.customer.ejb.CustomerManager/customerBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}
at org.glassfish.weld.services.InjectionServicesImpl.aroundInject(InjectionServicesImpl.java:137)
at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:46)
at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget$1.work(ManagedBean.java:157)
at org.jboss.weld.bean.ManagedBean$FixInjectionPoint.run(ManagedBean.java:131)
at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.inject(ManagedBean.java:153)
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:293)
at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107)
at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
at org.jboss.weldeetutorial.customer.ejb.CustomerManager$Proxy$_$$_WeldClientProxy.getCustomer(CustomerManager$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:363)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
at com.sun.el.parser.AstValue.getValue(AstValue.java:183)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:224)
at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
... 48 more
Caused by: com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Remote ejb-ref name=javaeetutorial.customer.ejb.CustomerManager/customerBean,Remote 3.x interface =javaeetutorial.customer.ejb.CustomerBean,ejb-link=null,lookup=,mappedName=,jndi-name=javaeetutorial.customer.ejb.CustomerBean,refType=Session into class javaeetutorial.customer.ejb.CustomerManager: Lookup failed for 'java:comp/env/javaeetutorial.customer.ejb.CustomerManager/customerBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:703)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:470)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:171)
at org.glassfish.weld.services.InjectionServicesImpl.aroundInject(InjectionServicesImpl.java:130)
... 69 more
Caused by: javax.naming.NamingException: Lookup failed for 'java:comp/env/javaeetutorial.customer.ejb.CustomerManager/customerBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=javaeetutorial.customer.ejb.CustomerManager/customerBean,Remote 3.x interface =javaeetutorial.customer.ejb.CustomerBean,ejb-link=null,lookup=,mappedName=,jndi-name=javaeetutorial.customer.ejb.CustomerBean,refType=Session' .  Actual (possibly internal) Remote JNDI name used for lookup is 'javaeetutorial.customer.ejb.CustomerBean#javaeetutorial.customer.ejb.CustomerBean' [Root exception is javax.naming.NamingException: Lookup failed for 'javaeetutorial.customer.ejb.CustomerBean#javaeetutorial.customer.ejb.CustomerBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: javaeetutorial.customer.ejb.CustomerBean#javaeetutorial.customer.ejb.CustomerBean not found]]]
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:599)
... 72 more
Caused by: javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=javaeetutorial.customer.ejb.CustomerManager/customerBean,Remote 3.x interface =javaeetutorial.customer.ejb.CustomerBean,ejb-link=null,lookup=,mappedName=,jndi-name=javaeetutorial.customer.ejb.CustomerBean,refType=Session' .  Actual (possibly internal) Remote JNDI name used for lookup is 'javaeetutorial.customer.ejb.CustomerBean#javaeetutorial.customer.ejb.CustomerBean' [Root exception is javax.naming.NamingException: Lookup failed for 'javaeetutorial.customer.ejb.CustomerBean#javaeetutorial.customer.ejb.CustomerBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: javaeetutorial.customer.ejb.CustomerBean#javaeetutorial.customer.ejb.CustomerBean not found]]
at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:191)
at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:1109)
at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:776)
at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:744)
at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:169)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:498)
... 76 more
Caused by: javax.naming.NamingException: Lookup failed for 'javaeetutorial.customer.ejb.CustomerBean#javaeetutorial.customer.ejb.CustomerBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: javaeetutorial.customer.ejb.CustomerBean#javaeetutorial.customer.ejb.CustomerBean not found]
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:186)
... 81 more
Caused by: javax.naming.NameNotFoundException: javaeetutorial.customer.ejb.CustomerBean#javaeetutorial.customer.ejb.CustomerBean not found
at com.sun.enterprise.naming.impl.TransientContext.doLookup(TransientContext.java:248)
at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:215)
at com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:77)
at com.sun.enterprise.naming.impl.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:119)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:505)
... 85 more



Reply all
Reply to author
Forward
0 new messages