Free Support Forum - groupdocs.com

Site hangs in "Loading your content"


#1

Hi,

i have problem. The exemple “dropwizard” (Java) hangs. It shows label “Loading your content…”.

messages in console:

C:\Users\schroedera85\Downloads\GroupDocs.Annotation_1.5.0_java_samples\GroupDocs.Annotation_1.5.0_java_samples\samples\dropwizard>run.bat

C:\Users\schroedera85\Downloads\GroupDocs.Annotation_1.5.0_java_samples\GroupDocs.Annotation_1.5.0_java_samples\samples\dropwizard>mvn compile exec:java
[INFO] Scanning for projects…
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GroupDocs Java Annotation - Sample Dropwizard 1.5.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ groupdocs-annotation-dropwizard —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] — maven-compiler-plugin:3.0:compile (default-compile) @ groupdocs-annotation-dropwizard —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) > validate @ groupdocs-annotation-dropwizard >>>
[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) < validate @ groupdocs-annotation-dropwizard <<<
[INFO]
[INFO] — exec-maven-plugin:1.2.1:java (default-cli) @ groupdocs-annotation-dropwizard —
Invalid license file, starting up evaluation mode.
Indexing files. Please wait…
WARN [2014-09-18 08:25:54,142] com.yammer.dropwizard.config.ServerFactory:
!!!
!!!
! THIS SERVICE HAS NO HEALTHCHECKS. THIS MEANS YOU WILL NEVER KNOW IF IT !
! DIES IN PRODUCTION, WHICH MEANS YOU WILL NEVER KNOW IF YOU’RE LETTING !
! YOUR USERS DOWN. YOU SHOULD ADD A HEALTHCHECK FOR EACH DEPENDENCY OF !
! YOUR SERVICE WHICH FULLY (BUT LIGHTLY) TESTS YOUR SERVICE’S ABILITY TO !
! USE THAT SERVICE. THINK OF IT AS A CONTINUOUS INTEGRATION TEST. !
!!!
!!!
INFO [2014-09-18 08:25:54,194] com.yammer.dropwizard.cli.ServerCommand: Starting GroupDocs.Annotation for Java
_____
/ | | __ </div>
| | __ _ __ ___ _ _ _ __ | | | | ___ ___
| | | | '/ _ | | | | ’ | | | |/ _ \ / __/ |
| || | | | () | || | |) | || | (_) | (_ </div>
_|| ___/ _,| ./|/ _/ _|/
| |
||
INFO [2014-09-18 08:25:54,195] org.eclipse.jetty.server.Server: jetty-8.1.10.v20130312
INFO [2014-09-18 08:25:54,225] org.atmosphere.cpr.AtmosphereFramework: Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
INFO [2014-09-18 08:25:54,225] org.atmosphere.cpr.DefaultAnnotationProcessor: AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$BytecodeBasedAnnotationProcessor being used
INFO [2014-09-18 08:25:54,248] org.atmosphere.cpr.AtmosphereFramework: Auto detecting atmosphere handlers /WEB-INF/classes/
WARN [2014-09-18 08:25:54,251] org.atmosphere.cpr.AtmosphereFramework: Missing META-INF/atmosphere.xml but found the Jersey runtime. Starting Jersey
INFO [2014-09-18 08:25:54,259] org.atmosphere.cpr.AtmosphereFramework: Installed AtmosphereHandler org.atmosphere.handler.ReflectorServletProcessor mapped to context-path /* and Broadcaster Class org.atmosphere.jersey.JerseyBroadcaster
INFO [2014-09-18 08:25:54,259] org.atmosphere.cpr.AtmosphereFramework: Auto detecting WebSocketHandler in /WEB-INF/classes/
INFO [2014-09-18 08:25:54,260] org.atmosphere.cpr.AtmosphereFramework: Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol
INFO [2014-09-18 08:25:54,271] org.atmosphere.handler.ReflectorServletProcessor: Installing Servlet com.sun.jersey.spi.container.servlet.ServletContainer
INFO [2014-09-18 08:25:54,275] com.sun.jersey.api.core.PackagesResourceConfig: Scanning for root resource and provider classes in the packages:
com.groupdocs.annotation.resources.atmosphere
com.groupdocs.annotation.resources.atmosphere
INFO [2014-09-18 08:25:54,289] com.sun.jersey.api.core.ScanningResourceConfig: Root resource classes found:
class com.groupdocs.annotation.resources.atmosphere.AtmosphereServiceResource
INFO [2014-09-18 08:25:54,289] com.sun.jersey.api.core.ScanningResourceConfig: No provider classes found.
INFO [2014-09-18 08:25:54,332] com.sun.jersey.server.impl.application.WebApplicationImpl: Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM’
INFO [2014-09-18 08:25:54,333] com.sun.jersey.server.impl.application.WebApplicationImpl: Adding the following classes declared in META-INF/services/jersey-server-components to the resource configuration:
class org.atmosphere.jersey.AtmosphereResourceConfigurator
WARN [2014-09-18 08:25:54,631] com.sun.jersey.spi.inject.Errors: The following warnings have been detected with resource and/or provider classes:
WARNING: A HTTP GET method, public void com.groupdocs.annotation.resources.atmosphere.AtmosphereServiceResource.suspend(org.atmosphere.cpr.AtmosphereResource), MUST return a non-void type.
INFO [2014-09-18 08:25:54,634] org.atmosphere.cpr.AtmosphereFramework: Installed AtmosphereInterceptor Track Message Size Interceptor using | with priority BEFORE_DEFAULT
INFO [2014-09-18 08:25:54,634] org.atmosphere.cpr.AtmosphereFramework: Installing Default AtmosphereInterceptor
INFO [2014-09-18 08:25:54,634] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.CorsInterceptor : CORS Interceptor Support
INFO [2014-09-18 08:25:54,634] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.CacheHeadersInterceptor : Default Response’s Headers Interceptor
INFO [2014-09-18 08:25:54,635] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.PaddingAtmosphereInterceptor : Browser Padding Interceptor Support
INFO [2014-09-18 08:25:54,635] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.AndroidAtmosphereInterceptor : Android Interceptor Support
INFO [2014-09-18 08:25:54,635] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.HeartbeatInterceptor : Heartbeat Interceptor Support
INFO [2014-09-18 08:25:54,636] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.SSEAtmosphereInterceptor : SSE Interceptor Support
INFO [2014-09-18 08:25:54,636] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.JSONPAtmosphereInterceptor : JSONP Interceptor Support
INFO [2014-09-18 08:25:54,637] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.JavaScriptProtocol : Atmosphere JavaScript Protocol
INFO [2014-09-18 08:25:54,637] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor : org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor
INFO [2014-09-18 08:25:54,637] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.OnDisconnectInterceptor : Browser disconnection detection
INFO [2014-09-18 08:25:54,637] org.atmosphere.cpr.AtmosphereFramework: org.atmosphere.interceptor.IdleResourceInterceptor : org.atmosphere.interceptor.IdleResourceInterceptor
INFO [2014-09-18 08:25:54,637] org.atmosphere.cpr.AtmosphereFramework: Installed AtmosphereInterceptor Track Message Size Interceptor using | with priority BEFORE_DEFAULT
INFO [2014-09-18 08:25:54,637] org.atmosphere.cpr.AtmosphereFramework: Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults to disable them.
INFO [2014-09-18 08:25:54,639] org.atmosphere.cpr.AtmosphereFramework: Using EndpointMapper class org.atmosphere.util.DefaultEndpointMapper
WARN [2014-09-18 08:25:54,639] org.atmosphere.cpr.AtmosphereFramework: No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
INFO [2014-09-18 08:25:54,639] org.atmosphere.cpr.AtmosphereFramework: Default Broadcaster Class: org.atmosphere.jersey.JerseyBroadcaster
INFO [2014-09-18 08:25:54,639] org.atmosphere.cpr.AtmosphereFramework: Broadcaster Polling Wait Time 100
INFO [2014-09-18 08:25:54,639] org.atmosphere.cpr.AtmosphereFramework: Shared ExecutorService supported: true
INFO [2014-09-18 08:25:54,639] org.atmosphere.cpr.AtmosphereFramework: Messaging Thread Pool Size: Unlimited
INFO [2014-09-18 08:25:54,639] org.atmosphere.cpr.AtmosphereFramework: Async I/O Thread Pool Size: 200
INFO [2014-09-18 08:25:54,639] org.atmosphere.cpr.AtmosphereFramework: Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
INFO [2014-09-18 08:25:54,639] org.atmosphere.cpr.AtmosphereFramework: Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
INFO [2014-09-18 08:25:54,639] org.atmosphere.cpr.AtmosphereFramework: HttpSession supported: false
INFO [2014-09-18 08:25:54,640] org.atmosphere.cpr.AtmosphereFramework: Atmosphere is using DefaultAtmosphereObjectFactory for dependency injection and object creation
INFO [2014-09-18 08:25:54,640] org.atmosphere.cpr.AtmosphereFramework: Atmosphere is using async support: org.atmosphere.container.JettyServlet30AsyncSupportWithWebSocket running under container: jetty/8.1.10.v20130312 with WebSocket enabled.
INFO [2014-09-18 08:25:54,641] org.atmosphere.cpr.AtmosphereFramework: Atmosphere Framework 2.1.6 started.
INFO [2014-09-18 08:25:54,641] org.atmosphere.cpr.AtmosphereFramework:

For Atmosphere Framework Commercial Support, visit

INFO [2014-09-18 08:25:54,642] com.sun.jersey.server.impl.application.WebApplicationImpl: Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM’
INFO [2014-09-18 08:25:54,643] com.sun.jersey.server.impl.application.WebApplicationImpl: Adding the following classes declared in META-INF/services/jersey-server-components to the resource configuration:
class org.atmosphere.jersey.AtmosphereResourceConfigurator
INFO [2014-09-18 08:25:54,936] org.eclipse.jetty.server.AbstractConnector: Started InstrumentedSelectChannelConnector@0.0.0.0:8080
INFO [2014-09-18 08:25:54,938] org.eclipse.jetty.server.AbstractConnector: Started SocketConnector@0.0.0.0:8081
INFO [2014-09-18 08:25:55,216] org.atmosphere.cpr.AtmosphereFramework: Latest version of Atmosphere’s JavaScript Client 2.2.2
INFO [2014-09-18 08:25:55,216] org.atmosphere.cpr.AtmosphereFramework:

Current version of Atmosphere 2.1.6
Newest version of Atmosphere available 2.1.8


0:0:0:0:0:0:0:1 - - [18/Sep/2014:08:26:03 +0000] “GET / HTTP/1.1” 200 1465 179 179
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=libs/modernizr.2.6.2.Transform2d.min.js HTTP/1.1” 200 3643 2 2
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=libs/knockout-3.0.0.js HTTP/1.1” 200 17176 5 5
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=libs/jquery-1.9.1.min.js HTTP/1.1” 200 32804 8 8
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=libs/turn.min.js HTTP/1.1” 200 11066 5 5
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=installableViewer.min.js HTTP/1.1” 200 7104 5 5
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetCssHandler?script=GroupdocsViewer.all.min.css HTTP/1.1” 200 2077 2 2
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetCssHandler?script=jquery-ui-1.10.3.dialog.min.css HTTP/1.1” 200 3120 1 1
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetCssHandler?script=bootstrap.css HTTP/1.1” 200 12994 4 4
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetCssHandler?script=Annotation.css HTTP/1.1” 200 639 1 1
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetCssHandler?script=Toolbox.css HTTP/1.1” 200 6676 2 2
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=libs/jquery.tinyscrollbar.min.js HTTP/1.1” 200 1039 1 1
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=GroupDocsAtmosphere.js HTTP/1.1” 200 1802 0 0
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=libs/jquery-ui-1.10.3.min.js HTTP/1.1” 200 60693 22 22
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=libs/atmosphere-min.js HTTP/1.1” 200 21344 6 6
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=GroupdocsViewer.all.min.js HTTP/1.1” 200 73224 23 23
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /GetJsHandler?script=GroupdocsAnnotation.all.min.js HTTP/1.1” 200 70677 24 24
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /images/bg-trial.png HTTP/1.1” 200 393 1 1
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /images/mainbg.png HTTP/1.1” 200 227 1 1
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /images/selection2.gif HTTP/1.1” 200 191 1 1
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /images/sprites.png HTTP/1.1” 200 29610 3 3
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /images/spinner.gif HTTP/1.1” 200 2301 2 2
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /fonts/PT_Sans-Web-Bold.woff HTTP/1.1” 200 59197 6 6
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /images/sprites_annotation.png HTTP/1.1” 200 49415 8 8
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /fonts/PT_Sans-Web-Regular.woff HTTP/1.1” 200 57011 5 5
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “OPTIONS /document-viewer/ViewDocumentHandler HTTP/1.1” 204 0 1 1
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “OPTIONS /document-viewer/LoadFileBrowserTreeDataHandler HTTP/1.1” 204 0 0 0
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /fonts/PT_Sans-Web-Bold.ttf HTTP/1.1” 204 20 8 8
WARN [2014-09-18 08:26:03,525] org.eclipse.jetty.servlet.ServletHandler: /fonts/PT_Sans-Web-Bold.ttf
! java.lang.IllegalStateException: Compressed output stream is already assigned.
! at org.eclipse.jetty.http.gzip.AbstractCompressedStream.doNotCompress(AbstractCompressedStream.java:268) ~[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.http.gzip.CompressedResponseWrapper.noCompression(CompressedResponseWrapper.java:319) ~[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.http.gzip.CompressedResponseWrapper.setStatus(CompressedResponseWrapper.java:166) ~[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at com.sun.jersey.spi.container.servlet.WebComponent$Writer.finish(WebComponent.java:286) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:241) ~[jersey-server-1.17.1.jar:1.17.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479) ~[jersey-server-1.17.1.jar:1.17.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) ~[jersey-server-1.17.1.jar:1.17.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) ~[jersey-server-1.17.1.jar:1.17.1]
! at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) ~[javax.servlet-3.0.0.v201112011016.jar:na]
! at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448) ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at com.yammer.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29) ~[dropwizard-core-0.6.2.jar:na]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) [jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) [jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200) [metrics-jetty-2.2.0.jar:na]
! at org.eclipse.jetty.server.handler.GzipHandler.handle(GzipHandler.java:264) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at com.yammer.dropwizard.jetty.BiDiGzipHandler.handle(BiDiGzipHandler.java:123) [dropwizard-core-0.6.2.jar:na]
! at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.Server.handle(Server.java:368) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) [jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) [jetty-io-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312]
! at java.lang.Thread.run(Thread.java:744) [na:1.8.0]
127.0.0.1 - - [18/Sep/2014:08:26:03 +0000] “GET /fonts/PT_Sans-Web-Regular.ttf HTTP/1.1” 204 20 8 8
WARN [2014-09-18 08:26:03,525] org.eclipse.jetty.servlet.ServletHandler: /fonts/PT_Sans-Web-Regular.ttf
! java.lang.IllegalStateException: Compressed output stream is already assigned.
! at org.eclipse.jetty.http.gzip.AbstractCompressedStream.doNotCompress(AbstractCompressedStream.java:268) ~[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.http.gzip.CompressedResponseWrapper.noCompression(CompressedResponseWrapper.java:319) ~[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.http.gzip.CompressedResponseWrapper.setStatus(CompressedResponseWrapper.java:166) ~[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at com.sun.jersey.spi.container.servlet.WebComponent$Writer.finish(WebComponent.java:286) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:241) ~[jersey-server-1.17.1.jar:1.17.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479) ~[jersey-server-1.17.1.jar:1.17.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) ~[jersey-server-1.17.1.jar:1.17.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) ~[jersey-server-1.17.1.jar:1.17.1]
! at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) ~[javax.servlet-3.0.0.v201112011016.jar:na]
! at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448) ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at com.yammer.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29) ~[dropwizard-core-0.6.2.jar:na]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) [jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) [jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200) [metrics-jetty-2.2.0.jar:na]
! at org.eclipse.jetty.server.handler.GzipHandler.handle(GzipHandler.java:264) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at com.yammer.dropwizard.jetty.BiDiGzipHandler.handle(BiDiGzipHandler.java:123) [dropwizard-core-0.6.2.jar:na]
! at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.Server.handle(Server.java:368) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) [jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) [jetty-io-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312]
! at java.lang.Thread.run(Thread.java:744) [na:1.8.0]
127.0.0.1 - - [18/Sep/2014:08:26:32 +0000] “GET /GetCssHandler?script=jquery-ui-1.10.3.dialog.min.css HTTP/1.1” 200 3120 1 1
127.0.0.1 - - [18/Sep/2014:08:26:32 +0000] “GET /GetCssHandler?script=GroupdocsViewer.all.min.css HTTP/1.1” 200 2077 2 2
127.0.0.1 - - [18/Sep/2014:08:26:32 +0000] “GET /GetCssHandler?script=Toolbox.css HTTP/1.1” 200 6676 2 2
127.0.0.1 - - [18/Sep/2014:08:26:32 +0000] “GET /GetCssHandler?script=Annotation.css HTTP/1.1” 200 639 1 1
127.0.0.1 - - [18/Sep/2014:08:26:32 +0000] “GET /GetCssHandler?script=bootstrap.css HTTP/1.1” 200 12994 4 4


Messages in Browser(Chrome):

Font from origin ‘http://127.0.0.1:8080’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8080’ is therefore not allowed access. localhost/:1
XMLHttpRequest cannot load http://127.0.0.1:8080/document-viewer/ViewDocumentHandler. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8080’ is therefore not allowed access. localhost/:1
XMLHttpRequest cannot load http://127.0.0.1:8080/document-viewer/LoadFileBrowserTreeDataHandler. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8080’ is therefore not allowed access. localhost/:1
2Font from origin ‘http://127.0.0.1:8080’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8080’ is therefore not allowed access.


Can you help me?

#2

Handled via live chat.

The reason was in the URL configuration. The application is accessible strictly at the URL set by the “applicationPath” parameter.