openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Dellisanti <nicola.dellisa...@gmail.com>
Subject Re: calling ejb from backing bean
Date Mon, 14 Feb 2011 13:39:15 GMT
I try again (perhaps there is a problem attaching files)


--------------------------------------------------------------------------------------------------------
catalina.log

--------------------------------------------------------------------------------------------------------
14-feb-2011 12.13.14 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
14-feb-2011 12.13.14 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
14-feb-2011 12.13.20 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
14-feb-2011 12.13.20 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
14-feb-2011 12.13.20 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6747 ms
14-feb-2011 12.13.20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
14-feb-2011 12.13.20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
14-feb-2011 12.13.20 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
14-feb-2011 12.13.22 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
14-feb-2011 12.13.22 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor openejb.xml
14-feb-2011 12.13.23 org.apache.catalina.session.StandardManager start
GRAVE: Exception loading sessions from persistent storage
java.lang.IllegalStateException: Bean 'RichTestEJBBean' has been undeployed.
 at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.getDeploymentInfo(BaseEjbProxyHandler.java:551)
 at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.readObject(BaseEjbProxyHandler.java:583)
 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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
 at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
 at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
 at java.util.HashMap.readObject(HashMap.java:1067)
 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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
 at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
 at
org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1485)
 at
org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:987)
 at
org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394)
 at
org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
 at
org.apache.catalina.session.StandardManager.start(StandardManager.java:648)
 at
org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:446)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
 at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
 at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
 at org.apache.catalina.core.StandardService.start(StandardService.java:525)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
 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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
14-feb-2011 12.13.23 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor RichTestWeb.xml
14-feb-2011 12.13.23 org.apache.catalina.startup.HostConfig deployDescriptor
AVVERTENZA: A docBase C:\Programmi\apache-tomcat-6.0.32\webapps\DBTest
inside the host appBase has been specified, and will be ignored
14-feb-2011 12.13.23 org.apache.catalina.core.StandardContext resourcesStart
GRAVE: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\Programmi\apache-tomcat-6.0.32\webapps\RichTestWeb does not exist or is
not a readable directory
 at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
 at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4319)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4488)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
 at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
 at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
 at org.apache.catalina.core.StandardService.start(StandardService.java:525)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
 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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
14-feb-2011 12.13.23 org.apache.catalina.core.StandardContext start
GRAVE: Error in resourceStart()
14-feb-2011 12.13.23 org.apache.catalina.core.StandardContext start
GRAVE: Error getConfigured
14-feb-2011 12.13.23 org.apache.catalina.core.StandardContext start
GRAVE: Context [/RichTestWeb] startup failed due to previous errors
14-feb-2011 12.13.23 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/RichTestWeb]
has not been started
14-feb-2011 12.13.23 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor test.xml
14-feb-2011 12.13.23 org.apache.catalina.startup.HostConfig deployDescriptor
AVVERTENZA: A docBase C:\Programmi\apache-tomcat-6.0.32\webapps\DBTest
inside the host appBase has been specified, and will be ignored
14-feb-2011 12.13.26 org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already
configured for this context. The duplicate definition has been ignored.
14-feb-2011 12.13.26 com.sun.faces.config.ConfigureListener
contextInitialized
INFO: Initializing Mojarra (1.2_13-b01-FCS) for context '/test'
14-feb-2011 12.13.32 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
14-feb-2011 12.13.32 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
14-feb-2011 12.13.34 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
14-feb-2011 12.13.34 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
14-feb-2011 12.13.34 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
14-feb-2011 12.13.34 org.apache.catalina.startup.Catalina start
INFO: Server startup in 13924 ms
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/jsf-impl.jar!/META-INF/mojarra_ext.taglib.xml
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/a4j.taglib.xml
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/rich.taglib.xml
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/jsp.taglib.xml
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/richfaces.taglib.xml
14-feb-2011 12.14.53 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from:
jar:file:/C:/Programmi/apache-tomcat-6.0.32/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/ajax4jsf.taglib.xml
14-feb-2011 12.14.54 com.sun.facelets.FaceletViewHandler
handleRenderException
GRAVE: Error Rendering View[/pages/index.jspx]
javax.faces.FacesException: javax.el.ELException: /pages/index.jspx @36,31
rendered="#{bb.resultList != null}": Error reading 'resultList' on type
it.het.richtest.testbackingbean.TestBackingBean
 at
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:393)
 at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:227)
 at
com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:106)
 at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
 at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
 at
org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
 at
org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:200)
 at
org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:195)
 at
