Q
|
We are trying to implement BrowserHawk4J by keeping the license file an external resource outside the WAR. We wish to use this approach to allow for easier replacements of the BH4J licenses after annual renewals so that it does not require redeploying the war file each time. How can we do this?
|
A
|
Try specifying the BH4J license file in the browserhawk.properties file using an absolute path.
If you want a relative path, the trick is to put the file somewhere that the class loader will find. An error message saying the license can't be found will list the classpath being examined. Either put the license file in one of those directories, or change the server's classpath to add a new directory.
|