Closed stbach closed 2 years ago
Did the web interface (or REST interface if you have automated the tests) not provide any error message?
Please also post the output of http://localhost:8080/etf-webapp/v2/status .
Hi,
Yes, see attachments.
Failure 1: data source (xml metadata) can not be uploaded through "file upload";
02_DataUpload_EN_180724.jpg
Failure 2: data source (xml metadata) can not be uploaded through "URL";
01_RemoteFile(URL)_EN_180724.jpg
{"name":"ETF","status":"MAJOR","heartbeat":"1532425404699","willExpireAt":"1532425444699","version":"2.0.0-b180115T1110","uptime":"1123","allocatedMemory":"205367904","presumableFreeMemory":"54154656","totalSpace":"999887466496","freeSpace":"905858609152","cpuLoad":"0,000585","messages":["Less then 512 MB RAM available"]}
Thanks for the screenshots and details. Ok, one important point is missing in the documentation:
You need to set or increase the -Xmx
parameter in the Tomcat configuration. This screenshot shows this for the Tomcat service configuration window (-Xmx31G to reserve 31 GB memory). You need to set this parameter to at least 4 GB ram -> -Xmx4G
( > 8GB are recommended).
Thanks for extremely quick reply.
Your hint has helped me to solve the problem.
I also had to set up -Xmx4095m
value for -Xmx
parameter in Windows because the default value for Java Heap on my machine was set to 512 MB.
Solution:
Runtime-Parameter: -Xmx4095m
-Xmx4G
This is done for Tomcat installation as a service. (http://docs.etf-validator.net/v2.0/Admin_manuals/index.html#_installation_on_windows)
Remark: I think that the same procedure has to be done if Tomcat is started on Windows on the console via the batch.
closing in favour of https://github.com/etf-validator/etf-webapp/issues/167
As we installed a local installation of the ETF Validator as explained on http://docs.etf-validator.net/v2.0/Admin_manuals/index.html#_installation_on_windows for executing ETF Test classes we got failures regardless of the used test class - ETF Validator and neccesary software already installed as mentioned in the URL.
Failure 1: data source (xml metadata) can not be uploaded through "file upload"; 2018-07-11 07:58:43.145 [http-nio-8080-exec-6] ERROR d.i.e.w.d.ApiError - EXID-1531288723145: An exception occurred while trying to invoke "http://localhost:8080/etf-webapp/v2/TestObjects"org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is de.interactive_instruments.etf.webapp.controller.LocalizableApiError
Failure 2: data source (xml metadata) can not be uploaded through "URL"; 2018-07-11 08:01:32.591 [http-nio-8080-exec-3] ERROR d.i.e.w.d.ApiError - EXID-1531288892589: An exception occurred while trying to invoke "http://localhost:8080/etf-webapp/v2/TestRuns"org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is de.interactive_instruments.etf.webapp.controller.LocalizableApiError
Is this a known behaviour, maybe already fixed?
Failure_2018-07-11 ETF_Upload.txt Failure_2018-07-11 ETF_URL.txt xml metadata: MDzuGD_INSPIRE_BW_Verwaltungseinheiten_ATKIS_Basis-DLM_advANDinspire.xml.zip