Questions tagged [openwebbeans]
40 questions
0
votes
0 answers
cdi @produces method gives infinite loop while get Iterator
good day. i trying to use producer method to obtain proper bean for injection.
it works fine when i call
Instance clienttrnsportI = instance.select(HttpAmClientTransport.class);
HttpAmClientTransport clienttrnsport =…

Scorpio The dark
- 23
- 4
0
votes
2 answers
OpenWebBeans + MyFaces + Tomcat = IllegalStateException
I'm trying to get OWB (with MyFaces & Primefaces) working on Tomcat 8.0.33. It seems like no matter how I configure things, I get this error...
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces An error occured while initializing MyFaces:…

Darkly
- 147
- 2
- 9
0
votes
1 answer
Using Tomee Maven Plugin with Upgraded OpenWebBeans
I'm using the Tomee Maven plugin to develop an app that uses CDI event passing. I am currently not able to fire events that have generic type parameters and, as far as I can tell, this is because the Tomee instance wants to use openwebbeans 1.2.7,…

jcstockdale
- 149
- 1
- 1
- 6
0
votes
1 answer
Omnifaces 2.0 error at startup with OpenWebbeans
I'm converting my existing JSF application with Primefaces on TomCat7 to be using CDI and Omnifaces 2.0. I already used a previous version of Omnifaces in the webapp before.
TomEE is not an option and after multiple tries with Weld, I got started…

Virginie Hayot
- 1
- 2
0
votes
1 answer
beans.xml in JAR causes java.lang.NoClassDefFoundError: javax.faces.component.behavior.Behavior
I'm using Websphere 8.5 and its internal Java EE frameworks, Apache OpenWebBeans for DI & Apache MyFaces for view. I also have a JAR with some beans annotated with "@Named" (so, they're OpenWebBeans managed beans). This JAR is in the "WEB-INF/lib"…

Fábio Henrique
- 1
- 1
0
votes
0 answers
OpenWebBeans configuration
I am using OpenWebBeans inside Apache Tomcat 7. I would like to use it together with DeltaSpike and RestEasy.
The following is a list of dependencies for OWB.
org.apache.openwebbeans
…

Sandah Aung
- 6,156
- 15
- 56
- 98
0
votes
1 answer
Websphere 8.5 - ArrayIndexOutofBoundsException while starting application
I've managed to deploy a simple Web application to Websphere 8.5, but unable to start it. It throws an ArrayIndexOutofBoundsException while starting my application.
We have been using Tomcat7 so far for our web app. It's a simple web-app with JSPs,…

Sriram Sridharan
- 720
- 18
- 43
0
votes
1 answer
CDI - Injecting Objects into EJB class by Using Producer Methods in Weblogic 10.3.6
I would like to use CDI to inject objects into an EJB class using a producer method in Weblogic 10.3.6. Weblogic 10.3.6 is a Java EE 5 container and therefore does not support CDI out-of-the-box. To move to Weblogic 12c (which supports CDI…

rudolfv
- 797
- 1
- 9
- 22
0
votes
1 answer
CDI Openwebbeans - how to exclude some packages from scanning?
Environment : IBM WAS 8.0,
CDI 1.0 Implementation : OpenWebBeans
How can i exclude few packages from getting scanned at server startup?
is there any CDI extension available or customized extension needs to be written for that ?

user3437502
- 31
- 1
- 4
0
votes
2 answers
Passed argument to method inside composite component does not work on MyFaces
I have successfully able to pass in argument to method inside composite component using this technique from BalusC (Pass Argument to a composite-component action attribute), however this seems to work on Mojarra, but not on MyFaces 2.0.4-2.0.5…

Thang Pham
- 38,125
- 75
- 201
- 285