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

hardcoded 8080 port on links? #34

Open
arademaker opened this issue Apr 11, 2019 · 3 comments
Open

hardcoded 8080 port on links? #34

arademaker opened this issue Apr 11, 2019 · 3 comments

Comments

@arademaker
Copy link
Contributor

docker pull apease/sigmakee2018:latest
docker run -it -d -p 4000:8080 --name trial04 apease/sigmakee2018:latest "./sigmastart.sh"

note the port redirection

Browsing

http://localhost:4000/sigma/Browse.jsp?flang=SUO-KIF&lang=EnglishLanguage&kb=SUMO&term=Basin

I tried to click on the term orientation but it gives me back an error. Actually, all links are pointing the port 8080 like http://localhost:8080/sigma/Browse.jsp...

@arademaker arademaker changed the title an absolute link hardcoded 8080 port on links? Apr 11, 2019
@apease
Copy link
Contributor

apease commented Jun 21, 2019

need to change the config.xml "port" parameter in the docker files

@arademaker
Copy link
Contributor Author

This issue is about some (possible problematic) mentions to 8080 in the Java code:

java/SigmaStatusCheck.java
52           if (!containsSUMO("http://localhost:8080/sigma/KBs.jsp") && !emailSentFile.exists()) {
68                   msg.setText("The Sigma main page at http://sigma.ontologyportal.org:8080/sigma/KBs.jsp is down.");
79           else if (containsSUMO("http://localhost:8080/sigma/KBs.jsp") && emailSentFile.exists()) {

java/TPTPWorld/InterfaceTPTP.java
698  							port = "8080";

java/com/articulate/sigma/Diagnostics.java
779              port = "8080";

java/com/articulate/sigma/KBmanager.java
249              preferences.put("port","8080");

java/com/articulate/sigma/HTMLformatter.java
118              port = "8080";

java/com/articulate/sigma/SigmaCheck.java
122  		String url = "http://sigma-01.cim3.net:8080/sigma/KBs.jsp";

java/com/articulate/sigma/Graph.java
272                  port = "8080";

java/com/articulate/sigma/CELTTestSuite.java
70               port = "8080";

@apease
Copy link
Contributor

apease commented May 19, 2020

the first is a check for the public server, that is always 8080. Some of the others are just defaults. But I'll double check

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