2 Replies Latest reply on Sep 12, 2017 1:26 AM by Ulukmyrza Zhakypbekov

    Starting JBossWS 5.1.3.Final (Apache CXF 3.1.4)

    Ulukmyrza Zhakypbekov Newbie

      I'm trying to use the Postgres jdbc to connect to database in Java. Added necessary drivers and when starting WildFly the server and in response receive the following error:

       

      Product summary:
      - IDE: Eclipse

      - Build: Maven
      - Framework: Vaadin
      - Server: WildFly 10.0

       

      10:24:59,508 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0059: Class Path entry yuicompressor-2.4.8.jar in /D:/dev/wildfly-10.0.0.Final/standalone/deployments/MyApp-1.0-SNAPSHOT.war/WEB-INF/lib/vaadin-sass-compiler-0.9.13.jar  does not point to a valid jar for a Class-Path reference.

      10:24:59,509 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0059: Class Path entry js-1.7R2.jar in /D:/dev/wildfly-10.0.0.Final/standalone/deployments/MyApp-1.0-SNAPSHOT.war/WEB-INF/lib/vaadin-sass-compiler-0.9.13.jar  does not point to a valid jar for a Class-Path reference.

      10:24:59,709 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."OR.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."OR.war".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment "OR.war"

      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

      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)

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0161: Failed to get manifest for deployment "/D:/dev/wildfly-10.0.0.Final/standalone/deployments/OR.war/WEB-INF/lib/commons-lang3-3.6.jar"

      at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.getManifest(ManifestAttachmentProcessor.java:78)

      at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.deploy(ManifestAttachmentProcessor.java:65)

      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)

      ... 5 more

      Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)

      at java.util.zip.ZipFile.read(Native Method)

      at java.util.zip.ZipFile.access$1400(ZipFile.java:60)

      at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717)

      at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)

      at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)

      at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:122)

      at org.jboss.vfs.util.PaddedManifestStream.read(PaddedManifestStream.java:39)

      at java.io.InputStream.read(InputStream.java:170)

      at java.util.jar.Manifest$FastInputStream.fill(Manifest.java:441)

      at java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:375)

      at java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:409)

      at java.util.jar.Attributes.read(Attributes.java:376)

      at java.util.jar.Manifest.read(Manifest.java:199)

      at java.util.jar.Manifest.<init>(Manifest.java:69)

      at org.jboss.vfs.VFSUtils.readManifest(VFSUtils.java:243)

      at org.jboss.vfs.VFSUtils.getManifest(VFSUtils.java:227)

      at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.getManifest(ManifestAttachmentProcessor.java:76)

      ... 7 more

       

       

      10:25:00,686 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 62) Initializing AtmosphereFramework

      10:25:00,734 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Installed AtmosphereHandler com.vaadin.server.communication.PushAtmosphereHandler mapped to context-path: /*

      10:25:00,734 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Installed the following AtmosphereInterceptor mapped to AtmosphereHandler com.vaadin.server.communication.PushAtmosphereHandler

      10:25:00,738 INFO  [org.atmosphere.util.IOUtils] (ServerService Thread Pool -- 62) META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader

      10:25:00,768 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Atmosphere is using org.atmosphere.util.VoidAnnotationProcessor for processing annotation

      10:25:00,783 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol

      10:25:00,793 INFO  [org.atmosphere.container.JSR356AsyncSupport] (ServerService Thread Pool -- 62) JSR 356 Mapping path /{path}

      10:25:00,798 INFO  [io.undertow.websockets.jsr] (ServerService Thread Pool -- 62) UT026005: Adding programmatic server endpoint class org.atmosphere.container.JSR356Endpoint for path /{path}

      10:25:00,803 INFO  [io.undertow.websockets.jsr] (ServerService Thread Pool -- 62) UT026005: Adding programmatic server endpoint class org.atmosphere.container.JSR356Endpoint for path /{path}/{path0}

      10:25:00,803 INFO  [io.undertow.websockets.jsr] (ServerService Thread Pool -- 62) UT026005: Adding programmatic server endpoint class org.atmosphere.container.JSR356Endpoint for path /{path}/{path0}/{path1}

      10:25:00,804 INFO  [io.undertow.websockets.jsr] (ServerService Thread Pool -- 62) UT026005: Adding programmatic server endpoint class org.atmosphere.container.JSR356Endpoint for path /{path}/{path0}/{path1}/{path2}

      10:25:00,804 INFO  [io.undertow.websockets.jsr] (ServerService Thread Pool -- 62) UT026005: Adding programmatic server endpoint class org.atmosphere.container.JSR356Endpoint for path /{path}/{path0}/{path1}/{path2}/{path3}

      10:25:00,805 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Installing Default AtmosphereInterceptors

      10:25:00,809 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) org.atmosphere.interceptor.CorsInterceptor : CORS Interceptor Support

      10:25:00,810 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) org.atmosphere.interceptor.CacheHeadersInterceptor : Default Response's Headers Interceptor

      10:25:00,811 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) org.atmosphere.interceptor.PaddingAtmosphereInterceptor : Browser Padding Interceptor Support

      10:25:00,812 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) org.atmosphere.interceptor.AndroidAtmosphereInterceptor : Android Interceptor Support

      10:25:00,813 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Dropping Interceptor org.atmosphere.interceptor.HeartbeatInterceptor

      10:25:00,814 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) org.atmosphere.interceptor.SSEAtmosphereInterceptor : SSE Interceptor Support

      10:25:00,815 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) org.atmosphere.interceptor.JSONPAtmosphereInterceptor : JSONP Interceptor Support

      10:25:00,816 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) org.atmosphere.interceptor.JavaScriptProtocol : Atmosphere JavaScript Protocol

      10:25:00,817 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor : org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor

      10:25:00,818 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) org.atmosphere.interceptor.OnDisconnectInterceptor : Browser disconnection detection

      10:25:00,818 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) org.atmosphere.interceptor.IdleResourceInterceptor : org.atmosphere.interceptor.IdleResourceInterceptor

      10:25:00,819 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults to disable them.

      10:25:00,823 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Using EndpointMapper class org.atmosphere.util.DefaultEndpointMapper

      10:25:00,823 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Using BroadcasterCache: org.atmosphere.cache.UUIDBroadcasterCache

      10:25:00,824 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Default Broadcaster Class: org.atmosphere.cpr.DefaultBroadcaster

      10:25:00,824 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Broadcaster Polling Wait Time 100

      10:25:00,824 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Shared ExecutorService supported: true

      10:25:00,825 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Messaging Thread Pool Size: Unlimited

      10:25:00,825 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Async I/O Thread Pool Size: 200

      10:25:00,825 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory

      10:25:00,825 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor

      10:25:00,832 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Invoke AtmosphereInterceptor on WebSocket message true

      10:25:00,832 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) HttpSession supported: true

      10:25:00,832 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Atmosphere is using DefaultAtmosphereObjectFactory for dependency injection and object creation

      10:25:00,833 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Atmosphere is using async support: org.atmosphere.container.JSR356AsyncSupport running under container: WildFly 2.0.10.Final - 1.3.15.Final using javax.servlet/3.0 and jsr356/WebSocket API

      10:25:00,833 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Atmosphere Framework 2.2.9.vaadin2 started.

      10:25:00,837 INFO  [org.atmosphere.cpr.AtmosphereFramework] (ServerService Thread Pool -- 62) Installed AtmosphereInterceptor  Track Message Size Interceptor using | with priority BEFORE_DEFAULT

      10:25:00,937 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 62) WFLYUT0021: Registered web context: /MyApp-1.0-SNAPSHOT

      10:25:00,945 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "OR.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"OR.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"OR.war\".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"OR.war\"

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSRV0161: Failed to get manifest for deployment \"/D:/dev/wildfly-10.0.0.Final/standalone/deployments/OR.war/WEB-INF/lib/commons-lang3-3.6.jar\"

          Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)"}}

      10:25:01,214 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "OR.war" (runtime-name : "OR.war")

      10:25:01,214 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "MyApp-1.0-SNAPSHOT.war" (runtime-name : "MyApp-1.0-SNAPSHOT.war")

      10:25:01,219 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."OR.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."OR.war".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment "OR.war"

       

       

      10:25:01,681 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management

      10:25:01,681 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990

      10:25:01,682 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started (with errors) in 13903ms - Started 350 of 642 services (1 services failed or missing dependencies, 382 services are lazy, passive or on-demand)

      10:25:01,740 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment OR.war (runtime-name: OR.war) in 5ms

      10:25:01,916 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "OR.war" (runtime-name: "OR.war")

      10:25:01,916 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."OR.war".STRUCTURE

       

       

      10:25:06,311 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found OR.war in deployment directory. To trigger deployment create a file called OR.war.dodeploy