Has anyone managed to get BIRT to run under WebSphere with Java 2 Security switched on? Doesn't seem to matter what I put in my was.policy file, I get a huge number of security exceptions when I try to produce a report.
Running with Java 2 Security switched off works perfectly, but that's not an option for the production environment.
As an example : when my app runs I see the following in my stacktrace
Permission:
* : Access denied (java.util.PropertyPermission * read,write)
org.eclipse.osgi.framework.internal.core.FrameworkProperties in {file:/hosting/configs/WebSphereD03/AppServer/installedApps/CD03-crxaiuci5002/DOCGEN.ear/docgen.war/WEB-INF/platform/plugins/org.eclipse.osgi_3.3.1.R33x_v20070828.jar}
Stack Trace:
java.security.AccessControlException: Access denied (java.util.PropertyPermission * read,write)
Birt is packaged into my EAR file, so to get rid of this particular problem I have the following entry in my was.policy file
grant codeBase "file:${application}" {
permission java.util.PropertyPermission "*", "read,write";
};
That didn't seem to make any difference, so I tried
grant codeBase "file:/hosting/configs/WebSphereD03/AppServer/installedApps/CD03-crxaiuci5002/DOCGEN.ear/docgen.war/WEB-INF/platform/plugins/org.eclipse.osgi_3.3.1.R33x_v20070828.jar" {
permission java.util.PropertyPermission "*", "read,write";
};
Still no luck ...
Any one got any pointers?
Thanks
Dave