[jboss-jira] [JBoss JIRA] Created: (JBAS-8128) WeldBootstrapDeployer fails when beans are deployed in .jar

Keith Babo (JIRA) jira-events at lists.jboss.org
Mon Jun 28 15:33:46 EDT 2010


WeldBootstrapDeployer fails when beans are deployed in .jar
-----------------------------------------------------------

                 Key: JBAS-8128
                 URL: https://jira.jboss.org/browse/JBAS-8128
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Weld/CDI
    Affects Versions: 6.0.0.M3
         Environment: OSX 10.6.4, JDK 1.6, JBoss AS 6 built from current trunk (default config)
            Reporter: Keith Babo
            Assignee: Pete Muir
         Attachments: stack.txt

Deploying beans in a .jar archive causes the Weld deployer to puke.  Full stack attached, but here's a snip:

15:06:59,436 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to PreReal: name=vfs:///opt/jboss-as/server/default/deploy/weld-pojo-0.0.1-SNAPSHOT.jar state=PostClassLoader mode=Manual requiredState=PreReal: org.jboss.deployers.spi.DeploymentException: Missing ValidatorFactory attachment in deployment:

The deployment is basically two java classes: one bean uses @Inject to inject an instance of the other bean.  Certainly possible that I'm doing something stupid here, so please let me know if that's the case.

Attached to this issue:
o stack.txt -> full stack when I drop the archive in server/default/deploy
o weld-pojo.jar -> example jar
o weld-pojo.zip -> example source



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list