tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Cunha <daniels...@apache.org>
Subject Re: Unable to deploy EAR on TomEE
Date Tue, 18 Jul 2017 21:13:11 GMT
Are you using Mojarra implementation? if yes, try to use Apache TomEE Plume

Should be fixed if I understood your issue.

On Tue, Jul 18, 2017 at 4:58 PM, chilu49 <ravinder.unix@gmail.com> wrote:

> 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(Co
> nfigureListener.java:216)
>         at
> org.apache.catalina.core.StandardContext.listenerStart(Stand
> ardContext.java:5066)
>         at
> org.apache.catalina.core.StandardContext.startInternal(Stand
> ardContext.java:5584)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(Cont
> ainerBase.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(Tomc
> atWebAppBuilder.java:663)
>         at
> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(
> TomcatWebAppBuilder.java:620)
>         at
> org.apache.openejb.assembler.classic.Assembler.createApplica
> tion(Assembler.java:800)
>         at
> org.apache.openejb.assembler.classic.Assembler.createApplica
> tion(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.lifecycleEve
> nt(GlobalListenerSupport.java:130)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSupport.java:117)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(Li
> fecycleBase.java:90)
>         at
> org.apache.catalina.core.StandardContext.startInternal(Stand
> ardContext.java:5472)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(Cont
> ainerBase.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(HostC
> onfig.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(ThreadPool
> Executor.java:1142)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.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>(TomEE
> InjectionProvider.java:31)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
> ConstructorAccessorImpl.java:62)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
> legatingConstructorAccessorImpl.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.getProviderInstan
> ce(InjectionProviderFactory.java:156)
>         at
> com.sun.faces.spi.InjectionProviderFactory.createInstance(In
> jectionProviderFactory.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(FactoryF
> inder.java:1012)
>         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:344)
>         at
> com.sun.faces.config.InitFacesContext.getApplication(InitFac
> esContext.java:141)
>         at
> com.sun.faces.config.ConfigureListener.contextDestroyed(Conf
> igureListener.java:314)
>         at
> org.apache.catalina.core.StandardContext.listenerStop(Standa
> rdContext.java:5113)
>         at
> org.apache.catalina.core.StandardContext.stopInternal(Standa
> rdContext.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(Cont
> ainerBase.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(Tomc
> atWebAppBuilder.java:663)
>         at
> org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(
> TomcatWebAppBuilder.java:620)
>         at
> org.apache.openejb.assembler.classic.Assembler.createApplica
> tion(Assembler.java:800)
>         at
> org.apache.openejb.assembler.classic.Assembler.createApplica
> tion(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.lifecycleEve
> nt(GlobalListenerSupport.java:130)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> (LifecycleSupport.java:117)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(Li
> fecycleBase.java:90)
>         at
> org.apache.catalina.core.StandardContext.startInternal(Stand
> ardContext.java:5472)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(Cont
> ainerBase.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(HostC
> onfig.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(ThreadPool
> Executor.java:1142)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.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.
>



-- 
Daniel Cunha
https://twitter.com/dvlc_

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