PROBLEM IN REPORTS LARGE with jasperreport
Nedd help IReport
I need to make reports in PDF IReport table with very big for example 100,000 records (5000 to increase per month) which is time consuming for 5 minutes!!
In my first attempt the divided into 4 rounds with a limit = 25,000 to display the records but is not a solution. Also concerned with subirle the memory to 256 JAVA_OPTS = "-Xmx256m" but it is not much difference.
I'm looking for a way to generate PDF for asynchronous show that while the first records in the following pdf records go to be compilers.
Yes. This is an issue. JavaFX team is working on enhacing HttpRequest API so as to allow huge data transfer. There are couple of new attributes added which will allow to do data transfer without buffering. Also Integer (used in may APIs) will be changed to use Long (new supported data type) to handle larger data. These changes will be available in next release - 1.2
Similar Messages
-
Problem crystal report xi with j2ee
dear all
after greeting i have exception that appear when i open report created by crystal report and i didn't know why this exception although the report is successfully opened i am using jrc and the exception is following::
Assertion Failed: Unknown TableType
08/02/14 19:55:51 java.lang.Throwable
08/02/14 19:55:51 at com.crystaldecisions.reports.common.j.b.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.reportdefinition.datainterface.j.do(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.saveddata.a.g.int(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.saveddata.a.g.char(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.saveddata.a.g.try(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.saveddata.a.g.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.dataengine.i.f(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.dataengine.a5.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.<init>(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.if(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.formatter.d.k.<init>(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.formatter.d.o.<init>(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.formatter.d.o.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.a.b.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.a.b.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.reportengineinterface.g.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.event.bn.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.event.u.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.component.g.for(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.component.g.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.component.g.if(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.component.n.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.event.b1.broadcast(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.event.as.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.WorkflowController.if(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.viewer.ReportExportControl.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
08/02/14 19:55:51 at jsps.jrc__export__with__logon__and__parameters._jspService(_jrc__export__with__logon__and__parameters.java:256)
08/02/14 19:55:51 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
08/02/14 19:55:51 at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
08/02/14 19:55:51 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
08/02/14 19:55:51 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
08/02/14 19:55:51 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
08/02/14 19:55:51 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/02/14 19:55:51 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/02/14 19:55:51 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
08/02/14 19:55:51 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
08/02/14 19:55:51 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
08/02/14 19:55:51 at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
08/02/14 19:55:51 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
08/02/14 19:55:51 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
08/02/14 19:55:51 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
08/02/14 19:55:51 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
08/02/14 19:55:51 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/02/14 19:55:51 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/02/14 19:55:51 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
08/02/14 19:55:51 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
08/02/14 19:55:51 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
08/02/14 19:55:51 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
08/02/14 19:55:51 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
08/02/14 19:55:51 at java.lang.Thread.run(Thread.java:534)
08/02/14 19:55:51 Assertion Failed: Unknown TableType
08/02/14 19:55:51 java.lang.Throwable
08/02/14 19:55:51 at com.crystaldecisions.reports.common.j.b.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.reportdefinition.datainterface.j.do(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.saveddata.a.g.int(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.saveddata.a.g.char(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.saveddata.a.g.try(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.saveddata.a.g.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.dataengine.i.f(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.dataengine.a5.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.<init>(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.if(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.formatter.d.k.<init>(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.formatter.d.o.<init>(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.formatter.d.o.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.a.b.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.formatter.a.b.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.reportengineinterface.g.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.event.bn.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.event.u.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.component.g.for(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.component.g.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.component.g.if(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.component.n.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.event.b1.broadcast(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.event.as.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.WorkflowController.if(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.viewer.ReportExportControl.a(Unknown Source)
08/02/14 19:55:51 at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
08/02/14 19:55:51 at jsps.jrc__export__with__logon__and__parameters._jspService(_jrc__export__with__logon__and__parameters.java:256)
08/02/14 19:55:51 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
08/02/14 19:55:51 at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
08/02/14 19:55:51 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
08/02/14 19:55:51 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
08/02/14 19:55:51 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
08/02/14 19:55:51 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/02/14 19:55:51 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/02/14 19:55:51 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
08/02/14 19:55:51 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
08/02/14 19:55:51 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
08/02/14 19:55:51 at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
08/02/14 19:55:51 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
08/02/14 19:55:51 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
08/02/14 19:55:51 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
08/02/14 19:55:51 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
08/02/14 19:55:51 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/02/14 19:55:51 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/02/14 19:55:51 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
08/02/14 19:55:51 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
08/02/14 19:55:51 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
08/02/14 19:55:51 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
08/02/14 19:55:51 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
08/02/14 19:55:51 at java.lang.Thread.run(Thread.java:534)
if anyone know why the solution replied to me please
thanks for allPost Author: V361
CA Forum: Data Connectivity and SQL
do you have an ODBC datasource setup for localhost\sqlexpress ?, if not you should create one, you will also want a duplicate set up on the localhost box. That way whatever connection you use to connect to the localhost, should be carried along with the report. I have many reports that point to a SQL database, but for others to be able to run them off the local host I had to create duplicate ODBC connections. -
Problem converting XPS document with large images
Hi,
When I try to convert XPS documents to PDF in Acrobat 9.0 Pro, I have problems with "large images". They are either truncated or scaled down. The only images that convert correctly are small images that are not stretched to fill a large area. Attached to this message is a simple example. Does anyone know a way to correct this problem? By the way, the page is slightly larger than the standard Letter size.
Thanks!Thanks for your suggestion! In fact, I am the programmer who creates the XPS files from a .NET document. Our company used the method "Postscript + PDF" during a few months and it worked quite well. Recently, we introduced semi-transparent objects and fonts in our documents and the resulting PS prints look really bad. Since I can create a perfect XPS document, and since Acrobat can convert it to PDF, I gave it a try. It solved all the problems that I had with PS printing but there is that thing with images... Anyway, since Acrobat converts XPS to PDF, I guess they should try to solve the bug with the images. As for me, I will see if I can get a component to create PDF documents directly from our application.
-
Problem running reports with graphics in 11i
Hi,
I have developed some custom reports (using
Reports 6i) with graphics charts embedded within them. I would like to display the output from within Oracle Applications 11i.
There seem to be two approaches:
1. Invoke the report from Oracle Self-Service using OracleOasis.runReport
2. Register the report as a concurrent request (with HTML/PDF output) and run it using the concurrent manager
Approach 1 requires the reports server cgi which I start using adrepctl.sh. Approach 2 requires the concurrent manager which I start using adcmctl.sh.
The problems start to occur depending on how and from where I start these scripts. The exact problem occurs in both cases.
If these scripts are started:
1. From a regular telnet window from a windows NT box
The reports error out with a REP-3000 internal toolkit error
2. From an Exceed xterm session and I keep the Exceed session alive (I tried both TrueColors and PseudoColors settings)
The reports work but there are problems with the output - pie colors do not appear (everything is white, for e.g.), etc.
3. From the Sun Solaris console
The reports work fine.
The problem is that method 3 is not very convenient since every time I bring down the concurrent manager or reports cgi server, I need to walk to a different building (where the Sun boxes are) to start it.
Method 2 above isn't particularly great either (even assuming I can get it to work) since I need to have an exceed session running all the time.
Can some one offer suggestions to solve the problem I'm having? Even clues on why method 2 above is not working as expected would be greatly appreciated.
Thanks,
- NRProblem solved! As long as the xhost + is set on the host machine and some one is logged in, it appears that one can simply set the DISPLAY environment variable to point to the host (even from a simple telnet window) and start the reports server or concurrent manager. Looks like you also have to have REPORTS60_NO_DUMMY_PRINTER set to "YES".
-
Galley, if you don't understand excuse very well, and that alone half weak in English, but we are going to the that interests, I am beginning with JasperReports, and I am coming across a mistake that is not going for way front any, if somebody can help myself, below the example that I am using proceeds and the mistake.
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JRResultSetDataSource;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.JasperReport;
import net.sf.jasperreports.view.JasperViewer;
public class PrimeiroRelatorio {
private static Connection con=null;
public Connection conecta()
try
if (con==null)
String url = ("jdbc:mysql://localhost:3306/sca");
String usuario = "root";
String senha = "bdsca";
Class.forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection(url,usuario,senha);
System.out.println("Conectou ao banco com sucesso");
catch (Exception e){e.printStackTrace();}
return con;
public void geraRelatorio() throws JRException
try
String query = ("Select * From Fornecedor");
PreparedStatement pstm = conecta().prepareStatement(query);
ResultSet rs = pstm.executeQuery();
java.util.Map parameters = new java.util.HashMap();
parameters.put( "Par_Teste", "Vlr_Teste" );
JRResultSetDataSource jr = new JRResultSetDataSource(rs);
JasperReport jasperReport = JasperManager.loadReport( "new_report.jasper" );
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, jr);
JasperViewer.viewReport(jasperPrint);
catch(Exception ex){ex.printStackTrace();}
public static void main(String[] args) throws JRException, Exception
new PrimeiroRelatorio().geraRelatorio();
}and here the error
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:113)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:428)
at PrimeiroRelatorio.geraRelatorio(PrimeiroRelatorio.java:49)
at PrimeiroRelatorio.main(PrimeiroRelatorio.java:60)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<clinit>(JRBaseFiller.java:250)
... 5 more
Caused by: java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
... 8 moreThanks GalleryA similar problem was resolved here
http://forum.java.sun.com/thread.jspa?threadID=562227&messageID=2767386
Check to see that the commons-logging.jar file has been added to the classpath. -
How to generate dynamic report with JasperReport
hi,
I have a frame.& i have some text filed & Some image. Now i want to see the all content of this JFrame in a Excel file or in a pdf file? For this what will be the rule for genarate .jrxml file for find the report? is it possible with JasperReport ? IS there anybody can help me?
With regards
BinaHello,
You can base your report on a PL/SQL function return a SQL query, for ex.:
begin
return 'select ename, job, sal from emp';
end;Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
REWARDS: Please remember to mark helpful or correct posts on the forum -
Problem refreshing reports with params in the Interactive viewer from ASP
I have a problem getting reports to refresh by clicking the Interactive Viewer's refresh button and reusing the supplied parameters. I am seeing this exact same problem on both V9.2 and 11.5 unmanaged RAS servers.
I am using the following function code to set the reports parameters:
Public Sub PassParameter(param_index, param_value, param_is_multi,param_range_kind)
Dim param_old ' parameter field in the report
Dim param_new ' parameter field that will replace old parameter
Dim paramValue ' discrete parameter value
Dim aValues
Dim rValues
Dim iLoop
Set param_old = clientDoc.DataDefinition.ParameterFields.Item(param_index)
Set param_new = objFactory.CreateObject("CrystalReports.ParameterField";)
If param_range_kind = 1 then
Set paramValue = objFactory.CreateObject("CrystalReports.ParameterFieldDiscreteValue";)
paramValue.Value = param_value
else
Set paramValue = objFactory.CreateObject("CrystalReports.ParameterFieldRangeValue";)
rValues = split(param_value, "|")
paramValue.BeginValue = rValues(0)
paramValue.EndValue = rValues(1)
paramValue.LowerBoundType = 2
paramValue.UpperBoundType = 2
end if
param_old.CopyTo param_new
if param_is_multi = 0 then
param_new.CurrentValues.Add paramValue
else
aValues = split(param_value, ",")
For iLoop = LBound(aValues) to UBound(aValues)
param_new.CurrentValues.Add Trim(aValues(iLoop))
Next
end if
clientDoc.DataDefController.ParameterFieldController.Modify param_old, param_new
' Clean up
Set paramValue = Nothing
Set param_new = Nothing
End Sub
and then redirecting to another ASP page to invoke the viewer (the report "clientDoc" object is passed to the viewer asp page a s a session variable). The code of the viewer page is:
<%
Response.ExpiresAbsolute = Now() - 1
Response.Charset=";UTF-8"
Dim clientDoc
Set clientDoc = session("clientDoc")
Dim ObjFactory, RptAppSession
Set ObjFactory = CreateObject("CrystalReports.ObjectFactory";)
Dim viewer
Set viewer = ObjFactory.CreateObject("CrystalReports.CrystalReportInteractiveViewer";)
viewer.PageTitle = "Interactive Report - " & Request("rptnam")
viewer.IsOwnForm = true
viewer.IsOwnPage = true
viewer.HasRefreshButton = true
viewer.EnableParameterPrompt = false
viewer.ReuseParameterValuesOnRefresh ; = true
viewer.HasExportButton = false
' viewer.HasPrintButton = false
viewer.ReportSource = clientDoc.ReportSource
Dim BooleanSearchControl
Set BooleanSearchControl = ObjFactory.CreateObject("CrystalReports.BooleanSearchControl";)
BooleanSearchControl.ReportDocument = clientDoc
viewer.BooleanSearchControl = BooleanSearchControl
viewer.ProcessHttpRequest Request, Response, Session
%>
If I set viewer.EnableParameterPrompt = false then I get an erro upon clicking the viewer's refresh button (error is: Missing parameter values. webReporting.dll error '8004100e' ), but if I set viewer.EnableParameterPrompt = true, then I get the automatically generated prompts appear but they are all empty. Either way, RAS doesn't remember the supplied parameters. I know the parameters are being read by RAS as the report's contents prove this fact, but they are not remembered after refreshing. If the automatically generated prompts are filled in and submitted, subsequent refreshes work correctly.
How do I get the report viewer to reuse the parameters that have been set programmatically after a refresh? BTW, changing my implementation to anything other than using ASP against an unmanaged RAS server is not an option at this time.
Thanks in advance!
Dave.Hi Dave,
I don't have a "nice" set of code lines but below hard codes one parameter name and value:
ISCRParameterField newParameterField = new ParameterFieldClass();
newParameterField.ParameterType = crParameterFieldTypeEnum.crParameterFieldTypeReportParameter;
newParameterField.Name = "YourParamName"; // you can make a collection here
newParameterField.ReportName = "";
newParameterField.Type = CrFieldValueTypeEnum.crFieldValueTypeStringField;
newParameterField.AllowMultiValue = true;
newParameterField.AllowCustomCurrentValues = true;
Fields parameterFields = reportClientDocument.DataDefinition.ParameterFields;
ISCRField existingParameterField;
RowsetMetaData rowsetMetaData = new RowsetMetaDataClass();
Fields fields = new FieldsClass();
ArrayList defaultValues = new ArrayList();
reportClientDocument.DataDefController.ParameterFieldController.SetCurrentValue("", @"YourParamName", @"YourParamValue");
Thanks again
Don -
HELP! Confusing problem in report-form integration!
Hi all, I have a problem in integrating report in dev10i. I used to use Dev6i and have no problem in using run_report_object in 6i.
I got the REP-0503 You did not specify the name of the report and FRM-40738 Argument 1 to builtin Report_Object_Status can not be null. The report run OK in report builder and I create the paper only layout. Also, I save the report as *.rdf and create a report object in form that point to this *.rdf file.
This is my PL/SQL code:
PROCEDURE P_PRINT_REPORT_OBJ(vc_reportoj Varchar2, vc_reportserver Varchar2, vc_runformat Varchar2) IS
v_report_id Report_Object;
vc_ReportServerJob VARCHAR2(100);
vc_rep_status VARCHAR2(100);
vjob_id VARCHAR2(100);
BEGIN
v_report_id := FIND_REPORT_OBJECT(vc_reportoj);
SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESTYPE, CACHE);
SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESFORMAT, vc_runformat);
SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_SERVER, vc_reportserver);
SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_OTHER, 'aplikasi_id='||:APLIKASI_BBM_INDUSTRI.APLIKASI_ID||' paramform=no');
vc_ReportServerJob := RUN_REPORT_OBJECT(v_report_id);
vjob_id := substr(vc_ReportServerJob,length(vc_reportserver)+2,length(vc_ReportServerJob));
vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
IF vc_rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||vjob_id||'?server='||vc_reportserver, '_blank');
ELSE
message('Report failed with error message '||vc_rep_status);
END IF;
END;
What gives? Do I miss something here? Also what is the name of report server in Dev10i? I am under impression that this is not needed so I put blank '' when I call this procedure in WHEN-BUTTON-PRESSED trigger like this:
P_PRINT_REPORT_OBJ('myreportobj','','HTML');Hello Colin
Please check note 170167. Maybe error comes from a very large form which has many selection conditions.
In that case you will have to reduce the size and complexity of your form.
Regards
Javier -
CR VS2005 ActiveX Printing Mode print the report larger
Hi,
I have a problem with CR VS2005 for ActiveX printing mode. It will print the report larger than usual so when I print it to the printer, some parts will cut off. But the report will print okay if I export it to pdf and print from the acrobat reader.
Can anybody help me how to fix this?
I'm using this in my development:
OS: WIndows XP SP2
Visual Studio 2005
CR for VS2005
and the application is web application.
Thanks before...1) Try this with SP 1 for CR 10.2 applied:
https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
2) see if there are any updates for your printer driver
3) See if you can duplicate this with a different printer driver
4) I believe CR 10.2 had "No printer" option (Design | Page Setup). Enable that.
Ludek -
Minimum hardware requirement for Report server with 4 engines ??
Hello all ,
Can someone please tell what is the minimun Hardware requirement to be able to run a Oracle 91 AS with report server having 4 engines ??
and where I can find this kind of documentation.
We have a Oracle9iAS Containers for J2EE running on a machine with under 1 ghz power and around 300 mb RAM
, but the report server seems to keep crashing ..
Can anyone pls advice
ThanksHi,
For calculating the minimum hardware requirements, you may need to look at various factors:
1. No of reports requests that need to be processed per second
2. Whether all these requests are synchronous or asynchronous
3. Response time required
4. Type of reports - large amounts of data, large no of images, etc
5. How much caching you are using
6. No of queries in your report
7. Simple / complex layout of the report
and so on.
So just the information of 4 engines may not be sufficient for trying to calculate the hardware requirements. One useful reference point for you may be the Oracle9i Reports Scalability whitepaper:
http://otn.oracle.com/products/reports/index.html
It lists the number of users supported on some pre-defined hardware configurations, and the average response time for the reports server.
You might also want to take a look at the paper on "Tuning Oracle Reports":
http://otn.oracle.com/products/reports/htdocs/search.html?cat=SAP&col=ALC&submit=Search
However, it is also possible that your Reports Server is crashing due to some other problem (not the hardware configuration).
By the way, your RAM seems to be too low for Oracle9iAS installation. See the installation guide for minimum hardware requirements.
Navneet. -
Region Report reloading with wrong data
Hi all,
I'm having an odd problem with APEX that I'm hoping somebody could help with.
I have a region report containing 30 text fields, VALUE_1 to 30. The report contains several Validation rules and when submitted with no errors it works fine. However, when any of the Validations picks up an error, the page reloads as expected with the inline error text showing fine...but the text in the VALUE_7 field has been copied into the VALUE_17 input field (so both fields are displaying the same text). The data in all of the remaining cells displays fine. I've checked all of the obvious report and column attributes but can't see anything wrong and I'm happy that the copied data in the VALUE_17 field is not coming from the database.
Can anybody point me in the direction of things to try? Can a report become corrupted or are there known report issues with my version of APEX? (v4.0.2.00.07).
A large amount of Googling hasn't shown any similar problems.
Many thanks,
~H.
PS: Apologies for the username, the Preferences option refuses to admit that I've changed it!Hi Hinden,
Is your report based on a table or a collection? Normally if it is based on a table the report would revert back to the original values of the table, when you first went to this page, if the validation fails. If it is based on a collection then you need to check the code where you fill up your collection, my guess is you insert the wrong values there.
Regards,
Joni -
Custom report templates with the help of BI Publisher.
Hi All,
I have created custom report templates with the help of BI Publisher it is working as we excepted.
refered : https://blogs.oracle.com/kyle/tags/reports
But our requirement want to change the color of heading and include filters in output report, It is possible, if yes pls share you comments?
Best Regards
Pradeephow silly of me!
just restarting the tomcat sorted the problem!!! -
Custom Report Layout with mutliple child tables
I am trying to create a custom report layout (using Bi Publisher) where I have parent data (multiple jobs on a page) and several child tables for each job (JobDays and JobStops) and several child tables for JobDays (JobDayProviders, JobDayCrew). On the apex screen, I have a join on Jobs and JobDays and I am using functions to string each child row value for JobDayProviders and JobDayCrew together and putting a <br> in between so that they will format on separate lines within a cell. It works fine on the screen but when trying to print to pdf, it ignores these line breaks. I have also tried using <br></br> (saw an article that said just use HTML in bi pulisher) which puts two lines in between each value on the screen and is still ignored on the pdf.
for example:
Table hierarchy:
Jobs table
Job Stops
Job Days
Job Day Service Providers
Job Day Crew
Report Layout per job (will have mutlipe jobs to print, just printing 1 day per job):
Jobs.col1 JobStops.row1 JobDay.col1 JobDayProviders.row1 JobDayCrew.r1
JobStops.row2 JobDayProviders.row2 JobDayCrew.r2
JobDayProviders.row3
Thanks,
Linda
First, is there a way to get bi publisher to recognize the line breaks? If not, what is the best way to create a custom report for this scenario? I tried to create a report query with mutliple queries, but cannot determine how to link the child queries to the paren query. I have seen an example where a button is pressed to print one parent row and the id of that row is saved and referenced as a parameter in each of the queries, but if printing mutliple parents on a report, how would I link the child queries to the parent query?Helen,
The best way for your case is to use a content folder and customize it whichever way you like.
however, your question is about reports. the problem in reports is this that you have to use just one single query and the layout of the results of this query are displayed in a peculiar way.
anyway. something similar but not exactly the same as what you wanted do is the following.
use a query like the following: (with a union in between)
SELECT COLUMN1,NULL , NULL ,NULL ,NULL
FROM my_source_table
WHERE myCriteria LIKE 'SoAndSo%'
UNION
SELECT NULL,COLUMN2 , COLUMN3, COLUMN4, COLUMN5
FROM my_source_table
WHERE myCriteria LIKE 'SoAndSo%'
---------- Now, have the following codes in the layout segments:
<!--- header --->
<table border="0" cellpadding="1" cellspacing="1" width="20%" align="center">
<!--- body --->
<tr align="center">
<td><table border="0" cellpadding="1" cellspacing="0" width="30%" align="center">
<tr align="center">
<TH><#COLUMN1.FIELD#></TH>
</tr>
</table>
</td>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN2.FIELD#></TD>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN3.FIELD#></TD>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN4.FIELD#></TD>
<TD class="report_cell" ALIGN="LEFT"><#COLUMN5.FIELD#></TD>
</tr>
<!--- footer --->
<TR><TD></TD></TR>
this should produce a report with a table structure (you may see the whole if you give BORDER="1" in the main table tag). Within this table, the first column of the first row should be showing top-leftmost column value once (COLUMN1 value) and then the next rows would show last four column values as a table block on the right-bottom part.
with kind regards,
naqvi -
Stock variance report Crashes with error code REP-56048
SR : 6990718.992
gtcr : http://qmon.oraclecorp.com/qmon3/quickpicks.pl?t=t&q=6990718.992
Problem Statement : When the user is trying to generate report for Stock variance report from Oracle Retail Merchandising System the report crashes with error code REP-56048.
The steps to reproduce are specific to Oracle Retail Merchandising system application and hence I have not mentioned here.
The REP-56048 error seems to be generic. Could you please advise me on this issue.
Thanks & Regards,
SameerYou can review the following Oracle Metalink Document;
Comprehensive REP-56048 Troubleshooting and Overview Guide: Doc ID: Note:285281.1
https://metalink.oracle.com/metalink/plsql/f?p=130:14:88153902823984055::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,285281.1,1,1,1,helvetica
Hope it would be useful.
Adith -
Report Completed with error...
Hi There,
Account Analysis Report in oracle ebs R12 completed with error please find below error message.
Warning!!! Due to high volume of data, got out of memory exception...***
****Please retry with scalable option or modify the Data template to run in scalable mode...***
java.util.logging.ErrorManager: 2:
oracle.core.ojdl.LoggingException: oracle.core.ojdl.LoggingException: Attempt to flush a closed LogWriter
at oracle.core.ojdl.ExceptionHandler.onException(Unknown Source)
at oracle.core.ojdl.BufferedLogWriter.handleException(Unknown Source)
at oracle.core.ojdl.BufferedLogWriter.flush(Unknown Source)
at oracle.core.ojdl.logging.ODLHandler.flush(Unknown Source)
at oracle.core.ojdl.logging.ODLHandler.publish(Unknown Source)
at java.util.logging.Logger.log(Logger.java:472)
at java.util.logging.Logger.doLog(Logger.java:494)
at java.util.logging.Logger.log(Logger.java:517)
at oracle.ias.cache.CacheInternal.logLifecycleEvent(Unknown Source)
at oracle.ias.cache.CacheInternal.close(Unknown Source)
at oracle.ias.cache.Cache.close(Unknown Source)
at oracle.apps.jtf.cache.IASCacheProvider$CacheStopperThread.run(IASCacheProvider.java:1480)
Caused by: oracle.core.ojdl.LoggingException: Attempt to flush a closed LogWriter
... 10 more
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
------------- 1) PUBLISH -------------
Beginning post-processing of request 1762394 on node ORAPRD at 07-APR-2012 10:24:48.
Post-processing of request 1762394 failed at 07-APR-2012 10:24:49 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.
Finished executing request completion options.
Concurrent request completed
Current system time is 07-APR-2012 10:24:49
its a very important report please help me out in this regards,
Thanks in advance.
Regards,
Mohsin
Edited by: 920138 on Apr 6, 2012 11:37 PMPlease post the details of the application release, database version and OS.
Can you find any errors in the OPP log file?
Please see these docs.
XLAAARPT: Account Analysis Report Errors with Warning: Due to High Volume Of Data Got Out Of Memory Exception Please Retry With Scalable Option Or Modify The Data Template To Run In Scalable Mode [ID 1304660.1]
SLA: How to Troubleshoot XML Performance Issues in the Account Analysis & Journal Entries Report [ID 983063.1]
How to Configure the Account Analysis Report in Release 12 for Large Reports [ID 737311.1]
R12: XLAAARPT - Subledger Accounting Account Analysis Report, gets Out of Memory Exception, Retry with Scalable Option [ID 836551.1]
R12: AP Trial Balance Complete With Warning The Output Post-processor is Running But Has Not Picked up This Request [ID 1224684.1]
R12 Subledger Period Close Exception Report (XLAPEXRPT) Errors With: "out of memory exception" [ID 952747.1]
Account Analysis Report Shows Results in XML [ID 1325208.1]
R12: Troubleshooting Known XML Publisher and E-Business Suite (EBS) Integration Issues [ID 1410160.1]
Thanks,
Hussein
Maybe you are looking for
-
Problem with H and Option key on a macbook keyboard
I have a problem with my macbook keyboard, any time i tried to use the "h" or "option" keys i get the TM symbol. All other keys works perfect i don't know what happend? Thanks
-
I have a Panasonic VDR-M53 camcorder which records video on a small DVD. I play the DVD on a DVD player that feeds the video into iMovie via my Formac Studio-DV converter box that connects to my computer via firewire. The video clips play fine but th
-
Is the Mac Pro upgradable beyond 3GHz?
I'm considering a 2 GHz Mac Pro and it's nice to know that in a few years I can drop 3 GHz processors into it. Does anyone have any insight as to whether there will be processors beyond 3 GHz supported by the current generation of Mac Pros? Or is the
-
3rd party Internet Security disables CD Drive on Satellite A30
sorry for posting help about 3rd party Internet Security software on a toshiba forum but ive been told its to do with my toshiba cd drive. Well without it installed (which i repeatdly said to Norton) it works well but with it installed auto run dosnt
-
Cannot import non-camera images onto mac
I'm using the Xperia Z3 Compact with the 'Sony Bridge for Mac' software - I'm only using this software because no other software will even recognise the connected phone. It seems that software is the only way to import my images from the phone. HOWEV