Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-483

Quickstarts have some warning and errors during deployment on EAP 6.2.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.5.0.ER1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Target Release:
    • Steps to Reproduce:
      Hide

      1. Build and deploy the quickstart kitchensink-html5-mobile on EAP

      Show
      1. Build and deploy the quickstart kitchensink-html5-mobile on EAP
    • Affects:
      Release Notes
    • Release Notes Docs Status:
      Not Required
    • Release Notes Text:
      Hide
      When deploying the quickstart kitchensink-html5-mobile on Red Hat JBoss Enterprise Application Platform, errors are listed in the server log. The error messages occur because the hibernate.hbm2ddl.auto value is set to create-drop and so Hibernate attempts to drop the table and constraints before they are created. Users can safely ignore these warning and error messages.
      Show
      When deploying the quickstart kitchensink-html5-mobile on Red Hat JBoss Enterprise Application Platform, errors are listed in the server log. The error messages occur because the hibernate.hbm2ddl.auto value is set to create-drop and so Hibernate attempts to drop the table and constraints before they are created. Users can safely ignore these warning and error messages.

      Description

      There are some warning and errors during a deployment on EAP in the container log.
      Here is the log from console:

      10:48:54,604 INFO  [org.jboss.as.repository] (management-handler-thread - 22) JBAS014900: Content added at location /home/mjobanek/servers/jboss-eap-6.2/standalone/data/content/43/408f4558e14874bbe3d0a83b0b2e35c1ae0c97/content
      10:48:54,605 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "jboss-kitchensink-html5-mobile.war" (runtime-name: "jboss-kitchensink-html5-mobile.war")
      10:48:54,631 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read persistence.xml for primary
      10:48:54,651 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/KitchensinkHTML5MobileQuickstartDS]
      10:48:54,668 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016002: Processing weld deployment jboss-kitchensink-html5-mobile.war
      10:48:54,739 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named MemberRegistration in deployment unit deployment "jboss-kitchensink-html5-mobile.war" are as follows:
      
      	java:global/jboss-kitchensink-html5-mobile/MemberRegistration!org.jboss.as.quickstarts.html5_mobile.service.MemberRegistration
      	java:app/jboss-kitchensink-html5-mobile/MemberRegistration!org.jboss.as.quickstarts.html5_mobile.service.MemberRegistration
      	java:module/MemberRegistration!org.jboss.as.quickstarts.html5_mobile.service.MemberRegistration
      	java:global/jboss-kitchensink-html5-mobile/MemberRegistration
      	java:app/jboss-kitchensink-html5-mobile/MemberRegistration
      	java:module/MemberRegistration
      
      10:48:54,748 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named MemberService in deployment unit deployment "jboss-kitchensink-html5-mobile.war" are as follows:
      
      	java:global/jboss-kitchensink-html5-mobile/MemberService!org.jboss.as.quickstarts.html5_mobile.rest.MemberService
      	java:app/jboss-kitchensink-html5-mobile/MemberService!org.jboss.as.quickstarts.html5_mobile.rest.MemberService
      	java:module/MemberService!org.jboss.as.quickstarts.html5_mobile.rest.MemberService
      	java:global/jboss-kitchensink-html5-mobile/MemberService
      	java:app/jboss-kitchensink-html5-mobile/MemberService
      	java:module/MemberService
      
      10:48:54,783 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016005: Starting Services for CDI deployment: jboss-kitchensink-html5-mobile.war
      10:48:54,791 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016008: Starting weld service for deployment jboss-kitchensink-html5-mobile.war
      10:48:54,791 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 247) JBAS011402: Starting Persistence Unit Service 'jboss-kitchensink-html5-mobile.war#primary'
      10:48:54,793 INFO  [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 247) HHH000204: Processing PersistenceUnitInfo [
      	name: primary
      	...]
      10:48:54,837 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 247) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
      10:48:54,846 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 247) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
      10:48:54,846 WARN  [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 247) HHH000431: Unable to determine H2 database version, certain features may not work
      10:48:54,851 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 247) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
      10:48:54,852 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 247) HHH000397: Using ASTQueryTranslatorFactory
      10:48:54,868 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 247) HHH000227: Running hbm2ddl schema export
      10:48:54,870 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 247) HHH000389: Unsuccessful: drop sequence hibernate_sequence
      10:48:54,871 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 247) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
      drop sequence hibernate_sequence [90036-168]
      10:48:54,872 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 247) HHH000230: Schema export complete
      10:48:54,980 INFO  [org.jboss.web] (ServerService Thread Pool -- 247) JBAS018210: Register web context: /jboss-kitchensink-html5-mobile
      10:48:55,092 INFO  [org.jboss.as.server] (management-handler-thread - 22) JBAS018559: Deployed "jboss-kitchensink-html5-mobile.war" (runtime-name : "jboss-kitchensink-html5-mobile.war")
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mjobanek Matous Jobanek
              Reporter:
              mjobanek Matous Jobanek
              Tester:
              Matous Jobanek Matous Jobanek
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: