[
https://issues.jboss.org/browse/ARQ-2155?page=com.atlassian.jira.plugin.s...
]
Антон Трегубов updated ARQ-2155:
--------------------------------
Description:
Sample here:
https://github.com/anton-tregubov/javaee-design-patterns hash:65ca3b8
Container Configuration
{code}
<properties>
<glassfish-version>4.1.2</glassfish-version>
<arquillian-glassfish-container-version>1.0.1</arquillian-glassfish-container-version>
<arquillian-version>1.1.13.Final</arquillian-version>
<shrinkwrap-resolver-version>2.2.6</shrinkwrap-resolver-version>
<shrinkwrap-descriptors-version>2.0.0</shrinkwrap-descriptors-version>
<shrinkwrap-version>1.2.6</shrinkwrap-version>
<junit-version>4.12</junit-version>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-glassfish-embedded-3.1</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.main.extras</groupId>
<artifactId>glassfish-embedded-all</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
{code}
application-1.0.0-SNAPSHOT.ear:
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application/pom.xml
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application/pom.properties
/META-INF/application.xml
/lib/
/lib/note-impl-1.0.0-SNAPSHOT.jar
/lib/note-api-1.0.0-SNAPSHOT.jar
/application-web-1.0.0-SNAPSHOT.war
{code}
application-web-1.0.0-SNAPSHOT.war
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.properties
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.xml
/META-INF/arquillian.ArchiveUnderTest
/WEB-INF/classes/ru/faulab/javaee/design/patterns/sample/project/SampleProjectIT.class
/WEB-INF/lib/note-web-1.0.0-SNAPSHOT.jar
/WEB-INF/lib/application-web-1.0.0-SNAPSHOT.jar
{code}
application-web-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.xml
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.properties
/ru/faulab/javaee/design/patterns/sample/project/web/SampleProjectApplication.class
{code}
note-web-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-web/pom.properties
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-web/pom.xml
/META-INF/INDEX.LIST
/ru/faulab/javaee/design/patterns/sample/project/note/web/dto/NoteDto.class
/ru/faulab/javaee/design/patterns/sample/project/note/web/rest/NotesResource.class
{code}
note-api-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-api/pom.properties
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-api/pom.xml
/META-INF/INDEX.LIST
/ru/faulab/javaee/design/patterns/sample/project/note/NoteFacade.class
{code}
note-impl-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-impl/pom.xml
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-impl/pom.properties
/META-INF/INDEX.LIST
/ru/faulab/javaee/design/patterns/sample/project/note/impl/NoteFacadeImpl.class
{code}
Maven build fail with:
{code}
ноя 23, 2017 1:22:33 AM org.glassfish.soteria.servlet.SamRegistrationInstaller onStartup
INFO: Initializing Soteria null for context ''
ноя 23, 2017 1:22:34 AM com.sun.enterprise.web.WebApplication start
INFO: Loading application [application-1.0.0-SNAPSHOT#application-web-1.0.0-SNAPSHOT.war]
at [/]
ноя 23, 2017 1:22:34 AM org.glassfish.deployment.admin.DeployCommand execute
INFO: application-1.0.0-SNAPSHOT was successfully deployed in 5 222 milliseconds.
ноя 23, 2017 1:22:34 AM org.jboss.arquillian.core.impl.ObserverImpl resolveArguments
WARNING: Argument 1 for UpdateTestResultBeforeAfter.update is null. It won't be
invoked.
ноя 23, 2017 1:22:34 AM org.jboss.arquillian.core.impl.ObserverImpl resolveArguments
WARNING: Argument 1 for UpdateTestResultBeforeAfter.update is null. It won't be
invoked.
PlainTextActionReporterSUCCESSNo monitoring data to report.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.087 sec <<<
FAILURE! - in ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT
dummy(ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT) Time elapsed: 0.03
sec <<< ERROR!
java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not determine
ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.
JdbcRuntimeExtension, getAllSystemRAResourcesAndPools =
[GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool]
{code}
For Wildfly 11.0 same EAR work correct.
was:
Sample here:
https://github.com/anton-tregubov/javaee-design-patterns
Container Configuration
{code}
<properties>
<glassfish-version>4.1.2</glassfish-version>
<arquillian-glassfish-container-version>1.0.1</arquillian-glassfish-container-version>
<arquillian-version>1.1.13.Final</arquillian-version>
<shrinkwrap-resolver-version>2.2.6</shrinkwrap-resolver-version>
<shrinkwrap-descriptors-version>2.0.0</shrinkwrap-descriptors-version>
<shrinkwrap-version>1.2.6</shrinkwrap-version>
<junit-version>4.12</junit-version>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-glassfish-embedded-3.1</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.main.extras</groupId>
<artifactId>glassfish-embedded-all</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
{code}
application-1.0.0-SNAPSHOT.ear:
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application/pom.xml
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application/pom.properties
/META-INF/application.xml
/lib/
/lib/note-impl-1.0.0-SNAPSHOT.jar
/lib/note-api-1.0.0-SNAPSHOT.jar
/application-web-1.0.0-SNAPSHOT.war
{code}
application-web-1.0.0-SNAPSHOT.war
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.properties
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.xml
/META-INF/arquillian.ArchiveUnderTest
/WEB-INF/classes/ru/faulab/javaee/design/patterns/sample/project/SampleProjectIT.class
/WEB-INF/lib/note-web-1.0.0-SNAPSHOT.jar
/WEB-INF/lib/application-web-1.0.0-SNAPSHOT.jar
{code}
application-web-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.xml
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.properties
/ru/faulab/javaee/design/patterns/sample/project/web/SampleProjectApplication.class
{code}
note-web-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-web/pom.properties
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-web/pom.xml
/META-INF/INDEX.LIST
/ru/faulab/javaee/design/patterns/sample/project/note/web/dto/NoteDto.class
/ru/faulab/javaee/design/patterns/sample/project/note/web/rest/NotesResource.class
{code}
note-api-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-api/pom.properties
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-api/pom.xml
/META-INF/INDEX.LIST
/ru/faulab/javaee/design/patterns/sample/project/note/NoteFacade.class
{code}
note-impl-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-impl/pom.xml
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-impl/pom.properties
/META-INF/INDEX.LIST
/ru/faulab/javaee/design/patterns/sample/project/note/impl/NoteFacadeImpl.class
{code}
Maven build fail with:
{code}
ноя 23, 2017 1:22:33 AM org.glassfish.soteria.servlet.SamRegistrationInstaller onStartup
INFO: Initializing Soteria null for context ''
ноя 23, 2017 1:22:34 AM com.sun.enterprise.web.WebApplication start
INFO: Loading application [application-1.0.0-SNAPSHOT#application-web-1.0.0-SNAPSHOT.war]
at [/]
ноя 23, 2017 1:22:34 AM org.glassfish.deployment.admin.DeployCommand execute
INFO: application-1.0.0-SNAPSHOT was successfully deployed in 5 222 milliseconds.
ноя 23, 2017 1:22:34 AM org.jboss.arquillian.core.impl.ObserverImpl resolveArguments
WARNING: Argument 1 for UpdateTestResultBeforeAfter.update is null. It won't be
invoked.
ноя 23, 2017 1:22:34 AM org.jboss.arquillian.core.impl.ObserverImpl resolveArguments
WARNING: Argument 1 for UpdateTestResultBeforeAfter.update is null. It won't be
invoked.
PlainTextActionReporterSUCCESSNo monitoring data to report.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.087 sec <<<
FAILURE! - in ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT
dummy(ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT) Time elapsed: 0.03
sec <<< ERROR!
java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not determine
ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.
JdbcRuntimeExtension, getAllSystemRAResourcesAndPools =
[GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool]
{code}
For Wildfly 11.0 same EAR work correct.
Glassfish Container fail with "please contact
DeployableContainer developer" when use EnterpriseArchive
-------------------------------------------------------------------------------------------------------
Key: ARQ-2155
URL:
https://issues.jboss.org/browse/ARQ-2155
Project: Arquillian
Issue Type: Bug
Components: GlassFish Containers
Affects Versions: glassfish_1.0.1
Environment: windows 8.1 x64
Reporter: Антон Трегубов
Sample here:
https://github.com/anton-tregubov/javaee-design-patterns hash:65ca3b8
Container Configuration
{code}
<properties>
<glassfish-version>4.1.2</glassfish-version>
<arquillian-glassfish-container-version>1.0.1</arquillian-glassfish-container-version>
<arquillian-version>1.1.13.Final</arquillian-version>
<shrinkwrap-resolver-version>2.2.6</shrinkwrap-resolver-version>
<shrinkwrap-descriptors-version>2.0.0</shrinkwrap-descriptors-version>
<shrinkwrap-version>1.2.6</shrinkwrap-version>
<junit-version>4.12</junit-version>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-glassfish-embedded-3.1</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.main.extras</groupId>
<artifactId>glassfish-embedded-all</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
{code}
application-1.0.0-SNAPSHOT.ear:
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application/pom.xml
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application/pom.properties
/META-INF/application.xml
/lib/
/lib/note-impl-1.0.0-SNAPSHOT.jar
/lib/note-api-1.0.0-SNAPSHOT.jar
/application-web-1.0.0-SNAPSHOT.war
{code}
application-web-1.0.0-SNAPSHOT.war
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.properties
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.xml
/META-INF/arquillian.ArchiveUnderTest
/WEB-INF/classes/ru/faulab/javaee/design/patterns/sample/project/SampleProjectIT.class
/WEB-INF/lib/note-web-1.0.0-SNAPSHOT.jar
/WEB-INF/lib/application-web-1.0.0-SNAPSHOT.jar
{code}
application-web-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.xml
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization/application-web/pom.properties
/ru/faulab/javaee/design/patterns/sample/project/web/SampleProjectApplication.class
{code}
note-web-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-web/pom.properties
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-web/pom.xml
/META-INF/INDEX.LIST
/ru/faulab/javaee/design/patterns/sample/project/note/web/dto/NoteDto.class
/ru/faulab/javaee/design/patterns/sample/project/note/web/rest/NotesResource.class
{code}
note-api-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-api/pom.properties
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-api/pom.xml
/META-INF/INDEX.LIST
/ru/faulab/javaee/design/patterns/sample/project/note/NoteFacade.class
{code}
note-impl-1.0.0-SNAPSHOT.jar
{code}
/META-INF/MANIFEST.MF
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-impl/pom.xml
/META-INF/maven/ru.faulab.javaee-design-patterns.project-organization.note-module/note-impl/pom.properties
/META-INF/INDEX.LIST
/ru/faulab/javaee/design/patterns/sample/project/note/impl/NoteFacadeImpl.class
{code}
Maven build fail with:
{code}
ноя 23, 2017 1:22:33 AM org.glassfish.soteria.servlet.SamRegistrationInstaller onStartup
INFO: Initializing Soteria null for context ''
ноя 23, 2017 1:22:34 AM com.sun.enterprise.web.WebApplication start
INFO: Loading application [application-1.0.0-SNAPSHOT#application-web-1.0.0-SNAPSHOT.war]
at [/]
ноя 23, 2017 1:22:34 AM org.glassfish.deployment.admin.DeployCommand execute
INFO: application-1.0.0-SNAPSHOT was successfully deployed in 5 222 milliseconds.
ноя 23, 2017 1:22:34 AM org.jboss.arquillian.core.impl.ObserverImpl resolveArguments
WARNING: Argument 1 for UpdateTestResultBeforeAfter.update is null. It won't be
invoked.
ноя 23, 2017 1:22:34 AM org.jboss.arquillian.core.impl.ObserverImpl resolveArguments
WARNING: Argument 1 for UpdateTestResultBeforeAfter.update is null. It won't be
invoked.
PlainTextActionReporterSUCCESSNo monitoring data to report.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.087 sec <<<
FAILURE! - in ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT
dummy(ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT) Time elapsed:
0.03 sec <<< ERROR!
java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not
determine ContextRoot from ProtocolMetadata, please contact DeployableContainer
developer.
JdbcRuntimeExtension, getAllSystemRAResourcesAndPools =
[GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool]
{code}
For Wildfly 11.0 same EAR work correct.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)