The license check for Vaadin Charts currently checks for
a) A file in the user.home directory
b) A system property
Would it be possible to change it additionally check in either web.xml (context-param) or for a license file in the web-apps classloader?
We need to be able to make it trivial to deploy a war on a client site, as this is often done by third parties (read IT Departments); setting system properties or creating files in the home directory of the user running the application server are steps that are bound to confuse the poor chaps.
Yes - but security manager constraints will be environmentally controlled (i.e. I won’t be in control of whether I do or don’t have a security manager)… it’ll do as an interim measure though.
Hi, it looks like I might have to do this (doing the license check from classloader) since, after I set the property in my app’s init() method I still see the license warning in our production Tomcat server’s log file. This may be a stupid question (I’m not well-versed in J2EE programming): could you provide an example of how I would modify my app to “do the license check from the class loader”? Thanks a bunch.