-
1. Re: Weld in JBoss 6 M5 not working in a simple EAR
dan.j.allen Oct 11, 2010 12:50 AM (in response to devinderpal)Give me about 24 hours and I'll have a solution to this and then some. I worked the end of last week and the weekend tackling this very situation to get Arquillian tests working for EAP 5.1 (~= enterprise JBoss AS 5.1). Good news is in store
-
2. Re: Weld in JBoss 6 M5 not working in a simple EAR
dan.j.allen Oct 11, 2010 3:44 AM (in response to devinderpal)Necessary improvements being discussed here, including a prototype: More complete support for Servlet 2.5 containers
I'm also working on a Maven archetype for using Weld Servlet on JBoss AS 5.1. It's just about ready, have some cleanup work to do and need to get it published.
-
3. Re: Weld in JBoss 6 M5 not working in a simple EAR
aslak Oct 11, 2010 4:42 AM (in response to devinderpal)Could you post your @Deployment method in the non working and working case?
-
4. Re: Weld in JBoss 6 M5 not working in a simple EAR
devinderpal Oct 11, 2010 10:56 AM (in response to aslak)Aslak Knutsen wrote:
Could you post your @Deployment method in the non working and working case?
Not sure if I understood what you're asking. Everything is same with EAR and WAR. In War file, beans.xml and faces-config.xml are in WEB-INF dir and MyTestBean class is in classes dir. In the case of EAR, MyTestBean is in EJB jar file with beans.xml in META-INF dir.
I've been stuck in this problem from last 2 days... so will really appreciate any help.
-
5. Re: Weld in JBoss 6 M5 not working in a simple EAR
aslak Oct 11, 2010 11:40 AM (in response to devinderpal)I meant if you could post your code:
@Deployment
public static ... something()
{
return some ShrinkWrap...
}
Easier to read/understand the code then piecing it together based on test..
-
6. Re: Weld in JBoss 6 M5 not working in a simple EAR
devinderpal Oct 11, 2010 1:00 PM (in response to aslak)Please see the attached src file. This application is for prototype purposes. It's a simple JSF page that is trying to print a bean property.
-
code.zip 9.0 KB
-
-
7. Re: Weld in JBoss 6 M5 not working in a simple EAR
devinderpal Oct 12, 2010 11:21 AM (in response to devinderpal)anyone?
-
8. Re: Weld in JBoss 6 M5 not working in a simple EAR
aslak Oct 12, 2010 11:54 AM (in response to devinderpal)I don't see any Arquillian test or anything in the code.zip you sent. If this is not related to Arquillian, but a pure Weld/JBoss M5 question, please redirect your question to the Weld user forum: http://seamframework.org/Community/WeldUsersForum
-
9. Re: Weld in JBoss 6 M5 not working in a simple EAR
devinderpal Oct 12, 2010 2:04 PM (in response to aslak)sorry about that.. new to JBoss forum
I have posted it to the forum you mentioned