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

localhost:8080 returns a Blank Page #12

Closed
lezakkaz opened this issue Jun 25, 2015 · 2 comments
Closed

localhost:8080 returns a Blank Page #12

lezakkaz opened this issue Jun 25, 2015 · 2 comments

Comments

@lezakkaz
Copy link

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

>mvn tomcat:run

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.aksw:AGDISTIS:war:0.4.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp
iler-plugin is missing. @ line 12, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-sour
ce-plugin is missing. @ line 41, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building AGDISTIS 0.4.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat-maven-plugin:1.1:run (default-cli) > compile @ AGDISTIS >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ AGDISTIS -
--
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ AGDISTIS ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< tomcat-maven-plugin:1.1:run (default-cli) < compile @ AGDISTIS <<<
[INFO]
[INFO] --- tomcat-maven-plugin:1.1:run (default-cli) @ AGDISTIS ---
[INFO] Running war on http://localhost:8080/AGDISTIS
[INFO] Using existing Tomcat server configuration at C:\Users\zaki\Documents\Git
Hub\AGDISTIS\AGDISTIS\target\tomcat
Jun 25, 2015 3:00:41 PM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
Jun 25, 2015 3:00:41 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Jun 25, 2015 3:00:41 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 25, 2015 3:00:41 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080

I'm not sure where is the problem, I would appreciate any help. Thank you.

Khiati Z. Abdel-ilah

@RicardoUsbeck
Copy link
Collaborator

Hi,

the web server is running in normal mode, i.e., localhost:8080/AGDISTIS is a webservice which is waiting for a request. There is no HTML frontend.

Try to query the web interface via:
curl --data-urlencode "text='The University of Leipzig in Barack Obama.'" -d type='agdistis' http://localhost:8080/AGDISTIS

https://github.com/AKSW/AGDISTIS/wiki/2-Asking-the-webservice

@lezakkaz
Copy link
Author

Thanks a lot its working now.

This was my first request:

The Presidency of <entity>Barack Obama</entity> began at noon EST on January 20, 2009, when he became the <entity>44th President of the United States</entity>. Obama was a <entity>United States Senator</entity> from <entity>Illinois</entity> at the time of his victory over Arizona Senator <entity>John McCain</entity> in the <entity>2008 presidential election</entity>. Barack Obama is the first <entity>African American</entity> president of the United States, as well as the first born in <entity>Hawaii</entity>.

and the result was:

[
{"namedEntity":"Illinois","start":166,"disambiguatedURL":"http:\\dbpedia.org\resource\Illinois","offset":8},

{"namedEntity":"African American","start":296,"disambiguatedURL":"http:\\dbpedia.org\resource\Race_and_ethnicity_in_the_United_States_Census","offset":16},

{"namedEntity":"John McCain","start":223,"disambiguatedURL":"http:\\dbpedia.org\resource\John_McCain","offset":11},

{"namedEntity":"44th President of the United States","start":90,"disambiguatedURL":"http:\\dbpedia.org\resource\George_Washington","offset":35},

{"namedEntity":"Barack Obama","start":19,"disambiguatedURL":"http:\\dbpedia.org\resource\Barack_Obama","offset":12},

{"namedEntity":"Hawaii","start":374,"disambiguatedURL":"http:\\dbpedia.org\resource\Hawaii","offset":6},

{"namedEntity":"2008 presidential election","start":242,"disambiguatedURL":"http:\\dbpedia.org\resource\Electoral_calendar_2007","offset":26},

{"namedEntity":"United States Senator","start":139,"disambiguatedURL":"http:\\dbpedia.org\resource\United_States_Senate","offset":21}
]

Thanks again :)

Khiati Z. Abdel-ilah

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