Skip to main content



      Home
Home » Archived » BIRT » oracle cache or BIRT caching?
oracle cache or BIRT caching? [message #368922] Mon, 06 July 2009 17:35 Go to next message
Eclipse UserFriend
We modified the params of a stored proc in oracle that I previous used in
a BIRT report. I then closed eclipse, created a new report and started
createing a data set and listed the stored procs and the stored proc that
we dropped and recreated was not there...the old param names were still
there. We had been banging our heads against the walls on this one
for 2 weeks now only to find out someone is caching something...either
BIRT on the harddrive as I shut eclipse down or oracle and neither
of those options makes any sense.

Also, anyone know where the logging would go for poeple logging to jdk
logging when using the BIRT designer?
Dean
Re: oracle cache or BIRT caching? [message #368934 is a reply to message #368922] Tue, 07 July 2009 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.windstream.net

Dean,

Look at the viewer plugin. In its web.xml there are settings for the
log. By default they will be generated in your workspace/.metadata
directory under the viewer plugin. Set the log level to finest to trap
the sql. Also you may want to try starting BIRT with the -clean option.

Jason

Dean Hiller wrote:
> We modified the params of a stored proc in oracle that I previous used
> in a BIRT report. I then closed eclipse, created a new report and started
> createing a data set and listed the stored procs and the stored proc that
> we dropped and recreated was not there...the old param names were still
> there. We had been banging our heads against the walls on this one
> for 2 weeks now only to find out someone is caching something...either
> BIRT on the harddrive as I shut eclipse down or oracle and neither
> of those options makes any sense.
>
> Also, anyone know where the logging would go for poeple logging to jdk
> logging when using the BIRT designer?
> Dean
>
Re: oracle cache or BIRT caching? [message #368963 is a reply to message #368934] Thu, 09 July 2009 16:09 Go to previous messageGo to next message
Eclipse UserFriend
weird, I search for web.xml in .metadata and there is nothing there. The
plugins directory has a
org.eclipse.birt.report.viewer directory which has logs, document report
and report has an images directory....no web.xml file though!!! where is
that file specifically?

thanks,
Dean
Re: oracle cache or BIRT caching? [message #368964 is a reply to message #368963] Thu, 09 July 2009 18:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.windstream.net

Look at the plugins directory in your install. Under the web viewer
plugin/WEB-INF directory.

Jason

Dean Hiller wrote:
> weird, I search for web.xml in .metadata and there is nothing there.
> The plugins directory has a org.eclipse.birt.report.viewer directory
> which has logs, document report and report has an images directory....no
> web.xml file though!!! where is that file specifically?
>
> thanks,
> Dean
>
Re: oracle cache or BIRT caching? [message #368983 is a reply to message #368922] Wed, 15 July 2009 14:17 Go to previous messageGo to next message
Eclipse UserFriend
Dean Hiller wrote:

> We modified the params of a stored proc in oracle that I previous used in
> a BIRT report. I then closed eclipse, created a new report and started
> createing a data set and listed the stored procs and the stored proc that
> we dropped and recreated was not there...

I understand up to here.

> the old param names were still there

What do you mean by this? Where are the "param names" shown if the stored
procs are not there?
Re: oracle cache or BIRT caching? [message #468222 is a reply to message #368964] Tue, 04 August 2009 11:07 Go to previous messageGo to next message
Eclipse UserFriend
uhm, I have no plugin directory like you do....why would that be. In fact
every single directory I have in .metadata/.plugins starts with
org.eclipse.xxxx and again when I search .metadata for web.xml, there is
no folder that has this file in any of the subfolders(ie. windows search).
I am not sure how to get logging still and I desparately need it to debug
what BIRT is doing to see if it is my user issue or potentialy a BIRT
issue.
thanks,
Dean
Re: oracle cache or BIRT caching? [message #468225 is a reply to message #368983] Tue, 04 August 2009 11:09 Go to previous messageGo to next message
Eclipse UserFriend
sorry, basically, here is what we did...we had a proc
proc(a, b, c, d) and a, b, c, d showed up in the list of params. We
dropped and recreated the proc with a, b, f instead of a, b, c, d. The
old proc of proc(a, b, c, d) showed up instead of proc a, b, f and worst
of all is that it seemed to survive a reboot of eclipse....we started
renaming the procs every time we changed their interface so we could make
progress and that seemed to work. It was a very bizarre issue.
thanks,
Dean
Re: oracle cache or BIRT caching? [message #468305 is a reply to message #468222] Tue, 04 August 2009 21:00 Go to previous messageGo to next message
Eclipse UserFriend
Dean,

Dont look at the workspace folder but the eclipse startup directory
should have the plugins directory which contains the birt viewer plugin.

You can also use some simple script to write to any directory.

importPackage( Packages.java.io );
out = new PrintWriter( new FileWriter( "c:/test/chartevents.txt", true ) );
out.println( "write your variables here");
out.close();

Jason

Dean Hiller wrote:
> uhm, I have no plugin directory like you do....why would that be. In
> fact every single directory I have in .metadata/.plugins starts with
> org.eclipse.xxxx and again when I search .metadata for web.xml, there is
> no folder that has this file in any of the subfolders(ie. windows
> search). I am not sure how to get logging still and I desparately need
> it to debug what BIRT is doing to see if it is my user issue or
> potentialy a BIRT issue.
> thanks,
> Dean
>
Re: oracle cache or BIRT caching? [message #478724 is a reply to message #468305] Thu, 06 August 2009 10:58 Go to previous messageGo to next message
Eclipse UserFriend
sweet!!!!! much obliged!!! thanks!!!
Re: oracle cache or BIRT caching? [message #479407 is a reply to message #468225] Mon, 10 August 2009 18:05 Go to previous message
Eclipse UserFriend
Dean Hiller wrote:

> sorry, basically, here is what we did...we had a proc
> proc(a, b, c, d) and a, b, c, d showed up in the list of params. We
> dropped and recreated the proc with a, b, f instead of a, b, c, d. The
> old proc of proc(a, b, c, d) showed up instead of proc a, b, f and worst
> of all is that it seemed to survive a reboot of eclipse....we started
> renaming the procs every time we changed their interface so we could make
> progress and that seemed to work. It was a very bizarre issue.

When the parameters or the resultset of a stored procedure are changed and
you ask BIRT to refresh its picture of what the stored proc looks like,
BIRT does not perform this refresh completely in the xml file supporting
the report.

Here's what I would check the next time this happens. Go into the xml
file, and I would get out of the BIRT design tool to do so. Use Emacs, or
textpad or some other editor that has solid textual searching capability.
Look around in this file for param f. I think you will see that param f
probably shows up in one node of the BIRT xml while c and d show up in
another section of the BIRT xml and it should be obvious the c and d need
to be changed to f. But, as you see, the UI presentation of this shows
a,b,c and d. I think you will find that f does actually exist in the xml
file though. Its a bit of a frustration point. I just edit the xml file
directly when this happens. Its easy to see what the xml should be
changed to. Close the file from the BIRT design tool, make the edit, save
it, open the file in BIRT design tool, and vhalla, a,b and f are shown.

Basically, don't trust the design tool to handle the .rptdesign tool
completely. Be ready to edit the xml file directly. Also, keep that file
in source control so you can revert if/when you mess up the xml file
yourself.
Previous Topic:unable to install birt
Next Topic:how to pass an object instance to ScriptedDataSetEventAdapter
Goto Forum:
  


Current Time: Mon Nov 03 16:03:25 EST 2025

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

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

Back to the top