-
1. Re: DefinitionException with Producer Method inside SLSB
william.drai Dec 15, 2009 5:17 PM (in response to alexanderbell)Probably due to this.
-
2. Re: DefinitionException with Producer Method inside SLSB
alexanderbell Dec 15, 2009 5:58 PM (in response to alexanderbell)AuthenticationService declares the method getCurrentUser so for Weld AuthenticationService must be the BusinessInterface.
Even if Weld doesn't recognize AuthenticationServiceLocal and -Remote it should be ok because AuthenticationServiceImple implements AuthenticationService -
3. Re: DefinitionException with Producer Method inside SLSB
william.drai Dec 15, 2009 6:05 PM (in response to alexanderbell)Due to this bug, Weld only considers the local interface (as defined in the spec) but not its parent interfaces.
Maybe you can try a nightly build, it seems to be fixed in the trunk according to JIRA. -
4. Re: DefinitionException with Producer Method inside SLSB
alexanderbell Dec 15, 2009 7:02 PM (in response to alexanderbell)ok I see, thanks.
I'm using JBossAS 6.0M1. Is the NB of Weld integrated in the NB of JBoss?
If yes where could I download the NB of Jboss 6?Thanks Alex
-
5. Re: DefinitionException with Producer Method inside SLSB
pmuir Dec 16, 2009 1:13 PM (in response to alexanderbell)
Alexander Bell wrote on Dec 15, 2009 19:02:
ok I see, thanks.
I'm using JBossAS 6.0M1. Is the NB of Weld integrated in the NB of JBoss?
If yes where could I download the NB of Jboss 6?
Thanks AlexNo, you need to update manually. Just drop the weld-core.jar from Weld into server/default/deployers/weld.deployer/lib-int/.
-
6. Re: DefinitionException with Producer Method inside SLSB
alexanderbell Dec 28, 2009 12:59 PM (in response to alexanderbell)thank's pete. one last question. where could I download a snapshot of Weld?
In JIRA I saw 1.1BETA1 but I cannot find such a version in maven.Alex
-
7. Re: DefinitionException with Producer Method inside SLSB
meetoblivion Dec 28, 2009 3:18 PM (in response to alexanderbell)Your best bet's to download the source and mvn install it.