1
我试图如下部署我的数据源:如何与Arquillian部署WildFly数据源?
@Deployment(name = "test", order=2)
static WebArchive createDeployment() {
ShrinkWrap.createFromZipFile(WebArchive, new File("target/test.war")).addAsWebInfResource(new File("src/test/resources/test-DS.xml"), "test-DS.xml")
}
但似乎我的数据源被忽略,我看到有关JBoss的控制台部署没有资料。
是否有任何其他的可能性与arquillian部署数据源?
@Deployment(name = "datasource", order=1)
static ? createDSDeployment() {
?
}
我试过
<datasources>
部分描述和我越来越:警告[org.jboss.arquillian.container.impl。 org.jboss.as.arquillian.container.embedded.EmbeddedContainerConfiguration 未使用的属性条目:{serverConfig = standalone-test.xml} 受支持的属性名称:[managementAddress,modulePath,password, bundlePath,managementPort,jbossHome,managementProtocol,cleanServerBaseDir,用户名] –我有错误的依赖关系。嵌入而不是托管。野蛮 - 阿尔奎亚 - 容器管理 –