org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
 at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
 at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
 at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
 at
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
 at
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
 at
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
 at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
 at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
 at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
 at
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
 at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
org.apache.openejb.tomcat.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)
 at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
 at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)
 at java.lang.Thread.run(Thread.java:595)
Caused by: javax.el.ELException: /pages/index.jspx @36,31
rendered="#{bb.resultList != null}": Error reading 'resultList' on type
it.het.richtest.testbackingbean.TestBackingBean
 at
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
 at
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:390)
 ... 37 more
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)
 ... 38 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)
 ... 49 more
14-feb-2011 12.14.54 com.sun.faces.lifecycle.Phase doPhase
GRAVE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /pages/index.jspx)
Exception thrown during phase execution:
javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@183621e
]
14-feb-2011 13.46.24 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
14-feb-2011 13.46.24 org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
14-feb-2011 13.46.25 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
14-feb-2011 13.46.25 org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
14-feb-2011 13.46.25 org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009






--------------------------------------------------------------------------------------------------------
localhost.log:

--------------------------------------------------------------------------------------------------------
14-feb-2011 12.13.34 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
14-feb-2011 12.13.34 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
14-feb-2011 12.13.34 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener:
attributeAdded('com.sun.faces.config.WebConfiguration',
'com.sun.faces.config.WebConfiguration@165ca94')
14-feb-2011 12.13.34 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener:
attributeRemoved('com.sun.faces.config.WebConfiguration',
'com.sun.faces.config.WebConfiguration@165ca94')
14-feb-2011 12.14.54 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service() for servlet Faces Servlet threw exception
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)
 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)
 at
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:390)
 at
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:227)
 at
com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:106)
 at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
 at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
 at
org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
 at
org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:200)
 at
org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:195)
 at
org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
 at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
 at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
 at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
 at
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
 at
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
 at
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
 at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
 at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
 at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
 at
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
 at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
org.apache.openejb.tomcat.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)
 at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
 at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)
 at java.lang.Thread.run(Thread.java:595)
14-feb-2011 13.46.25 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
14-feb-2011 13.46.25 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()

--------------------------------------------------------------------------------------------------------
openejb.log:

