Home
Analytics
administrator rights needed to use Report Engine (osgi 3.7.2)
JanaF
Hi,
since I updated my Birt-runtime from 2.5.1 to osgi 3.7.2 I have to be an administrator to use the engine because the content of the subfolders in "C:\birt-runtime-osgi-3_7_2\ReportEngine\configuration" are deleted and newly created. By not having administrator rights I get a file not found exception (see below). As it is unconvienent to have administrator rights for everyone to print a report, I would like to know if anyone has any suggestion what I am doing wrong in my setup.
Any help is greatly appreaciated. Thank you in advance
error message
error.CannotStartupOSGIPlatform
Reason: null
org.eclipse.birt.core.framework.FrameworkException
at org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILauncher.java:90)
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:75)
at org.instantview.report.exec.ExecuteReport.startupEngine(Unknown Source)
at org.instantview.report.exec.ExecuteReport.<init>(Unknown Source)
at org.instantview.report.exec.ExecuteReport.main(Unknown Source)
Caused by: java.security.PrivilegedActionException: org.eclipse.birt.core.framework.FrameworkException: Can not start up OSGI - null
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILauncher.java:75)
... 4 more
Caused by: org.eclipse.birt.core.framework.FrameworkException: Can not start up OSGI - null
at org.eclipse.birt.core.framework.osgi.OSGILauncher.doStartup(OSGILauncher.java:201)
at org.eclipse.birt.core.framework.osgi.OSGILauncher.access$0(OSGILauncher.java:94)
at org.eclipse.birt.core.framework.osgi.OSGILauncher$1.run(OSGILauncher.java:79)
... 6 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.birt.core.framework.osgi.OSGILauncher.doStartup(OSGILauncher.java:191)
... 8 more
Caused by: java.lang.RuntimeException: Y:\birt-runtime-osgi-3_7_2\ReportEngine\configuration\org.eclipse.osgi\.manager\.fileTableLock (Zugriff verweigert)
at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:192)
at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:162)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:261)
... 13 more
Caused by: java.io.FileNotFoundException: Y:\birt-runtime-osgi-3_7_2\ReportEngine\configuration\org.eclipse.osgi\.manager\.fileTableLock (Zugriff verweigert)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:33)
at org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:389)
at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:702)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.java:220)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStorage.java:154)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:123)
at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:190)
... 15 more
Find more posts tagged with
Comments
JanaF
No suggestions at all? I haven't a clue what I am doing wrong here. Can it be related to the fact that I am using the osgi and not the pojo version?
Thank you in advance
mwilliams
Sorry for the delay. Is there a reason you're using the OSGi version vs the POJO version? Have you tried downloading the POJO runtime and trying with it?
JanaF
The Reason why we are using OSGi is because when we changed from 2.5.1 to 3.7.2 I understood that the osgi works in the same way as the runtime of 2.5.1. We didn't want to change our whole concept.
I didn't try with POJO yet, because we rather like to use the osgi one. I further investigated the problem and found out that many subfolders and files in the folder configuration are deleted and newly created:
For example the number at the end of that file: \.manager\.fileTable.4 changes continously (1,2,3,...). While using the engine the file is deleted and a new file is created with an higher number. What are the files "fileTable" and "fileTableLock" for and what do they do exectly?
Thanks for your help