[
https://issues.apache.org/jira/browse/DELTASPIKE-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993475#comment-13993475
]
Thomas Hug commented on DELTASPIKE-589:
---------------------------------------
Anyone seen this problem while running tests on WLS?
Simple Deployment:
{code:java}
@Deployment
public static Archive<?> deployment()
{
WebArchive archive = ShrinkWrap
.create(WebArchive.class, "test.war")
.addAsWebInfResource(EmptyAsset.INSTANCE,
ArchivePaths.create("beans.xml"))
.addAsLibraries(
Maven.resolver().loadPomFromFile("pom.xml")
.resolve(
"org.apache.deltaspike.core:deltaspike-core-api",
"org.apache.deltaspike.core:deltaspike-core-impl")
.withTransitivity()
.asFile()
);
return archive;
}
{code}
Fails to deploy with
{code}
weblogic.management.DeploymentException:
org.jboss.weld.exceptions.DeploymentException: Exception List with 4 exceptions:
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied
dependencies for type [MBeanExtension] with qualifiers [@Default] at injection
point [[field] @Inject private
org.apache.deltaspike.core.impl.jmx.BroadcasterProducer.extension]
at
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:311)
...
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied
dependencies for type [ExceptionControlExtension] with qualifiers [@Default] at
injection point [[field] @Inject private
org.apache.deltaspike.core.impl.exception.control.HandlerMethodStorageProducer.exceptionControlExtension]
at
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:311)
...
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied
dependencies for type [DeltaSpikeContextExtension] with qualifiers [@Default]
at injection point [[field] @Inject private
org.apache.deltaspike.core.impl.scope.conversation.GroupedConversationArtifactProducer.deltaSpikeContextExtension]
at
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:311)
...
Exception 0 :
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied
dependencies for type [DeltaSpikeContextExtension] with qualifiers [@Default]
at injection point [[field] @Inject private
org.apache.deltaspike.core.impl.scope.window.WindowContextProducer.deltaSpikeContextExtension]
at
org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:311)
...
{code}
> Support WLS Profile in Data Module
> ----------------------------------
>
> Key: DELTASPIKE-589
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-589
> Project: DeltaSpike
> Issue Type: Task
> Components: Build, Data-Module
> Affects Versions: 0.7
> Reporter: Thomas Hug
> Assignee: Thomas Hug
> Fix For: 0.8
>
>
> Add a WLS-specific test-persistence.xml included by the WLS profiles.
--
This message was sent by Atlassian JIRA
(v6.2#6252)