deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Dmitry_Shu...@kaltire.com>
Subject RE: [0.6] WELD-001332 BeanManager method getBeans() is not available during application initialization
Date Fri, 28 Mar 2014 16:57:18 GMT
My App is happy again - everything (I'm using pretty much all the Deltaspike modules) works
perfectly!

Thanks!
Dmitry

-----Original Message-----
From: Gerhard Petracek [mailto:gerhard.petracek@gmail.com] 
Sent: March-28-14 12:16 AM
To: users@deltaspike.apache.org
Subject: Re: [0.6] WELD-001332 BeanManager method getBeans() is not available during application
initialization

hi dmitry,

you have to replace it with @DeltaSpike

regards,
gerhard

http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2014-03-27 23:34 GMT+01:00 <Dmitry_Shultz@kaltire.com>:

> Hi Gerhard,
>
> After looking more closely into all log files I can see what (I hope) 
> is the root cause.
>
> The Principal object previously was resolved and injected using @Web 
> annotation from deltaspike-servlet module, but for version 0.6 I 
> needed to remove because it failed to compile. I didn't add anything 
> i.e. Principal is injected like this:
>
>     @Inject
>     private Principal principal;
>
> However it fails during deployment with:
>
> 27-Mar-2014 3:18:39 PM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Exception sending context initialized event to listener 
> instance of class org.jboss.weld.environment.servlet.Listener
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied 
> dependencies for type [Principal] with qualifiers [@Default] at 
> injection point [[BackedAnnotatedField] @Inject private 
> com.kaltire.ldfc.producers.MyProducer.principal]
>         at
> org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:403)
>         at
> org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:325)
>         at
> org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:177)
>         at
> org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:208)
>         at
> org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:519)
>         at
> org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:70)
>         at
> org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)
>         at
> org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
>         at
> org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
>         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)
>
> Is there any other annotation that replaces the @Web or Principal 
> injection is not supported anymore?
>
> Sorry for the confusion.
>
> Cheers,
> Dmitry
>
>
> -----Original Message-----
> From: Gerhard Petracek [mailto:gerhard.petracek@gmail.com]
> Sent: March-27-14 8:09 AM
> To: users@deltaspike.apache.org
> Subject: Re: [0.6] WELD-001332 BeanManager method getBeans() is not 
> available during application initialization
>
> hi dmitry,
>
> i can't reproduce it (but i don't use richfaces in my 
> test-application) -> please provide a link to an example which illustrates the issue.
> richfaces shouldn't depend on weld. if you need the setup for owb, you 
> can have a look at [1].
>
> regards,
> gerhard
>
> [1] https://github.com/os890/javaweb-cdi-ds-project-template
>
> http://www.irian.at
>
> Your JSF/JavaEE powerhouse -
> JavaEE Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2014-03-26 20:09 GMT+01:00 <Dmitry_Shultz@kaltire.com>:
>
> > Gerhard,
> >
> > I can't switch to anything else at the moment, have to stick with 
> > production environment...
> >
> > Tried to replaced weld-servlet by openwebbeans and mojara by 
> > myfaces-core, but unfortunately it is not compatible with the 
> > richfaces 5  (or the way how I use richfaces), i.e. it is deployed 
> > without error but almost nothing is rendered on the page.
> >
> > Is there anything I can do to eliminate the original error in my 
> > current environment (Tomcat7 + Weld + Mojara + RichFaces + Deltaspike)?
> >
> >
> > Cheers,
> > Dmitry
> >
> > -----Original Message-----
> > From: Gerhard Petracek [mailto:gerhard.petracek@gmail.com]
> > Sent: March-26-14 6:13 AM
> > To: users@deltaspike.apache.org
> > Subject: Re: [0.6] WELD-001332 BeanManager method getBeans() is not 
> > available during application initialization
> >
> > hi dmitry,
> >
> > if you have the choice, you could move to an ee server like tomee, 
> > wildfly,... there you won't see the issue.
> >
> > @your setup:
> > we could just disable one of the features, if we detect such an 
> > issue during bootstrapping.
> > fyi: you could replace mojarra with myfaces-core or weld with
> openwebbeans.
> > in both cases you shouldn't see the issue as well.
> >
> > regards,
> > gerhard
> >
> > http://www.irian.at
> >
> > Your JSF/JavaEE powerhouse -
> > JavaEE Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> > 2014-03-25 21:01 GMT+01:00 <Dmitry_Shultz@kaltire.com>:
> >
> > > Hi All,
> > >
> > > After incrementing the Deltaspike version number from 0.5 to 0.6 
> > > my web app is started to fail during deployment (Tomcat 7.0.47), 
> > > everything else is the same (include weld-servlet:2.0.0.Final).
> > >
> > > Here is the log:
> > >
> > > [2014-03-25 12:50:31,958] Artifact ldfc:war exploded: Artifact is 
> > > being deployed, please wait...
> > > 25-Mar-2014 12:50:39 PM org.apache.tomcat.websocket.server.WsSci
> > > onStartup
> > > INFO: JSR 356 WebSocket (Java WebSocket 1.0) support is not 
> > > available when running on Java 6. To suppress this message, run 
> > > Tomcat on Java 7, remove the WebSocket JARs from 
> > > $CATALINA_HOME/lib or add the WebSocketJARs to the 
> > > tomcat.util.scan.DefaultJarScanner.jarsToSkip
> > > property in $CATALINA_BASE/conf/catalina.properties. Note that the 
> > > deprecated Tomcat 7 WebSocket API will be available.
> > > 25-Mar-2014 12:50:39 PM org.jboss.weld.bootstrap.WeldBootstrap
> > > <clinit>
> > > INFO: WELD-000900 2.0.0 (Final)
> > > 25-Mar-2014 12:50:39 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.servlet.impl.event.EventBridgeContextListene
> > > r
> > > activated=true
> > > 25-Mar-2014 12:50:39 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.servlet.impl.event.EventBridgeSessionListene
> > > r
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM org.jboss.weld.bootstrap.WeldBootstrap
> > > startContainer
> > > INFO: WELD-000101 Transactional services not available. Injection 
> > > of @Inject UserTransaction not available. Transactional observers 
> > > will be invoked synchronously.
> > > 25-Mar-2014 12:50:40 PM org.jboss.weld.bootstrap.WeldBootstrap
> > > startContainer
> > > WARNING: Legacy deployment metadata provided by the integrator.
> > > Certain functionality will not be available.
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.config.view.ViewConfigExtension
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.core.impl.scope.DeltaSpikeContextExtension
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.core.impl.config.ConfigurationExtension
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.scope.view.ViewScopedExtension
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.core.impl.exception.control.extension.Except
> > > io
> > > nC
> > > ontrolExtension
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.security.impl.extension.SecurityExtension
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.scope.mapped.MappedJsf2ScopeExtensi
> > > on
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.core.impl.message.MessageBundleExtension
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.core.impl.message.NamedMessageBundleInvocati
> > > on
> > > Ha
> > > ndler
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.core.impl.exclude.CustomProjectStageBeanFilt
> > > er
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.core.impl.exclude.GlobalAlternative
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class: org.apache.deltaspike.core.impl.jmx.MBeanExtension
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jpa.impl.transaction.context.TransactionCont
> > > ex
> > > tE
> > > xtension
> > > activated=true
> > > 25-Mar-2014 12:50:40 PM org.jboss.weld.bootstrap.BeanDeployer
> > > loadClass
> > > INFO: WELD-000119 Not generating any bean definitions from 
> > > org.apache.deltaspike.jsf.impl.scope.window.ClientWindowAdapter
> > > because of underlying class loading error: Type 
> > > javax.faces.lifecycle.ClientWindow not found.  If this is 
> > > unexpected,
> > enable DEBUG logging to see the full error.
> > > 25-Mar-2014 12:50:40 PM org.jboss.weld.bootstrap.BeanDeployer
> > > loadClass
> > > INFO: WELD-000119 Not generating any bean definitions from 
> > > org.apache.deltaspike.jsf.impl.listener.request.JsfClientWindowAwa
> > > re Li fecycleWrapper because of underlying class loading error: 
> > > Type javax.faces.lifecycle.LifecycleWrapper not found.  If this is 
> > > unexpected, enable DEBUG logging to see the full error.
> > > 25-Mar-2014 12:50:40 PM
> > > org.apache.deltaspike.core.util.ProjectStageProducer
> > > initProjectStage
> > > INFO: Computed the following DeltaSpike ProjectStage: Production
> > > 25-Mar-2014 12:50:40 PM
> > > org.jboss.weld.environment.tomcat7.Tomcat7Container initialize
> > > INFO: Tomcat 7 detected, CDI injection will be available in 
> > > Servlets and Filters. Injection into Listeners is not supported
> > > 25-Mar-2014 12:50:41 PM
> > > org.jboss.weld.interceptor.util.InterceptionTypeRegistry <clinit>
> > > WARNING: Class 'javax.ejb.PostActivate' not found, interception 
> > > based on it is not enabled
> > > 25-Mar-2014 12:50:41 PM
> > > org.jboss.weld.interceptor.util.InterceptionTypeRegistry <clinit>
> > > WARNING: Class 'javax.ejb.PrePassivate' not found, interception 
> > > based on it is not enabled
> > > 25-Mar-2014 12:50:41 PM
> > > org.apache.deltaspike.core.api.provider.BeanManagerProvider
> > > getBeanManager
> > > WARNING: When using the BeanManager to retrieve Beans before the 
> > > Container is started, non-portable behaviour results!
> > > 25-Mar-2014 12:50:41 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.config.view.ViewConfigPathValidator
> > > activated=true
> > > 25-Mar-2014 12:50:41 PM com.sun.faces.config.ConfigureListener
> > > contextInitialized
> > > INFO: Initializing Mojarra 2.1.19 ( 20130213-1512
> > > https://svn.java.net/svn/mojarra~svn/tags/2.1.19@11614) for context ''
> > > 25-Mar-2014 12:50:41 PM org.apache.catalina.startup.HostConfig
> > > deployDirectory
> > > INFO: Deploying web application directory 
> > > D:\Repository\kaltire\ldfc\apache-tomcat-7.0.47\webapps\manager
> > > 25-Mar-2014 12:50:41 PM com.sun.faces.spi.InjectionProviderFactory
> > > createInstance
> > > INFO: JSF1048: PostConstruct/PreDestroy annotations present.
> > > ManagedBeans methods marked with these annotations will have said
> > annotations processed.
> > > 25-Mar-2014 12:50:42 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.exception.DeltaSpikeExceptionHandle
> > > r
> > > activated=true
> > > 25-Mar-2014 12:50:42 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeFacesCon
> > > te
> > > xt
> > > Factory
> > > activated=true
> > > 25-Mar-2014 12:50:42 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeLifecycl
> > > eF
> > > ac
> > > toryWrapper
> > > activated=true
> > > 25-Mar-2014 12:50:42 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.listener.phase.JsfRequestLifecycleP
> > > ha
> > > se
> > > Listener
> > > activated=true
> > > 25-Mar-2014 12:50:42 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.listener.phase.DeltaSpikePhaseListe
> > > ne
> > > r
> > > activated=true
> > > 25-Mar-2014 12:50:42 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.navigation.DeltaSpikeNavigationHand
> > > le
> > > r
> > > activated=true
> > > 25-Mar-2014 12:50:42 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.scope.viewaccess.ViewAccessScopedAw
> > > ar
> > > eN
> > > avigationHandler
> > > activated=true
> > > 25-Mar-2014 12:50:42 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.listener.action.DeltaSpikeActionLis
> > > te
> > > ne
> > > r
> > > activated=true
> > > 25-Mar-2014 12:50:42 PM
> > > org.apache.deltaspike.core.util.ClassDeactivationUtils cacheResult
> > > INFO: class:
> > > org.apache.deltaspike.jsf.impl.listener.system.JsfSystemEventBroad
> > > ca
> > > st
> > > er
> > > activated=true
> > > 25-Mar-2014 12:50:42 PM
> > > org.hibernate.validator.internal.util.Version
> > > <clinit>
> > > INFO: HV000001: Hibernate Validator 5.0.1.Final
> > > 25-Mar-2014 12:50:42 PM com.sun.faces.config.ConfigureListener
> > > contextInitialized
> > > SEVERE: Critical error during deployment:
> > > com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
> > > WELD-001332 BeanManager method getBeans() is not available during 
> > > application initialization
> > >                 at
> > > com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376)
> > >                 at
> > >
> > com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureL
> > is
> > tener.java:216)
> > >                 at
> > >
> > org.apache.catalina.core.StandardContext.listenerStart(StandardConte
> > xt
> > .java:4937)
> > >                 at
> > >
> > org.apache.catalina.core.StandardContext.startInternal(StandardConte
> > xt
> > .java:5434)
> > >                 at
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> > >                 at
> > >
> > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.
> > java:901)
> > >                 at
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> > >                 at
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
> > >                 at
> > > org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1558)
> > >                 at
> > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > >                 at
> > >
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> > .j
> > ava:39)
> > >                 at
> > >
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> > ss
> > orImpl.java:25)
> > >                 at java.lang.reflect.Method.invoke(Method.java:597)
> > >                 at
> > >
> > org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.
> > ja
> > va:301)
> > >                 at
> > >
> > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Default
> > MB
> > eanServerInterceptor.java:836)
> > >                 at
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > >                 at
> > >
> > org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanF
> > ac
> > tory.java:620)
> > >                 at
> > >
> > org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanF
> > ac
> > tory.java:567)
> > >                 at
> > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > >                 at
> > >
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> > .j
> > ava:39)
> > >                 at
> > >
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> > ss
> > orImpl.java:25)
> > >                 at java.lang.reflect.Method.invoke(Method.java:597)
> > >                 at
> > >
> > org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.
> > ja
> > va:301)
> > >                 at
> > >
> > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Default
> > MB
> > eanServerInterceptor.java:836)
> > >                 at
> > > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> > >                 at
> > >
> > javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnect
> > io
> > nImpl.java:1427)
> > >                 at
> > >
> > javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnecti
> > on
> > Impl.java:72)
> > >                 at
> > >
> > javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.ru
> > n(
> > RMIConnectionImpl.java:1265)
> > >                 at
> > >
> > javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(
> > RM
> > IConnectionImpl.java:1360)
> > >                 at
> > >
> > javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionIm
> > pl
> > .java:788)
> > >                 at
> > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > >                 at
> > >
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> > .j
> > ava:39)
> > >                 at
> > >
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> > ss
> > orImpl.java:25)
> > >                 at java.lang.reflect.Method.invoke(Method.java:597)
> > >                 at
> > > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
> > >                 at
> sun.rmi.transport.Transport$1.run(Transport.java:159)
> > >                 at
> > > java.security.AccessController.doPrivileged(Native
> > > Method)
> > >                 at
> > > sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> > >                 at
> > >
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:53
> 5)
> > >                 at
> > >
> > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTranspo
> > rt
> > .java:790)
> > >                 at
> > >
> > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.
> > java:649)
> > >                 at
> > >
> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExe
> > cu
> > tor.java:886)
> > >                 at
> > >
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> > java:908)
> > >                 at java.lang.Thread.run(Thread.java:662)
> > > Caused by: org.jboss.weld.exceptions.IllegalStateException:
> > > WELD-001332 BeanManager method getBeans() is not available during 
> > > application initialization
> > >                 at
> > >
> > org.jboss.weld.bean.builtin.BeanManagerProxy.checkContainerValidated
> > (B
> > eanManagerProxy.java:142)
> > >                 at
> > >
> > org.jboss.weld.bean.builtin.BeanManagerProxy.getBeans(BeanManagerPro
> > xy
> > .java:80)
> > >                 at
> > >
> > org.apache.deltaspike.core.api.provider.BeanProvider.getContextualRe
> > fe
> > rence(BeanProvider.java:141)
> > >                 at
> > >
> > org.apache.deltaspike.core.api.provider.BeanProvider.getContextualRe
> > fe
> > rence(BeanProvider.java:119)
> > >                 at
> > >
> > org.apache.deltaspike.core.api.provider.BeanProvider.getContextualRe
> > fe
> > rence(BeanProvider.java:100)
> > >                 at
> > >
> > org.apache.deltaspike.jsf.impl.config.view.navigation.NavigationCase
> > Ma 
> > pWrapper.createViewConfigBasedNavigationCases(NavigationCaseMapWrapp
> > er
> > .java:81)
> > >                 at
> > >
> > org.apache.deltaspike.jsf.impl.config.view.navigation.NavigationCase
> > Ma
> > pWrapper.<init>(NavigationCaseMapWrapper.java:62)
> > >                 at
> > >
> > org.apache.deltaspike.jsf.impl.navigation.DeltaSpikeNavigationHandler.
> > getNavigationCases(DeltaSpikeNavigationHandler.java:177)
> > >                 at
> > >
> > com.sun.faces.config.processor.NavigationConfigProcessor.addNavigati
> > on
> > CasesForRule(NavigationConfigProcessor.java:313)
> > >                 at
> > >
> > com.sun.faces.config.processor.NavigationConfigProcessor.addNavigati
> > on
> > Rules(NavigationConfigProcessor.java:218)
> > >                 at
> > >
> > com.sun.faces.config.processor.NavigationConfigProcessor.process(Nav
> > ig
> > ationConfigProcessor.java:162)
> > >                 at
> > >
> > com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Ab
> > st
> > ractConfigProcessor.java:114)
> > >                 at
> > >
> > com.sun.faces.config.processor.RenderKitConfigProcessor.process(Rend
> > er
> > KitConfigProcessor.java:196)
> > >                 at
> > >
> > com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Ab
> > st
> > ractConfigProcessor.java:114)
> > >                 at
> > >
> > com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(Ma
> > na
> > gedBeanConfigProcessor.java:270)
> > >                 at
> > >
> > com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Ab
> > st
> > ractConfigProcessor.java:114)
> > >                 at
> > >
> > com.sun.faces.config.processor.ValidatorConfigProcessor.process(Vali
> > da
> > torConfigProcessor.java:120)
> > >                 at
> > >
> > com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Ab
> > st
> > ractConfigProcessor.java:114)
> > >                 at
> > >
> > com.sun.faces.config.processor.ConverterConfigProcessor.process(Conv
> > er
> > terConfigProcessor.java:126)
> > >                 at
> > >
> > com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Ab
> > st
> > ractConfigProcessor.java:114)
> > >                 at
> > >
> > com.sun.faces.config.processor.ComponentConfigProcessor.process(Comp
> > on
> > entConfigProcessor.java:117)
> > >                 at
> > >
> > com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Ab
> > st
> > ractConfigProcessor.java:114)
> > >                 at
> > >
> > com.sun.faces.config.processor.ApplicationConfigProcessor.process(Ap
> > pl
> > icationConfigProcessor.java:340)
> > >                 at
> > >
> > com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Ab
> > st
> > ractConfigProcessor.java:114)
> > >                 at
> > >
> > com.sun.faces.config.processor.LifecycleConfigProcessor.process(Life
> > cy
> > cleConfigProcessor.java:116)
> > >                 at
> > >
> > com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(Ab
> > st
> > ractConfigProcessor.java:114)
> > >                 at
> > >
> > com.sun.faces.config.processor.FactoryConfigProcessor.process(Factor
> > yC
> > onfigProcessor.java:222)
> > >                 at
> > > com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361)
> > >                 ... 43 more
> > > 25-Mar-2014 12:50:42 PM org.apache.catalina.core.StandardContext
> > > startInternal
> > > SEVERE: Error listenerStart
> > > 25-Mar-2014 12:50:42 PM org.apache.catalina.core.StandardContext
> > > startInternal
> > > SEVERE: Context [] startup failed due to previous errors
> > >
> > > Not sure what to do with this - there are no my classes in the 
> > > stack
> > trace.
> > >
> > > Thanks,
> > > Dmitry
> > >
> >
>

Mime
View raw message