Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

I have a Development Environment on Debian 9.3 and a Test Environment on Windows 2012R2

Publication is done through the versioning of Knowage tree and mariaDB dump from the Development environment to the Test Environment via a set of scripts.

Everything works fine on the Development server, my cockpit display nicely on Google chrome on Windows 7 client :

It displays with blank boxes, but at least it loads and start under IE11 on the same client machine :

But when deployed on the Test Environment, with the Windows 2012R2 Server, it stucks (server interaction, IE does not even raise any exception in the console) :

And when I look at the localhost_access_log.yyyy-mm-dd.txt I see it complains 404 about {{imageBackgroundURL}} :

And of course, I have no such error on the Development Environment on Debian 9.3

Environment Development Server : Debian 9.3 / OpenJDK 1.8 64bits / Knowage 6.1.1 / MariaDB 10.2 - Test Server : Windows Server 2012R2 64 bits / Oracle JDK 1.8.0_73 64bits / Knowage 6.1.1 / Maria DB 10.2
closed with the note: CLOSED FOR LONG USER INACTIVITY
in Cockpit, Dashboard and Console by (260 points)
closed by
Assuming that you are running on Tomcat, how did you configured host_url and service_url in you server.xml files?

On the Development server (working), which listens on port 443, has SSL and a FQDN of something like server.domain.tld, I do have :

service_url -> https://server.domain.tld/knowage

host_url -> https://server.domain.tld

On the Test server (Error 404 on {{imageBackgroundURL}}, which listens on port 8080 without SSL and a local name like xxxsrv01, I do have :

service_url -> http://xxxsrv01:8080/knowage

host_url -> https://xxxsrv01:8080

Do you have other errors in other log files?

Did yoy configure properly the server.xml in the second Tomcat to use SSL?
Sorry, on the second server (Test), it is all http, not https, so yes, it should not be an https/http issue.

Second server is

service_url -> http://xxxsrv01:8080/knowage

host_url -> http://xxxsrv01:8080

Alright. I would suggest two things:

  1. Can you try using Chrome on the Test server and see if it works or if there is any other error in console?
  2. Can see check if there are errors in log files (catalina.out, knowage.log, knowagecockpitengine.log)?
I really hope to see an error in order to help you :)
...