Note that there are some explanatory texts on larger screens.

plurals
  1. POBIRT / WebSphere / Java 2 Security
    text
    copied!<p>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 <strong>huge</strong> number of security exceptions when I try to produce a report.</p> <p>Running with Java 2 Security switched off works perfectly, but that's not an option for the production environment.</p> <p>As an example : when my app runs I see the following in my stacktrace</p> <pre><code>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} </code></pre> <p>Stack Trace:</p> <p>java.security.AccessControlException: Access denied (java.util.PropertyPermission * read,write)</p> <p>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</p> <pre><code>grant codeBase "file:${application}" { permission java.util.PropertyPermission "*", "read,write"; </code></pre> <p>};</p> <p>That didn't seem to make any difference, so I tried</p> <pre><code>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"; </code></pre> <p>};</p> <p>Still no luck ...</p> <p>Any one got any pointers?</p> <p>Thanks</p> <p>Dave</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload