Updating one of our B2 permissions to comply with Preparing Your Building Blocks For Learn SaaS and Newer Learn Versions .
I have found that when removing permission
<permission type="java.io.FilePermission" name="BB_HOME/-" actions="read,write,delete"/>
we get the error :
Not Found: The specified resource was not found, or you do not have permission to access it.
I have done some debugging and have found that when I remove the specific permission, the actual exception that is thrown is a:
NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.methods.PostMethod
This is thrown when we try to do:
PostMethod postRequest = new PostMethod("/api.asp");
This is a very old plugin that is using old style jsp pages. The actual class that cannot be found exists in the plugin directory under the
Has anyone else encountered this issue? Do we need to give the plugin access to BB_HOME/- to be able to load classes in the plugin/WEB-INF/libs folder? Any pointers are truly appreciated.
Message was edited by: Harry Perperidis