4 Replies Latest reply on Oct 21, 2016 6:55 PM by Brian Jones

    Need help running quickstart kitchensink-angularjs

    Brian Jones Newbie

      I am trying to run the quickstart kitchensink-angularjs, but it won't deploy. I don't think there's a problem with the quickstart. I think the problem has to do with a project I'm working on called my-app. I am adding Hibernate JPA to the project, and I think I need to do a few more things in order to  get rid of all of the errors and exceptions. my-app has some test cases where it does allow me to create an EntityManager and then I can save the data using merge(). Then I can query the database and get the correct results. I was in the process of adding CDI and Restful services to it, when I noticed that I couldn't run my-app on the wildfly server.

       

      Then I decided that I wanted to deploy kitchensink-angularjs, but it won't deploy. I see some error messages and exceptions on the wildfly logs listed below. It's referring to the my-app.war. I did some research that said that I can delete the information between the <deployment> tags in the standalone.xml inside of the wildfly configuration folder, but I don't see anything there describing my-app. On a side note, the tutorial that I used to setup my development environment might have me using standalone-full.xml. I checked that file also for my-app.war, and nothing was there.

       

      My question is how do I get rid of the my-app information from Wildfly? Or, is there another way to fix this? Thanks.

       

      Stacktrace:

       

      les@ubuntu:~/Env/wildfly-10.1.0.Final/bin$ ./standalone.sh

      =========================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: /home/bbernales/Env/wildfly-10.1.0.Final

       

       

        JAVA: /usr/lib/jvm/java-8-oracle/bin/java

       

       

        JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

       

       

      =========================================================================

       

       

      12:55:15,518 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final

      12:55:15,689 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final

      12:55:15,755 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting

      12:55:16,648 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0015: Re-attempting failed deployment my-app.war

      12:55:16,651 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found my-app.war in deployment directory. To trigger deployment create a file called my-app.war.dodeploy

      12:55:16,696 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)

      12:55:16,713 INFO  [org.xnio] (MSC service thread 1-5) XNIO version 3.4.0.Final

      12:55:16,719 INFO  [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.4.0.Final

      12:55:16,755 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem.

      12:55:16,744 INFO  [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 4.0.21.Final

      12:55:16,762 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 12 core threads with 96 task threads based on your 6 available processors

      12:55:16,787 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.

      12:55:16,787 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem

      12:55:16,800 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations: [main]

      12:55:16,796 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem

      12:55:16,819 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension

      12:55:16,829 INFO  [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)

      12:55:16,839 INFO  [org.jboss.as.security] (MSC service thread 1-7) WFLYSEC0001: Current PicketBox version=4.9.6.Final

      12:55:16,850 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 1.4.0.Final starting

      12:55:16,859 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      12:55:16,879 INFO  [org.jboss.as.naming] (MSC service thread 1-6) WFLYNAM0003: Starting Naming Service

      12:55:16,880 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0018: Started Driver service with driver-name = h2

      12:55:16,881 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]

      12:55:17,032 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path '/home/bbernales/Env/wildfly-10.1.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']

      12:55:17,056 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.

      12:55:17,057 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018: Host default-host starting

      12:55:17,097 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 96 (per class), which is derived from thread worker pool sizing.

      12:55:17,097 INFO  [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 24 (per class), which is derived from the number of CPUs on this host.

      12:55:17,146 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080

      12:55:17,213 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]

      12:55:17,282 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-6) WFLYDM0111: Keystore /home/bbernales/Env/wildfly-10.1.0.Final/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost

      12:55:17,309 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-6) WFLYDS0013: Started FileSystemDeploymentService for directory /home/bbernales/Env/wildfly-10.1.0.Final/standalone/deployments

      12:55:17,315 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "my-app.war" (runtime-name: "my-app.war")

      12:55:17,315 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "wildfly-helloworld.war" (runtime-name: "wildfly-helloworld.war")

      12:55:17,317 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "wildfly-hibernate5.war" (runtime-name: "wildfly-hibernate5.war")

      12:55:17,500 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443

      12:55:17,507 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.4.Final

      12:55:17,551 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 59) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      12:55:17,553 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 59) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      12:55:17,567 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      12:55:17,566 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 61) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      12:55:17,602 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 61) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      12:55:17,602 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      12:55:17,642 INFO  [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6)

      12:55:17,984 INFO  [org.jboss.as.jpa] (MSC service thread 1-5) WFLYJPA0002: Read persistence.xml for primary

      12:55:18,064 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 58) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'my-app.war#primary'

      12:55:18,075 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for primary

      12:55:18,090 WARN  [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0091: -ds.xml file deployments are deprecated. Support may be removed in a future version.

      12:55:18,090 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 58) HHH000204: Processing PersistenceUnitInfo [

        name: primary

        ...]

      12:55:18,111 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) WFLYWELD0003: Processing weld deployment wildfly-helloworld.war

      12:55:18,113 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/Hibernate5QuickstartDS]

      12:55:18,114 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 64) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'wildfly-hibernate5.war#primary'

      12:55:18,115 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 64) HHH000204: Processing PersistenceUnitInfo [

        name: primary

        ...]

      12:55:18,135 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0003: Processing weld deployment wildfly-hibernate5.war

      12:55:18,183 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-1) HV000001: Hibernate Validator 5.2.4.Final

      12:55:18,193 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 64) HHH000412: Hibernate Core {5.0.10.Final}

      12:55:18,196 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 64) HHH000206: hibernate.properties not found

      12:55:18,198 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 64) HHH000021: Bytecode provider name : javassist

      12:55:18,265 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 64) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}

      12:55:18,307 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) WFLYEJB0473: JNDI bindings for session bean named 'MemberRegistration' in deployment unit 'deployment "wildfly-hibernate5.war"' are as follows:

       

       

        java:global/wildfly-hibernate5/MemberRegistration!org.jboss.as.quickstart.hibernate.service.MemberRegistration

        java:app/wildfly-hibernate5/MemberRegistration!org.jboss.as.quickstart.hibernate.service.MemberRegistration

        java:module/MemberRegistration!org.jboss.as.quickstart.hibernate.service.MemberRegistration

        java:global/wildfly-hibernate5/MemberRegistration

        java:app/wildfly-hibernate5/MemberRegistration

        java:module/MemberRegistration

       

       

      12:55:18,345 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 64) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'my-app.war#primary'

      12:55:18,408 INFO  [org.jboss.weld.Version] (MSC service thread 1-7) WELD-000900: 2.3.5 (Final)

      12:55:18,435 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      12:55:18,437 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

      12:55:18,573 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 64) HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect

      12:55:18,632 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 61) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'wildfly-hibernate5.war#primary'

      12:55:18,660 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 61) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect

      12:55:18,665 INFO  [org.hibernate.type.BasicTypeRegistry] (ServerService Thread Pool -- 64) HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@6aea3456

      12:55:18,666 WARN  [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 61) HHH000431: Unable to determine H2 database version, certain features may not work

      12:55:18,671 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 64) Envers integration enabled? : true

      12:55:18,683 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 61) Envers integration enabled? : true

      12:55:18,839 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 58) WFLYCLINF0002: Started client-mappings cache from ejb container

      12:55:19,096 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 64) HHH000228: Running hbm2ddl schema update

      12:55:19,103 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 61) HHH000227: Running hbm2ddl schema export

      12:55:19,110 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 61) HHH000476: Executing import script '/import.sql'

      12:55:19,112 WARN  [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 64) SQL Error: 42102, SQLState: 42S02

      12:55:19,112 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 64) Table "PG_CLASS" not found; SQL statement:

      select relname from pg_class where relkind='S' [42102-173]

      12:55:19,113 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 61) HHH000230: Schema export complete

      12:55:19,116 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 64) MSC000001: Failed to start service jboss.persistenceunit."my-app.war#primary": org.jboss.msc.service.StartException in service jboss.persistenceunit."my-app.war#primary": javax.persistence.PersistenceException: [PersistenceUnit: primary] Unable to build Hibernate SessionFactory

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:179)

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:121)

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:193)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:745)

        at org.jboss.threads.JBossThread.run(JBossThread.java:320)

      Caused by: javax.persistence.PersistenceException: [PersistenceUnit: primary] Unable to build Hibernate SessionFactory

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.persistenceException(EntityManagerFactoryBuilderImpl.java:954)

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:882)

        at org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:161)

        ... 7 more

      Caused by: org.hibernate.exception.SQLGrammarException: Error creating DatabaseInformation for schema migration

        at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:106)

        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)

        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)

        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:95)

        at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:127)

        at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:101)

        at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:470)

        at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444)

        at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:879)

        ... 9 more

      Caused by: org.h2.jdbc.JdbcSQLException: Table "PG_CLASS" not found; SQL statement:

      select relname from pg_class where relkind='S' [42102-173]

        at org.h2.message.DbException.getJdbcSQLException(DbException.java:331)

        at org.h2.message.DbException.get(DbException.java:171)

        at org.h2.message.DbException.get(DbException.java:148)

        at org.h2.command.Parser.readTableOrView(Parser.java:4864)

        at org.h2.command.Parser.readTableFilter(Parser.java:1107)

        at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1713)

        at org.h2.command.Parser.parseSelectSimple(Parser.java:1821)

        at org.h2.command.Parser.parseSelectSub(Parser.java:1707)

        at org.h2.command.Parser.parseSelectUnion(Parser.java:1550)

        at org.h2.command.Parser.parseSelect(Parser.java:1538)

        at org.h2.command.Parser.parsePrepared(Parser.java:405)

        at org.h2.command.Parser.parse(Parser.java:279)

        at org.h2.command.Parser.parse(Parser.java:251)

        at org.h2.command.Parser.prepareCommand(Parser.java:218)

        at org.h2.engine.Session.prepareLocal(Session.java:428)

        at org.h2.engine.Session.prepareCommand(Session.java:377)

        at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1138)

        at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:72)

        at org.jboss.jca.adapters.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:397)

        at org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.extractMetadata(SequenceInformationExtractorLegacyImpl.java:42)

        at org.hibernate.tool.schema.extract.internal.DatabaseInformationImpl.initializeSequences(DatabaseInformationImpl.java:64)

        at org.hibernate.tool.schema.extract.internal.DatabaseInformationImpl.<init>(DatabaseInformationImpl.java:60)

        at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:123)

        ... 13 more

       

       

      12:55:19,305 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 64) WFLYUT0021: Registered web context: /wildfly-helloworld

      12:55:19,361 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 63) Initializing Mojarra 2.2.13.SP1 20160303-1204 for context '/wildfly-hibernate5'

      12:55:19,747 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 63) WFLYUT0021: Registered web context: /wildfly-hibernate5

      12:55:19,751 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "my-app.war")]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"my-app.war#primary\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"my-app.war#primary\": javax.persistence.PersistenceException: [PersistenceUnit: primary] Unable to build Hibernate SessionFactory

          Caused by: javax.persistence.PersistenceException: [PersistenceUnit: primary] Unable to build Hibernate SessionFactory

          Caused by: org.hibernate.exception.SQLGrammarException: Error creating DatabaseInformation for schema migration

          Caused by: org.h2.jdbc.JdbcSQLException: Table \"PG_CLASS\" not found; SQL statement:

      select relname from pg_class where relkind='S' [42102-173]"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.persistenceunit.\"my-app.war#primary\""],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      12:55:19,773 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "wildfly-hibernate5.war" (runtime-name : "wildfly-hibernate5.war")

      12:55:19,773 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "wildfly-helloworld.war" (runtime-name : "wildfly-helloworld.war")

      12:55:19,774 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "my-app.war" (runtime-name : "my-app.war")

      12:55:19,779 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.persistenceunit."my-app.war#primary": org.jboss.msc.service.StartException in service jboss.persistenceunit."my-app.war#primary": javax.persistence.PersistenceException: [PersistenceUnit: primary] Unable to build Hibernate SessionFactory

       

       

      12:55:19,863 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management

      12:55:19,864 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990

      12:55:19,864 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 4635ms - Started 617 of 874 services (8 services failed or missing dependencies, 427 services are lazy, passive or on-demand)

      12:55:19,897 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 63) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'my-app.war#primary'

      12:55:19,911 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment my-app.war (runtime-name: my-app.war) in 19ms

      12:55:19,954 WARN  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []

      12:55:19,955 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0009: Undeployed "my-app.war" (runtime-name: "my-app.war")

      12:55:19,956 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report

      WFLYCTL0184:    New missing/unsatisfied dependencies:

            service jboss.deployment.unit."my-app.war".component."com.sun.faces.config.ConfigureListener".CREATE (missing) dependents: [service jboss.deployment.unit."my-app.war".component."com.sun.faces.config.ConfigureListener".START]

            service jboss.deployment.unit."my-app.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./my-app, service jboss.deployment.unit."my-app.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./my-app.UndertowDeploymentInfoService]

            service jboss.deployment.unit."my-app.war".component."javax.faces.webapp.FacetTag".CREATE (missing) dependents: [service jboss.deployment.unit."my-app.war".component."javax.faces.webapp.FacetTag".START]

            service jboss.deployment.unit."my-app.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./my-app, service jboss.deployment.unit."my-app.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./my-app.UndertowDeploymentInfoService]

            service jboss.deployment.unit."my-app.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".CREATE (missing) dependents: [service jboss.deployment.unit."my-app.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START]

            service jboss.deployment.unit."my-app.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./my-app, service jboss.deployment.unit."my-app.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./my-app.UndertowDeploymentInfoService]

            service jboss.deployment.unit."my-app.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".CREATE (missing) dependents: [service jboss.deployment.unit."my-app.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]

            service jboss.deployment.unit."my-app.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./my-app, service jboss.deployment.unit."my-app.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./my-app.UndertowDeploymentInfoService]

            service jboss.deployment.unit."my-app.war".ee.ComponentRegistry (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./my-app.UndertowDeploymentInfoService]

            service jboss.deployment.unit."my-app.war".jndiDependencyService (missing) dependents: [service jboss.deployment.unit."my-app.war".component."com.sun.faces.config.ConfigureListener".START, service jboss.deployment.unit."my-app.war".component."javax.faces.webapp.FacetTag".START, service jboss.deployment.unit."my-app.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START, service jboss.deployment.unit."my-app.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START]

            service jboss.persistenceunit."my-app.war#primary" (missing) dependents: [service jboss.deployment.unit."my-app.war".component."com.sun.faces.config.ConfigureListener".START, service jboss.deployment.unit."my-app.war".component."javax.faces.webapp.FacetTag".START, service jboss.undertow.deployment.default-server.default-host./my-app, service jboss.deployment.unit."my-app.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START, WFLYCTL0208: ... and 4 more ]

            service jboss.undertow.deployment.default-server.default-host./my-app (missing) dependents: [service jboss.deployment.unit."my-app.war".deploymentCompleteService]

            service jboss.undertow.deployment.default-server.default-host./my-app.UndertowDeploymentInfoService (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./my-app]

            service jboss.undertow.deployment.default-server.default-host./my-app.codec (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./my-app.UndertowDeploymentInfoService]

            service jboss.undertow.deployment.default-server.default-host./my-app.session (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./my-app.UndertowDeploymentInfoService]

            service org.wildfly.request-controller.control-point."my-app.war".undertow (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./my-app.UndertowDeploymentInfoService]

      WFLYCTL0186:   Services which failed to start:      service jboss.persistenceunit."my-app.war#primary"

       

       

      12:55:24,823 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) WFLYDS0004: Found my-app.war in deployment directory. To trigger deployment create a file called my-app.war.dodeploy

        • 1. Re: Need help running quickstart kitchensink-angularjs
          Tomaz Cerar Master

          Hey,

           

          you are running "default" configuration file, that is standalone.xml not standalone-full.xmllook for <deployments> in that one.

          or run server with -c standalone-full.xml

           

          like this:

          ./standalone.sh -c standalone-full.xml

          • 2. Re: Need help running quickstart kitchensink-angularjs
            Brian Jones Newbie

            Thanks Tom. I ended up fixing the error relating to the my-app in the wildfly logs. The @GeneratedValue annotation wasn't configured properly. But, I still can't get the kitchensink-angularjs to work. When I run the mvn clean test wildfly:deploy I get this stack trace:

             

            les@ubuntu:~/workspace/kitchensink-angularjs$ mvn clean test wildfly:deploy

            [INFO] Scanning for projects...

            [INFO]                                                                    

            [INFO] ------------------------------------------------------------------------

            [INFO] Building WildFly Quickstart: kitchensink-angularjs 10.0.0-SNAPSHOT

            [INFO] ------------------------------------------------------------------------

            [INFO]

            [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wildfly-kitchensink-angularjs ---

            [INFO] Deleting /home/bbernales/workspace/kitchensink-angularjs/target

            [INFO]

            [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ wildfly-kitchensink-angularjs ---

            [INFO] Using 'UTF-8' encoding to copy filtered resources.

            [INFO] Copying 2 resources

            [INFO]

            [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ wildfly-kitchensink-angularjs ---

            [INFO] Changes detected - recompiling the module!

            [INFO] Compiling 7 source files to /home/bbernales/workspace/kitchensink-angularjs/target/classes

            [INFO]

            [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ wildfly-kitchensink-angularjs ---

            [INFO] Using 'UTF-8' encoding to copy filtered resources.

            [INFO] Copying 3 resources

            [INFO]

            [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ wildfly-kitchensink-angularjs ---

            [INFO] Changes detected - recompiling the module!

            [INFO] Compiling 1 source file to /home/bbernales/workspace/kitchensink-angularjs/target/test-classes

            [INFO]

            [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ wildfly-kitchensink-angularjs ---

            [INFO] Tests are skipped.

            [INFO]

            [INFO] >>> wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) > package @ wildfly-kitchensink-angularjs >>>

            [INFO]

            [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ wildfly-kitchensink-angularjs ---

            [INFO] Using 'UTF-8' encoding to copy filtered resources.

            [INFO] Copying 2 resources

            [INFO]

            [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ wildfly-kitchensink-angularjs ---

            [INFO] Changes detected - recompiling the module!

            [INFO] Compiling 8 source files to /home/bbernales/workspace/kitchensink-angularjs/target/classes

            An exception has occurred in the compiler (1.8.0_101). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.

            java.lang.IllegalStateException: endPosTable already set

              at com.sun.tools.javac.util.DiagnosticSource.setEndPosTable(DiagnosticSource.java:136)

              at com.sun.tools.javac.util.Log.setEndPosTable(Log.java:350)

              at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:667)

              at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:950)

              at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.<init>(JavacProcessingEnvironment.java:892)

              at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.next(JavacProcessingEnvironment.java:921)

              at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1187)

              at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)

              at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)

              at com.sun.tools.javac.main.Main.compile(Main.java:523)

              at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)

              at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)

              at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:125)

              at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)

              at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:823)

              at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)

              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

              at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:352)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:197)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

              at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

              at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

              at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

              at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

              at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:498)

              at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

              at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

              at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

              at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

            [INFO] -------------------------------------------------------------

            [ERROR] COMPILATION ERROR :

            [INFO] -------------------------------------------------------------

            [ERROR] An unknown compilation problem occurred

            [INFO] 1 error

            [INFO] -------------------------------------------------------------

            [INFO] ------------------------------------------------------------------------

            [INFO] BUILD FAILURE

            [INFO] ------------------------------------------------------------------------

            [INFO] Total time: 2.621 s

            [INFO] Finished at: 2016-10-21T12:30:55-04:00

            [INFO] Final Memory: 26M/309M

            [INFO] ------------------------------------------------------------------------

            [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project wildfly-kitchensink-angularjs: Compilation failure

            [ERROR] An unknown compilation problem occurred

            [ERROR] -> [Help 1]

            [ERROR]

            [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

            [ERROR] Re-run Maven using the -X switch to enable full debug logging.

            [ERROR]

            [ERROR] For more information about the errors and possible solutions, please read the following articles:

            [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

             

             

            I tried some of the suggestions from these links. I think it has something to do with maven:

             

            // I tried changing to another an older version of maven as shown in this example and running mvn clean package

            java - IllegalStateException in Hibernate metamodel generation with maven - Stack Overflow

             

            // I tried this guys solution where he did Command mvn clean compile, and another guy on the thread idea buy setting <useIncrementalCompilation> to false

            https://github.com/immutables/immutables/issues/134

             

            Is my maven version 1.7? It looks like it when I look at the pom.xml for kitchensink-angulars listed below. But, when I run mvn --version it says 3.3.9.

             

             

            <?xml version="1.0" encoding="UTF-8" standalone="no"?>

            <!--

                JBoss, Home of Professional Open Source

                Copyright 2015, Red Hat, Inc. and/or its affiliates, and individual

                contributors by the @authors tag. See the copyright.txt in the

                distribution for a full listing of individual contributors.

             

                Licensed under the Apache License, Version 2.0 (the "License");

                you may not use this file except in compliance with the License.

                You may obtain a copy of the License at

                http://www.apache.org/licenses/LICENSE-2.0

                Unless required by applicable law or agreed to in writing, software

                distributed under the License is distributed on an "AS IS" BASIS,

                WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

                See the License for the specific language governing permissions and

                limitations under the License.

            -->

            <project  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

                <modelVersion>4.0.0</modelVersion>

                <groupId>org.wildfly.quickstarts</groupId>

                <artifactId>wildfly-kitchensink-angularjs</artifactId>

                <version>10.0.0-SNAPSHOT</version>

                <packaging>war</packaging>

                <name>WildFly Quickstart: kitchensink-angularjs</name>

                <description>A starter Java EE 7 webapp project for use on JBoss WildFly / WildFly, generated from the jboss-javaee6-webapp archetype, using AngularJS for the view</description>

                <url>http://wildfly.org</url>

             

                <licenses>

                    <license>

                        <name>Apache License, Version 2.0</name>

                        <distribution>repo</distribution>

                        <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>

                    </license>

                </licenses>

             

                <properties>

                    <!-- Explicitly declaring the source encoding eliminates the following message: -->

                    <!-- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered

                         resources, i.e. build is platform dependent! -->

                    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

             

                    <!-- JBoss dependency versions -->

                    <version.wildfly.maven.plugin>1.0.2.Final</version.wildfly.maven.plugin>

                    <!-- Define the version of the JBoss BOMs we want to import to specify tested stacks. -->

                    <version.jboss.bom>10.1.0.Final</version.jboss.bom>

             

                    <!-- other plugin versions -->

                    <version.compiler.plugin>3.5.1</version.compiler.plugin>

                    <version.surefire.plugin>2.16</version.surefire.plugin>

                    <version.war.plugin>3.0.0</version.war.plugin>

             

                    <!-- maven-compiler-plugin -->

                    <maven.compiler.target>1.7</maven.compiler.target>

                    <maven.compiler.source>1.7</maven.compiler.source>

                </properties>

             

                <dependencyManagement>

                    <dependencies>

                        <!-- JBoss distributes a complete set of Java EE 7 APIs including

                            a Bill of Materials (BOM). A BOM specifies the versions of a "stack" (or

                            a collection) of artifacts. We use this here so that we always get the correct

                            versions of artifacts. Here we use the jboss-javaee-7.0-with-tools stack

                            (you can read this as the JBoss stack of the Java EE 7 APIs, with some extras

                            tools for your project, such as Arquillian for testing) and the jboss-javaee-7.0-with-hibernate

                            stack you can read this as the JBoss stack of the Java EE 7 APIs, with extras

                            from the Hibernate family of projects) -->

                        <dependency>

                            <groupId>org.wildfly.bom</groupId>

                            <artifactId>wildfly-javaee7-with-tools</artifactId>

                            <version>${version.jboss.bom}</version>

                            <type>pom</type>

                            <scope>import</scope>

                        </dependency>

                    </dependencies>

                </dependencyManagement>

             

                <dependencies>

             

                    <!-- First declare the APIs we depend on and need for compilation.

                        All of them are provided by JBoss WildFly -->

             

                    <!-- Import the CDI API, we use provided scope as the API is included in JBoss WildFly -->

                    <dependency>

                        <groupId>javax.enterprise</groupId>

                        <artifactId>cdi-api</artifactId>

                        <scope>provided</scope>

                    </dependency>

             

                    <!-- Import the Common Annotations API (JSR-250), we use provided

                        scope as the API is included in JBoss WildFly -->

                    <dependency>

                        <groupId>org.jboss.spec.javax.annotation</groupId>

                        <artifactId>jboss-annotations-api_1.2_spec</artifactId>

                        <scope>provided</scope>

                    </dependency>

             

                    <!-- Import the JAX-RS API, we use provided scope as the API is included in JBoss WildFly -->

                    <dependency>

                        <groupId>org.jboss.spec.javax.ws.rs</groupId>

                         <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>

                        <scope>provided</scope>

                    </dependency>

             

                    <!-- Import the JPA API, we use provided scope as the API is included in JBoss WildFly -->

                    <dependency>

                        <groupId>org.hibernate.javax.persistence</groupId>

                        <artifactId>hibernate-jpa-2.1-api</artifactId>

                        <scope>provided</scope>

                    </dependency>

             

                    <!-- Import the EJB API, we use provided scope as the API is included in JBoss WildFly -->

                    <dependency>

                        <groupId>org.jboss.spec.javax.ejb</groupId>

                        <artifactId>jboss-ejb-api_3.2_spec</artifactId>

                        <scope>provided</scope>

                    </dependency>

             

                    <!-- JSR-303 (Bean Validation) Implementation -->

                    <!-- Provides portable constraints such as @Email -->

                    <!-- Hibernate Validator is shipped in JBoss WildFly -->

                    <dependency>

                        <groupId>org.hibernate</groupId>

                        <artifactId>hibernate-validator</artifactId>

                        <scope>provided</scope>

                        <exclusions>

                            <exclusion>

                                <groupId>org.slf4j</groupId>

                                <artifactId>slf4j-api</artifactId>

                            </exclusion>

                        </exclusions>

                    </dependency>

             

                    <!-- Now we declare any tools needed -->

             

                    <!-- Annotation processor to generate the JPA 2.0 metamodel classes

                        for typesafe criteria queries -->

                    <dependency>

                        <groupId>org.hibernate</groupId>

                        <artifactId>hibernate-jpamodelgen</artifactId>

                        <scope>provided</scope>

                    </dependency>

             

                    <!-- Annotation processor that raising compilation errors whenever

                        constraint annotations are incorrectly used. -->

                    <dependency>

                        <groupId>org.hibernate</groupId>

                        <artifactId>hibernate-validator-annotation-processor</artifactId>

                        <scope>provided</scope>

                    </dependency>

             

                    <!-- Needed for running tests (you may also use TestNG) -->

                    <dependency>

                        <groupId>junit</groupId>

                        <artifactId>junit</artifactId>

                        <scope>test</scope>

                    </dependency>

             

                    <!-- Optional, but highly recommended -->

                    <!-- Arquillian allows you to test enterprise code such as EJBs and

                        Transactional(JTA) JPA from JUnit/TestNG -->

                    <dependency>

                        <groupId>org.jboss.arquillian.junit</groupId>

                        <artifactId>arquillian-junit-container</artifactId>

                        <scope>test</scope>

                    </dependency>

             

                    <dependency>

                        <groupId>org.jboss.arquillian.protocol</groupId>

                        <artifactId>arquillian-protocol-servlet</artifactId>

                        <scope>test</scope>

                    </dependency>

             

                </dependencies>

             

                <build>

                    <!-- Maven will append the version to the finalName (which is the

                        name given to the generated war, and hence the context root) -->

                    <finalName>${project.artifactId}</finalName>

                    <plugins>

                        <plugin>

                            <artifactId>maven-war-plugin</artifactId>

                            <version>${version.war.plugin}</version>

                            <configuration>

                                <!-- Java EE 7 doesn't require web.xml, Maven needs to

                                    catch up! -->

                                <failOnMissingWebXml>false</failOnMissingWebXml>

                 <useIncrementalCompilation>false</useIncrementalCompilation>

                            </configuration>

                        </plugin>

                        <!-- The WildFly plugin deploys your war to a local WildFly

                            container -->

                        <!-- To use, run: mvn package wildfly:deploy -->

                        <plugin>

                            <groupId>org.wildfly.plugins</groupId>

                            <artifactId>wildfly-maven-plugin</artifactId>

                            <version>${version.wildfly.maven.plugin}</version>

                        </plugin>

                    </plugins>

                </build>

             

                <profiles>

                    <profile>

                        <!-- The default profile skips all tests, though you can tune

                            it to run just unit tests based on a custom pattern -->

                        <!-- Seperate profiles are provided for running all tests, including

                            Arquillian tests that execute in the specified container -->

                        <id>default</id>

                        <activation>

                            <activeByDefault>true</activeByDefault>

                        </activation>

                        <build>

                            <plugins>

                                <plugin>

                                    <artifactId>maven-surefire-plugin</artifactId>

                                    <version>${version.surefire.plugin}</version>

                                    <configuration>

                                        <skip>true</skip>

                                    </configuration>

                                </plugin>

                            </plugins>

                        </build>

                    </profile>

             

                    <profile>

                        <!-- An optional Arquillian testing profile that executes tests

                            in your WildFly instance -->

                        <!-- This profile will start a new WildFly instance, and execute the

                            test, shutting it down when done -->

                        <!-- Run with: mvn clean test -Parq-wildfly-managed -->

                        <id>arq-wildfly-managed</id>

                        <dependencies>

                            <dependency>

                                <groupId>org.wildfly.arquillian</groupId>

                                <artifactId>wildfly-arquillian-container-managed</artifactId>

                                <scope>test</scope>

                            </dependency>

                        </dependencies>

                    </profile>

             

                    <profile>

                        <!-- An optional Arquillian testing profile that executes tests

                            in a remote WildFly instance -->

                        <!-- Run with: mvn clean test -Parq-wildfly-remote -->

                        <id>arq-wildfly-remote</id>

                        <dependencies>

                            <dependency>

                                <groupId>org.wildfly.arquillian</groupId>

                                <artifactId>wildfly-arquillian-container-remote</artifactId>

                                <scope>test</scope>

                            </dependency>

                        </dependencies>

                    </profile>

             

                    <profile>

                        <!-- When built in OpenShift the 'openshift' profile will be

                            used when invoking mvn. -->

                        <!-- Use this profile for any OpenShift specific customization

                            your app will need. -->

                        <!-- By default that is to put the resulting archive into the

                            'deployments' folder. -->

                        <!-- http://maven.apache.org/guides/mini/guide-building-for-different-environments.html -->

                        <id>openshift</id>

                        <build>

                            <plugins>

                                <plugin>

                                    <artifactId>maven-war-plugin</artifactId>

                                    <version>${version.war.plugin}</version>

                                    <configuration>

                                        <outputDirectory>deployments</outputDirectory>

                                        <warName>ROOT</warName>

                                    </configuration>

                                </plugin>

                            </plugins>

                        </build>

                    </profile>

             

                </profiles>

            </project>

            • 3. Re: Need help running quickstart kitchensink-angularjs
              Tomaz Cerar Master

              I've pushed bit updated pom.xml for this quickstart, to have version of compiler plugin forced.

               

              could you grab it from quickstart/pom.xml at 11.x · wildfly/quickstart · GitHub

              or direct https://raw.githubusercontent.com/wildfly/quickstart/11.x/kitchensink-angularjs/pom.xml

               

              can you try if it works better for you?

              • 4. Re: Need help running quickstart kitchensink-angularjs
                Brian Jones Newbie

                Thanks Tomaz! Now it works