[JBoss JIRA] (ARQ-2155) Glassfish Container fail with "please contact DeployableContainer developer" when use EnterpriseArchive
by Антон Трегубов (JIRA)
[ 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
Problem:
*java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not determine ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.*
Details:
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 hash:65ca3b8
Problem
*_java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not determine ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.
_*
Details:
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
> Problem:
> *java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not determine ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.*
> Details:
> 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)
7 years, 1 month
[JBoss JIRA] (ARQ-2155) Glassfish Container fail with "please contact DeployableContainer developer" when use EnterpriseArchive
by Антон Трегубов (JIRA)
[ 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
Problem
*_java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not determine ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.
_*
Details:
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 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.
> 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
> Problem
> *_java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not determine ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.
> _*
> Details:
> 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)
7 years, 1 month
[JBoss JIRA] (ARQ-2155) Glassfish Container fail with "please contact DeployableContainer developer" when use EnterpriseArchive
by Антон Трегубов (JIRA)
[ 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)
7 years, 1 month
[JBoss JIRA] (ARQ-2155) Glassfish Container fail with "please contact DeployableContainer developer" when use EnterpriseArchive
by Антон Трегубов (JIRA)
[ 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}
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}
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}
> 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}
> 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)
7 years, 1 month
[JBoss JIRA] (ARQ-2155) Glassfish Container fail with "please contact DeployableContainer developer" when use EnterpriseArchive
by Антон Трегубов (JIRA)
[ 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)
7 years, 1 month
[JBoss JIRA] (ARQ-2155) Glassfish Container fail with "please contact DeployableContainer developer" when use EnterpriseArchive
by Антон Трегубов (JIRA)
[ 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}
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}
was:
https://github.com/anton-tregubov/javaee-design-patterns
{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}
> 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}
> 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}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ARQ-2155) Glassfish Container fail with "please contact DeployableContainer developer" when use EnterpriseArchive
by Антон Трегубов (JIRA)
Антон Трегубов created ARQ-2155:
-----------------------------------
Summary: 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: Антон Трегубов
https://github.com/anton-tregubov/javaee-design-patterns
{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)
7 years, 1 month
[JBoss JIRA] (ARQ-2153) Enable @Deployment @ShouldThrowException(DefinitionException.class) in WebSphere Liberty Managed Container
by Gerhard Poul (JIRA)
[ https://issues.jboss.org/browse/ARQ-2153?page=com.atlassian.jira.plugin.s... ]
Gerhard Poul commented on ARQ-2153:
-----------------------------------
[~hutchig] do you know which arquillian container adapter the others are using for their testing? It might be good to take a look. If your test is already running, then it is running inside the container and they will see all the exceptions just be fine, but if there is an exception while deploying or starting the application, then the exception is seen outside in the process where the arquillian container adapter is running. It would be interesting how this is handled in other container adapters where this behaves differently, because the architecture is the same for all of them and the container adapter always runs outside the container.
In your case with the [Deployment|https://docs.jboss.org/arquillian/api/1.0.3.Final/org/jboss/ar...] annotation this is running outside the container and I don't see how you would get a container exception unless you're running inside something like an embedded container where the deployment is actually taking place in the same JVM process and not outside in a separate remote or local process.
> Enable @Deployment @ShouldThrowException(DefinitionException.class) in WebSphere Liberty Managed Container
> ----------------------------------------------------------------------------------------------------------
>
> Key: ARQ-2153
> URL: https://issues.jboss.org/browse/ARQ-2153
> Project: Arquillian
> Issue Type: Feature Request
> Components: WebSphere Containers
> Affects Versions: 1.0.0.Final
> Environment: MicroProfile FaultTolerance TCK testing with arquillian-wlp-managed-8.5 container.
> For example testing
> https://github.com/eclipse/microprofile-fault-tolerance/blob/master/tck/s...
> with open Liberty or any other Arquillian test testing for DefinitionExceptions that cause
> Deployment Exceptions.
> Reporter: Gordon Hutchison
> Assignee: Gerhard Poul
> Priority: Minor
>
> When running the MicroProfile Fault Tolerance TCK there are numerous tests'
> deploy methods that have:
> {code:java}
> @Deployment
> @ShouldThrowException(DefinitionException.class)
> public static WebArchive deploy() {...
> {code}
> The current wlp-managed-8.5 container return these as Deployment
> Exceptions to the test client which makes the TCK tests fail even if the server
> has raised a definition exception.
> I have a code patch from an IBM colleague Nathan Mittlestat (whose permission I have to
> make this 'issue' and a pull request from on his behalf ) along the lines of:
> {code:java}
> private void checkForDefinitionExceptions(String applicationName)
> {
> String messagesFile = containerConfiguration.getWlpHome() + "/usr/servers/" + containerConfiguration.getServerName() + "/logs/messages.log";
> BufferedReader br = null;
> try {
> br = new BufferedReader(new InputStreamReader(new FileInputStream(messagesFile)));
> String line;
> while ((line = br.readLine()) != null) {
> if (line.contains("CWWKZ0002E: An exception occurred while starting the application " + applicationName + ".")
> && (line.contains("org.jboss.weld.exceptions.DefinitionException") || line.contains("javax.enterprise.inject.spi.DefinitionException"))) {
> System.out.println("############DEBUG found CWWKZ0002E for application: " + applicationName);
> System.out.println(line);
> throw new DefinitionException(line);
> }
> }
> } catch (IOException e) {
> System.err.println("Exception while reading messages.log" + e.toString());
> e.printStackTrace();
> // } catch (FileNotFoundException e) {
> // System.err.println("Exception while reading messages.log" + e.toString());
> // e.printStackTrace();
> } finally {
> try {
> if (br != null)
> br.close();
> } catch (Exception e) {
> System.err.println("Exception while closing bufferedreader " + e.toString());
> e.printStackTrace();
> }
> }
> }
> {code}
> This method is called in waitForApplicationTargetState if a wrapping Deployment exception
> is observed:
>
> {code:java}
> } catch (Exception e) {
> checkForDefinitionExceptions(applicationName);
> throw new DeploymentException("Exception while checking application state.", e);
> }
> {code}
> I will do a PR shortly.
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ARQ-2153) Enable @Deployment @ShouldThrowException(DefinitionException.class) in WebSphere Liberty Managed Container
by Gordon Hutchison (JIRA)
[ https://issues.jboss.org/browse/ARQ-2153?page=com.atlassian.jira.plugin.s... ]
Gordon Hutchison commented on ARQ-2153:
---------------------------------------
I only have experience relating to this for this particular TCK.
There is some related discussion at the moment regarding the TCK assertions here:
https://gitter.im/eclipse/microprofile-fault-tolerance?source=orgpage
I was going to do some more work to explore if, in this case, the asserted exception
is indeed wrapped inside the outer deployment exception and if so,
if there is a better arquillian assertion syntax to assert if the exception is present
but wrapped.
Interesting you say "Normally I would not assume that exceptions thrown in the application server are directly also thrown in the managed container implementation". I guess Microprofile TCK's are trying to be able to get something like:
@ShouldThrowException(value=DefinitionException.class, testable=true) that can be
used to verify implmentations as 'compliant' using Arquillian. Having
a vendor 'custom' container scraping logs etc. (as in this PR) could lead to thoughts of 'cheating'
unless there is some settled community consensus of how to test deployment errors in code? Ideally
that we can make cross vendor/spec/platform - at least at an abstract level.
I will do some more investigations :-)
> Enable @Deployment @ShouldThrowException(DefinitionException.class) in WebSphere Liberty Managed Container
> ----------------------------------------------------------------------------------------------------------
>
> Key: ARQ-2153
> URL: https://issues.jboss.org/browse/ARQ-2153
> Project: Arquillian
> Issue Type: Feature Request
> Components: WebSphere Containers
> Affects Versions: 1.0.0.Final
> Environment: MicroProfile FaultTolerance TCK testing with arquillian-wlp-managed-8.5 container.
> For example testing
> https://github.com/eclipse/microprofile-fault-tolerance/blob/master/tck/s...
> with open Liberty or any other Arquillian test testing for DefinitionExceptions that cause
> Deployment Exceptions.
> Reporter: Gordon Hutchison
> Assignee: Gerhard Poul
> Priority: Minor
>
> When running the MicroProfile Fault Tolerance TCK there are numerous tests'
> deploy methods that have:
> {code:java}
> @Deployment
> @ShouldThrowException(DefinitionException.class)
> public static WebArchive deploy() {...
> {code}
> The current wlp-managed-8.5 container return these as Deployment
> Exceptions to the test client which makes the TCK tests fail even if the server
> has raised a definition exception.
> I have a code patch from an IBM colleague Nathan Mittlestat (whose permission I have to
> make this 'issue' and a pull request from on his behalf ) along the lines of:
> {code:java}
> private void checkForDefinitionExceptions(String applicationName)
> {
> String messagesFile = containerConfiguration.getWlpHome() + "/usr/servers/" + containerConfiguration.getServerName() + "/logs/messages.log";
> BufferedReader br = null;
> try {
> br = new BufferedReader(new InputStreamReader(new FileInputStream(messagesFile)));
> String line;
> while ((line = br.readLine()) != null) {
> if (line.contains("CWWKZ0002E: An exception occurred while starting the application " + applicationName + ".")
> && (line.contains("org.jboss.weld.exceptions.DefinitionException") || line.contains("javax.enterprise.inject.spi.DefinitionException"))) {
> System.out.println("############DEBUG found CWWKZ0002E for application: " + applicationName);
> System.out.println(line);
> throw new DefinitionException(line);
> }
> }
> } catch (IOException e) {
> System.err.println("Exception while reading messages.log" + e.toString());
> e.printStackTrace();
> // } catch (FileNotFoundException e) {
> // System.err.println("Exception while reading messages.log" + e.toString());
> // e.printStackTrace();
> } finally {
> try {
> if (br != null)
> br.close();
> } catch (Exception e) {
> System.err.println("Exception while closing bufferedreader " + e.toString());
> e.printStackTrace();
> }
> }
> }
> {code}
> This method is called in waitForApplicationTargetState if a wrapping Deployment exception
> is observed:
>
> {code:java}
> } catch (Exception e) {
> checkForDefinitionExceptions(applicationName);
> throw new DeploymentException("Exception while checking application state.", e);
> }
> {code}
> I will do a PR shortly.
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month