[weld-issues] [JBoss JIRA] Created: (WELD-703) SEVERE: Exception while loading the app

sreekanth manga (JIRA) jira-events at lists.jboss.org
Mon Oct 4 11:42:40 EDT 2010


SEVERE: Exception while loading the app
---------------------------------------

                 Key: WELD-703
                 URL: https://jira.jboss.org/browse/WELD-703
             Project: Weld
          Issue Type: Bug
          Components: Testing Infrastructure (Mocks and Harness Integration)
         Environment: Linux, Glassfish Embedded.
            Reporter: sreekanth manga



When running the weld tests against embedded glassfish , I am unable to get any of the test passing.So I started running a test case "activities.current.InactiveScopeTest" which passed with stand alone glassfish v3.1. Here is the maven output.

Actually there are around 28 tests  failing with glassfish standalone server, with the same exception.I don't get any stack trace from the glassfish server log except for single line  "SEVERE: Exception while loading the app". An issue has already been filed with glassfish .[https://glassfish.dev.java.net/issues/show_bug.cgi?id=13713]

Not sure if this is test/weld test framework issue.So filing an issue here.

Maven run log:
=============


[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Weld Integration Tests (JBoss AS) 1.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ weld-core-test-arquillian ---
[INFO] Deleting /space/Sreekanth/workspace/CDI/Oct4th/core/tests-arquillian/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce) @ weld-core-test-arquillian ---
[WARNING] This rule is not compatible with the current version of Maven. The rule is not able to perform any checks.
[INFO] 
[INFO] --- build-helper-maven-plugin:1.5:maven-version (default) @ weld-core-test-arquillian ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.5:parse-version (default) @ weld-core-test-arquillian ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @ weld-core-test-arquillian ---
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ weld-core-test-arquillian ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ weld-core-test-arquillian ---
[INFO] Compiling 3 source files to /space/Sreekanth/workspace/CDI/Oct4th/core/tests-arquillian/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ weld-core-test-arquillian ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 44 resources
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ weld-core-test-arquillian ---
[INFO] Compiling 730 source files to /space/Sreekanth/workspace/CDI/Oct4th/core/tests-arquillian/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ weld-core-test-arquillian ---
[INFO] Concurrency config is {parallel=none, configurableParallelComputerPresent=false}
[INFO] Surefire report directory: /space/Sreekanth/workspace/CDI/Oct4th/core/tests-arquillian/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
4 Oct, 2010 9:09:01 PM org.jboss.arquillian.impl.XmlConfigurationBuilder loadArquillianConfiguration
INFO: building configuration from XML file: arquillian.xml
4 Oct, 2010 9:09:01 PM org.jboss.arquillian.impl.XmlConfigurationBuilder matchContainerConfiguration
WARNING: No container configuration found for URI: java:urn:org.jboss.arquillian.container.jbossas.managed_6
4 Oct, 2010 9:09:01 PM com.sun.enterprise.glassfish.bootstrap.EmbeddedNonOSGiGlassFishRuntimeBuilder provisionInstanceRoot
WARNING: AS_DEF_DOMAINS_PATH is not set.
4 Oct, 2010 9:09:01 PM com.sun.enterprise.glassfish.bootstrap.EmbeddedNonOSGiGlassFishRuntimeBuilder build
INFO: Created GlassFishRuntime com.sun.enterprise.glassfish.bootstrap.NonOSGiGlassFishRuntime at f2a55aa with Bootstrap Properties {com.sun.aas.installRootURI=file:/space/Sreekanth/workspace/CDI/Oct4th/core/tests-arquillian/target/glassfish_fdeb7e07-4d0f-48f1-9c9f-94c9977b021c, GlassFish_Platform=Static, com.sun.aas.configFileURI=jar:file:/home/sreekanth/.m2/repository/org/glassfish/extras/glassfish-embedded-all/3.1-b19/glassfish-embedded-all-3.1-b19.jar!/org/glassfish/embed/domain.xml, com.sun.aas.installRoot=/space/Sreekanth/workspace/CDI/Oct4th/core/tests-arquillian/target/glassfish_fdeb7e07-4d0f-48f1-9c9f-94c9977b021c, com.sun.aas.instanceRootURI=file:/space/Sreekanth/workspace/CDI/Oct4th/core/tests-arquillian/target/glassfish_fdeb7e07-4d0f-48f1-9c9f-94c9977b021c, com.sun.aas.instanceRoot=/space/Sreekanth/workspace/CDI/Oct4th/core/tests-arquillian/target/glassfish_fdeb7e07-4d0f-48f1-9c9f-94c9977b021c}
4 Oct, 2010 9:09:02 PM com.sun.enterprise.util.EarlyLogger add
INFO: Total time to parse domain.xml: 110 milliseconds
4 Oct, 2010 9:09:02 PM com.sun.logging.LogDomains$1 log
INFO: GlassFish Server Open Source Edition 3.1-b19 (java_re-private) startup time : Embedded(585ms) startup services(452ms) total(1037ms)
4 Oct, 2010 9:09:03 PM com.sun.logging.LogDomains$1 log
INFO: enterprise_used_delegate_name
4 Oct, 2010 9:09:03 PM com.sun.logging.LogDomains$1 log
INFO: JMXStartupService: JMXConnector system is disabled, skipping.
4 Oct, 2010 9:09:03 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
4 Oct, 2010 9:09:03 PM org.jboss.arquillian.impl.DynamicServiceLoader verifySameImplementation
Running org.jboss.weld.tests.activities.current.InactiveScopeTest
WARNING: More then one reference to the same implementation was found for org.jboss.arquillian.spi.DeploymentPackager, please verify you classpath
4 Oct, 2010 9:09:03 PM org.jboss.arquillian.impl.DynamicServiceLoader verifySameImplementation
WARNING: More then one reference to the same implementation was found for org.jboss.arquillian.spi.ApplicationArchiveGenerator, please verify you classpath
4 Oct, 2010 9:09:03 PM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl
WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.BeanArchive, please verify classpath or add a extensionOverride
4 Oct, 2010 9:09:03 PM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.023 sec <<< FAILURE!
WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.BeanArchive, please verify classpath or add a extensionOverride
classLoader = WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
4 Oct, 2010 9:09:03 PM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7 at 37748ba4
WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.spec.JavaArchive, please verify classpath or add a extensionOverride
classLoader = WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)
4 Oct, 2010 9:09:03 PM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl
SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7 at 37748ba4
WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.spec.WebArchive, please verify classpath or add a extensionOverride
4 Oct, 2010 9:09:03 PM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl
WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.glassfish.api.ShrinkwrapReadableArchive, please verify classpath or add a extensionOverride
4 Oct, 2010 9:09:03 PM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl
WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.api.exporter.ZipExporter, please verify classpath or add a extensionOverride
4 Oct, 2010 9:09:03 PM org.jboss.shrinkwrap.impl.base.ServiceExtensionLoader findExtensionImpl
WARNING: Multiple extension implementations found for org.jboss.shrinkwrap.spi.Configurable, please verify classpath or add a extensionOverride
4 Oct, 2010 9:09:04 PM com.sun.logging.LogDomains$1 log
INFO: security.secmgroff
4 Oct, 2010 9:09:05 PM com.sun.logging.LogDomains$1 log
INFO: sec.service.startup.enter
4 Oct, 2010 9:09:05 PM com.sun.logging.LogDomains$1 log
INFO: policy.loading
4 Oct, 2010 9:09:05 PM com.sun.logging.LogDomains$1 log
INFO: realm.loaded.successfully
4 Oct, 2010 9:09:05 PM com.sun.logging.LogDomains$1 log
INFO: realm.loaded.successfully
4 Oct, 2010 9:09:05 PM com.sun.logging.LogDomains$1 log
INFO: realm.loaded.successfully
4 Oct, 2010 9:09:05 PM com.sun.logging.LogDomains$1 log
INFO: sec.service.startup.exit
4 Oct, 2010 9:09:05 PM com.sun.common.util.logging.LoggingConfigImpl openPropFile
INFO: Cannot read logging.properties file. 
4 Oct, 2010 9:09:05 PM com.sun.logging.LogDomains$1 log
INFO: webContainer.virtualServer.created
4 Oct, 2010 9:09:06 PM com.sun.logging.LogDomains$1 log
INFO: PersistenceStrategyBuilderFactory>>createPersistenceStrategyBuilder: CandidateBuilderClassName = class com.sun.enterprise.web.MemoryStrategyBuilder
4 Oct, 2010 9:09:06 PM com.sun.logging.LogDomains$1 log
INFO: webContainer.virtualServer.loadedDefaultWebModule
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/sreekanth/.m2/repository/org/slf4j/slf4j-simple/1.5.10/slf4j-simple-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/sreekanth/.m2/repository/org/glassfish/extras/glassfish-embedded-all/3.1-b19/glassfish-embedded-all-3.1-b19.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
24 [main] INFO org.jboss.weld.Version - WELD-000900 1.1.0 (2010-09-23 00:14)
56 [main] INFO org.hibernate.validator.util.Version - Hibernate Validator null
72 [main] INFO org.hibernate.validator.engine.resolver.DefaultTraversableResolver - Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
4 Oct, 2010 9:09:16 PM com.sun.logging.LogDomains$1 log
SEVERE: Exception while loading the app

Results :

Tests in error: 
  testInactiveScope(org.jboss.weld.tests.activities.current.InactiveScopeTest)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.445s
[INFO] Finished at: Mon Oct 04 21:09:16 IST 2010
[INFO] Final Memory: 39M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project weld-core-test-arquillian: There are test failures.

Please refer to /space/Sreekanth/workspace/CDI/Oct4th/core/tests-arquillian/target/surefire-reports for the individual test results.
-> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list