Skip to main content



      Home
Home » Newcomers » Newcomers » BIRT Report - Run time configuration files
BIRT Report - Run time configuration files [message #224859] Tue, 31 July 2007 10:28 Go to next message
Eclipse UserFriend
Originally posted by: rameshp2006.gmail.com

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\o rg.eclipse.core.runtime
07/27/2007 04:17 AM <DIR> .manager

\webapps\datacomparisontool\WEB-INF\platform\configuration\o rg.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\o rg.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\o rg.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\o rg.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\o rg.eclipse.osgi\bundles
07/27/2007 08:14 AM <DIR> 38

\webapps\datacomparisontool\WEB-INF\platform\configuration\o rg.eclipse.osgi\bundles\38
07/27/2007 08:14 AM <DIR> 1

\webapps\datacomparisontool\WEB-INF\platform\configuration\o rg.eclipse.osgi\bundles\38\1
07/27/2007 08:14 AM <DIR> .cp

\webapps\datacomparisontool\WEB-INF\platform\configuration\o rg.eclipse.osgi\bundles\38\1\.cp
07/27/2007 08:14 AM <DIR> lib

\webapps\datacomparisontool\WEB-INF\platform\configuration\o rg.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_EN GINE_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/datacomparis ontool/WEB-INF/platform/configuration/org.eclipse.osgi/.mana ger/.fileTableLock
(Permission denied)
!STACK 0
java.io.FileNotFoundException:
/vhosts/dw05344/content/20070725-015547/webapps/datacomparis ontool/WEB-INF/platform/configuration/org.eclipse.osgi/.mana ger/.fileTableLock
(Permission denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)

Please help in this regard.
Re: BIRT Report - Run time configuration files [message #225102 is a reply to message #224859] Wed, 01 August 2007 07:31 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------030702050106030302040901
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Ramesh,

I think it would be better to ask about BIRT on their specific newsgroup

news://news.eclipse.org/eclipse.birt

The same comment applies for your other BIRT questions.

ramesh wrote:
> 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\o rg.eclipse.core.runtime
>
> 07/27/2007 04:17 AM <DIR> .manager
>
> \webapps\datacomparisontool\WEB-INF\platform\configuration\o rg.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\o rg.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\o rg.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\o rg.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\o rg.eclipse.osgi\bundles
>
> 07/27/2007 08:14 AM <DIR> 38
>
> \webapps\datacomparisontool\WEB-INF\platform\configuration\o rg.eclipse.osgi\bundles\38
>
> 07/27/2007 08:14 AM <DIR> 1
>
> \webapps\datacomparisontool\WEB-INF\platform\configuration\o rg.eclipse.osgi\bundles\38\1
>
> 07/27/2007 08:14 AM <DIR> .cp
>
> \webapps\datacomparisontool\WEB-INF\platform\configuration\o rg.eclipse.osgi\bundles\38\1\.cp
>
> 07/27/2007 08:14 AM <DIR> lib
>
> \webapps\datacomparisontool\WEB-INF\platform\configuration\o rg.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_EN GINE_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/datacomparis ontool/WEB-INF/platform/configuration/org.eclipse.osgi/.mana ger/.fileTableLock
> (Permission denied)
> !STACK 0
> java.io.FileNotFoundException:
> /vhosts/dw05344/content/20070725-015547/webapps/datacomparis ontool/WEB-INF/platform/configuration/org.eclipse.osgi/.mana ger/.fileTableLock
> (Permission denied)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
>
> Please help in this regard.
>


--------------030702050106030302040901
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ramesh,<br>
<br>
I think it would be better to ask about BIRT on their specific newsgroup<br>
<blockquote><a href="news://news.eclipse.org/eclipse.birt">news://news.eclipse.org/eclipse.birt</a><br>
</blockquote>
The same comment applies for your other BIRT questions.<br>
<br>
ramesh wrote:
<blockquote
cite="mid:b027422b374a3faa0d69339ee1627ed7$1@www.eclipse.org"
type="cite">
Previous Topic:Facing Problems Installing the FTP and Webdav plugin
Next Topic:beautifing reports
Goto Forum:
  


Current Time: Mon Nov 10 10:15:58 EST 2025

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

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

Back to the top