Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
JREM exception in deploying report
madhu_2009
Hi,
I have developed a drill through report which i have deployed it using Actuate deployment kit..
i am able to view the report individually after deploying. but when i tried using it a portlet container along with other reports JREM exception 18,002 is thrown at runtime.
Im using
Actuate BIRT 10,
Actuate Deployment Kit10,
Server-Tomcat 5.5.9,
Browser-IE7
Can anybody help me..
rgds/Madhu
Find more posts tagged with
Comments
hewb
Madhu:
What portlet server are you using? Are you viewing the report using URL or JSAPI when viewing the report in portlet?
-wenbin
madhu_2009
Hi,
Iam viewing the report using JSAPI..
This is the example what i have followed to use the portlets..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd">
;
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<title>Mashup</title>
<style>
.mashupContainer {
font-family: Verdana, Tahoma, Arial;
font-size: 11px;
border: 1px solid #87AFDA;
margin: 3px;
}
.mashupTitle {
background: #D4E6FC;
font-size: 14px;
font-weight: bold;
color: #224499;
padding: 3px;
border-bottom: 1px solid #87AFDA;
}
.mashupContent {
padding: 3px;
}
.footer {
font-family: Verdana, Tahoma, Arial;
font-size: 10px;
}
</style>
<script src="
http://localhost:8700/iportal/jsapi"
; type="text/javascript"></script>
<script type="text/javascript" language="JavaScript">
var viewer;
var params;
var reportName;
function acload() {
var url = "
http://localhost:8700/iportal"
;
actuate.load("viewer");
actuate.load("parameter");
actuate.initialize(url, null, "Administrator", "", afterInit);
}
function afterInit() {
var sumViewer = new actuate.Viewer("SummaryDiv");
sumViewer.setReportName("/Public/BIRT and Business Reports Examples/customized/Sales Charts.rptdesign");
sumViewer.setReportletBookmark("profits_by_region");
sumViewer.setWidth(460);
sumViewer.setHeight(320);
var uiopts = new actuate.viewer.UIOptions();
uiopts.enableToolBar(false);
uiopts.enableScrollControl(false);
sumViewer.setUIOptions(uiopts);
sumViewer.submit();
}
function loadReportParams(sel) {
if (sel.value == "")
return;
$("RunReportButton").disabled = true;
var path = "/Public/BIRT and Business Reports Examples/";
reportName = path + sel.value;
params = new actuate.Parameter("ReportParamDiv");
params.setReportName(reportName);
params.submit(afterParamInit);
}
function afterParamInit() {
$("RunReportButton").disabled = false;
}
function processParams() {
params.downloadParameterValues(runReport);
}
function runReport(paramValues) {
viewer = new actuate.Viewer("ReportDiv");
viewer.setReportName(reportName);
viewer.setParameterValues(paramValues);
viewer.setWidth($("ReportDiv").offsetWidth - 20);
viewer.submit();
}
</script>
</head>
<body onload="acload()">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="vertical-align:top; width:480px">
<div class="mashupContainer">
<div class="mashupTitle">Sales Summary</div>
<div class="mashupContent" id="SummaryDiv"></div>
</div>
</td>
<td style="vertical-align:top;">
<div class="mashupContainer">
<div class="mashupTitle">Report Selector</div>
<div class="mashupContent">
<span style="font-weight: bold">Report:</span>
<select style="font-size: 11px" onchange="loadReportParams(this)">
<option value="" selected><Select Report></option>
<option value="Customer order History.rptdesign">Customer order History</option>
<option value="Customers List by Country.rptdesign">Customers List by Country</option>
<option value="Monthly Revenue Analysis.rptdesign">Monthly Revenue Analysis</option>
<option value="Product Sales by State.rptdesign">Product Sales by State</option>
<option value="Sales by Customer.rptdesign">Sales by Customer</option>
<option value="Sales by Territory.rptdesign">Sales by Territory</option>
<option value="Sales Invoice.rptdesign">Sales Invoice</option>
<option value="Top 5 Sales performers.rptdesign">Top 5 Sales performers</option>
</select>
</div>
<div class="mashupContent" id="ReportParamDiv"></div>
<div class="mashupContent">
<button id="RunReportButton" onclick="processParams()" disabled>Run Report</button>
</div>
</div>
</td>
</tr>
</table>
<div class="mashupContainer" style="clear:both">
<div class="mashupContent" id="ReportDiv">Use Report Selector to view Report Content</div>
</div>
</body>
</html>
only one of them is throwing JREM error while the remaining are working fine..
hewb
Can you please attach the report that has problem? Are you be able to run/view that report directly from Actuate deployment toolkit?
Also please let me know what portal server is used.
-wenbin
madhu_2009
HI<br />
you can follow the report in this thread<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/forum/deploying-birt-reports-deployment-kit-iserver-express/15019-error-deploying-area-chart-using-actuate-deployment-kit10.html#post47747'>http://www.birt-exchange.org/forum/deploying-birt-reports-deployment-kit-iserver-express/15019-error-deploying-area-chart-using-actuate-deployment-kit10.html#post47747</a><br
/>
<br />
Iam able to view the report in designer. But unable to view the same in the deployment kit..<br />
Rgds/Madhu
hewb
I tried the report attached in that thread, and didn't see the issue you mentioned. To further investigate this issue, I need to know what portal server you are using.
-wenbin
madhu_2009
Hi
Im using Tomcat 5.5 as the server to deploy the reports.
regards,
madhu