Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-654

Quickstarts spring-kitchensink-* - some warnings and errors during deployment on EAP 6.2.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • quickstarts
    • Hide

      1. Build and deploy the spring-kitchensink-basic quickstart on EAP

      mvn clean package jboss-as:deploy
      Show
      1. Build and deploy the spring-kitchensink-basic quickstart on EAP mvn clean package jboss-as:deploy

    Description

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

      14:48:34,497 INFO  [org.jboss.as.repository] (management-handler-thread - 13) JBAS014900: Content added at location /home/mjobanek/servers/jboss-eap-6.2/standalone/data/content/1c/26f7b8df684048ff336359babb3a771844222f/content
      14:48:34,499 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "jboss-spring-kitchensink-basic.war" (runtime-name: "jboss-spring-kitchensink-basic.war")
      14:48:34,880 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry xml-apis.jar in /content/jboss-spring-kitchensink-basic.war/WEB-INF/lib/serializer-2.7.1-redhat-3.jar  does not point to a valid jar for a Class-Path reference.
      14:48:34,882 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry xercesImpl.jar in /content/jboss-spring-kitchensink-basic.war/WEB-INF/lib/xalan-2.7.1-redhat-3.jar  does not point to a valid jar for a Class-Path reference.
      14:48:34,882 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry xml-apis.jar in /content/jboss-spring-kitchensink-basic.war/WEB-INF/lib/xalan-2.7.1-redhat-3.jar  does not point to a valid jar for a Class-Path reference.
      14:48:34,882 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry serializer.jar in /content/jboss-spring-kitchensink-basic.war/WEB-INF/lib/xalan-2.7.1-redhat-3.jar  does not point to a valid jar for a Class-Path reference.
      14:48:34,917 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml for primarybasic
      14:48:34,969 WARN  [org.jboss.as.dependency.unsupported] (MSC service thread 1-8) JBAS018568: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using an unsupported module ("com.h2database.h2:main") which may be changed or removed in future versions without notice.
      14:48:34,969 WARN  [org.jboss.as.dependency.unsupported] (MSC service thread 1-8) JBAS018568: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using an unsupported module ("com.h2database.h2:main") which may be changed or removed in future versions without notice.
      14:48:34,969 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice.
      14:48:34,970 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice.
      14:48:34,970 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice.
      14:48:34,970 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice.
      14:48:34,976 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/SpringQuickstartDSBasic]
      14:48:35,017 WARN  [org.jboss.as.ee] (MSC service thread 1-5) JBAS011006: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)
      14:48:35,036 WARN  [org.jboss.as.ee] (MSC service thread 1-5) JBAS011006: Not installing optional component org.springframework.http.server.ServletServerHttpAsyncRequestControl due to an exception (enable DEBUG log level to see the cause)
      14:48:35,093 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 198) JBAS011402: Starting Persistence Unit Service 'jboss-spring-kitchensink-basic.war#primarybasic'
      14:48:35,095 INFO  [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 198) HHH000204: Processing PersistenceUnitInfo [
      	name: primarybasic
      	...]
      14:48:35,108 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 198) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
      14:48:35,117 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 198) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
      14:48:35,121 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 198) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
      14:48:35,122 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 198) HHH000397: Using ASTQueryTranslatorFactory
      14:48:35,135 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 198) HHH000227: Running hbm2ddl schema export
      14:48:35,136 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 198) HHH000389: Unsuccessful: drop sequence hibernate_sequence
      14:48:35,136 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 198) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:
      drop sequence hibernate_sequence [90036-168]
      14:48:35,137 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 198) HHH000230: Schema export complete
      14:48:35,146 INFO  [org.jboss.web] (ServerService Thread Pool -- 208) JBAS018210: Register web context: /jboss-spring-kitchensink-basic
      14:48:35,192 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-spring-kitchensink-basic]] (ServerService Thread Pool -- 208) No Spring WebApplicationInitializer types detected on classpath
      14:48:35,197 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-spring-kitchensink-basic]] (ServerService Thread Pool -- 208) Initializing Spring root WebApplicationContext
      14:48:35,197 INFO  [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 208) Root WebApplicationContext: initialization started
      ...
      ...
      ...
      

      The two errors are same as the errors mentioned in this issue: WFLY-811, so that is not the quickstart's responsibility. However, the warnings point to what should be fixed.
      There are four types of warnings:
      1. Problem with Class Path entry which does not point to valid jar for a Class-Path reference.

      14:48:34,880 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry xml-apis.jar in /content/jboss-spring-kitchensink-basic.war/WEB-INF/lib/serializer-2.7.1-redhat-3.jar  does not point to a valid jar for a Class-Path reference.
      14:48:34,882 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry xercesImpl.jar in /content/jboss-spring-kitchensink-basic.war/WEB-INF/lib/xalan-2.7.1-redhat-3.jar  does not point to a valid jar for a Class-Path reference.
      14:48:34,882 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry xml-apis.jar in /content/jboss-spring-kitchensink-basic.war/WEB-INF/lib/xalan-2.7.1-redhat-3.jar  does not point to a valid jar for a Class-Path reference.
      14:48:34,882 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015960: Class Path entry serializer.jar in /content/jboss-spring-kitchensink-basic.war/WEB-INF/lib/xalan-2.7.1-redhat-3.jar  does not point to a valid jar for a Class-Path reference.
      

      2. There are used unsupported modules

      14:48:34,969 WARN  [org.jboss.as.dependency.unsupported] (MSC service thread 1-8) JBAS018568: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using an unsupported module ("com.h2database.h2:main") which may be changed or removed in future versions without notice.
      14:48:34,969 WARN  [org.jboss.as.dependency.unsupported] (MSC service thread 1-8) JBAS018568: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using an unsupported module ("com.h2database.h2:main") which may be changed or removed in future versions without notice.
      

      3. There are used private modules

      14:48:34,969 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice.
      14:48:34,970 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice.
      14:48:34,970 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice.
      14:48:34,970 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.jboss-spring-kitchensink-basic.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice.
      

      4. Thrown exception

      14:48:35,017 WARN  [org.jboss.as.ee] (MSC service thread 1-5) JBAS011006: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)
      14:48:35,036 WARN  [org.jboss.as.ee] (MSC service thread 1-5) JBAS011006: Not installing optional component org.springframework.http.server.ServletServerHttpAsyncRequestControl due to an exception (enable DEBUG log level to see the cause)
      

      Attachments

        Activity

          People

            mjobanek Matous Jobanek
            mjobanek Matous Jobanek
            Matous Jobanek Matous Jobanek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: