[
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
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}
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}
/lib/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}
After build:
{code}
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.613 sec <<<
FAILURE! - in ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT
dummy(ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT) Time elapsed:
0.035 sec <<< ERROR!
java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not determine
ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.
ноя 23, 2017 12:57:13 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown
INFO: JMXStartupService and JMXConnectors have been shut down.
JdbcRuntimeExtension, getAllSystemRAResourcesAndPools =
[GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool,
GlassFishConfigBean.org.gl
assfish.jdbc.config.JdbcConnectionPool]
ноя 23, 2017 12:57:13 AM com.sun.enterprise.v3.server.AppServerStartup stop
INFO: Shutdown procedure finished
{code}
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}
EAR:
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.613 sec <<<
FAILURE! - in ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT
dummy(ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT) Time elapsed:
0.035 sec <<< ERROR!
java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not determine
ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.
ноя 23, 2017 12:57:13 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown
INFO: JMXStartupService and JMXConnectors have been shut down.
JdbcRuntimeExtension, getAllSystemRAResourcesAndPools =
[GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool,
GlassFishConfigBean.org.gl
assfish.jdbc.config.JdbcConnectionPool]
ноя 23, 2017 12:57:13 AM com.sun.enterprise.v3.server.AppServerStartup stop
INFO: Shutdown procedure finished
{code}
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
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}
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}
/lib/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}
After build:
{code}
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.613 sec <<<
FAILURE! - in ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT
dummy(ru.faulab.javaee.design.patterns.sample.project.SampleProjectIT) Time elapsed:
0.035 sec <<< ERROR!
java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not
determine ContextRoot from ProtocolMetadata, please contact DeployableContainer
developer.
ноя 23, 2017 12:57:13 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown
INFO: JMXStartupService and JMXConnectors have been shut down.
JdbcRuntimeExtension, getAllSystemRAResourcesAndPools =
[GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource,
GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool,
GlassFishConfigBean.org.gl
assfish.jdbc.config.JdbcConnectionPool]
ноя 23, 2017 12:57:13 AM com.sun.enterprise.v3.server.AppServerStartup stop
INFO: Shutdown procedure finished
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)