curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Check Peck <comptechge...@gmail.com>
Subject Getting Error while starting Exhibitor 1.5.3 in Ubuntu 12.04
Date Mon, 09 Feb 2015 03:57:08 GMT
I have followed this wiki (
https://github.com/Netflix/exhibitor/wiki/Building-Exhibitor)  to build the
standalone version of exhibitor. I was following maven way of doing it. I
just edited the pom to have "1.5.3" version of Exhibitor and then ran this
command

mvn assembly:single

which generated me the exhibitor with 1.5.3 jar file in target folder.

And when I started the exhibitor like this -

nohup java -jar
./exhibitor-1.5.3/lib/exhibitor-1.5.3-jar-with-dependencies.jar -c file
--fsconfigdir /opt/exhibitor/conf --hostname machineA.host.com >
exhibitor.out &

I can see below errors in my exhibitor.out file as soon as I open it up on
the browser -

v1.5.3
INFO  com.netflix.exhibitor.core.activity.ActivityLog  Exhibitor started
[main]
INFO  org.mortbay.log  Logging to
org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
org.mortbay.log.Slf4jLog [main]
INFO  org.mortbay.log  jetty-1.5.3 [main]
Feb 8, 2015 8:47:44 PM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.18.3 12/01/2014
08:23 AM'
INFO  org.mortbay.log  Started SocketConnector@0.0.0.0:8080 [main]
Feb 8, 2015 8:47:45 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background
/home/directapp/.java/.userPrefs/prefs.xml
INFO  com.netflix.exhibitor.core.activity.ActivityLog  State: latent
[ActivityQueue-0]
Feb 8, 2015 8:48:14 PM com.sun.jersey.spi.container.ContainerResponse write
SEVERE: A message body writer for Java class java.util.ArrayList, and Java
type java.util.List<com.netflix.exhibitor.core.entities.UITabSpec>, and
MIME media type application/json was not found.
The registered message body writers compatible with the MIME media type are:
*/* ->
  com.sun.jersey.core.impl.provider.entity.FormProvider
  com.sun.jersey.core.impl.provider.entity.StringProvider
  com.sun.jersey.core.impl.provider.entity.ByteArrayProvider
  com.sun.jersey.core.impl.provider.entity.FileProvider
  com.sun.jersey.core.impl.provider.entity.InputStreamProvider
  com.sun.jersey.core.impl.provider.entity.DataSourceProvider
  com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General
  com.sun.jersey.core.impl.provider.entity.ReaderProvider
  com.sun.jersey.core.impl.provider.entity.DocumentProvider
  com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider
  com.sun.jersey.core.impl.provider.entity.SourceProvider$SourceWriter
  com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General
  com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General

Feb 8, 2015 8:48:14 PM com.sun.jersey.spi.container.ContainerResponse
logException
SEVERE: Mapped exception to response: 500 (Internal Server Error)
javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A
message body writer for Java class java.util.ArrayList, and Java type
java.util.List<com.netflix.exhibitor.core.entities.UITabSpec>, and MIME
media type application/json was not found.

        at
com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:284)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: com.sun.jersey.api.MessageException: A message body writer for
Java class java.util.ArrayList, and Java type
java.util.List<com.netflix.exhibitor.core.entities.UITabSpec>, and MIME
media type application/json was not found.

        ... 21 more

Is there anything wrong I am doing? Or I build it incorrectly?

Mime
View raw message