[JBoss JIRA] (ARQ-2012) Warnings when test runs as client without @RunAsClient
by Matous Jobanek (JIRA)
[ https://issues.jboss.org/browse/ARQ-2012?page=com.atlassian.jira.plugin.s... ]
Matous Jobanek reassigned ARQ-2012:
-----------------------------------
Assignee: Matous Jobanek
> Warnings when test runs as client without @RunAsClient
> ------------------------------------------------------
>
> Key: ARQ-2012
> URL: https://issues.jboss.org/browse/ARQ-2012
> Project: Arquillian
> Issue Type: Bug
> Components: Deployable Containers SPI
> Affects Versions: 1.1.11.Final
> Reporter: Ladislav Thon
> Assignee: Matous Jobanek
>
> When I moved to Arquillian 1.1.11.Final, I started getting warnings when my tests run as client but don't use the {{@RunAsClient}} annotation. The cause is ARQ-1937.
> I'll just reiterate that I actually never ever use the {{@RunAsClient}} annotation because it's superfluous. I simply set my {{@Deployment}} to {{testable = false}} or I have no {{@Deployment}} at all. I do that intentionally and I _expect_ that the test will run as client, so the warning doesn't make much sense for me.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 9 months
[JBoss JIRA] (ARQ-2004) arquillian-wls-embedded-12.1 doesn't support Ear deployment
by Claude Libois (JIRA)
[ https://issues.jboss.org/browse/ARQ-2004?page=com.atlassian.jira.plugin.s... ]
Claude Libois edited comment on ARQ-2004 at 4/10/16 2:19 AM:
-------------------------------------------------------------
This "bug" has been pushed 4 month ago but still no update. I just would like to know if it's a bug or something that won't be fix whatever the reason...
was (Author: clibois.work):
This "bug" has been pushed 4 month ago but still no update. I just would like to know if it's a bug something that won't be fix whatever the reason...
> arquillian-wls-embedded-12.1 doesn't support Ear deployment
> -----------------------------------------------------------
>
> Key: ARQ-2004
> URL: https://issues.jboss.org/browse/ARQ-2004
> Project: Arquillian
> Issue Type: Bug
> Components: WebLogic Containers
> Affects Versions: 1.0.1.Final
> Environment: Test done on Linux with java 7u79 through intelliJ test.
> Reporter: Claude Libois
> Assignee: Vineet Reynolds
>
> For weblogic, I need to deploy a ear to embed datasource definition. However when creating a ear archive I get a "Could not determine the module name for <ear name>". By digging in the code I have noticed that the ear is deployed as an EJB. Maybe that it's a limitation of the embeddable API but it wasn't clear if embedded container support ear deployment or not:
> {code:java}
> @Deployment
> public static Archive<?> createDeploymentPackage() {
> EnterpriseArchive ea=ShrinkWrap.create(org.jboss.shrinkwrap.api.spec.EnterpriseArchive.class, "m.ear").
> addAsManifestResource(new FileAsset(new File("META-INF/weblogic-application.xml")), "weblogic-application.xml").
> setApplicationXML("META-INF/application.xml").
> addAsResource(new FileAsset(new File("datasources/minfin.ccff.fwk.core.db.SharedDataSource-jdbc.xml")), "datasources/minfin.ccff.fwk.core.db.SharedDataSource-jdbc.xml").
> addAsResource(new FileAsset(new File("datasources/minfin.ccff.fwk.core.db.SharedDataSourceTx-jdbc.xml")), "datasources/minfin.ccff.fwk.core.db.SharedDataSourceTx-jdbc.xml");
> JavaArchive jar= ShrinkWrap.create(JavaArchive.class,"idgeneratorTest.jar")
> .addClass(IDDAO.class)
> .addClass(IDDAOTestEJB.class).
> addAsManifestResource(new FileAsset(new File("META-INF/ejb-jar.xml")), "ejb-jar.xml");
> ea.addAsModule(jar);
> return ea;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 9 months
[JBoss JIRA] (ARQ-2004) arquillian-wls-embedded-12.1 doesn't support Ear deployment
by Claude Libois (JIRA)
[ https://issues.jboss.org/browse/ARQ-2004?page=com.atlassian.jira.plugin.s... ]
Claude Libois commented on ARQ-2004:
------------------------------------
This "bug" has been pushed 4 month ago but still no update. I just would like to know if it's a bug something that won't be fix whatever the reason...
> arquillian-wls-embedded-12.1 doesn't support Ear deployment
> -----------------------------------------------------------
>
> Key: ARQ-2004
> URL: https://issues.jboss.org/browse/ARQ-2004
> Project: Arquillian
> Issue Type: Bug
> Components: WebLogic Containers
> Affects Versions: 1.0.1.Final
> Environment: Test done on Linux with java 7u79 through intelliJ test.
> Reporter: Claude Libois
> Assignee: Vineet Reynolds
>
> For weblogic, I need to deploy a ear to embed datasource definition. However when creating a ear archive I get a "Could not determine the module name for <ear name>". By digging in the code I have noticed that the ear is deployed as an EJB. Maybe that it's a limitation of the embeddable API but it wasn't clear if embedded container support ear deployment or not:
> {code:java}
> @Deployment
> public static Archive<?> createDeploymentPackage() {
> EnterpriseArchive ea=ShrinkWrap.create(org.jboss.shrinkwrap.api.spec.EnterpriseArchive.class, "m.ear").
> addAsManifestResource(new FileAsset(new File("META-INF/weblogic-application.xml")), "weblogic-application.xml").
> setApplicationXML("META-INF/application.xml").
> addAsResource(new FileAsset(new File("datasources/minfin.ccff.fwk.core.db.SharedDataSource-jdbc.xml")), "datasources/minfin.ccff.fwk.core.db.SharedDataSource-jdbc.xml").
> addAsResource(new FileAsset(new File("datasources/minfin.ccff.fwk.core.db.SharedDataSourceTx-jdbc.xml")), "datasources/minfin.ccff.fwk.core.db.SharedDataSourceTx-jdbc.xml");
> JavaArchive jar= ShrinkWrap.create(JavaArchive.class,"idgeneratorTest.jar")
> .addClass(IDDAO.class)
> .addClass(IDDAOTestEJB.class).
> addAsManifestResource(new FileAsset(new File("META-INF/ejb-jar.xml")), "ejb-jar.xml");
> ea.addAsModule(jar);
> return ea;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 9 months