openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Error using WebBeansConfigurationListener in Apache 7
Date Mon, 17 Dec 2012 07:53:55 GMT
Hi Mike!

Thanks a lot for digging!

It happens that we have some fuse guys around in our community and I'm sure they are interested
in removing those obstacles ;)

LieGrue,
strub




----- Original Message -----
> From: Mike Olson <molson@the-olsons.net>
> To: user@openwebbeans.apache.org
> Cc: 
> Sent: Monday, December 17, 2012 5:22 AM
> Subject: Re: Error using WebBeansConfigurationListener in Apache 7
> 
> On 12/14/2012 1:24 PM, Mark Struberg wrote:
> 
> It turns out my "very simple web app" had a dependency in the parent 
> pom 
> to activeMQ.  Something in either that JAR, or on of its dependencies 
> has an improper Decorator.
> 
> Since I needed to include activeMQ, I dug a bit further.  It seems if I 
> exclude the fusemq-leveldb library, the issue goes away.
> 
> If anyone else has this problem, here is my dependency.
> 
>              <dependency>
>                  <groupId>org.apache.activemq</groupId>
>                  <artifactId>activemq-core</artifactId>
>                  <version>5.6.0</version>
>                  <exclusions>
>                      <exclusion>
> <artifactId>fusemq-leveldb</artifactId>
> <groupId>org.fusesource.fuse-extra</groupId>
>                      </exclusion>
>                  </exclusions>
> 
>              </dependency>
> 
> 
> Hope it helps someone.
> 
> Someday I may revisit and see if I can find what in that library is 
> breaking OWB.
> 
> Thanks for the help.
> Mike
> 
> 
>>  Hi Mike!
>> 
>>  At the first glance it looks like you have a Decorator which has another 
> scope than @Dependent.
>> 
>>  LieGrue,
>>  stru
>> 
>> 
>> 
>> 
>>  ----- Original Message -----
>>>  From: Mike Olson <molson@the-olsons.net>
>>>  To: user@openwebbeans.apache.org
>>>  Cc:
>>>  Sent: Friday, December 14, 2012 8:46 PM
>>>  Subject: Error using WebBeansConfigurationListener in Apache 7
>>> 
>>> 
>>>     I have openwebbeans 1.1.6 and am trying to get an application to 
> deploy on
>>>  Apache 7.0.33.  I have all of the needed JAR files in the tomcat/libs 
> directory.
>>> 
>>>     As a test, I am trying to deploy a very basic web application.  In 
> fact the
>>>  application consists solely of a index.jsp file.
>>> 
>>>     My web.xml file has the listener entry
>>> 
>>>       <listener>
>>> 
> <listener-class>org.apache.webbeans.servlet.WebBeansConfigurationListener</listener-class>
>>> 
>>>       </listener>
>>> 
>>>     and my META-INF/beans.xml file is empty.
>>> 
>>>     When I deploy my WAR to the server, I get the following traceback in 
> the
>>>  logs.  I've been hunting around the net all morning looking for 
> answers but
>>>  have not had any luck.
>>> 
>>>     Any help would be appreciated.
>>> 
>>>  Thanks
>>>  Mike
>>> 
>>> 
>>>  INFO: added beans.xml marker:
>>> 
> file:/.../apache-tomcat-7.0.33/webapps/Test/WEB-INF/classes/META-INF/beans.xml
>>>  Dec 14, 2012 12:30:20 PM org.apache.webbeans.config.BeansDeployer 
> deploy
>>>  SEVERE: Manager.resolveDecorators() method parameter qualifiers array 
> can not
>>>  contain other annotation that is not @Qualifier
>>>  java.lang.IllegalArgumentException: Manager.resolveDecorators() method 
> parameter
>>>  qualifiers array can not contain other annotation that is not 
> @Qualifier
>>>       at
>>> 
> org.apache.webbeans.annotation.AnnotationManager.checkDecoratorResolverParams(AnnotationManager.java:554)
>>>       at
>>> 
> org.apache.webbeans.container.BeanManagerImpl.resolveDecorators(BeanManagerImpl.java:520)
>>>       at
>>> 
> org.apache.webbeans.decorator.WebBeansDecoratorConfig.configureDecorators(WebBeansDecoratorConfig.java:101)
>>>       at
>>> 
> org.apache.webbeans.util.WebBeansUtil.getConversationBean(WebBeansUtil.java:751)
>>>       at
>>> 
> org.apache.webbeans.config.BeansDeployer.configureDefaultBeans(BeansDeployer.java:211)
>>>       at 
> org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:165)
>>>       at
>>> 
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:128)
>>>       at
>>> 
> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:90)
>>>       at
>>> 
> org.apache.webbeans.servlet.WebBeansConfigurationListener.contextInitialized(WebBeansConfigurationListener.java:85)
>>>       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(Unknown Source)
>>>       at java.util.concurrent.FutureTask.run(Unknown Source)
>>>       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
> Source)
>>>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
> Source)
>>>       at java.lang.Thread.run(Unknown Source)
>>> 
>>>  -- Mike Olson
>>> 
> 
> 
> -- 
> Mike Olson
> 

Mime
View raw message