tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chilu49 <ravinder.u...@gmail.com>
Subject Unable to deploy EAR on TomEE
Date Tue, 18 Jul 2017 19:58:31 GMT
When trying to deploy a EAR file on TomEE, i am seeing below error.
Does anyone know what its complaining about.

INFO: OpenWebBeans Container has started, it took 7 ms.
Jul 18, 2017 2:12:57 PM com.sun.faces.config.ConfigureListener
contextInitialized
INFO: Initializing Mojarra 2.1.29 ( 20140702-1445
https://svn.java.net/svn/mojarra~svn/tags/2.1.29@13392) for context '/abc'
Jul 18, 2017 2:12:57 PM com.sun.faces.config.ConfigureListener
contextInitialized
SEVERE: Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! standard
context cannot be found
        at
com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376)
        at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5066)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:663)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:620)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:800)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:677)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1261)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1100)
        at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5472)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1259)
        at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1998)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: standard context cannot be
found
        at
org.apache.tomee.mojarra.TomEEInjectionProvider.<init>(TomEEInjectionProvider.java:31)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
com.sun.faces.spi.InjectionProviderFactory.getProviderInstance(InjectionProviderFactory.java:156)
        at
com.sun.faces.spi.InjectionProviderFactory.createInstance(InjectionProviderFactory.java:117)
        at
com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:335)
        ... 28 more

Jul 18, 2017 2:12:57 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: One or more listeners failed to start. Full details will be found in
the appropriate container log file
Jul 18, 2017 2:12:57 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Context [/abc] startup failed due to previous errors
Jul 18, 2017 2:12:57 PM javax.faces.FactoryFinder$FactoryManager getFactory
SEVERE: Application was not properly initialized at startup, could not find
Factory: javax.faces.application.ApplicationFactory. Attempting to find
backup.
Jul 18, 2017 2:12:57 PM com.sun.faces.config.ConfigureListener
contextDestroyed
SEVERE: Unexpected exception when attempting to tear down the Mojarra
runtime
java.lang.IllegalStateException: Could not find backup for factory
javax.faces.application.ApplicationFactory.
        at
javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1012)
        at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:344)
        at
com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:141)
        at
com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:314)
        at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5113)
        at
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5779)
        at
org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:663)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:620)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:800)
        at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:677)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1261)
        at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1100)
        at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5472)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1259)
        at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1998)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)





--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Unable-to-deploy-EAR-on-TomEE-tp4682283.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message