-
-
Notifications
You must be signed in to change notification settings - Fork 486
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
Notice on OpenJDK 11 and Jetty9.4.15 - Teedy Server fails #316
Comments
Hi, the issue is still persisent. I tried jetty9 and tomcat9. Both return the same error, which is:
i have no idea how to fix this problem. I invested many hours now trying to downgrade jetty, change from jetty to tomcat, try to revert java (which i was not able to do). I think there is some breaking change in config from openjdk-11-jre-headless version 10.0.2 which was updated by my system to openjdk-11-jre-headless 11.0.2 regularly. It seems to belong to some log4j stuff. |
It looks like an issue on your system if the file is read only. |
Hi. No there is no issue with file system. I have this issue with same setup on two different machines now, because they pulled the same updates. Thats the point :( The error leads thinking about file system error but thats not the case indeed :( |
you tried deleting the log file before starting the app? |
for sure. i cleaned up log files, journalctl, tried to remove and resetup /var/docs and so on |
Looks like a bug in log4j, it will need more debug |
Hi,
can you give me some help on how to get more debug info for log4j? |
I just tested with JDK 11 running on Windows 10 and I cannot reproduce your issue. The log file is created without problem. I will investigate further with an Ubuntu machine. |
Tried again with OpenJDK 11 on a fresh Ubuntu 18.04, and no issue, the log file is created. |
Hi, thanks for your time investigation. Did you try to update and upgrade each lib to latest? I am using Ubuntu 18 LTS. At the other thread somebody find out sth useful as it seems: I'm facing the same error and I was able to track it down to the jetty9.service file.
i will try this out tomorrow and find out if it works again. I am still wondering because i was not able to get sismics running with tomcat9 too. So maybe tomcat9 has similar lack of system protection maybe. (as i mentioned i tried to change java policy without luck) regards, Mario |
I used a fresh Ubuntu 18.04 with everything updated yes (in a virtual machine). |
hi, adjusting the service file fixed it for me. but i'd like to ask if its possible to change the default basedir /var/docs to sth else. Would be great to have an option to change it to /mnt/teedy/data for example regards and thanks again, Mario |
You can override the default data directory with a system property like here: https://github.com/sismics/docs/blob/master/docs.xml |
Hi,
updating to latest Jetty9 + OpenJDK 11 leads to be impossible to run Sismics Server because the system goes into an error state of "read-only file system". I have no solution for this, but i wanted to let you know about some ticket i created at Jetty project. I think something new needs to be configured since Jetty 9.4.15
jetty/jetty.project#3579
regards, Mario
The text was updated successfully, but these errors were encountered: