[jboss-dev-forums] [JBoss Microcontainer Development POJO Server] - Re: Implementing a non-flat deployment for Weld Integration
Ales Justin
do-not-reply at jboss.com
Tue Oct 19 12:28:38 EDT 2010
Ales Justin [http://community.jboss.org/people/alesj] created the discussion
"Re: Implementing a non-flat deployment for Weld Integration"
To view the discussion, visit: http://community.jboss.org/message/567235#567235
--------------------------------------------------------------
OK, got past the "parse urls" issue.
App got deployed, but failed when looking for matching beans:
18:19:46,737 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=vfs:///Users/alesj/projects/jboss6/trunk/testsuite/output/lib/weld-translator3rdpartylib.ear_WeldBootstrapBean state=Create: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [SentenceParser] with qualifiers [@Default] at injection point [[parameter 1] of [constructor] @Inject org.jboss.test.deployers.weld.translator.ejb.TextTranslator(SentenceParser)]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:294) [:6.0.0-SNAPSHOT]
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:132) [:6.0.0-SNAPSHOT]
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:151) [:6.0.0-SNAPSHOT]
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:366) [:6.0.0-SNAPSHOT]
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:352) [:6.0.0-SNAPSHOT]
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:436) [:6.0.0-SNAPSHOT]
at org.jboss.weld.integration.deployer.env.helpers.BootstrapBean.boot(BootstrapBean.java:124) [:6.0.0-SNAPSHOT]
The "lib" is where it should be:
Skywalker:~ alesj$ cd jboss/build/target/jboss-6.0.0-SNAPSHOT/common/lib
Skywalker:lib alesj$ ls | grep weld
weld-api.jar
weld-translator-lib.jar
Skywalker:lib alesj$ jar -tf weld-translator-lib.jar
META-INF/
META-INF/MANIFEST.MF
org/
org/jboss/
org/jboss/test/
org/jboss/test/deployers/
org/jboss/test/deployers/weld/
org/jboss/test/deployers/weld/translator/
org/jboss/test/deployers/weld/translator/ejb/
org/jboss/test/deployers/weld/translator/ejb/SentenceParser.class
META-INF/beans.xml
The AS6 test is WeldTranslator3rdPartyLibExampleUnitTestCase.
You have to manually copy the weld-translator-lib.jar to common/lib/.
Any ideas?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/567235#567235]
Start a new discussion in JBoss Microcontainer Development POJO Server at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2116]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101019/df1170ae/attachment.html
More information about the jboss-dev-forums
mailing list