[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] BIRT Report - Run time configuration files
|
- From: rameshp2006@xxxxxxxxx (ramesh)
- Date: Tue, 31 Jul 2007 14:28:15 +0000 (UTC)
- Newsgroups: eclipse.newcomer
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
We are facing problem in BIRT report engine. During the generation of
BIRT report generation, TOMCAT will create BIRT runtime files / folders ,
org.eclipse.osgi/.manager/*
org.eclipse.core.runtime/.manager/* and
org.eclipse.update/.manager/*
under WEB-INF/platform/configuration.
Details of Run Time files BIRT will create :
\webapps\datacomparisontool\WEB-INF\platform\configuration>dir /s
\webapps\datacomparisontool\WEB-INF\platform\configuration
07/26/2007 10:04 AM 688 config.ini
07/27/2007 04:17 AM 320 1185509823515.log
07/27/2007 04:17 AM <DIR> org.eclipse.core.runtime
07/27/2007 04:17 AM <DIR> org.eclipse.update
07/27/2007 08:14 AM <DIR> org.eclipse.osgi
\webapps\datacomparisontool\WEB-INF\platform\configuration\org.eclipse.core.runtime
07/27/2007 04:17 AM <DIR> .manager
\webapps\datacomparisontool\WEB-INF\platform\configuration\org.eclipse.core.runtime\.manager
07/27/2007 04:17 AM 0 .fileTableLock
07/27/2007 04:17 AM 0 .tmp60009.instance
07/27/2007 08:14 AM 0 .tmp52048.instance
\webapps\datacomparisontool\WEB-INF\platform\configuration\org.eclipse.update
07/27/2007 04:17 AM 0 .lock
07/27/2007 04:17 AM 203 platform.xml
07/27/2007 08:14 AM 16 last.config.stamp
\webapps\datacomparisontool\WEB-INF\platform\configuration\org.eclipse.osgi
07/27/2007 08:14 AM <DIR> .manager
07/27/2007 08:14 AM <DIR> bundles
07/27/2007 08:15 AM 18,420 .bundledata.1
07/27/2007 08:15 AM 7,320 .state.1
07/27/2007 08:15 AM 101,146 .lazy.1
\webapps\datacomparisontool\WEB-INF\platform\configuration\org.eclipse.osgi\.manager
07/27/2007 08:14 AM 0 .fileTableLock
07/27/2007 08:14 AM 0 .tmp52045.instance
07/27/2007 08:15 AM 94 .fileTable.4
07/27/2007 08:15 AM 94 .fileTable.5
\webapps\datacomparisontool\WEB-INF\platform\configuration\org.eclipse.osgi\bundles
07/27/2007 08:14 AM <DIR> 38
\webapps\datacomparisontool\WEB-INF\platform\configuration\org.eclipse.osgi\bundles\38
07/27/2007 08:14 AM <DIR> 1
\webapps\datacomparisontool\WEB-INF\platform\configuration\org.eclipse.osgi\bundles\38\1
07/27/2007 08:14 AM <DIR> .cp
\webapps\datacomparisontool\WEB-INF\platform\configuration\org.eclipse.osgi\bundles\38\1\.cp
07/27/2007 08:14 AM <DIR> lib
\webapps\datacomparisontool\WEB-INF\platform\configuration\org.eclipse.osgi\bundles\38\1\.cp\lib
07/27/2007 08:14 AM 161,563 Tidy.jar
07/27/2007 08:14 AM 30,117 commons-cli-1.0.jar
As per organisations security policy, application will not have the write
access to the folder WEB-INF/platform/configuration, server not allowing
to create the BIRT run time files.
We need to find alternative to way to create the BIRT run time files in
some other location other than WEB-INF/platform/configuration.
Please help on this if you have any work around.
Extract of source code for getting BIRT Report engine :
private IReportEngine getBirtEngine(ServletContext sc) {
IReportEngine birtEngine = null;
if (birtEngine == null) {
EngineConfig config = new EngineConfig();
config.setEngineHome("");
IPlatformContext context = new PlatformServletContext(sc);
config.setPlatformContext(context);
try {
Platform.startup(config); -- This is creating the run time
configuration files
} catch (BirtException e) {
e.printStackTrace();
}
IReportEngineFactory factory = (IReportEngineFactory) Platform
createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
birtEngine = factory.createReportEngine(config);
}
return birtEngine;
}
Extract of the error we are getting in Integration machine :
!SESSION 2007-07-25 03:02:12.545
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=motif, NL=en_GB
!ENTRY org.eclipse.osgi 4 0 2007-07-25 03:02:12.546
!MESSAGE Error reading configuration:
/vhosts/dw05344/content/20070725-015547/webapps/datacomparisontool/WEB-INF/platform/configuration/org.eclipse.osgi/.manager/.fileTableLock
(Permission denied)
!STACK 0
java.io.FileNotFoundException:
/vhosts/dw05344/content/20070725-015547/webapps/datacomparisontool/WEB-INF/platform/configuration/org.eclipse.osgi/.manager/.fileTableLock
(Permission denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
Please help in this regard.