--------------------------------------------------------------------------------------------------------
2011-02-14 12:13:15,000 - INFO  - openejb.home =
C:\Programmi\apache-tomcat-6.0.32
2011-02-14 12:13:15,000 - INFO  - openejb.base =
C:\Programmi\apache-tomcat-6.0.32
2011-02-14 12:13:15,640 - INFO  - Using
'openejb.provider.default=org.apache.openejb.tomcat'
2011-02-14 12:13:15,671 - INFO  - Configuring Service(id=Tomcat Security
Service, type=SecurityService, provider-id=Tomcat Security Service)
2011-02-14 12:13:15,671 - INFO  - Configuring Service(id=Default Transaction
Manager, type=TransactionManager, provider-id=Default Transaction Manager)
2011-02-14 12:13:15,671 - INFO  - Configuring Service(id=My DataSource,
type=Resource, provider-id=Default JDBC Database)
2011-02-14 12:13:15,687 - INFO  - Configuring Service(id=My Unmanaged
DataSource, type=Resource, provider-id=Default JDBC Database)
2011-02-14 12:13:15,687 - INFO  - Configuring Service(id=MySqlDataSource,
type=Resource, provider-id=Default JDBC Database)
2011-02-14 12:13:15,687 - INFO  - Configuring Service(id=My JMS Resource
Adapter, type=Resource, provider-id=Default JMS Resource Adapter)
2011-02-14 12:13:15,687 - INFO  - Configuring Service(id=My JMS Connection
Factory, type=Resource, provider-id=Default JMS Connection Factory)
2011-02-14 12:13:15,687 - INFO  - Configuring Service(id=My Stateful
Container, type=Container, provider-id=Default Stateful Container)
2011-02-14 12:13:15,687 - INFO  - Configuring Service(id=My Stateless
Container, type=Container, provider-id=Default Stateless Container)
2011-02-14 12:13:15,687 - INFO  - Configuring Service(id=My MDB Container,
type=Container, provider-id=Default MDB Container)
2011-02-14 12:13:15,687 - INFO  - Using 'openejb.deployments.classpath=true'
2011-02-14 12:13:15,687 - INFO  - Using
'openejb.deployments.classpath.filter.systemapps=false'
2011-02-14 12:13:15,906 - INFO  - Found EjbModule in classpath:
C:\Programmi\apache-tomcat-6.0.32\webapps\openejb\lib\openejb-core-3.1.4.jar
2011-02-14 12:13:16,265 - INFO  - Beginning load:
C:\Programmi\apache-tomcat-6.0.32\webapps\openejb\lib\openejb-core-3.1.4.jar
2011-02-14 12:13:16,515 - INFO  - Configuring enterprise application:
classpath.ear
2011-02-14 12:13:18,421 - INFO  - Enterprise application "classpath.ear"
loaded.
2011-02-14 12:13:18,421 - INFO  - Creating TransactionManager(id=Default
Transaction Manager)
2011-02-14 12:13:18,546 - INFO  - Creating SecurityService(id=Tomcat
Security Service)
2011-02-14 12:13:18,578 - INFO  - Creating Resource(id=My DataSource)
2011-02-14 12:13:18,609 - INFO  - Creating Resource(id=My Unmanaged
DataSource)
2011-02-14 12:13:18,625 - INFO  - Creating Resource(id=MySqlDataSource)
2011-02-14 12:13:18,625 - INFO  - Creating Resource(id=My JMS Resource
Adapter)
2011-02-14 12:13:19,046 - INFO  - Creating Resource(id=My JMS Connection
Factory)
2011-02-14 12:13:19,046 - INFO  - Creating ConnectionManager for
Resource(id=My JMS Connection Factory)
2011-02-14 12:13:19,078 - INFO  - Creating Container(id=My Stateful
Container)
2011-02-14 12:13:19,156 - WARN  - Property "AccessTimeout" not supported by
"My Stateful Container"
2011-02-14 12:13:19,156 - INFO  - Creating Container(id=My Stateless
Container)
2011-02-14 12:13:19,171 - INFO  - Creating Container(id=My MDB Container)
2011-02-14 12:13:19,234 - INFO  - Assembling app: classpath.ear
2011-02-14 12:13:19,312 - INFO  - Using
'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
2011-02-14 12:13:19,359 - INFO  -
Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
2011-02-14 12:13:19,359 - INFO  - Jndi(name=openejb/DeployerBusinessRemote)
--> Ejb(deployment-id=openejb/Deployer)
2011-02-14 12:13:19,359 - INFO  - Jndi(name=MEJB) -->
Ejb(deployment-id=MEJB)
2011-02-14 12:13:19,359 - INFO  - Jndi(name=MEJBLocalBean) -->
Ejb(deployment-id=MEJB)
2011-02-14 12:13:19,484 - INFO  - Created
Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
2011-02-14 12:13:19,531 - INFO  - Created
Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer, container=My
Stateless Container)
2011-02-14 12:13:19,562 - INFO  - Created Ejb(deployment-id=MEJB,
ejb-name=MEJB, container=My Stateless Container)
2011-02-14 12:13:19,562 - INFO  - Deployed Application(path=classpath.ear)
2011-02-14 12:13:20,796 - INFO  - Importing a Tomcat Resource with id
'UserDatabase' of type 'org.apache.catalina.UserDatabase'.
2011-02-14 12:13:20,796 - INFO  - Creating Resource(id=UserDatabase)
2011-02-14 12:13:21,828 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\host-manager
2011-02-14 12:13:21,859 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\host-manager" loaded.
2011-02-14 12:13:21,859 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\host-manager
2011-02-14 12:13:21,859 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\host-manager)
2011-02-14 12:13:22,562 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\manager
2011-02-14 12:13:22,578 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\manager" loaded.
2011-02-14 12:13:22,578 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\manager
2011-02-14 12:13:22,578 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\manager)
2011-02-14 12:13:23,171 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\openejb
2011-02-14 12:13:23,234 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\openejb" loaded.
2011-02-14 12:13:23,234 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\openejb
2011-02-14 12:13:23,234 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\openejb)
2011-02-14 12:13:26,406 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\test
2011-02-14 12:13:26,421 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\test" loaded.
2011-02-14 12:13:26,421 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\test
2011-02-14 12:13:26,421 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\test)
2011-02-14 12:13:32,468 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\docs
2011-02-14 12:13:32,484 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\docs" loaded.
2011-02-14 12:13:32,484 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\docs
2011-02-14 12:13:32,484 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\docs)
2011-02-14 12:13:33,406 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\examples
2011-02-14 12:13:33,546 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\examples" loaded.
2011-02-14 12:13:33,546 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\examples
2011-02-14 12:13:33,546 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\examples)
2011-02-14 12:13:34,203 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\ROOT
2011-02-14 12:13:34,203 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\ROOT" loaded.
2011-02-14 12:13:34,203 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\ROOT
2011-02-14 12:13:34,203 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\ROOT)
2011-02-14 12:13:45,156 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\richtestejb.jar
2011-02-14 12:13:45,218 - INFO  - Auto-linking resource-ref 'RichTestJPA' in
bean RichTestEJBBean to Resource(id=My DataSource)
2011-02-14 12:13:45,218 - INFO  - Configuring
PersistenceUnit(name=RichTestJPA,
provider=org.eclipse.persistence.jpa.PersistenceProvider)
2011-02-14 12:13:45,234 - INFO  - Auto-creating a Resource with id
'MySqlDataSourceNonJta' of type 'DataSource for 'RichTestJPA'.
2011-02-14 12:13:45,234 - INFO  - Configuring
Service(id=MySqlDataSourceNonJta, type=Resource,
provider-id=MySqlDataSource)
2011-02-14 12:13:45,234 - INFO  - Creating
Resource(id=MySqlDataSourceNonJta)
2011-02-14 12:13:45,250 - INFO  - Adjusting PersistenceUnit RichTestJPA
<non-jta-data-source> to Resource ID 'MySqlDataSourceNonJta' from 'null'
2011-02-14 12:13:45,250 - INFO  - Configuring
PersistenceUnit(name=RichTestLocal,
provider=org.eclipse.persistence.jpa.PersistenceProvider)
2011-02-14 12:13:45,250 - INFO  - Adjusting PersistenceUnit RichTestLocal
<jta-data-source> to Resource ID 'My DataSource' from 'null'
2011-02-14 12:13:45,250 - INFO  - Adjusting PersistenceUnit RichTestLocal
<non-jta-data-source> to Resource ID 'My Unmanaged DataSource' from 'null'
2011-02-14 12:13:45,265 - WARN  - WARN ... RichTestEJBBean: Ignoring @EJB
used on interface it.het.richtest.ejb.RichTestEJB.  Annotation only usable
on the bean class.
2011-02-14 12:13:45,265 - WARN  - 1 warning for
EjbModule(path=C:\Programmi\apache-tomcat-6.0.32\webapps\richtestejb.jar)
2011-02-14 12:13:45,265 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\richtestejb.jar" loaded.
2011-02-14 12:13:45,265 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\richtestejb.jar
2011-02-14 12:13:45,984 - INFO  - PersistenceUnit(name=RichTestJPA,
provider=org.eclipse.persistence.jpa.PersistenceProvider) - provider time
713ms
2011-02-14 12:13:46,062 - INFO  - PersistenceUnit(name=RichTestLocal,
provider=org.eclipse.persistence.jpa.PersistenceProvider) - provider time
76ms
2011-02-14 12:13:46,078 - INFO  - Jndi(name=RichTestEJBBeanLocal) -->
Ejb(deployment-id=RichTestEJBBean)
2011-02-14 12:13:46,125 - INFO  - Created Ejb(deployment-id=RichTestEJBBean,
ejb-name=RichTestEJBBean, container=My Stateless Container)
2011-02-14 12:13:46,125 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\richtestejb.jar)
2011-02-14 13:46:25,593 - INFO  - Undeploying app:
C:\Programmi\apache-tomcat-6.0.32\webapps\test
2011-02-14 13:46:25,796 - INFO  - Undeploying app:
C:\Programmi\apache-tomcat-6.0.32\webapps\examples
2011-02-14 13:46:25,828 - INFO  - Undeploying app:
C:\Programmi\apache-tomcat-6.0.32\webapps\host-manager
2011-02-14 13:46:25,843 - INFO  - Undeploying app:
C:\Programmi\apache-tomcat-6.0.32\webapps\openejb
2011-02-14 13:46:25,859 - INFO  - Undeploying app:
C:\Programmi\apache-tomcat-6.0.32\webapps\docs
2011-02-14 13:46:25,859 - INFO  - Undeploying app:
C:\Programmi\apache-tomcat-6.0.32\webapps\ROOT
2011-02-14 13:46:25,875 - INFO  - Undeploying app:
C:\Programmi\apache-tomcat-6.0.32\webapps\manager
2011-02-14 13:46:25,921 - INFO  - Undeploying app: classpath.ear
2011-02-14 13:46:25,921 - INFO  - Undeploying app:
C:\Programmi\apache-tomcat-6.0.32\webapps\richtestejb.jar
2011-02-14 13:46:25,937 - INFO  - Stopping ResourceAdapter: My JMS Resource
Adapter
N.

2011/2/14 Jean-Louis MONTEIRO <jeanouii@gmail.com>

>
> Where are they attached?
>
> Jean-Louis
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/calling-ejb-from-backing-bean-tp3301535p3304839.html
>  Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message