tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Deploying simple JSF2 Project fails
Date Wed, 23 Jan 2013 09:20:42 GMT
Hi

is myfaces in the webapp? maybe give it a try removing it

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/1/23 Danny <danny.soul76@gmail.com>

> Hello List!
>
> I'm just checking out TomEE. Currently I use TomEE 1.5.1 webprofile.
> I created a very simple JSF2-Project with two pages + nav rules + one faces
> managed bean.
>
> If I deploy it to a vanilla Tomcat 7 it deploys and works just fine.
> If I deploy it to the TomEE 1.5.1 webprofile it gives me the following
> Error
> while deploying:
>
> I give you the full output of the starting server here:
>
> 23.01.2013 10:02:59 org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
>
> D:\SEU\java\jdk1.6.0_26_x64\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program
> Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD
>
> APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
> Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\IDM
> Computer Solutions\UltraEdit\;.
> 23.01.2013 10:02:59 org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> property 'source' to 'org.eclipse.jst.jee.server:JSF2-Test' did not find a
> matching property.
> 23.01.2013 10:02:59 org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"]
> 23.01.2013 10:02:59 org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
> 23.01.2013 10:03:00 org.apache.openejb.util.OptionsLog info
> INFO: Using
>
> 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
> 23.01.2013 10:03:00 org.apache.tomee.catalina.TomcatLoader optionalService
> INFO: Optional service not installed:
> org.apache.tomee.webservices.TomeeJaxRsService
> 23.01.2013 10:03:00 org.apache.tomee.catalina.TomcatLoader optionalService
> INFO: Optional service not installed:
> org.apache.tomee.webservices.TomeeJaxWsService
> 23.01.2013 10:03:00 org.apache.openejb.OpenEJB$Instance <init>
> INFO:
>
> ********************************************************************************
> 23.01.2013 10:03:00 org.apache.openejb.OpenEJB$Instance <init>
> INFO: OpenEJB http://openejb.apache.org/
> 23.01.2013 10:03:00 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Startup: Wed Jan 23 10:03:00 CET 2013
> 23.01.2013 10:03:00 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
> 23.01.2013 10:03:00 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Version: 4.5.1
> 23.01.2013 10:03:00 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Build date: 20121209
> 23.01.2013 10:03:00 org.apache.openejb.OpenEJB$Instance <init>
> INFO: Build time: 08:47
> 23.01.2013 10:03:00 org.apache.openejb.OpenEJB$Instance <init>
> INFO:
>
> ********************************************************************************
> 23.01.2013 10:03:00 org.apache.openejb.OpenEJB$Instance <init>
> INFO: openejb.home = D:\SEU\Tomcats\apache-tomee-webprofile-1.5.1
> 23.01.2013 10:03:00 org.apache.openejb.OpenEJB$Instance <init>
> INFO: openejb.base =
>
> D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
> 23.01.2013 10:03:00 org.apache.openejb.cdi.CdiBuilder initializeOWB
> INFO: Created new singletonService
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5ee771f3
> 23.01.2013 10:03:00 org.apache.openejb.cdi.CdiBuilder initializeOWB
> INFO: Succeeded in installing singleton service
> 23.01.2013 10:03:00 org.apache.openejb.config.ConfigurationFactory init
> INFO: openejb configuration file is
>
> 'D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml'
> 23.01.2013 10:03:00 org.apache.openejb.util.OptionsLog info
> INFO: Using 'openejb.provider.default=org.apache.tomee'
> 23.01.2013 10:03:01 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Tomcat Security Service, type=SecurityService,
> provider-id=Tomcat Security Service)
> 23.01.2013 10:03:01 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> 23.01.2013 10:03:01 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My DataSource, type=Resource,
> provider-id=Default JDBC Database)
> 23.01.2013 10:03:01 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource,
> provider-id=Default JDBC Database)
> 23.01.2013 10:03:01 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Singleton Container, type=Container,
> provider-id=Default Singleton Container)
> 23.01.2013 10:03:01 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Stateful Container, type=Container,
> provider-id=Default Stateful Container)
> 23.01.2013 10:03:01 org.apache.openejb.config.ConfigurationFactory
> configureService
> INFO: Configuring Service(id=My Stateless Container, type=Container,
> provider-id=Default Stateless Container)
> 23.01.2013 10:03:01 org.apache.openejb.config.DeploymentsResolver loadFrom
> WARNUNG: <Deployments dir="null"> - Does not exist:
>
> D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\apps
> 23.01.2013 10:03:01 org.apache.openejb.util.OptionsLog info
> INFO: Using 'openejb.system.apps=true'
> 23.01.2013 10:03:01 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application: null
> 23.01.2013 10:03:01 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Using openejb.deploymentId.format '{ejbName}'
> 23.01.2013 10:03:01 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/User:
> EjbDeployment(deployment-id=openejb/User)
> 23.01.2013 10:03:01 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/Deployer:
> EjbDeployment(deployment-id=openejb/Deployer)
> 23.01.2013 10:03:01 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb openejb/ConfigurationInfo:
> EjbDeployment(deployment-id=openejb/ConfigurationInfo)
> 23.01.2013 10:03:01 org.apache.openejb.config.InitEjbDeployments deploy
> INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB)
> 23.01.2013 10:03:01 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application "openejb" loaded.
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating TransactionManager(id=Default Transaction Manager)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating SecurityService(id=Tomcat Security Service)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=My DataSource)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=My Unmanaged DataSource)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=My Singleton Container)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=My Stateful Container)
> 23.01.2013 10:03:01 org.apache.openejb.core.stateful.SimplePassivater init
> INFO: Using directory C:\Users\rompat\AppData\Local\Temp for stateful
> session passivation
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Container(id=My Stateless Container)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app: openejb
> 23.01.2013 10:03:01 org.apache.openejb.util.OptionsLog info
> INFO: Using
> 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=openejb/UserBusinessRemote) -->
> Ejb(deployment-id=openejb/User)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO:
>
> Jndi(name=global/openejb/openejb/User!org.apache.openejb.assembler.util.User)
> --> Ejb(deployment-id=openejb/User)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/openejb/User) -->
> Ejb(deployment-id=openejb/User)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=openejb/DeployerBusinessRemote) -->
> Ejb(deployment-id=openejb/Deployer)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO:
>
> Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer)
> --> Ejb(deployment-id=openejb/Deployer)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/openejb/Deployer) -->
> Ejb(deployment-id=openejb/Deployer)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
> Ejb(deployment-id=openejb/ConfigurationInfo)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO:
>
> Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo)
> --> Ejb(deployment-id=openejb/ConfigurationInfo)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) -->
> Ejb(deployment-id=openejb/ConfigurationInfo)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome)
> --> Ejb(deployment-id=MEJB)
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.JndiBuilder bind
> INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB)
> 23.01.2013 10:03:01 org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance()
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5ee771f3
> 23.01.2013 10:03:01 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 23.01.2013 10:03:01 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 23.01.2013 10:03:01 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 23.01.2013 10:03:01 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points are validated successfully.
> 23.01.2013 10:03:01 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 138 ms.
> 23.01.2013 10:03:01 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Created Ejb(deployment-id=openejb/Deployer,
> ejb-name=openejb/Deployer,
> container=My Stateless Container)
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless
> Container)
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo,
> ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Created Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> container=My Stateless Container)
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Started Ejb(deployment-id=openejb/Deployer,
> ejb-name=openejb/Deployer,
> container=My Stateless Container)
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless
> Container)
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo,
> ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Started Ejb(deployment-id=openejb/User, ejb-name=openejb/User,
> container=My Stateless Container)
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> deployMBean
> INFO: Deployed
>
> MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer)
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed Application(path=openejb)
> 23.01.2013 10:03:02 org.apache.openejb.server.SimpleServiceManager start
> INFO:   ** Bound Services **
> 23.01.2013 10:03:02 org.apache.openejb.server.SimpleServiceManager printRow
> INFO:   NAME                 IP              PORT
> 23.01.2013 10:03:02 org.apache.openejb.server.SimpleServiceManager start
> INFO: -------
> 23.01.2013 10:03:02 org.apache.openejb.server.SimpleServiceManager start
> INFO: Ready!
> 23.01.2013 10:03:02 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 3309 ms
> 23.01.2013 10:03:02 org.apache.tomee.catalina.OpenEJBNamingContextListener
> bindResource
> INFO: Importing a Tomcat Resource with id 'UserDatabase' of type
> 'org.apache.catalina.UserDatabase'.
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createRecipe
> INFO: Creating Resource(id=UserDatabase)
> 23.01.2013 10:03:02 org.apache.catalina.core.StandardService startInternal
> INFO: Starting service Catalina
> 23.01.2013 10:03:02 org.apache.catalina.core.StandardEngine startInternal
> INFO: Starting Servlet Engine: Apache Tomcat (TomEE)/7.0.34
> 23.01.2013 10:03:02 org.apache.tomee.catalina.TomcatWebAppBuilder init
> INFO: -------------------------
> TomcatWebAppBuilder.init
> 23.01.2013 10:03:02 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
>
> D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
> 23.01.2013 10:03:02 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
>
> "D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT"
> loaded.
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app:
>
> D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT
> 23.01.2013 10:03:02 org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance()
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5ee771f3
> 23.01.2013 10:03:02 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 23.01.2013 10:03:02 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 23.01.2013 10:03:02 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 23.01.2013 10:03:02 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points are validated successfully.
> 23.01.2013 10:03:02 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 4 ms.
> 23.01.2013 10:03:02 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed
>
> Application(path=D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT)
> 23.01.2013 10:03:02 org.apache.tomee.catalina.TomcatWebAppBuilder init
> INFO: -------------------------
> TomcatWebAppBuilder.init /JSF2-Test
> 23.01.2013 10:03:04 org.apache.openejb.config.ConfigurationFactory
> configureApplication
> INFO: Configuring enterprise application:
>
> D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\JSF2-Test
> 23.01.2013 10:03:04 org.apache.openejb.config.AppInfoBuilder build
> INFO: Enterprise application
>
> "D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\JSF2-Test"
> loaded.
> 23.01.2013 10:03:04 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Assembling app:
>
> D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\JSF2-Test
> 23.01.2013 10:03:04 org.apache.openejb.cdi.CdiBuilder initSingleton
> INFO: Existing thread singleton service in SystemInstance()
> org.apache.openejb.cdi.ThreadSingletonServiceImpl@5ee771f3
> 23.01.2013 10:03:04 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container is starting...
> 23.01.2013 10:03:04 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> 23.01.2013 10:03:04 org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> 23.01.2013 10:03:04 org.apache.openejb.cdi.BeansDeployer
> validateInjectionPoints
> INFO: All injection points are validated successfully.
> 23.01.2013 10:03:04 org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
> INFO: OpenWebBeans Container has started, it took 4 ms.
> 23.01.2013 10:03:04 org.apache.openejb.assembler.classic.Assembler
> createApplication
> INFO: Deployed
>
> Application(path=D:\SEU\workspace\localrepository38_Grundprojekte\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\JSF2-Test)
> 23.01.2013 10:03:04 org.apache.catalina.startup.TaglibUriRule body
> INFO: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
> 23.01.2013 10:03:04 org.apache.catalina.startup.TaglibUriRule body
> INFO: TLD skipped. URI: http://java.sun.com/jsf/html is already defined
> 23.01.2013 10:03:04 org.apache.catalina.core.StandardContext
> addApplicationListener
> INFO: The listener
> "org.apache.myfaces.webapp.StartupServletContextListener"
> is already configured for this context. The duplicate definition has been
> ignored.
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using
> default
> value false
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.RENDER_HIDDEN_FIELDS_FOR_LINK_PARAMS' found, using
> default value false
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default value
> false
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default
> value true
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID'
> found, using default value true
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS'
> found, using default value true
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.RENDER_FORM_SUBMIT_SCRIPT_INLINE' found, using default
> value false
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getLongInitParameter
> INFO: No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD'
> found, using default value 2
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT'
> found, using default value false
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getStringInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS' found, using default
> value auto
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS_PRESERVE_STATE' found,
> using default value false
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter 'org.apache.myfaces.VALIDATE_XML' found,
> using default value false
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> getBooleanInitParameter
> INFO: No context init parameter
> 'org.apache.myfaces.WRAP_SCRIPT_CONTENT_WITH_XML_COMMENT_TAG' found, using
> default value true
> 23.01.2013 10:03:04 org.apache.myfaces.shared_impl.config.MyfacesConfig
> createAndInitializeMyFacesConfig
> INFO: Tomahawk jar not available. Autoscrolling, DetectJavascript,
> AddResourceClass and CheckExtensionsFilter are disabled now.
> 23.01.2013 10:03:04 org.apache.myfaces.config.FacesConfigurator
> feedStandardConfig
> INFO: Reading standard config META-INF/standard-faces-config.xml
> 23.01.2013 10:03:04 org.apache.myfaces.webapp.AbstractFacesInitializer
> initFaces
> SCHWERWIEGEND: An error occured while initializing MyFaces:
> org.apache.commons.discovery.DiscoveryException: Class
> org.apache.tomee.myfaces.TomEEFacesConfigResourceProviderFactory does not
> implement org.apache.myfaces.spi.FacesConfigResourceProviderFactory
> javax.faces.FacesException:
> org.apache.commons.discovery.DiscoveryException:
> Class org.apache.tomee.myfaces.TomEEFacesConfigResourceProviderFactory does
> not implement org.apache.myfaces.spi.FacesConfigResourceProviderFactory
>         at
>
> org.apache.myfaces.config.FacesConfigurator.addClassloaderConfigurations(FacesConfigurator.java:837)
>         at
>
> org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:493)
>         at
>
> org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:296)
>         at
>
> org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
>         at
>
> org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:118)
>         at
>
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:111)
>         at
>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
>         at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.commons.discovery.DiscoveryException: Class
> org.apache.tomee.myfaces.TomEEFacesConfigResourceProviderFactory does not
> implement org.apache.myfaces.spi.FacesConfigResourceProviderFactory
>         at
>
> org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:135)
>         at
>
> org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:156)
>         at
>
> org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:150)
>         at
>
> org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:534)
>         at
>
> org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:373)
>         at
>
> org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:275)
>         at
>
> org.apache.myfaces.spi.FacesConfigResourceProviderFactory.getFacesConfigResourceProviderFactory(FacesConfigResourceProviderFactory.java:66)
>         at
>
> org.apache.myfaces.config.FacesConfigurator.addClassloaderConfigurations(FacesConfigurator.java:758)
>         ... 15 more
> 23.01.2013 10:03:04 org.apache.catalina.core.ApplicationContext log
> SCHWERWIEGEND: StandardWrapper.Throwable
> java.lang.IllegalStateException: No Factories configured for this
> Application. This happens if the faces-initialization does not work at all
> -
> make sure that you properly include all configuration settings necessary
> for
> a basic faces application and that all the necessary libs are included.
> Also
> check the logging output of your web application and your container for any
> exceptions!
> If you did that and find nothing, the mistake might be due to the fact that
> you use some special web-containers which do not support registering
> context-listeners via TLD files and a context listener is not setup in your
> web.xml.
> A typical config looks like this;
> <listener>
>
>
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
> </listener>
>
>         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:172)
>         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:112)
>         at
>
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
>         at
>
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
>         at
>
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
>         at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> 23.01.2013 10:03:04 org.apache.catalina.core.StandardContext loadOnStartup
> SCHWERWIEGEND: Servlet /JSF2-Test threw load() exception
> java.lang.IllegalStateException: No Factories configured for this
> Application. This happens if the faces-initialization does not work at all
> -
> make sure that you properly include all configuration settings necessary
> for
> a basic faces application and that all the necessary libs are included.
> Also
> check the logging output of your web application and your container for any
> exceptions!
> If you did that and find nothing, the mistake might be due to the fact that
> you use some special web-containers which do not support registering
> context-listeners via TLD files and a context listener is not setup in your
> web.xml.
> A typical config looks like this;
> <listener>
>
>
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
> </listener>
>
>         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:172)
>         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:112)
>         at
>
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
>         at
>
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
>         at
>
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
>         at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> 23.01.2013 10:03:04 org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-8080"]
> 23.01.2013 10:03:04 org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["ajp-bio-8009"]
> 23.01.2013 10:03:04 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2494 ms
>
>
> Any help is highley appreciated.
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Deploying-simple-JSF2-Project-fails-tp4660353.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

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