Gunnar,
I installed seam-validation in server/default/lib of jboss6 (just like I did for seam-solder) in order to run my Integration test with arquillian without the need to specify all classes/resources on the deployed archive ( I used the aquillian-jboss6-remote connector).
When I run my integration test I've got this error:
Code:
2011-02-09 08:08:29,646 INFO [org.jboss.weld.Version] (WorkerThread#0[127.0.0.1:41563]) WELD-000900 1.1.0 (CR3)
2011-02-09 08:08:30,131 DEBUG [org.jboss.weld.Bootstrap] (WorkerThread#0[127.0.0.1:41563]) WELD-000103 Enabled alternatives for Manager
Enabled alternatives: [] []
Registered contexts: [interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.ConversationScoped]
Registered beans: 0
Specialized beans: 0
: [] []
2011-02-09 08:08:30,131 DEBUG [org.jboss.weld.Bootstrap] (WorkerThread#0[127.0.0.1:41563]) WELD-000104 Enabled decorator types for Manager
Enabled alternatives: [] []
Registered contexts: [interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.ConversationScoped]
Registered beans: 0
Specialized beans: 0
: []
2011-02-09 08:08:30,131 DEBUG [org.jboss.weld.Bootstrap] (WorkerThread#0[127.0.0.1:41563]) WELD-000105 Enabled interceptor types for Manager
Enabled alternatives: [] []
Registered contexts: [interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.ConversationScoped]
Registered beans: 0
Specialized beans: 0
: []
2011-02-09 08:08:30,155 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (WorkerThread#0[127.0.0.1:41563]) Error installing to Create: name=vfs:///home/franck/jboss-6.0.0.Final/server/default/deploy/test.war_WeldBootstrapBean state=Configured: java.lang.NullPointerException
at org.jboss.weld.util.ApiAbstraction.annotationTypeForName(ApiAbstraction.java:86) [:6.0.0.Final]
at org.jboss.weld.ejb.EJBApiAbstraction.<init>(EJBApiAbstraction.java:36) [:6.0.0.Final]
at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:99) [:6.0.0.Final]
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:184) [:6.0.0.Final]
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:195) [:6.0.0.Final]
at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:155) [:6.0.0.Final]
at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.java:286) [:6.0.0.Final]
at org.jboss.weld.integration.deployer.env.helpers.BootstrapBean.initialize(BootstrapBean.java:106) [:6.0.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_18]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_18]
If I remove seam-validation.jar from the default server lib, I don't have the issue anymore. Did you try to deploy seam-validation in jboss6 with such a scenario? (BTW I quickly browse through the code and this is exactly what I need, method validation etc..).