tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maxtorzito <maxtorz...@gmail.com>
Subject TomcatWebAppBuilder safeBind
Date Wed, 02 May 2012 15:43:34 GMT
I cant run a very basic example with Apache TomEE 1.0, i dont have any
clases, any other framework, im just trying to run the index.xhtml thath
NetBeans generate when create a JSF app.


Here is mi log:


TomcatWebAppBuilder.start /cetina
may 02, 2012 10:39:15 AM org.apache.catalina.startup.HostConfig
deployDescriptor
Información: Desplieque del descriptor de configuración
C:\apache-tomee-webprofile-1.0.0\conf\Catalina\localhost\cetina.xml
may 02, 2012 10:39:15 AM org.apache.openejb.config.DeploymentLoader
addFacesConfigs
Información: faces config file is null
may 02, 2012 10:39:15 AM org.apache.openejb.config.ConfigurationFactory
configureApplication
Información: Configuring enterprise application:
C:\Users\maxtorzito\Documents\NetBeansProjects\cetina\build\web
using context file
C:\Users\maxtorzito\Documents\NetBeansProjects\cetina\build\web\META-INF\context.xml
may 02, 2012 10:39:15 AM org.apache.openejb.config.AppInfoBuilder build
Información: Enterprise application
"C:\Users\maxtorzito\Documents\NetBeansProjects\cetina\build\web" loaded.
may 02, 2012 10:39:15 AM org.apache.openejb.assembler.classic.Assembler
createApplication
Información: Assembling app:
C:\Users\maxtorzito\Documents\NetBeansProjects\cetina\build\web
may 02, 2012 10:39:15 AM org.apache.bval.jsr303.ConfigurationImpl
parseValidationXml
Información: ignoreXmlConfiguration == true
may 02, 2012 10:39:15 AM org.apache.bval.jsr303.ConfigurationImpl
parseValidationXml
Información: ignoreXmlConfiguration == true
may 02, 2012 10:39:15 AM org.apache.openejb.cdi.CdiBuilder build
Información: existing thread singleton service in SystemInstance()
org.apache.openejb.cdi.ThreadSingletonServiceImpl@72ae7610
may 02, 2012 10:39:16 AM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
Información: OpenWebBeans Container is starting...
may 02, 2012 10:39:16 AM org.apache.webbeans.plugins.PluginLoader startUp
Información: Adding OpenWebBeansPlugin : [CdiPlugin]
may 02, 2012 10:39:16 AM org.apache.webbeans.plugins.PluginLoader startUp
Información: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
may 02, 2012 10:39:16 AM org.apache.openejb.cdi.BeansDeployer
validateInjectionPoints
Información: All injection points were validated successfully.
may 02, 2012 10:39:16 AM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
Información: OpenWebBeans Container has started, it took [5] ms.
may 02, 2012 10:39:16 AM org.apache.openejb.assembler.classic.Assembler
createApplication
Información: Deployed
Application(path=C:\Users\maxtorzito\Documents\NetBeansProjects\cetina\build\web)
may 02, 2012 10:39:16 AM org.apache.catalina.core.StandardContext
addApplicationListener
Información: El escuchador
"org.apache.myfaces.webapp.StartupServletContextListener" ya está
configurado para este contexto. La definición duplicada ha sido ignorada.
may 02, 2012 10:39:16 AM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getStandardFacesConfig
Información: Reading standard config META-INF/standard-faces-config.xml
may 02, 2012 10:39:16 AM
org.apache.myfaces.config.DefaultFacesConfigurationProvider
getClassloaderFacesConfig
Información: Reading config :
jar:file:/C:/apache-tomee-webprofile-1.0.0/lib/openejb-jsf-4.0.0.jar!/META-INF/faces-config.xml
may 02, 2012 10:39:16 AM org.apache.myfaces.config.LogMetaInfUtils
logArtifact
Información: Artifact 'myfaces-api' was found in version '2.1.7' from path
'file:/C:/apache-tomee-webprofile-1.0.0/lib/myfaces-api-2.1.7.jar'
may 02, 2012 10:39:16 AM org.apache.myfaces.config.LogMetaInfUtils
logArtifact
Información: Artifact 'myfaces-impl' was found in version '2.1.7' from path
'file:/C:/apache-tomee-webprofile-1.0.0/lib/myfaces-impl-2.1.7.jar'
may 02, 2012 10:39:16 AM org.apache.myfaces.util.ExternalSpecifications
isBeanValidationAvailable
Información: MyFaces Bean Validation support enabled
may 02, 2012 10:39:16 AM org.apache.myfaces.config.FacesConfigurator
handleSerialFactory
Información: Serialization provider : class
org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
may 02, 2012 10:39:16 AM
org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory
getLifecycleProvider
Información: Using LifecycleProvider
org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider
may 02, 2012 10:39:16 AM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
Información: ServletContext initialized.
may 02, 2012 10:39:16 AM org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
Advertencia: 

*******************************************************************
*** WARNING: Apache MyFaces-2 is running in DEVELOPMENT mode.   ***
***                                         ^^^^^^^^^^^         ***
*** Do NOT deploy to your live server(s) without changing this. ***
*** See Application#getProjectStage() for more information.     ***
*******************************************************************

may 02, 2012 10:39:16 AM org.apache.tomee.catalina.TomcatWebAppBuilder
safeBind
Grave: Error in safeBind method
javax.naming.NameNotFoundException: El nombre openejb no este asociado a
este contexto
	at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:776)
	at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:530)
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
	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:601)
	at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
	at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
	at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
	at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:353)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
	at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
	at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)

may 02, 2012 10:39:16 AM org.apache.tomee.catalina.TomcatWebAppBuilder
safeBind
Información: TransactionManager already bound, ignoring
may 02, 2012 10:39:16 AM org.apache.tomee.catalina.TomcatWebAppBuilder
safeBind
Información: TransactionSynchronizationRegistry already bound, ignoring
may 02, 2012 10:39:16 AM org.apache.tomee.catalina.TomcatWebAppBuilder
safeBind
Grave: Error in safeBind method
javax.naming.NameNotFoundException: No ORB registered with the OpenEJB
system
	at
org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
	at
org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
	at
org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
	at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:806)
	at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:530)
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
	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:601)
	at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
	at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
	at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
	at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:353)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
	at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
	at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)

may 02, 2012 10:39:16 AM org.apache.tomee.catalina.TomcatWebAppBuilder
safeBind
Grave: Error in safeBind method
javax.naming.NameNotFoundException: No HandleDelegate registered with the
OpenEJB system
	at
org.apache.openejb.core.ivm.naming.SystemComponentReference.getObject(SystemComponentReference.java:38)
	at
org.apache.openejb.core.ivm.naming.Reference.getContent(Reference.java:40)
	at
org.apache.xbean.naming.reference.SimpleReference$SimpleObjectFactory.getObjectInstance(SimpleReference.java:137)
	at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:843)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.safeBind(TomcatWebAppBuilder.java:1196)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:807)
	at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:530)
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1471)
	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:601)
	at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
	at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1436)
	at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:856)
	at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:353)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
	at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
	at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)

may 02, 2012 10:39:16 AM org.apache.catalina.util.LifecycleBase start
Información: The start() method was called on component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cetina]]
after start() had already been called. The second call will be ignored.




web.xml


<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <context-param>
        <param-name>javax.faces.PROJECT_STAGE</param-name>
        <param-value>Development</param-value>
    </context-param>
    <listener>
       
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>faces/index.xhtml</welcome-file>
    </welcome-file-list>
</web-app>



--
View this message in context: http://openejb.979440.n4.nabble.com/TomcatWebAppBuilder-safeBind-tp4603592.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message