Skip to main content



      Home
Home » Archived » BIRT » java.security.AccessControlException ? ? ?
java.security.AccessControlException ? ? ? [message #170841] Fri, 16 June 2006 02:09
Eclipse UserFriend
Originally posted by: roland.meier.drv-landshut.de

Hi!

I have the following Problem:

I integrated the BIRT Report Engine into my JAVA application. With the
setOutputFileName-metod I set the output file name. I want to render into
pdf-format. Running this app in Eclipse everything is working allright.
BIRT renders the report into pdf and writes the file with the given name.
But when I want to run the app outside Eclipse as standalone JAVA app I
get the following Exception:

java.security.AccessControlException: access denied
(java.io.FilePermission C:\TEMP\Stellengrunddaten.pdf write)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkWrite(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at
org.eclipse.birt.report.engine.emitter.pdf.PDFEmitter.initia lize(PDFEmitter.java:172)
at
org.eclipse.birt.report.engine.layout.impl.ReportLayoutEngin e.initialize(ReportLayoutEngine.java:415)
at
org.eclipse.birt.report.engine.presentation.WrappedEmitter.i nitialize(WrappedEmitter.java:44)
at
org.eclipse.birt.report.engine.presentation.LocalizedEmitter .initialize(LocalizedEmitter.java:129)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.cre ateContentEmitter(RunAndRenderTask.java:145)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:174)
at gbws.bw_gh.gui.ViV659.startBirtEngine(ViV659.java:268)
at gbws.bw_gh.gui.ViV659.actionPerformed(ViV659.java:240)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerform ed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unk nown
Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at gbws.guiroot.BWButton.processEvent(BWButton.java:81)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknow n Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


Hope anyone of you can help me!

Thanks!
Previous Topic:ROM performance writing and reading to and from a report design
Next Topic:ClassNotFoundException: DataSetProcessorImpl in web viewer
Goto Forum:
  


Current Time: Tue Jul 22 21:30:05 EDT 2025

Powered by FUDForum. Page generated in 0.06814 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top