[JBoss JIRA] (JDF-92) Failure running richfaces-validation quickstart
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/JDF-92?page=com.atlassian.jira.plugin.sys... ]
Pete Muir commented on JDF-92:
------------------------------
Lukas, we can upgrade the BOM for sure. Ideally we would do a blanket upgrade across the quickstarts (which is achievable with a grep/sed). If you can send a pull for that, it would be great.
> Failure running richfaces-validation quickstart
> -----------------------------------------------
>
> Key: JDF-92
> URL: https://issues.jboss.org/browse/JDF-92
> Project: JBoss Developer Framework
> Issue Type: Bug
> Reporter: Kabir Khan
> Assignee: Pete Muir
>
> I am using the command from http://www.jboss.org/jdf/about/contributing/
> This first runs some tests which pass:
> {code}
> $mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-requires-full,-complex-dependencies,-requires-xts -pl richfaces-validation
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.jboss.as.quickstarts:jboss-as-wicket-war:war:7.1.2-SNAPSHOT
> [WARNING] The expression ${build.finalName} is deprecated. Please use ${project.build.finalName} instead.
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss AS Quickstarts: RichFaces Bean Validation 7.1.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jboss-as-richfaces-validation ---
> [INFO] Deleting /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 4 source files to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 1 source file to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ jboss-as-richfaces-validation ---
> [INFO] Surefire report directory: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.as.quickstarts.kitchensink.test.MemberValidationTest
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> Aug 14, 2012 10:58:36 PM org.jboss.arquillian.container.impl.MapObject populate
> WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.remote.RemoteContainerConfiguration
> Unused property entries: {jbossHome=/path/to/jboss/as}
> Supported property names: [managementPort, username, managementAddress, password]
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.578 sec
> Results :
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
> {code}
> Then due to the {code}jboss-as:deploy jboss-as:undeploy{code} targets it deploys the war which fails.
> {code}
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ jboss-as-richfaces-validation ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [jboss-as-richfaces-validation] in [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/src/main/webapp]
> [INFO] Webapp assembled in [134 msecs]
> [INFO] Building war: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-richfaces-validation ---
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.war
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/pom.xml to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.pom
> [INFO]
> [INFO] --- jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) @ jboss-as-richfaces-validation ---
> Aug 14, 2012 10:58:42 PM org.xnio.Xnio <clinit>
> INFO: XNIO Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.xnio.nio.NioXnio <clinit>
> INFO: XNIO NIO Implementation Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.jboss.remoting3.EndpointImpl <clinit>
> INFO: JBoss Remoting version 3.2.3.GA
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.684s
> [INFO] Finished at: Tue Aug 14 22:58:52 BST 2012
> [INFO] Final Memory: 28M/554M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project jboss-as-richfaces-validation: Deployment failed and was rolled back. -> [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/MojoExecutionException
> {code}
> Console output for the working test:
> {code}
> 22:58:38,077 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:38,088 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "test.war"
> 22:58:38,334 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for primary
> 22:58:38,399 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment test.war
> 22:58:38,494 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016005: Starting Services for CDI deployment: test.war
> 22:58:38,546 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900 1.1.9 (Final)
> 22:58:38,579 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011907: Register module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:38,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-9) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:38,590 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 15) JBAS011402: Starting Persistence Unit Service 'test.war#primary'
> 22:58:38,678 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 15) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 22:58:38,681 INFO [org.hibernate.Version] (ServerService Thread Pool -- 15) HHH000412: Hibernate Core {4.1.6.Final}
> 22:58:38,682 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000206: hibernate.properties not found
> 22:58:38,683 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000021: Bytecode provider name : javassist
> 22:58:38,695 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 15) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:38,803 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 15) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:38,997 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 15) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:39,000 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 15) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:39,002 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 15) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:39,008 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 15) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:39,011 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 15) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:39,033 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 15) Hibernate Validator 4.2.0.Final
> 22:58:39,275 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000227: Running hbm2ddl schema export
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:39,287 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000230: Schema export complete
> 22:58:39,311 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Starting weld service for deployment test.war
> 22:58:39,638 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /test
> 22:58:39,681 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018559: Deployed "test.war"
> 22:58:40,292 INFO [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011908: Unregister module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:40,314 INFO [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016009: Stopping weld service for deployment test.war
> 22:58:40,318 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011403: Stopping Persistence Unit Service 'test.war#primary'
> 22:58:40,318 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:40,321 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:40,327 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:40,340 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.war in 52ms
> 22:58:40,349 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:40,349 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018558: Undeployed "test.war"
> {code}
> Console output for the non-working deploy/undeploy part
> {code}
> 22:58:49,809 INFO [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/3d/567bdf42fb0c1c58ab6c4915877c3bf9f5cd62/content
> 22:58:49,813 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "jboss-as-richfaces-validation.war"
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.ConfigurableArchiveImpl' for service type 'org.jboss.shrinkwrap.spi.Configurable'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.GenericArchiveImpl' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=UNKNOWN' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.SerializableView'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.war' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.ZipSerializableView'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ExplodedImporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ExplodedExporter'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.ear' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.rar' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ZipExporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implClass=org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl' for service type 'org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver'
> 22:58:50,756 INFO [org.jboss.as.jpa] (MSC service thread 1-14) JBAS011401: Read persistence.xml for primary
> 22:58:50,828 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016002: Processing weld deployment jboss-as-richfaces-validation.war
> 22:58:50,923 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016005: Starting Services for CDI deployment: jboss-as-richfaces-validation.war
> 22:58:50,928 INFO [org.jboss.as.osgi] (MSC service thread 1-14) JBAS011907: Register module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:50,928 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:50,928 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011402: Starting Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:50,929 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 12) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:50,936 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 12) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:50,943 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 12) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:50,943 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 12) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:50,944 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 12) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:50,944 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 12) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:50,944 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 12) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:50,957 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:50,959 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:50,961 INFO [org.jboss.weld.deployer] (MSC service thread 1-13) JBAS016008: Starting weld service for deployment jboss-as-richfaces-validation.war
> 22:58:51,059 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra 2.1.11-jbossorg-2 20120731-1422 for context '/jboss-as-richfaces-validation'
> 22:58:52,157 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,160 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-as-richfaces-validation]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> Caused by: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> ... 8 more
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/jboss-as-richfaces-validation] startup failed due to previous errors
> 22:58:52,171 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC service thread 1-2) JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
> 22:58:52,172 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.NullPointerException
> at org.richfaces.application.CacheProvider.release(CacheProvider.java:96) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.release(ServicesFactoryImpl.java:18) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:132) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStop(InitializationListener.java:137) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:149) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:335) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,174 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./jboss-as-richfaces-validation: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,378 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011908: Unregister module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:52,380 INFO [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "jboss-as-richfaces-validation.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./jboss-as-richfaces-validation" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"jboss-as-richfaces-validation.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}
> 22:58:52,390 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016009: Stopping weld service for deployment jboss-as-richfaces-validation.war
> 22:58:52,393 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 16) JBAS011403: Stopping Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:52,394 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000227: Running hbm2ddl schema export
> 22:58:52,400 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000230: Schema export complete
> 22:58:52,405 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:52,440 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment jboss-as-richfaces-validation.war in 62ms
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JDF-92) Failure running richfaces-validation quickstart
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/JDF-92?page=com.atlassian.jira.plugin.sys... ]
Lukáš Fryč reassigned JDF-92:
-----------------------------
Assignee: Pete Muir (was: Lukáš Fryč)
Pete, do you want me to send pull request for such a change?
I can see no other Quickstart upgraded yet.
> Failure running richfaces-validation quickstart
> -----------------------------------------------
>
> Key: JDF-92
> URL: https://issues.jboss.org/browse/JDF-92
> Project: JBoss Developer Framework
> Issue Type: Bug
> Reporter: Kabir Khan
> Assignee: Pete Muir
>
> I am using the command from http://www.jboss.org/jdf/about/contributing/
> This first runs some tests which pass:
> {code}
> $mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-requires-full,-complex-dependencies,-requires-xts -pl richfaces-validation
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.jboss.as.quickstarts:jboss-as-wicket-war:war:7.1.2-SNAPSHOT
> [WARNING] The expression ${build.finalName} is deprecated. Please use ${project.build.finalName} instead.
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss AS Quickstarts: RichFaces Bean Validation 7.1.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jboss-as-richfaces-validation ---
> [INFO] Deleting /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 4 source files to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 1 source file to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ jboss-as-richfaces-validation ---
> [INFO] Surefire report directory: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.as.quickstarts.kitchensink.test.MemberValidationTest
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> Aug 14, 2012 10:58:36 PM org.jboss.arquillian.container.impl.MapObject populate
> WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.remote.RemoteContainerConfiguration
> Unused property entries: {jbossHome=/path/to/jboss/as}
> Supported property names: [managementPort, username, managementAddress, password]
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.578 sec
> Results :
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
> {code}
> Then due to the {code}jboss-as:deploy jboss-as:undeploy{code} targets it deploys the war which fails.
> {code}
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ jboss-as-richfaces-validation ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [jboss-as-richfaces-validation] in [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/src/main/webapp]
> [INFO] Webapp assembled in [134 msecs]
> [INFO] Building war: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-richfaces-validation ---
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.war
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/pom.xml to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.pom
> [INFO]
> [INFO] --- jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) @ jboss-as-richfaces-validation ---
> Aug 14, 2012 10:58:42 PM org.xnio.Xnio <clinit>
> INFO: XNIO Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.xnio.nio.NioXnio <clinit>
> INFO: XNIO NIO Implementation Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.jboss.remoting3.EndpointImpl <clinit>
> INFO: JBoss Remoting version 3.2.3.GA
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.684s
> [INFO] Finished at: Tue Aug 14 22:58:52 BST 2012
> [INFO] Final Memory: 28M/554M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project jboss-as-richfaces-validation: Deployment failed and was rolled back. -> [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/MojoExecutionException
> {code}
> Console output for the working test:
> {code}
> 22:58:38,077 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:38,088 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "test.war"
> 22:58:38,334 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for primary
> 22:58:38,399 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment test.war
> 22:58:38,494 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016005: Starting Services for CDI deployment: test.war
> 22:58:38,546 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900 1.1.9 (Final)
> 22:58:38,579 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011907: Register module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:38,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-9) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:38,590 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 15) JBAS011402: Starting Persistence Unit Service 'test.war#primary'
> 22:58:38,678 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 15) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 22:58:38,681 INFO [org.hibernate.Version] (ServerService Thread Pool -- 15) HHH000412: Hibernate Core {4.1.6.Final}
> 22:58:38,682 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000206: hibernate.properties not found
> 22:58:38,683 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000021: Bytecode provider name : javassist
> 22:58:38,695 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 15) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:38,803 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 15) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:38,997 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 15) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:39,000 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 15) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:39,002 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 15) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:39,008 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 15) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:39,011 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 15) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:39,033 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 15) Hibernate Validator 4.2.0.Final
> 22:58:39,275 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000227: Running hbm2ddl schema export
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:39,287 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000230: Schema export complete
> 22:58:39,311 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Starting weld service for deployment test.war
> 22:58:39,638 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /test
> 22:58:39,681 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018559: Deployed "test.war"
> 22:58:40,292 INFO [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011908: Unregister module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:40,314 INFO [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016009: Stopping weld service for deployment test.war
> 22:58:40,318 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011403: Stopping Persistence Unit Service 'test.war#primary'
> 22:58:40,318 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:40,321 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:40,327 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:40,340 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.war in 52ms
> 22:58:40,349 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:40,349 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018558: Undeployed "test.war"
> {code}
> Console output for the non-working deploy/undeploy part
> {code}
> 22:58:49,809 INFO [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/3d/567bdf42fb0c1c58ab6c4915877c3bf9f5cd62/content
> 22:58:49,813 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "jboss-as-richfaces-validation.war"
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.ConfigurableArchiveImpl' for service type 'org.jboss.shrinkwrap.spi.Configurable'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.GenericArchiveImpl' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=UNKNOWN' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.SerializableView'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.war' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.ZipSerializableView'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ExplodedImporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ExplodedExporter'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.ear' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.rar' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ZipExporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implClass=org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl' for service type 'org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver'
> 22:58:50,756 INFO [org.jboss.as.jpa] (MSC service thread 1-14) JBAS011401: Read persistence.xml for primary
> 22:58:50,828 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016002: Processing weld deployment jboss-as-richfaces-validation.war
> 22:58:50,923 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016005: Starting Services for CDI deployment: jboss-as-richfaces-validation.war
> 22:58:50,928 INFO [org.jboss.as.osgi] (MSC service thread 1-14) JBAS011907: Register module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:50,928 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:50,928 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011402: Starting Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:50,929 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 12) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:50,936 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 12) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:50,943 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 12) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:50,943 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 12) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:50,944 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 12) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:50,944 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 12) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:50,944 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 12) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:50,957 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:50,959 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:50,961 INFO [org.jboss.weld.deployer] (MSC service thread 1-13) JBAS016008: Starting weld service for deployment jboss-as-richfaces-validation.war
> 22:58:51,059 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra 2.1.11-jbossorg-2 20120731-1422 for context '/jboss-as-richfaces-validation'
> 22:58:52,157 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,160 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-as-richfaces-validation]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> Caused by: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> ... 8 more
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/jboss-as-richfaces-validation] startup failed due to previous errors
> 22:58:52,171 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC service thread 1-2) JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
> 22:58:52,172 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.NullPointerException
> at org.richfaces.application.CacheProvider.release(CacheProvider.java:96) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.release(ServicesFactoryImpl.java:18) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:132) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStop(InitializationListener.java:137) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:149) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:335) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,174 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./jboss-as-richfaces-validation: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,378 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011908: Unregister module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:52,380 INFO [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "jboss-as-richfaces-validation.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./jboss-as-richfaces-validation" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"jboss-as-richfaces-validation.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}
> 22:58:52,390 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016009: Stopping weld service for deployment jboss-as-richfaces-validation.war
> 22:58:52,393 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 16) JBAS011403: Stopping Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:52,394 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000227: Running hbm2ddl schema export
> 22:58:52,400 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000230: Schema export complete
> 22:58:52,405 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:52,440 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment jboss-as-richfaces-validation.war in 62ms
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JDF-92) Failure running richfaces-validation quickstart
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/JDF-92?page=com.atlassian.jira.plugin.sys... ]
Lukáš Fryč commented on JDF-92:
-------------------------------
Okay, verified that issue is fixed with upgrading Shrinkwrap Resolver (thanks for hint Marek),
namely we need to upgrade SHRINKRES version transitively defined by Arquillian {{>1.0.1.Final}} or alternatively upgrade {{jboss-javaee-6.0-with-tools}} to {{1.0.1.CR2}}.
> Failure running richfaces-validation quickstart
> -----------------------------------------------
>
> Key: JDF-92
> URL: https://issues.jboss.org/browse/JDF-92
> Project: JBoss Developer Framework
> Issue Type: Bug
> Reporter: Kabir Khan
> Assignee: Lukáš Fryč
>
> I am using the command from http://www.jboss.org/jdf/about/contributing/
> This first runs some tests which pass:
> {code}
> $mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-requires-full,-complex-dependencies,-requires-xts -pl richfaces-validation
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.jboss.as.quickstarts:jboss-as-wicket-war:war:7.1.2-SNAPSHOT
> [WARNING] The expression ${build.finalName} is deprecated. Please use ${project.build.finalName} instead.
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss AS Quickstarts: RichFaces Bean Validation 7.1.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jboss-as-richfaces-validation ---
> [INFO] Deleting /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 4 source files to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 1 source file to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ jboss-as-richfaces-validation ---
> [INFO] Surefire report directory: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.as.quickstarts.kitchensink.test.MemberValidationTest
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> Aug 14, 2012 10:58:36 PM org.jboss.arquillian.container.impl.MapObject populate
> WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.remote.RemoteContainerConfiguration
> Unused property entries: {jbossHome=/path/to/jboss/as}
> Supported property names: [managementPort, username, managementAddress, password]
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.578 sec
> Results :
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
> {code}
> Then due to the {code}jboss-as:deploy jboss-as:undeploy{code} targets it deploys the war which fails.
> {code}
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ jboss-as-richfaces-validation ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [jboss-as-richfaces-validation] in [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/src/main/webapp]
> [INFO] Webapp assembled in [134 msecs]
> [INFO] Building war: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-richfaces-validation ---
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.war
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/pom.xml to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.pom
> [INFO]
> [INFO] --- jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) @ jboss-as-richfaces-validation ---
> Aug 14, 2012 10:58:42 PM org.xnio.Xnio <clinit>
> INFO: XNIO Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.xnio.nio.NioXnio <clinit>
> INFO: XNIO NIO Implementation Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.jboss.remoting3.EndpointImpl <clinit>
> INFO: JBoss Remoting version 3.2.3.GA
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.684s
> [INFO] Finished at: Tue Aug 14 22:58:52 BST 2012
> [INFO] Final Memory: 28M/554M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project jboss-as-richfaces-validation: Deployment failed and was rolled back. -> [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/MojoExecutionException
> {code}
> Console output for the working test:
> {code}
> 22:58:38,077 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:38,088 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "test.war"
> 22:58:38,334 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for primary
> 22:58:38,399 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment test.war
> 22:58:38,494 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016005: Starting Services for CDI deployment: test.war
> 22:58:38,546 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900 1.1.9 (Final)
> 22:58:38,579 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011907: Register module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:38,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-9) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:38,590 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 15) JBAS011402: Starting Persistence Unit Service 'test.war#primary'
> 22:58:38,678 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 15) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 22:58:38,681 INFO [org.hibernate.Version] (ServerService Thread Pool -- 15) HHH000412: Hibernate Core {4.1.6.Final}
> 22:58:38,682 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000206: hibernate.properties not found
> 22:58:38,683 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000021: Bytecode provider name : javassist
> 22:58:38,695 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 15) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:38,803 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 15) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:38,997 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 15) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:39,000 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 15) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:39,002 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 15) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:39,008 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 15) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:39,011 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 15) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:39,033 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 15) Hibernate Validator 4.2.0.Final
> 22:58:39,275 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000227: Running hbm2ddl schema export
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:39,287 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000230: Schema export complete
> 22:58:39,311 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Starting weld service for deployment test.war
> 22:58:39,638 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /test
> 22:58:39,681 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018559: Deployed "test.war"
> 22:58:40,292 INFO [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011908: Unregister module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:40,314 INFO [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016009: Stopping weld service for deployment test.war
> 22:58:40,318 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011403: Stopping Persistence Unit Service 'test.war#primary'
> 22:58:40,318 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:40,321 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:40,327 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:40,340 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.war in 52ms
> 22:58:40,349 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:40,349 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018558: Undeployed "test.war"
> {code}
> Console output for the non-working deploy/undeploy part
> {code}
> 22:58:49,809 INFO [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/3d/567bdf42fb0c1c58ab6c4915877c3bf9f5cd62/content
> 22:58:49,813 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "jboss-as-richfaces-validation.war"
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.ConfigurableArchiveImpl' for service type 'org.jboss.shrinkwrap.spi.Configurable'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.GenericArchiveImpl' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=UNKNOWN' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.SerializableView'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.war' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.ZipSerializableView'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ExplodedImporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ExplodedExporter'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.ear' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.rar' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ZipExporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implClass=org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl' for service type 'org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver'
> 22:58:50,756 INFO [org.jboss.as.jpa] (MSC service thread 1-14) JBAS011401: Read persistence.xml for primary
> 22:58:50,828 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016002: Processing weld deployment jboss-as-richfaces-validation.war
> 22:58:50,923 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016005: Starting Services for CDI deployment: jboss-as-richfaces-validation.war
> 22:58:50,928 INFO [org.jboss.as.osgi] (MSC service thread 1-14) JBAS011907: Register module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:50,928 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:50,928 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011402: Starting Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:50,929 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 12) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:50,936 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 12) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:50,943 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 12) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:50,943 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 12) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:50,944 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 12) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:50,944 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 12) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:50,944 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 12) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:50,957 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:50,959 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:50,961 INFO [org.jboss.weld.deployer] (MSC service thread 1-13) JBAS016008: Starting weld service for deployment jboss-as-richfaces-validation.war
> 22:58:51,059 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra 2.1.11-jbossorg-2 20120731-1422 for context '/jboss-as-richfaces-validation'
> 22:58:52,157 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,160 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-as-richfaces-validation]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> Caused by: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> ... 8 more
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/jboss-as-richfaces-validation] startup failed due to previous errors
> 22:58:52,171 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC service thread 1-2) JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
> 22:58:52,172 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.NullPointerException
> at org.richfaces.application.CacheProvider.release(CacheProvider.java:96) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.release(ServicesFactoryImpl.java:18) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:132) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStop(InitializationListener.java:137) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:149) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:335) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,174 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./jboss-as-richfaces-validation: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,378 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011908: Unregister module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:52,380 INFO [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "jboss-as-richfaces-validation.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./jboss-as-richfaces-validation" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"jboss-as-richfaces-validation.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}
> 22:58:52,390 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016009: Stopping weld service for deployment jboss-as-richfaces-validation.war
> 22:58:52,393 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 16) JBAS011403: Stopping Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:52,394 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000227: Running hbm2ddl schema export
> 22:58:52,400 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000230: Schema export complete
> 22:58:52,405 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:52,440 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment jboss-as-richfaces-validation.war in 62ms
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JDF-92) Failure running richfaces-validation quickstart
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/JDF-92?page=com.atlassian.jira.plugin.sys... ]
Lukáš Fryč edited comment on JDF-92 at 8/15/12 12:29 PM:
---------------------------------------------------------
Interesting, both tests and deployment works for me with clean installation of AS 7.1.1.Final and [current HEAD of examples|https://github.com/jboss-jdf/jboss-as-quickstart/commit/73cd8acc...].
{code}
mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-default,-complex-dependencies,-requires-xts
{code}
But I got similar error when tried to upgrade to RichFaces {{4.2.2.Final}}:
{code}
18:11:06,465 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-7) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context '/jboss-as-richfaces-validation'
18:11:07,961 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-7) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:657) [guava-11.0.2.jar:]
at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:75) [guava-11.0.2.jar:]
at com.google.common.base.Splitter.on(Splitter.java:125) [guava-11.0.2.jar:]
at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar
{code}
We usually suggest declariting module dependency on {{com.google.guava}} instead of bundling {{guava}} JAR into WAR.
This obviously solves the problem.
was (Author: lfryc):
Interesting, both tests and deployment works for me with clean installation of AS 7.1.1.Final and [current HEAD of examples|https://github.com/jboss-jdf/jboss-as-quickstart/commit/73cd8acc...].
{code}
mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-default,-complex-dependencies,-requires-xts
{code}
But I got similar error when tried to upgrade to RichFaces {{4.2.2.Final}}:
{code}
18:11:06,465 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-7) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context '/jboss-as-richfaces-validation'
18:11:07,961 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-7) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:657) [guava-11.0.2.jar:]
at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:75) [guava-11.0.2.jar:]
at com.google.common.base.Splitter.on(Splitter.java:125) [guava-11.0.2.jar:]
at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar
{code}
We usually suggest declariting module dependency on {{com.google.guava}} instead of bundling {{guava}} dependency.
This obviously solves the problem.
> Failure running richfaces-validation quickstart
> -----------------------------------------------
>
> Key: JDF-92
> URL: https://issues.jboss.org/browse/JDF-92
> Project: JBoss Developer Framework
> Issue Type: Bug
> Reporter: Kabir Khan
> Assignee: Lukáš Fryč
>
> I am using the command from http://www.jboss.org/jdf/about/contributing/
> This first runs some tests which pass:
> {code}
> $mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-requires-full,-complex-dependencies,-requires-xts -pl richfaces-validation
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.jboss.as.quickstarts:jboss-as-wicket-war:war:7.1.2-SNAPSHOT
> [WARNING] The expression ${build.finalName} is deprecated. Please use ${project.build.finalName} instead.
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss AS Quickstarts: RichFaces Bean Validation 7.1.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jboss-as-richfaces-validation ---
> [INFO] Deleting /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 4 source files to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 1 source file to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ jboss-as-richfaces-validation ---
> [INFO] Surefire report directory: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.as.quickstarts.kitchensink.test.MemberValidationTest
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> Aug 14, 2012 10:58:36 PM org.jboss.arquillian.container.impl.MapObject populate
> WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.remote.RemoteContainerConfiguration
> Unused property entries: {jbossHome=/path/to/jboss/as}
> Supported property names: [managementPort, username, managementAddress, password]
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.578 sec
> Results :
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
> {code}
> Then due to the {code}jboss-as:deploy jboss-as:undeploy{code} targets it deploys the war which fails.
> {code}
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ jboss-as-richfaces-validation ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [jboss-as-richfaces-validation] in [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/src/main/webapp]
> [INFO] Webapp assembled in [134 msecs]
> [INFO] Building war: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-richfaces-validation ---
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.war
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/pom.xml to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.pom
> [INFO]
> [INFO] --- jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) @ jboss-as-richfaces-validation ---
> Aug 14, 2012 10:58:42 PM org.xnio.Xnio <clinit>
> INFO: XNIO Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.xnio.nio.NioXnio <clinit>
> INFO: XNIO NIO Implementation Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.jboss.remoting3.EndpointImpl <clinit>
> INFO: JBoss Remoting version 3.2.3.GA
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.684s
> [INFO] Finished at: Tue Aug 14 22:58:52 BST 2012
> [INFO] Final Memory: 28M/554M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project jboss-as-richfaces-validation: Deployment failed and was rolled back. -> [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/MojoExecutionException
> {code}
> Console output for the working test:
> {code}
> 22:58:38,077 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:38,088 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "test.war"
> 22:58:38,334 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for primary
> 22:58:38,399 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment test.war
> 22:58:38,494 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016005: Starting Services for CDI deployment: test.war
> 22:58:38,546 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900 1.1.9 (Final)
> 22:58:38,579 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011907: Register module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:38,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-9) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:38,590 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 15) JBAS011402: Starting Persistence Unit Service 'test.war#primary'
> 22:58:38,678 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 15) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 22:58:38,681 INFO [org.hibernate.Version] (ServerService Thread Pool -- 15) HHH000412: Hibernate Core {4.1.6.Final}
> 22:58:38,682 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000206: hibernate.properties not found
> 22:58:38,683 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000021: Bytecode provider name : javassist
> 22:58:38,695 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 15) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:38,803 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 15) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:38,997 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 15) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:39,000 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 15) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:39,002 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 15) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:39,008 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 15) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:39,011 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 15) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:39,033 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 15) Hibernate Validator 4.2.0.Final
> 22:58:39,275 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000227: Running hbm2ddl schema export
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:39,287 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000230: Schema export complete
> 22:58:39,311 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Starting weld service for deployment test.war
> 22:58:39,638 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /test
> 22:58:39,681 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018559: Deployed "test.war"
> 22:58:40,292 INFO [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011908: Unregister module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:40,314 INFO [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016009: Stopping weld service for deployment test.war
> 22:58:40,318 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011403: Stopping Persistence Unit Service 'test.war#primary'
> 22:58:40,318 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:40,321 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:40,327 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:40,340 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.war in 52ms
> 22:58:40,349 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:40,349 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018558: Undeployed "test.war"
> {code}
> Console output for the non-working deploy/undeploy part
> {code}
> 22:58:49,809 INFO [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/3d/567bdf42fb0c1c58ab6c4915877c3bf9f5cd62/content
> 22:58:49,813 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "jboss-as-richfaces-validation.war"
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.ConfigurableArchiveImpl' for service type 'org.jboss.shrinkwrap.spi.Configurable'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.GenericArchiveImpl' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=UNKNOWN' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.SerializableView'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.war' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.ZipSerializableView'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ExplodedImporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ExplodedExporter'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.ear' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.rar' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ZipExporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implClass=org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl' for service type 'org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver'
> 22:58:50,756 INFO [org.jboss.as.jpa] (MSC service thread 1-14) JBAS011401: Read persistence.xml for primary
> 22:58:50,828 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016002: Processing weld deployment jboss-as-richfaces-validation.war
> 22:58:50,923 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016005: Starting Services for CDI deployment: jboss-as-richfaces-validation.war
> 22:58:50,928 INFO [org.jboss.as.osgi] (MSC service thread 1-14) JBAS011907: Register module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:50,928 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:50,928 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011402: Starting Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:50,929 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 12) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:50,936 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 12) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:50,943 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 12) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:50,943 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 12) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:50,944 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 12) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:50,944 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 12) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:50,944 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 12) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:50,957 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:50,959 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:50,961 INFO [org.jboss.weld.deployer] (MSC service thread 1-13) JBAS016008: Starting weld service for deployment jboss-as-richfaces-validation.war
> 22:58:51,059 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra 2.1.11-jbossorg-2 20120731-1422 for context '/jboss-as-richfaces-validation'
> 22:58:52,157 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,160 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-as-richfaces-validation]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> Caused by: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> ... 8 more
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/jboss-as-richfaces-validation] startup failed due to previous errors
> 22:58:52,171 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC service thread 1-2) JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
> 22:58:52,172 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.NullPointerException
> at org.richfaces.application.CacheProvider.release(CacheProvider.java:96) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.release(ServicesFactoryImpl.java:18) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:132) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStop(InitializationListener.java:137) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:149) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:335) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,174 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./jboss-as-richfaces-validation: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,378 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011908: Unregister module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:52,380 INFO [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "jboss-as-richfaces-validation.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./jboss-as-richfaces-validation" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"jboss-as-richfaces-validation.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}
> 22:58:52,390 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016009: Stopping weld service for deployment jboss-as-richfaces-validation.war
> 22:58:52,393 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 16) JBAS011403: Stopping Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:52,394 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000227: Running hbm2ddl schema export
> 22:58:52,400 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000230: Schema export complete
> 22:58:52,405 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:52,440 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment jboss-as-richfaces-validation.war in 62ms
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JDF-92) Failure running richfaces-validation quickstart
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/JDF-92?page=com.atlassian.jira.plugin.sys... ]
Lukáš Fryč commented on JDF-92:
-------------------------------
Interesting, both tests and deployment works for me with clean installation of AS 7.1.1.Final and [current HEAD of examples|https://github.com/jboss-jdf/jboss-as-quickstart/commit/73cd8acc...].
{code}
mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-default,-complex-dependencies,-requires-xts
{code}
But I got similar error when tried to upgrade to RichFaces {{4.2.2.Final}}:
{code}
18:11:06,465 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-7) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context '/jboss-as-richfaces-validation'
18:11:07,961 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-7) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:657) [guava-11.0.2.jar:]
at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:75) [guava-11.0.2.jar:]
at com.google.common.base.Splitter.on(Splitter.java:125) [guava-11.0.2.jar:]
at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.2.Final.jar:4.2.2.Final]
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar
{code}
We usually suggest declariting module dependency on {{com.google.guava}} instead of bundling {{guava}} dependency.
This obviously solves the problem.
> Failure running richfaces-validation quickstart
> -----------------------------------------------
>
> Key: JDF-92
> URL: https://issues.jboss.org/browse/JDF-92
> Project: JBoss Developer Framework
> Issue Type: Bug
> Reporter: Kabir Khan
> Assignee: Lukáš Fryč
>
> I am using the command from http://www.jboss.org/jdf/about/contributing/
> This first runs some tests which pass:
> {code}
> $mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-requires-full,-complex-dependencies,-requires-xts -pl richfaces-validation
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.jboss.as.quickstarts:jboss-as-wicket-war:war:7.1.2-SNAPSHOT
> [WARNING] The expression ${build.finalName} is deprecated. Please use ${project.build.finalName} instead.
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss AS Quickstarts: RichFaces Bean Validation 7.1.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jboss-as-richfaces-validation ---
> [INFO] Deleting /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 4 source files to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 1 source file to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ jboss-as-richfaces-validation ---
> [INFO] Surefire report directory: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.as.quickstarts.kitchensink.test.MemberValidationTest
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> Aug 14, 2012 10:58:36 PM org.jboss.arquillian.container.impl.MapObject populate
> WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.remote.RemoteContainerConfiguration
> Unused property entries: {jbossHome=/path/to/jboss/as}
> Supported property names: [managementPort, username, managementAddress, password]
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.578 sec
> Results :
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
> {code}
> Then due to the {code}jboss-as:deploy jboss-as:undeploy{code} targets it deploys the war which fails.
> {code}
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ jboss-as-richfaces-validation ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [jboss-as-richfaces-validation] in [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/src/main/webapp]
> [INFO] Webapp assembled in [134 msecs]
> [INFO] Building war: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-richfaces-validation ---
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.war
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/pom.xml to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.pom
> [INFO]
> [INFO] --- jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) @ jboss-as-richfaces-validation ---
> Aug 14, 2012 10:58:42 PM org.xnio.Xnio <clinit>
> INFO: XNIO Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.xnio.nio.NioXnio <clinit>
> INFO: XNIO NIO Implementation Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.jboss.remoting3.EndpointImpl <clinit>
> INFO: JBoss Remoting version 3.2.3.GA
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.684s
> [INFO] Finished at: Tue Aug 14 22:58:52 BST 2012
> [INFO] Final Memory: 28M/554M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project jboss-as-richfaces-validation: Deployment failed and was rolled back. -> [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/MojoExecutionException
> {code}
> Console output for the working test:
> {code}
> 22:58:38,077 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:38,088 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "test.war"
> 22:58:38,334 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for primary
> 22:58:38,399 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment test.war
> 22:58:38,494 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016005: Starting Services for CDI deployment: test.war
> 22:58:38,546 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900 1.1.9 (Final)
> 22:58:38,579 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011907: Register module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:38,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-9) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:38,590 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 15) JBAS011402: Starting Persistence Unit Service 'test.war#primary'
> 22:58:38,678 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 15) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 22:58:38,681 INFO [org.hibernate.Version] (ServerService Thread Pool -- 15) HHH000412: Hibernate Core {4.1.6.Final}
> 22:58:38,682 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000206: hibernate.properties not found
> 22:58:38,683 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000021: Bytecode provider name : javassist
> 22:58:38,695 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 15) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:38,803 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 15) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:38,997 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 15) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:39,000 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 15) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:39,002 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 15) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:39,008 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 15) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:39,011 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 15) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:39,033 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 15) Hibernate Validator 4.2.0.Final
> 22:58:39,275 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000227: Running hbm2ddl schema export
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:39,287 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000230: Schema export complete
> 22:58:39,311 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Starting weld service for deployment test.war
> 22:58:39,638 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /test
> 22:58:39,681 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018559: Deployed "test.war"
> 22:58:40,292 INFO [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011908: Unregister module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:40,314 INFO [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016009: Stopping weld service for deployment test.war
> 22:58:40,318 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011403: Stopping Persistence Unit Service 'test.war#primary'
> 22:58:40,318 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:40,321 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:40,327 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:40,340 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.war in 52ms
> 22:58:40,349 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:40,349 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018558: Undeployed "test.war"
> {code}
> Console output for the non-working deploy/undeploy part
> {code}
> 22:58:49,809 INFO [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/3d/567bdf42fb0c1c58ab6c4915877c3bf9f5cd62/content
> 22:58:49,813 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "jboss-as-richfaces-validation.war"
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.ConfigurableArchiveImpl' for service type 'org.jboss.shrinkwrap.spi.Configurable'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.GenericArchiveImpl' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=UNKNOWN' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.SerializableView'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.war' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.ZipSerializableView'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ExplodedImporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ExplodedExporter'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.ear' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.rar' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ZipExporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implClass=org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl' for service type 'org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver'
> 22:58:50,756 INFO [org.jboss.as.jpa] (MSC service thread 1-14) JBAS011401: Read persistence.xml for primary
> 22:58:50,828 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016002: Processing weld deployment jboss-as-richfaces-validation.war
> 22:58:50,923 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016005: Starting Services for CDI deployment: jboss-as-richfaces-validation.war
> 22:58:50,928 INFO [org.jboss.as.osgi] (MSC service thread 1-14) JBAS011907: Register module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:50,928 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:50,928 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011402: Starting Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:50,929 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 12) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:50,936 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 12) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:50,943 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 12) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:50,943 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 12) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:50,944 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 12) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:50,944 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 12) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:50,944 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 12) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:50,957 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:50,959 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:50,961 INFO [org.jboss.weld.deployer] (MSC service thread 1-13) JBAS016008: Starting weld service for deployment jboss-as-richfaces-validation.war
> 22:58:51,059 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra 2.1.11-jbossorg-2 20120731-1422 for context '/jboss-as-richfaces-validation'
> 22:58:52,157 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,160 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-as-richfaces-validation]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> Caused by: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> ... 8 more
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/jboss-as-richfaces-validation] startup failed due to previous errors
> 22:58:52,171 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC service thread 1-2) JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
> 22:58:52,172 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.NullPointerException
> at org.richfaces.application.CacheProvider.release(CacheProvider.java:96) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.release(ServicesFactoryImpl.java:18) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:132) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStop(InitializationListener.java:137) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:149) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:335) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,174 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./jboss-as-richfaces-validation: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,378 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011908: Unregister module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:52,380 INFO [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "jboss-as-richfaces-validation.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./jboss-as-richfaces-validation" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"jboss-as-richfaces-validation.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}
> 22:58:52,390 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016009: Stopping weld service for deployment jboss-as-richfaces-validation.war
> 22:58:52,393 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 16) JBAS011403: Stopping Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:52,394 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000227: Running hbm2ddl schema export
> 22:58:52,400 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000230: Schema export complete
> 22:58:52,405 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:52,440 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment jboss-as-richfaces-validation.war in 62ms
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JDF-92) Failure running richfaces-validation quickstart
by Marek Novotny (JIRA)
[ https://issues.jboss.org/browse/JDF-92?page=com.atlassian.jira.plugin.sys... ]
Marek Novotny commented on JDF-92:
----------------------------------
Just went randomly through this jira issue. I saw similar issue - https://issues.jboss.org/browse/SHRINKRES-33, which is originally about wrong maven artifact scopes in org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:1.0.0-beta-6 used by Arquillian BOM. As this issue seems that has got a relation to launching tests before deployment, it should be related.
> Failure running richfaces-validation quickstart
> -----------------------------------------------
>
> Key: JDF-92
> URL: https://issues.jboss.org/browse/JDF-92
> Project: JBoss Developer Framework
> Issue Type: Bug
> Reporter: Kabir Khan
> Assignee: Lukáš Fryč
>
> I am using the command from http://www.jboss.org/jdf/about/contributing/
> This first runs some tests which pass:
> {code}
> $mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-requires-full,-complex-dependencies,-requires-xts -pl richfaces-validation
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.jboss.as.quickstarts:jboss-as-wicket-war:war:7.1.2-SNAPSHOT
> [WARNING] The expression ${build.finalName} is deprecated. Please use ${project.build.finalName} instead.
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss AS Quickstarts: RichFaces Bean Validation 7.1.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jboss-as-richfaces-validation ---
> [INFO] Deleting /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 4 source files to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 1 source file to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ jboss-as-richfaces-validation ---
> [INFO] Surefire report directory: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.as.quickstarts.kitchensink.test.MemberValidationTest
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> Aug 14, 2012 10:58:36 PM org.jboss.arquillian.container.impl.MapObject populate
> WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.remote.RemoteContainerConfiguration
> Unused property entries: {jbossHome=/path/to/jboss/as}
> Supported property names: [managementPort, username, managementAddress, password]
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.578 sec
> Results :
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
> {code}
> Then due to the {code}jboss-as:deploy jboss-as:undeploy{code} targets it deploys the war which fails.
> {code}
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ jboss-as-richfaces-validation ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [jboss-as-richfaces-validation] in [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/src/main/webapp]
> [INFO] Webapp assembled in [134 msecs]
> [INFO] Building war: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-richfaces-validation ---
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.war
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/pom.xml to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.pom
> [INFO]
> [INFO] --- jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) @ jboss-as-richfaces-validation ---
> Aug 14, 2012 10:58:42 PM org.xnio.Xnio <clinit>
> INFO: XNIO Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.xnio.nio.NioXnio <clinit>
> INFO: XNIO NIO Implementation Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.jboss.remoting3.EndpointImpl <clinit>
> INFO: JBoss Remoting version 3.2.3.GA
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.684s
> [INFO] Finished at: Tue Aug 14 22:58:52 BST 2012
> [INFO] Final Memory: 28M/554M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project jboss-as-richfaces-validation: Deployment failed and was rolled back. -> [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/MojoExecutionException
> {code}
> Console output for the working test:
> {code}
> 22:58:38,077 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:38,088 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "test.war"
> 22:58:38,334 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for primary
> 22:58:38,399 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment test.war
> 22:58:38,494 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016005: Starting Services for CDI deployment: test.war
> 22:58:38,546 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900 1.1.9 (Final)
> 22:58:38,579 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011907: Register module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:38,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-9) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:38,590 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 15) JBAS011402: Starting Persistence Unit Service 'test.war#primary'
> 22:58:38,678 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 15) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 22:58:38,681 INFO [org.hibernate.Version] (ServerService Thread Pool -- 15) HHH000412: Hibernate Core {4.1.6.Final}
> 22:58:38,682 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000206: hibernate.properties not found
> 22:58:38,683 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000021: Bytecode provider name : javassist
> 22:58:38,695 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 15) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:38,803 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 15) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:38,997 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 15) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:39,000 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 15) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:39,002 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 15) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:39,008 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 15) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:39,011 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 15) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:39,033 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 15) Hibernate Validator 4.2.0.Final
> 22:58:39,275 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000227: Running hbm2ddl schema export
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:39,287 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000230: Schema export complete
> 22:58:39,311 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Starting weld service for deployment test.war
> 22:58:39,638 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /test
> 22:58:39,681 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018559: Deployed "test.war"
> 22:58:40,292 INFO [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011908: Unregister module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:40,314 INFO [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016009: Stopping weld service for deployment test.war
> 22:58:40,318 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011403: Stopping Persistence Unit Service 'test.war#primary'
> 22:58:40,318 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:40,321 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:40,327 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:40,340 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.war in 52ms
> 22:58:40,349 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:40,349 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018558: Undeployed "test.war"
> {code}
> Console output for the non-working deploy/undeploy part
> {code}
> 22:58:49,809 INFO [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/3d/567bdf42fb0c1c58ab6c4915877c3bf9f5cd62/content
> 22:58:49,813 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "jboss-as-richfaces-validation.war"
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.ConfigurableArchiveImpl' for service type 'org.jboss.shrinkwrap.spi.Configurable'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.GenericArchiveImpl' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=UNKNOWN' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.SerializableView'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.war' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.ZipSerializableView'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ExplodedImporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ExplodedExporter'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.ear' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.rar' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ZipExporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implClass=org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl' for service type 'org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver'
> 22:58:50,756 INFO [org.jboss.as.jpa] (MSC service thread 1-14) JBAS011401: Read persistence.xml for primary
> 22:58:50,828 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016002: Processing weld deployment jboss-as-richfaces-validation.war
> 22:58:50,923 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016005: Starting Services for CDI deployment: jboss-as-richfaces-validation.war
> 22:58:50,928 INFO [org.jboss.as.osgi] (MSC service thread 1-14) JBAS011907: Register module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:50,928 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:50,928 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011402: Starting Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:50,929 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 12) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:50,936 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 12) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:50,943 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 12) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:50,943 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 12) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:50,944 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 12) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:50,944 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 12) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:50,944 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 12) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:50,957 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:50,959 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:50,961 INFO [org.jboss.weld.deployer] (MSC service thread 1-13) JBAS016008: Starting weld service for deployment jboss-as-richfaces-validation.war
> 22:58:51,059 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra 2.1.11-jbossorg-2 20120731-1422 for context '/jboss-as-richfaces-validation'
> 22:58:52,157 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,160 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-as-richfaces-validation]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> Caused by: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> ... 8 more
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/jboss-as-richfaces-validation] startup failed due to previous errors
> 22:58:52,171 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC service thread 1-2) JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
> 22:58:52,172 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.NullPointerException
> at org.richfaces.application.CacheProvider.release(CacheProvider.java:96) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.release(ServicesFactoryImpl.java:18) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:132) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStop(InitializationListener.java:137) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:149) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:335) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,174 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./jboss-as-richfaces-validation: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,378 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011908: Unregister module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:52,380 INFO [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "jboss-as-richfaces-validation.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./jboss-as-richfaces-validation" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"jboss-as-richfaces-validation.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}
> 22:58:52,390 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016009: Stopping weld service for deployment jboss-as-richfaces-validation.war
> 22:58:52,393 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 16) JBAS011403: Stopping Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:52,394 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000227: Running hbm2ddl schema export
> 22:58:52,400 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000230: Schema export complete
> 22:58:52,405 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:52,440 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment jboss-as-richfaces-validation.war in 62ms
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JDF-92) Failure running richfaces-validation quickstart
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/JDF-92?page=com.atlassian.jira.plugin.sys... ]
Pete Muir reassigned JDF-92:
----------------------------
Assignee: Lukáš Fryč
Lukas, can you take a look at this one?
> Failure running richfaces-validation quickstart
> -----------------------------------------------
>
> Key: JDF-92
> URL: https://issues.jboss.org/browse/JDF-92
> Project: JBoss Developer Framework
> Issue Type: Bug
> Reporter: Kabir Khan
> Assignee: Lukáš Fryč
>
> I am using the command from http://www.jboss.org/jdf/about/contributing/
> This first runs some tests which pass:
> {code}
> $mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-requires-full,-complex-dependencies,-requires-xts -pl richfaces-validation
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.jboss.as.quickstarts:jboss-as-wicket-war:war:7.1.2-SNAPSHOT
> [WARNING] The expression ${build.finalName} is deprecated. Please use ${project.build.finalName} instead.
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss AS Quickstarts: RichFaces Bean Validation 7.1.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jboss-as-richfaces-validation ---
> [INFO] Deleting /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 4 source files to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 1 source file to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ jboss-as-richfaces-validation ---
> [INFO] Surefire report directory: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.as.quickstarts.kitchensink.test.MemberValidationTest
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> Aug 14, 2012 10:58:36 PM org.jboss.arquillian.container.impl.MapObject populate
> WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.remote.RemoteContainerConfiguration
> Unused property entries: {jbossHome=/path/to/jboss/as}
> Supported property names: [managementPort, username, managementAddress, password]
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.578 sec
> Results :
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
> {code}
> Then due to the {code}jboss-as:deploy jboss-as:undeploy{code} targets it deploys the war which fails.
> {code}
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ jboss-as-richfaces-validation ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [jboss-as-richfaces-validation] in [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/src/main/webapp]
> [INFO] Webapp assembled in [134 msecs]
> [INFO] Building war: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-richfaces-validation ---
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.war
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/pom.xml to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.pom
> [INFO]
> [INFO] --- jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) @ jboss-as-richfaces-validation ---
> Aug 14, 2012 10:58:42 PM org.xnio.Xnio <clinit>
> INFO: XNIO Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.xnio.nio.NioXnio <clinit>
> INFO: XNIO NIO Implementation Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.jboss.remoting3.EndpointImpl <clinit>
> INFO: JBoss Remoting version 3.2.3.GA
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.684s
> [INFO] Finished at: Tue Aug 14 22:58:52 BST 2012
> [INFO] Final Memory: 28M/554M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project jboss-as-richfaces-validation: Deployment failed and was rolled back. -> [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/MojoExecutionException
> {code}
> Console output for the working test:
> {code}
> 22:58:38,077 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:38,088 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "test.war"
> 22:58:38,334 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for primary
> 22:58:38,399 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment test.war
> 22:58:38,494 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016005: Starting Services for CDI deployment: test.war
> 22:58:38,546 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900 1.1.9 (Final)
> 22:58:38,579 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011907: Register module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:38,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-9) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:38,590 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 15) JBAS011402: Starting Persistence Unit Service 'test.war#primary'
> 22:58:38,678 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 15) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 22:58:38,681 INFO [org.hibernate.Version] (ServerService Thread Pool -- 15) HHH000412: Hibernate Core {4.1.6.Final}
> 22:58:38,682 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000206: hibernate.properties not found
> 22:58:38,683 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000021: Bytecode provider name : javassist
> 22:58:38,695 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 15) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:38,803 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 15) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:38,997 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 15) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:39,000 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 15) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:39,002 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 15) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:39,008 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 15) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:39,011 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 15) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:39,033 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 15) Hibernate Validator 4.2.0.Final
> 22:58:39,275 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000227: Running hbm2ddl schema export
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:39,287 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000230: Schema export complete
> 22:58:39,311 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Starting weld service for deployment test.war
> 22:58:39,638 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /test
> 22:58:39,681 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018559: Deployed "test.war"
> 22:58:40,292 INFO [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011908: Unregister module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:40,314 INFO [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016009: Stopping weld service for deployment test.war
> 22:58:40,318 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011403: Stopping Persistence Unit Service 'test.war#primary'
> 22:58:40,318 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:40,321 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:40,327 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:40,340 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.war in 52ms
> 22:58:40,349 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:40,349 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018558: Undeployed "test.war"
> {code}
> Console output for the non-working deploy/undeploy part
> {code}
> 22:58:49,809 INFO [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/3d/567bdf42fb0c1c58ab6c4915877c3bf9f5cd62/content
> 22:58:49,813 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "jboss-as-richfaces-validation.war"
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.ConfigurableArchiveImpl' for service type 'org.jboss.shrinkwrap.spi.Configurable'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.GenericArchiveImpl' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=UNKNOWN' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.SerializableView'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.war' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.ZipSerializableView'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ExplodedImporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ExplodedExporter'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.ear' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.rar' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ZipExporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implClass=org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl' for service type 'org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver'
> 22:58:50,756 INFO [org.jboss.as.jpa] (MSC service thread 1-14) JBAS011401: Read persistence.xml for primary
> 22:58:50,828 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016002: Processing weld deployment jboss-as-richfaces-validation.war
> 22:58:50,923 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016005: Starting Services for CDI deployment: jboss-as-richfaces-validation.war
> 22:58:50,928 INFO [org.jboss.as.osgi] (MSC service thread 1-14) JBAS011907: Register module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:50,928 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:50,928 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011402: Starting Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:50,929 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 12) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:50,936 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 12) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:50,943 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 12) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:50,943 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 12) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:50,944 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 12) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:50,944 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 12) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:50,944 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 12) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:50,957 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:50,959 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:50,961 INFO [org.jboss.weld.deployer] (MSC service thread 1-13) JBAS016008: Starting weld service for deployment jboss-as-richfaces-validation.war
> 22:58:51,059 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra 2.1.11-jbossorg-2 20120731-1422 for context '/jboss-as-richfaces-validation'
> 22:58:52,157 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,160 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-as-richfaces-validation]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> Caused by: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> ... 8 more
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/jboss-as-richfaces-validation] startup failed due to previous errors
> 22:58:52,171 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC service thread 1-2) JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
> 22:58:52,172 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.NullPointerException
> at org.richfaces.application.CacheProvider.release(CacheProvider.java:96) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.release(ServicesFactoryImpl.java:18) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:132) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStop(InitializationListener.java:137) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:149) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:335) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,174 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./jboss-as-richfaces-validation: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,378 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011908: Unregister module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:52,380 INFO [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "jboss-as-richfaces-validation.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./jboss-as-richfaces-validation" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"jboss-as-richfaces-validation.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}
> 22:58:52,390 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016009: Stopping weld service for deployment jboss-as-richfaces-validation.war
> 22:58:52,393 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 16) JBAS011403: Stopping Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:52,394 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000227: Running hbm2ddl schema export
> 22:58:52,400 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000230: Schema export complete
> 22:58:52,405 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:52,440 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment jboss-as-richfaces-validation.war in 62ms
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JDF-92) Failure running richfaces-validation quickstart
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/JDF-92?page=com.atlassian.jira.plugin.sys... ]
Pete Muir moved AS7-5371 to JDF-92:
-----------------------------------
Project: JBoss Developer Framework (was: Application Server 7)
Key: JDF-92 (was: AS7-5371)
Issue Type: Bug (was: Feature Request)
Assignee: (was: Brian Leathem)
> Failure running richfaces-validation quickstart
> -----------------------------------------------
>
> Key: JDF-92
> URL: https://issues.jboss.org/browse/JDF-92
> Project: JBoss Developer Framework
> Issue Type: Bug
> Reporter: Kabir Khan
>
> I am using the command from http://www.jboss.org/jdf/about/contributing/
> This first runs some tests which pass:
> {code}
> $mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-requires-full,-complex-dependencies,-requires-xts -pl richfaces-validation
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.jboss.as.quickstarts:jboss-as-wicket-war:war:7.1.2-SNAPSHOT
> [WARNING] The expression ${build.finalName} is deprecated. Please use ${project.build.finalName} instead.
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss AS Quickstarts: RichFaces Bean Validation 7.1.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jboss-as-richfaces-validation ---
> [INFO] Deleting /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 4 source files to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 1 source file to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ jboss-as-richfaces-validation ---
> [INFO] Surefire report directory: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.as.quickstarts.kitchensink.test.MemberValidationTest
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> Aug 14, 2012 10:58:36 PM org.jboss.arquillian.container.impl.MapObject populate
> WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.remote.RemoteContainerConfiguration
> Unused property entries: {jbossHome=/path/to/jboss/as}
> Supported property names: [managementPort, username, managementAddress, password]
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.578 sec
> Results :
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
> {code}
> Then due to the {code}jboss-as:deploy jboss-as:undeploy{code} targets it deploys the war which fails.
> {code}
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ jboss-as-richfaces-validation ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [jboss-as-richfaces-validation] in [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/src/main/webapp]
> [INFO] Webapp assembled in [134 msecs]
> [INFO] Building war: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-richfaces-validation ---
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.war
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/pom.xml to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.pom
> [INFO]
> [INFO] --- jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) @ jboss-as-richfaces-validation ---
> Aug 14, 2012 10:58:42 PM org.xnio.Xnio <clinit>
> INFO: XNIO Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.xnio.nio.NioXnio <clinit>
> INFO: XNIO NIO Implementation Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.jboss.remoting3.EndpointImpl <clinit>
> INFO: JBoss Remoting version 3.2.3.GA
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.684s
> [INFO] Finished at: Tue Aug 14 22:58:52 BST 2012
> [INFO] Final Memory: 28M/554M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project jboss-as-richfaces-validation: Deployment failed and was rolled back. -> [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/MojoExecutionException
> {code}
> Console output for the working test:
> {code}
> 22:58:38,077 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:38,088 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "test.war"
> 22:58:38,334 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for primary
> 22:58:38,399 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment test.war
> 22:58:38,494 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016005: Starting Services for CDI deployment: test.war
> 22:58:38,546 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900 1.1.9 (Final)
> 22:58:38,579 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011907: Register module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:38,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-9) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:38,590 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 15) JBAS011402: Starting Persistence Unit Service 'test.war#primary'
> 22:58:38,678 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 15) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 22:58:38,681 INFO [org.hibernate.Version] (ServerService Thread Pool -- 15) HHH000412: Hibernate Core {4.1.6.Final}
> 22:58:38,682 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000206: hibernate.properties not found
> 22:58:38,683 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000021: Bytecode provider name : javassist
> 22:58:38,695 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 15) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:38,803 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 15) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:38,997 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 15) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:39,000 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 15) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:39,002 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 15) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:39,008 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 15) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:39,011 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 15) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:39,033 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 15) Hibernate Validator 4.2.0.Final
> 22:58:39,275 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000227: Running hbm2ddl schema export
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:39,287 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000230: Schema export complete
> 22:58:39,311 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Starting weld service for deployment test.war
> 22:58:39,638 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /test
> 22:58:39,681 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018559: Deployed "test.war"
> 22:58:40,292 INFO [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011908: Unregister module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:40,314 INFO [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016009: Stopping weld service for deployment test.war
> 22:58:40,318 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011403: Stopping Persistence Unit Service 'test.war#primary'
> 22:58:40,318 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:40,321 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:40,327 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:40,340 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.war in 52ms
> 22:58:40,349 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:40,349 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018558: Undeployed "test.war"
> {code}
> Console output for the non-working deploy/undeploy part
> {code}
> 22:58:49,809 INFO [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/3d/567bdf42fb0c1c58ab6c4915877c3bf9f5cd62/content
> 22:58:49,813 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "jboss-as-richfaces-validation.war"
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.ConfigurableArchiveImpl' for service type 'org.jboss.shrinkwrap.spi.Configurable'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.GenericArchiveImpl' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=UNKNOWN' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.SerializableView'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.war' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.ZipSerializableView'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ExplodedImporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ExplodedExporter'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.ear' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.rar' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ZipExporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implClass=org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl' for service type 'org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver'
> 22:58:50,756 INFO [org.jboss.as.jpa] (MSC service thread 1-14) JBAS011401: Read persistence.xml for primary
> 22:58:50,828 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016002: Processing weld deployment jboss-as-richfaces-validation.war
> 22:58:50,923 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016005: Starting Services for CDI deployment: jboss-as-richfaces-validation.war
> 22:58:50,928 INFO [org.jboss.as.osgi] (MSC service thread 1-14) JBAS011907: Register module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:50,928 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:50,928 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011402: Starting Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:50,929 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 12) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:50,936 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 12) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:50,943 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 12) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:50,943 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 12) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:50,944 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 12) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:50,944 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 12) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:50,944 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 12) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:50,957 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:50,959 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:50,961 INFO [org.jboss.weld.deployer] (MSC service thread 1-13) JBAS016008: Starting weld service for deployment jboss-as-richfaces-validation.war
> 22:58:51,059 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra 2.1.11-jbossorg-2 20120731-1422 for context '/jboss-as-richfaces-validation'
> 22:58:52,157 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,160 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-as-richfaces-validation]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> Caused by: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> ... 8 more
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/jboss-as-richfaces-validation] startup failed due to previous errors
> 22:58:52,171 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC service thread 1-2) JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
> 22:58:52,172 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.NullPointerException
> at org.richfaces.application.CacheProvider.release(CacheProvider.java:96) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.release(ServicesFactoryImpl.java:18) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:132) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStop(InitializationListener.java:137) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:149) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:335) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,174 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./jboss-as-richfaces-validation: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,378 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011908: Unregister module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:52,380 INFO [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "jboss-as-richfaces-validation.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./jboss-as-richfaces-validation" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"jboss-as-richfaces-validation.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}
> 22:58:52,390 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016009: Stopping weld service for deployment jboss-as-richfaces-validation.war
> 22:58:52,393 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 16) JBAS011403: Stopping Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:52,394 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000227: Running hbm2ddl schema export
> 22:58:52,400 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000230: Schema export complete
> 22:58:52,405 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:52,440 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment jboss-as-richfaces-validation.war in 62ms
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (JDF-91) Failure running richfaces-validation quickstart
by Pete Muir (JIRA)
[ https://issues.jboss.org/browse/JDF-91?page=com.atlassian.jira.plugin.sys... ]
Pete Muir moved AS7-5370 to JDF-91:
-----------------------------------
Project: JBoss Developer Framework (was: Application Server 7)
Key: JDF-91 (was: AS7-5370)
Component/s: (was: JSF)
Fix Version/s: (was: 7.1.3.Final (EAP))
> Failure running richfaces-validation quickstart
> -----------------------------------------------
>
> Key: JDF-91
> URL: https://issues.jboss.org/browse/JDF-91
> Project: JBoss Developer Framework
> Issue Type: Feature Request
> Reporter: Kabir Khan
> Assignee: Pete Muir
>
> I am using the command from http://www.jboss.org/jdf/about/contributing/
> This first runs some tests which pass:
> {code}
> $mvn clean install jboss-as:deploy jboss-as:undeploy -Parq-jbossas-remote -P-requires-postgres,-requires-full,-complex-dependencies,-requires-xts -pl richfaces-validation
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.jboss.as.quickstarts:jboss-as-wicket-war:war:7.1.2-SNAPSHOT
> [WARNING] The expression ${build.finalName} is deprecated. Please use ${project.build.finalName} instead.
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss AS Quickstarts: RichFaces Bean Validation 7.1.2-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jboss-as-richfaces-validation ---
> [INFO] Deleting /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 4 source files to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-richfaces-validation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ jboss-as-richfaces-validation ---
> [INFO] Compiling 1 source file to /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ jboss-as-richfaces-validation ---
> [INFO] Surefire report directory: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.as.quickstarts.kitchensink.test.MemberValidationTest
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
> Aug 14, 2012 10:58:36 PM org.jboss.arquillian.container.impl.MapObject populate
> WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.remote.RemoteContainerConfiguration
> Unused property entries: {jbossHome=/path/to/jboss/as}
> Supported property names: [managementPort, username, managementAddress, password]
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.578 sec
> Results :
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
> {code}
> Then due to the {code}jboss-as:deploy jboss-as:undeploy{code} targets it deploys the war which fails.
> {code}
> [INFO]
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ jboss-as-richfaces-validation ---
> [INFO] Packaging webapp
> [INFO] Assembling webapp [jboss-as-richfaces-validation] in [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation]
> [INFO] Processing war project
> [INFO] Copying webapp resources [/Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/src/main/webapp]
> [INFO] Webapp assembled in [134 msecs]
> [INFO] Building war: /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jboss-as-richfaces-validation ---
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/target/jboss-as-richfaces-validation.war to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.war
> [INFO] Installing /Users/kabir/sourcecontrol/jboss-as-quickstart/richfaces-validation/pom.xml to /Users/kabir/.m2/repository/org/jboss/as/quickstarts/jboss-as-richfaces-validation/7.1.2-SNAPSHOT/jboss-as-richfaces-validation-7.1.2-SNAPSHOT.pom
> [INFO]
> [INFO] --- jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) @ jboss-as-richfaces-validation ---
> Aug 14, 2012 10:58:42 PM org.xnio.Xnio <clinit>
> INFO: XNIO Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.xnio.nio.NioXnio <clinit>
> INFO: XNIO NIO Implementation Version 3.0.3.GA
> Aug 14, 2012 10:58:42 PM org.jboss.remoting3.EndpointImpl <clinit>
> INFO: JBoss Remoting version 3.2.3.GA
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.684s
> [INFO] Finished at: Tue Aug 14 22:58:52 BST 2012
> [INFO] Final Memory: 28M/554M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.1.Final:deploy (default-cli) on project jboss-as-richfaces-validation: Deployment failed and was rolled back. -> [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/MojoExecutionException
> {code}
> Console output for the working test:
> {code}
> 22:58:38,077 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:38,088 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "test.war"
> 22:58:38,334 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for primary
> 22:58:38,399 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment test.war
> 22:58:38,494 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016005: Starting Services for CDI deployment: test.war
> 22:58:38,546 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900 1.1.9 (Final)
> 22:58:38,579 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011907: Register module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:38,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-9) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:38,590 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 15) JBAS011402: Starting Persistence Unit Service 'test.war#primary'
> 22:58:38,678 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 15) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
> 22:58:38,681 INFO [org.hibernate.Version] (ServerService Thread Pool -- 15) HHH000412: Hibernate Core {4.1.6.Final}
> 22:58:38,682 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000206: hibernate.properties not found
> 22:58:38,683 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 15) HHH000021: Bytecode provider name : javassist
> 22:58:38,695 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 15) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:38,803 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 15) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:38,997 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 15) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:39,000 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 15) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:39,002 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 15) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:39,008 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 15) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:39,011 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 15) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:39,033 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 15) Hibernate Validator 4.2.0.Final
> 22:58:39,275 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000227: Running hbm2ddl schema export
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:39,284 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:39,287 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 15) HHH000230: Schema export complete
> 22:58:39,311 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016008: Starting weld service for deployment test.war
> 22:58:39,638 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /test
> 22:58:39,681 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018559: Deployed "test.war"
> 22:58:40,292 INFO [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011908: Unregister module: Module "deployment.test.war:main" from Service Module Loader
> 22:58:40,314 INFO [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016009: Stopping weld service for deployment test.war
> 22:58:40,318 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011403: Stopping Persistence Unit Service 'test.war#primary'
> 22:58:40,318 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:40,321 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:40,327 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-12) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartTestDS]
> 22:58:40,340 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.war in 52ms
> 22:58:40,349 INFO [org.jboss.as.repository] (management-handler-thread - 2) JBAS014901: Content removed from location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/e7/1e9febf0d1c3b14649d1cb28241c056e3c5c80/content
> 22:58:40,349 INFO [org.jboss.as.server] (management-handler-thread - 2) JBAS018558: Undeployed "test.war"
> {code}
> Console output for the non-working deploy/undeploy part
> {code}
> 22:58:49,809 INFO [org.jboss.as.repository] (management-handler-thread - 4) JBAS014900: Content added at location /Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/standalone/data/content/3d/567bdf42fb0c1c58ab6c4915877c3bf9f5cd62/content
> 22:58:49,813 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "jboss-as-richfaces-validation.war"
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.ConfigurableArchiveImpl' for service type 'org.jboss.shrinkwrap.spi.Configurable'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.GenericArchiveImpl' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,657 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=UNKNOWN' for service type 'org.jboss.shrinkwrap.api.GenericArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.SerializableView'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.JavaArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.JavaArchive'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,658 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.exporter.TarExporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.zip.ZipImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.jar' for service type 'org.jboss.shrinkwrap.api.importer.ZipImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar' for service type 'org.jboss.shrinkwrap.api.importer.TarImporter'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.WebArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,659 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.war' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.WebArchive'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.exporter.TarGzExporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl' for service type 'org.jboss.shrinkwrap.api.serialization.ZipSerializableView'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.ExplodedImporter'
> 22:58:50,660 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ExplodedExporter'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.ear' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.EnterpriseArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.rar' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'archiveFormat=ZIP' for service type 'org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive'
> 22:58:50,661 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'extension=.tar.gz' for service type 'org.jboss.shrinkwrap.api.importer.TarGzImporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implementingClassName=org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl' for service type 'org.jboss.shrinkwrap.api.exporter.ZipExporter'
> 22:58:50,662 WARN [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015893: Encountered invalid class name 'implClass=org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl' for service type 'org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver'
> 22:58:50,756 INFO [org.jboss.as.jpa] (MSC service thread 1-14) JBAS011401: Read persistence.xml for primary
> 22:58:50,828 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016002: Processing weld deployment jboss-as-richfaces-validation.war
> 22:58:50,923 INFO [org.jboss.weld.deployer] (MSC service thread 1-15) JBAS016005: Starting Services for CDI deployment: jboss-as-richfaces-validation.war
> 22:58:50,928 INFO [org.jboss.as.osgi] (MSC service thread 1-14) JBAS011907: Register module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:50,928 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:50,928 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 12) JBAS011402: Starting Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:50,929 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 12) HHH000204: Processing PersistenceUnitInfo [
> name: primary
> ...]
> 22:58:50,936 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 12) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
> 22:58:50,943 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 12) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
> 22:58:50,943 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 12) HHH000431: Unable to determine H2 database version, certain features may not work
> 22:58:50,944 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (ServerService Thread Pool -- 12) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
> 22:58:50,944 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 12) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
> 22:58:50,944 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 12) HHH000397: Using ASTQueryTranslatorFactory
> 22:58:50,957 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000227: Running hbm2ddl schema export
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000389: Unsuccessful: drop sequence hibernate_sequence
> 22:58:50,958 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
> drop sequence hibernate_sequence [90036-168]
> 22:58:50,959 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 12) HHH000230: Schema export complete
> 22:58:50,961 INFO [org.jboss.weld.deployer] (MSC service thread 1-13) JBAS016008: Starting weld service for deployment jboss-as-richfaces-validation.war
> 22:58:51,059 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra 2.1.11-jbossorg-2 20120731-1422 for context '/jboss-as-richfaces-validation'
> 22:58:52,157 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Critical error during deployment: : java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,160 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-as-richfaces-validation]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:295) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> Caused by: java.lang.NoSuchMethodError: com.google.common.base.Platform.precomputeCharMatcher(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
> at com.google.common.base.CharMatcher.precomputed(CharMatcher.java:664) [guava-10.0.1.jar:]
> at com.google.common.base.CharMatcher.<clinit>(CharMatcher.java:71) [guava-10.0.1.jar:]
> at com.google.common.base.Splitter.on(Splitter.java:127) [guava-10.0.1.jar:]
> at org.richfaces.resource.ResourceLibraryFactoryImpl.<clinit>(ResourceLibraryFactoryImpl.java:43) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.DefaultModule.configure(DefaultModule.java:32) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:602) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:371) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) [jsf-impl-2.1.11-jbossorg-2.jar:]
> ... 8 more
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
> 22:58:52,161 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/jboss-as-richfaces-validation] startup failed due to previous errors
> 22:58:52,171 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC service thread 1-2) JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
> 22:58:52,172 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.NullPointerException
> at org.richfaces.application.CacheProvider.release(CacheProvider.java:96) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServicesFactoryImpl.release(ServicesFactoryImpl.java:18) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:132) [richfaces-core-api-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.onStop(InitializationListener.java:137) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:149) [richfaces-core-impl-4.2.0.Final.jar:4.2.0.Final]
> at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.4.Final.jar:2.0.4.Final]
> at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:335) [jsf-impl-2.1.11-jbossorg-2.jar:]
> at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.17.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.17.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89) [jboss-as-web-7.1.3.Final-SNAPSHOT.jar:7.1.3.Final-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,174 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./jboss-as-richfaces-validation: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 22:58:52,378 INFO [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011908: Unregister module: Module "deployment.jboss-as-richfaces-validation.war:main" from Service Module Loader
> 22:58:52,380 INFO [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "jboss-as-richfaces-validation.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./jboss-as-richfaces-validation" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jboss-as-richfaces-validation: JBAS018040: Failed to start context"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"jboss-as-richfaces-validation.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}
> 22:58:52,390 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016009: Stopping weld service for deployment jboss-as-richfaces-validation.war
> 22:58:52,393 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 16) JBAS011403: Stopping Persistence Unit Service 'jboss-as-richfaces-validation.war#primary'
> 22:58:52,394 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000227: Running hbm2ddl schema export
> 22:58:52,400 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 16) HHH000230: Schema export complete
> 22:58:52,405 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010409: Unbound data source [jboss/datasources/RichfacesValidationQuickstartDS]
> 22:58:52,440 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment jboss-as-richfaces-validation.war in 62ms
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
Hybridized TicketMonster
by Marius Bogoevici
All,
I added a candidate structure for the hybridized TicketMonster - it's based on the Aerogear kitchensink with the added twist that we keep separate index files for each device, and then refer directly to those files from the wrapper code. While not ideal, this allows to keep separate configurations (i.e. dependencies for each device) and avoid manual changes after opening a particular device project.
An alternative would be to use maven to construct target/www-<device> folders and use symlinks to those. I don't like it because
- doesn't work well with the web configurations;
- you can't easily create fixes from Xcode/Android SDK to the web app code, because you need to run the build phase manually after.
Let the reviews begin!
Here it is:
https://github.com/jboss-jdf/ticket-monster/pull/6
12 years, 4 months