Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image not working #31

Closed
Morijarti opened this issue Apr 22, 2016 · 2 comments
Closed

Docker image not working #31

Morijarti opened this issue Apr 22, 2016 · 2 comments
Assignees

Comments

@Morijarti
Copy link

Morijarti commented Apr 22, 2016

Hello,

I downloaded image using
docker pull dbpedia/lookup

however when I run server and try to query it using
curl http://localhost:1111/api/search/KeywordSearch?QueryClass=place&QueryString=berlin
I get the following exception

Apr 22, 2016 9:08:11 AM com.sun.jersey.spi.container.ContainerResponse write
SEVERE: A message body writer for Java class java.lang.String, and Java type class java.lang.String, and MIME media type application/xml was not found
Apr 22, 2016 9:08:11 AM com.sun.jersey.spi.container.ContainerResponse write
SEVERE: The registered message body writers compatible with the MIME media type are:
*/* ->
  com.sun.jersey.server.impl.template.ViewableMessageBodyWriter

Apr 22, 2016 9:08:11 AM 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.lang.String, and Java type class java.lang.String, and MIME media type application/xml was not found
        at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:285)
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1316)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1229)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1219)
        at com.sun.jersey.server.impl.container.httpserver.HttpHandlerContainer.handle(HttpHandlerContainer.java:191)
        at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
        at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
        at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
        at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
        at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
        at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
        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: com.sun.jersey.api.MessageException: A message body writer for Java class java.lang.String, and Java type class java.lang.String, and MIME media type application/xml was not found
        ... 14 more
@Morijarti
Copy link
Author

Most likely the same problem as #30

@sandroacoelho sandroacoelho self-assigned this Apr 22, 2016
sandroacoelho added a commit that referenced this issue Jun 1, 2016
@sandroacoelho
Copy link
Contributor

sandroacoelho commented Jun 1, 2016

Hi @Morijarti

So sorry for the big delay. We finally have fixed our Docker Distribution. Could you please test our tag v201504 ? Thanks

NOTE: Our server is indexing 3.8, 3.9 and 2015-10 versions. I will let you know when has finished - Thank you for your patience

ahmadassaf added a commit to ahmadassaf/dbpedia-lookup that referenced this issue Jun 3, 2016
* 'master' of https://github.com/dbpedia/lookup:
  Update README.md
  Fixing Docker distribution (issue dbpedia#31)
  Fixing issue dbpedia#30 and dbpedia#31
  Update README.md
  Update README.md
  Update WikiStatsExtractor.scala
  Update WikiStatsExtractor.scala
  Update pom.xml
  Update README.md
  WikiStatsExtractor integration
  Update README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants