I have been playing the openmaint setup roulette for over a month, and managed to install and run it on Ubuntu 18.04 Bionic on two virtual machines, with specs as recommended, the first using the GUI sh install, the second manually from the war and db dumps.
However on both systems, whenever I try to make any customizations, I get the following error:
java.lang.IllegalArgumentException: permission denied: user not authorized to modify class
I have tried reading the technical manual, and created new users, but I feel I may be missing some very basic information here… anyone can help? Is this related to the demo dump, a java error, or what am I looking for?
Hi,
the permission denied error appears when you try to create a class as the default admin user as well?
Have you created the new users via query or via administration module?
Yes, the permission denied error appears when using the default admin user as well.
I can create new users via admin module, but these will also get the same error.
Could it be a java issue, rather than a matter of permissions?
Per the documentation, Oracle JDK1.8 is required, but I could not install this due to the recent licensing changes. Just to make sure, which version of OpenJDK is recommended?
I tried to troubleshoot that issue for a while, then eventually gave it up. I did however recently manage to succesfully perform a manual installation of the latest Openmaint 2.0 on CMDBuild 3.2.
In retrospect, due to issues I’ve had with this latest version as well, I’d advise you check, double-check and triple-chek your apache logs and try googling up the errors.
But first of all… did you manage to properly install the appropriate tomcat-dbcp library?
It needs be saved in your /tomcat/lib (the path will depend from your build).
I apparently did not save it in the right place to start with.
You can get whichever is appropriate for your build from https://jdbc.postgresql.org/download.html
In any case, feel free to paste the error from your log.
I cannot promise anything, but I will gladly take a look and see if I can help.