-
1. Re: Injection of Validator in AS7 vs WildFly 8.1
jaikiran Aug 25, 2014 1:16 AM (in response to meetoblivion)I'm not sure what's failing. Are you saying @Resource injection of Validator is failing or @Inject of the Validator? Also can you please post the relevant class and the exception/error logs?
-
2. Re: Injection of Validator in AS7 vs WildFly 8.1
meetoblivion Aug 27, 2014 9:08 PM (in response to meetoblivion)I think it might be even simpler than I originally stated.
Take a look at ValidatorTest in this git repo: https://github.com/johnament/hornetq-jms-issue
The expected result is that the validator interceptor is wrapped around ValidatingSLSB because the method is annotated @NotNull for the input argument. What happens in WildFly 8.1 is that I get
Caused by: org.jboss.arquillian.test.spi.ArquillianProxyException: org.jboss.weld.exceptions.IllegalArgumentException : WELD-001456: Argument bean must not be null [Proxied because : Original exception caused: class java.lang.ClassNotFoundException: org.jboss.weld.exceptions.IllegalArgumentException]