Home » Archived » BIRT » Exception w/ page breaks in web viewer
Exception w/ page breaks in web viewer [message #262959] |
Sun, 09 December 2007 02:36  |
Eclipse User |
|
|
|
Originally posted by: bdruth.gmail.com
Good evening,
I'm having some difficulties with getting page breaks setup. I'm using
the 2.2.1 report designer and I have tried deploying to both the 2.2.1
and 2.2.1.1 RE running on JBoss 4.2 under Sun's 1.5.0_12 JDK on Linux.
For whatever reason, when I view the report in Web Viewer from Eclipse
(3.3 on Mac OS X 10.5), everything seems fine. The report loads, first
page loads, and the paging controls work.
Not so on the server. I can even deploy into JBoss 4.2 running locally
on my workstation and it appears to work fine (2.2.1 RE). I'm using
the WebViewerExample and I've just copied my .rptdesign and the JDBC
driver .jar into the exploded .WAR.
Here's the symptom: when the report loads, with a URL like
'< http://10.0.0.40:8080/reports/frameset?__report=OpenOrders.r ptdesign>
' - after the throbber throbs for a little, I get an exception about
"Invalid page number -1 of 4". If I hit the parameters icon (the
report has no parameters) and hit OK to regen the report, the report
data actually loads. The header bar indicates page -1 of 4, but the
paging controls don't actually work (and all the results are shown on
page 1).
I've been working the better part of ~5hrs trying everything I could,
Googling around the forums, newsgroups, online & built-in docs, etc.
I'm at a loss. I don't even know where to go from here.
Here's what I'm trying to accomplish:
1) 25 results per page (Web Viewer) [works locally, but not on the
server] 2) Web Viewer only loads 25 records at a time from database,
allowing nearly limitless resultsets w/ limited overhead [not yet
attempted] 3) Per-column sorting (server-side, DB sorting based on
column) [haven't setup, but have some directions to this effect from
IBM devworks]
Is #2 even possible? I've seen a lot of knobs, but nothing specific
about this.
Thanks!
Brice Ruth
--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo
|
|
|
Re: Exception w/ page breaks in web viewer [message #262984 is a reply to message #262959] |
Mon, 10 December 2007 00:15  |
Eclipse User |
|
|
|
Originally posted by: bdruth.gmail.com
In article <nemoSun120907012340@nntp.charter.net>
Brice<bdruth@gmail.com> wrote:
> Good evening,
> I'm having some difficulties with getting page breaks setup. I'm
> using the 2.2.1 report designer and I have tried deploying to both
> the 2.2.1 and 2.2.1.1 RE running on JBoss 4.2 under Sun's 1.5.0_12
> JDK on Linux. For whatever reason, when I view the report in Web
> Viewer from Eclipse (3.3 on Mac OS X 10.5), everything seems fine.
> The report loads, firstpage loads, and the paging controls work.
> Not so on the server. I can even deploy into JBoss 4.2 running
> locally on my workstation and it appears to work fine (2.2.1 RE). I'm
> using the WebViewerExample and I've just copied my .rptdesign and the
> JDBCdriver .jar into the exploded .WAR.
> Here's the symptom: when the report loads, with a URL like
> '< http://10.0.0.40:8080/reports/frameset?__report=OpenOrders.r ptdesign
> > ' - after the throbber throbs for a little, I get an exception
> about "Invalid page number -1 of 4". If I hit the parameters icon
> (the report has no parameters) and hit OK to regen the report, the
> report data actually loads. The header bar indicates page -1 of 4,
> but the paging controls don't actually work (and all the results are
> shown onpage 1).
> I've been working the better part of ~5hrs trying everything I
> could, Googling around the forums, newsgroups, online & built-in
> docs, etc.I'm at a loss. I don't even know where to go from here.
> Here's what I'm trying to accomplish:
> 1) 25 results per page (Web Viewer) [works locally, but not on the
> server] 2) Web Viewer only loads 25 records at a time from database,
> allowing nearly limitless resultsets w/ limited overhead [not yet
> attempted] 3) Per-column sorting (server-side, DB sorting based on
> column) [haven't setup, but have some directions to this effect
> fromIBM devworks]
> Is #2 even possible? I've seen a lot of knobs, but nothing
> specificabout this.
> Thanks!
> Brice Ruth
Wow. I just realized that this exception only happens if I look at the
report from Safari. WTF? Firefox 2.x seems fine ...
--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo
|
|
|
Goto Forum:
Current Time: Tue May 06 21:21:23 EDT 2025
Powered by FUDForum. Page generated in 0.25910 seconds
|