Interfacing of oracle report builder and java
hi all,
I have build a report using Oracle Report Builder 10g.Now i want to make use of this report in displaying the data in IE using core java.
This is the first time i am using the Oracle Report Builder .
Can anyone tell me how to proceed in right direction?Do i need to have some specific Jar,Environment to accomplish this task?
Thanks in advance
I'm not sure what version of the product you're using, but since you're just installing it may well be the base version (6.0.8.8.3).
Similar issues were addressed in a patch release (6.0.8.12), which was related to issues with some types of keyboard. You may want to upgrade to the latest patch release and retry.
Similar Messages
-
Oracle reports builder and Win7 aero theme
Hi,
I did sucessfully instaled Oracle reports builder 10gR2 (e.g. Oracle Developer Suite 10gR2 and patch 10.1.2.3) on Win7 x64 Enterprize. There was a few workarounds, but it is now ok.
Everything works just fine now, but that blink and baloon message that came on change of color sheme to Windows classic is annoying! Every time I run the Report Builder, windows is forced to change the Aero scheme ti Classic. OK, I figgured out, that if I do not use Aero, this is not an issue anymore. For me it's ok, but other developers in our company will not be glad :)
The same problem persist at Oracle SQL developer, but there is a solution for it with little change in "sqldeveloper.conf" file "AddVMOption -Dsun.java2d.noddraw=true" .
Is there any similar setting for Report builder too?
I would be werry appreciated.
Thanks.Hello,
Have you used 64-bit binaries?
Here are the steps that you need to make sure you have accomplished themL
1- JDK 64 bits to be used
2- wls1036_generic.jar (java -jar wls1036_generic.jar) or wls1035_generic.jar . It is mandatory to use java from a 64 bits distribution. Using java 32 bits will cause problems.
3- ofm_frmrpts_win_11.1.2.0.0_64_disk1_1of1.zip
An workaround is offered in the following thread:
Oracle Reports 11g installation problem
regards,
Alex
If the answer helped, please mark it accordingly. -
Hi all,
I am new to Oracle 9i reports. I was just wondering if there is any good documentation/tutorial on using Oracle 9i Reports in a J2EE app? Basically, being able to integrate Oracle 9i Reports in a J2EE web application such that you can pass arguments to the underlying SQL query of the reports dynamically through your web app and then it could use Oracle 9i Reports to generate some reports.
Any comments would be appreciated.
Thanks,
Payam.Hi:
I have the same problem as you, and i wanna know if you resolved your problem and how did you integrated oracle reports in java. i wanna use oracle report builder tool.
Thanks a lot -
Help with Oracle Report Builder and SQL Server2000
Hey guys,
I just installed it Oracle Developer Suite10g with Report Builder and I am trying to use Report builder and wants to connect with SQL Server 2000. The problem that I am running in to is SQL Server 2000 i have is Window Authentication so Does not required to enter user name and password. So how can i connect my report builder to SQL server or is it possible to connect Report builder to SQL server?
Also, I want to create small practice version of database in Oracle how do i do it? what i mean by that is I installed trial version or Oracle developer 10g from www.oracle.com and now trying to get some knowledge with oracle. Could any one can give me some direction in this matter please.
Thank You
KeyHave a look at the reports help for the purpose header and trailer sections. Here is an exert:
"Report sectioning enables you to define multiple layouts in the same report, each with a different target audience, output format, page layout, page size, or orientation. You can define up to three report sections, each with a body area and a margin area: the names of the sections are Header, Main, and Trailer. By default, a report is defined in the Main section. In the other sections, you can define different layouts, rather than creating multiple separate reports. If you wish, you can use the margin and body of the Header and Trailer sections to create a Header and Trailer page for your reports." -
Dear all;
Please pardon me. I am new to oracle report builder and I am trying to accomplish the following. First and foremost please find my pl/sql queries below. Kindly note, all the queries have been tested and I just need to be able to input those queries into the report builder. Thank you.
create or replace package test1 is
type r_cursor is ref cursor;
function report(company_name in varchar2) return r_cursor;
end test1;
create or replace package body test1 is
function report(company_name in varchar2) return r_cursor as
my_r_cursor r_cursor;
begin
if(company_name = 'ALL COMPANIES') THEN
open my_r_cursor for
select t.t_id, t.t_description from t1 t;
return my_r_cursor;
elsif(company_name != 'ALL COMPANIES') THEN
open my_r_cursor for
select t.t_id, t.t_description from t1 t
where t.t_id = company_name;
return my_r_cursor;
end if;
end;
end test1;
create table t1
t_id varchar2(200) not null,
t_description varchar2(250),
primary key(t_id)
insert into t1
(t_id, t_description)
values
('CITI', 'PROFIT: 2.2Billion');
insert into t1
(t_id, t_description)
values
('GE', 'PROFIT: 1Billion');
insert into t1
(t_id, t_description)
values
('JPMORGAN','PROFIT: 0');Now, I am trying to create a simple report in oracle report builder. The interface for generating for this report is basically, there is a dropdownlist where by the user picks a company name from the dropdownlist and clicks on the go button, this should then generate a report with the above query shown in the package. How can this be achieved? All help will greatly be appreciated.Hi,
first of all you need strong typed ref cursor, oracle reports need to detect witch are the columns returned by your cursor.
so first you create your package
create or replace package test1
as
TYPE t_record IS RECORD ( company_number PLS_INTEGER--TABLE_NAME.COLUMN_NAME%TYPE
, company_desc VARCHAR2(150)--TABLE_NAME.COLUMN_NAME%TYPE
TYPE T_REF_CURSOR IS REF CURSOR RETURN t_record;
procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor) ;
end test1;
show errors
create or replace package body test1
is
procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor)
is
my_r_cursor T_REF_CURSOR;
begin
if(company_name = '1')
THEN
open my_r_cursor for
select 1 as t_id, 'description' ast_description from dual
else
open my_r_cursor for
select 2 as t_id, 'description2' as t_description from dual
end if;
end;
end test1;
show errors
then, in your report you create a ref cursor query :
function QR_1RefCurDS
return test1.t_ref_cursor
is
C_return test1.t_ref_cursor;
begin
test1.report(1,C_return);
RETURN(C_return) ;
end;
hope this helps you !
E -
Exception while opening a JSP file created using oracle report builder
I have created a JSP page which contains embedded Oracle reports build using Oracle Report Builder.
I have deployed the JSP created above to the Oracle Application Server
but when i try to open the JSP file it gives the following error:
500 Internal Server Error
javax.servlet.jsp.JspException: rwlib-1: REP-1202: ORACLE logon not specified. at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:206) at testing.test1._jspService(_test1.java:75) [SRC:/testing/test1.jsp:0] at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
can anybody help regarding this
this is of high priority to me
thanks and regards
Subhajitbump
-
Hi All,
Need expertise help to resolve the issue I am getting with Oracle Report builder.
I have installed and configured Oracle Forms and Reports Builder 11g on my Windows 7 & 64 bit machine.
Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
It says
The error is;
java.lang.NoClassDefFoundError:
oracle/xml/parser/v2/XMLParserException
once I close th eabove error window, then it says java.lang.NullPOinterException.
I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
@echo off
@echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
@echo Starting Reports 11g Builder...
setlocal
call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
@echo on
start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
@echo off
endlocal
:end
@echo on
But report builder is not working. (Error comes when launching the Report Builder ).
Quick support is highly appreciated.
Thanks
MudithaHi All,
Need expertise help to resolve the issue I am getting with Oracle Report builder.
I have installed and configured Oracle Forms and Reports Builder 11g on my Windows 7 & 64 bit machine.
Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
It says
The error is;
java.lang.NoClassDefFoundError:
oracle/xml/parser/v2/XMLParserException
once I close th eabove error window, then it says java.lang.NullPOinterException.
I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
@echo off
@echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
@echo Starting Reports 11g Builder...
setlocal
call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
@echo on
start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
@echo off
endlocal
:end
@echo on
But report builder is not working. (Error comes when launching the Report Builder ).
Quick support is highly appreciated.
Thanks
Muditha -
ORACLE reports Build 10g - Data Model - query - If statement in Alias ?
I have the following select statement. It has the alias Survivors, Deaths and "All
With the ORACLE reports Build 10g - Data Model - I have the following query statement. I require the alias to change. Can the following be done.
Cases". Is it posible to use :P_LANGUAGE variable to say that -- IF :P_LANGUAGE = FRENCH THEN alias are Survivants for survivors, Décès for Deaths, Tous_les_cas for All Cases. Please advise
SELECT ALL T_NTR_MULTIBAR.CAT, T_NTR_MULTIBAR.NUM_CASES_LEFTBAR AS Survivors,
T_NTR_MULTIBAR.NUM_CASES_MIDDLEBAR AS Deaths, T_NTR_MULTIBAR.NUM_CASES_RIGHTBAR AS "All Cases"
FROM T_NTR_MULTIBAR
WHERE INSTANCE_NUM = :P_INSTANCENUM
order by ORDERSIt is no problem, you can automatically change the complete query before the report is running, which delivers you different kind of values. But the alias names does not change in the group of the data-model, although two query are running with different alias names at different times. In the data model you see the alias names of the first implemented select statement, which are the column fields in the layout.
-
Getting a report in excel format from oracle report builder 10gDS release2
I want to get a report in excel format from oracle report builder 10gDS release2.
Is there ne method by which minimum effort is required for changing already made reports .
I have searched for it on internet :-
http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwwhthow%7Cwhatare%7Coutput%7Coutput_a_simpleexcel~htm/
Example, given in the last of the page opened from the above url, is not working.
Can neone plz explain the example and how to use it
Thanks & Regards
JDOk, for the release 2 its quite straightfoward, in your calling form you would have something like this code:
declare
pl_id ParamList;
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
v_rep_status VARCHAR2(20);
v_repsrv VARCHAR2(100):= 'yourreportserver';
v_serv varchar2(50) := 'yourservername' ;
begin
pl_id := Get_Parameter_List('tmpdata');
if not id_null(pl_id) then
Destroy_Parameter_List( pl_id );
end if;
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id,'DESTYPE' ,TEXT_PARAMETER,'Screen' );
Add_Parameter(pl_id,'PARAMFORM' ,TEXT_PARAMETER,'NO' );
repid := FIND_REPORT_OBJECT('yourreport'); SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER, v_repsrv);
set_report_object_property(repid,REPORT_DESTYPE,CACHE );
set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
v_rep := RUN_REPORT_OBJECT(repid,pl_id);
v_rep := substr(v_rep,length(v_repsrv)+2,10 ) ;
end;
I have plenty of reports being formated to excel with this same method so it should work for you, the only diference with my previous code is this line.
set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
The rest remains untouched.
Hope it helps. -
Advantage and disadvantage of xml publisher, report builder and discoverer
Hi,
anyone can explain advantage and disadvantage of xml publisher, report builder and discoverer?
thanks in advance!The best way i found was to put a equals and then double quotes... this only works for excel however it will allow you to cut and paste (ie to use the value to search in Oracle) and also to do vlookups.
In a bit more detail:
- I used word to generate my default table
- this created a field INVOICE_NUM
- in the cell in the table i put = " before the INVOICE_NUM field and then put the closing " afterwards.
The theory is that excel will concatenate the values together... because it has quotes around it, it will treat it as a string rather than simply a value.
For any other formats this will not work.
I'm guessing most people have moved on and resolved this some other way, but just thought I'd share the wealth! -
Why is printing report different from report builder and app server
I created a report and when ran from report builder it looks fine.
And when i moved the report to server and ran the report in the browser using this url
http://192.1.1.8:7778/reports/rwservlet?userid=esp/esp_dev1@wdev&report=FMMA_VOUCHER.rdf&destype=cache&desformat=pdf
and print it the report shrinks, the fonts become small and the margins change. I am having hard time how to figure out a way to correlate the formatting in the report builder and when i run on the server using pdf format.
Is there any way to set the server so that the pdf output matches with the report builder.
Thanks.
SreeI assume you are doing a cross platform deployment
Pls read section 6.2
Resolving PDF Font Issues During Cross-Platform Deployment
in
[ Publishing reports to web - 10G ]
http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
[ All Docs for all versions ]
http://otn.oracle.com/documentation/reports.html
[ Publishing reports to web - 10G ]
http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
[ Building reports - 10G ]
http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
[ Forms Reports Integration whitepaper 9i ]
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
--------------------------------------------------------------------------------- -
Using CLOBs in oracle Report Builder
I want to select all the data in a CLOB column using SQL Navigator by just doing
select entry_note
from chartentries;
just as you say in your example by it just gives me back a result of (ORACLOB).
If I do
select to_char(entry_note)
from chartentries;
I get this error.
If I do
select dbms_lob.substr(entry_note,4000,1)
from chartentries
I get this (there’s more up to 32000 characters in a clob) and these weird squares which I think are CR (carriage returns) or LF (line feeds). I don’t want to see those characters and I would like to retrieve the entire CLOB in one swoop without doing data manipulations of substringing.
Using the same data in Oracle Report Builder, I want to select all the data in a CLOB column into a field in a Paper report layout but I keep getting errors, ora-6502, and I've found out that I am restricted to 4000 characters and in Report 9i it looks like the largest field you can have is 4000 characters. My CLOB information can be up to 32000 characters long or longer and I do not want to substring out 4000 characters at a time into separate fields. In Crystal reports there is no problem just selecting the clob in a simple query and it is there in one shot. I would have thought by now that Oracle would have changed its development tools to be able to handle Clobs simply without any manipulation. Does anyone know how to do this in Report builder? I just have a simple query:
select entry_datetime,
to_char(replace((entry_note),chr(13))) as entry_note
from chartentries
where patient_id = 49741
Another thing I want to do, is call this Oracle report from a PL/SQL block passing several parameters to the report and also call a Crystal report from a PL/SQL block passing several parameters to the report. Does anyone know what the commands are?What I had to do is create a query using query builder. This works fine; it's when trying to add the column to an existing query is where the data inconstancy error occurs. One thing you have to keep in mind is it will only work using the query builder in conjunction with the report wizard; I am not sure why. To incorporate the comments into an existing frame you will have to cut the frame created by the wizards and copy it into the existing frame. Otherwise the column name will not show in the source list of the property Inspector.
Good Luck -
How to start Oracle Report Builder in Linux
Hi all
Can someone please help by telling how can i start Oracle Report Builder in Linux????
Thank you and best regards to allHello,
there should be a script rwbuilder.sh
in ORACLE_HOME/bin for 10.1.2.
in ORACLE_INSTANCE/config/reports/bin for 11g
Of course, you need to have a "X Display Server " up and running and the variable DISPLAY must be set to this "X Display Server "
Example :
export DISPLAY=123.456.789.12:0
$ORACLE_HOME/bin/rwbuilder.sh
Regards -
How to Publish a report created by Oracle report builder
Hi Everyone
My colleague and I were trying to use the Oracle Reports Builder to replace our existing reports generator from our ERP system. We have already created the report in the Reports Builder from the development suite.
What we are looking for is a similar solution as the Microsoft reporting service;
1) create the company report templates
2) and then upload the template files to a location (e.g. folder on the server)
3) then all user in the company can access it by a web browser with some fields which they can enter some critiria (e.g. purchase order number).
4) then send to printer and the print out should look exactly like the template.
Unfortunately, we had very bad time on try to find out what we need and how to publish that Oracle report we created. We spent 15 hours on that but no result.
In that 15 hours we tried to setup the "Oracle report service", but at last my colleague said that wasnt what we looking for, the "Oracle report service" is for reporting the error from the application hosted on the server, not for publish the company report created by the "Oracle report bulider" .
We use Oracle Database 10g for the ERP quite a long time already. We had the Oracle Developer Setup, and the Application Server Installed.
Could someone please tell us what kind of Oracle service we are actually looking for. Any other suggestion and setup guides are also the most welcoming.
Best Regards
BryanHello,
If you want to be able to execute your Reports on the web, the best solution is to use the "Oracle Application Server"
http://www.oracle.com/technology/software/products/ias/htdocs/101202.html
For example , the "Forms & Reports Services Standalone" edition
Then, use the Reports Servlet to submit the execution requests to a Reports Server :
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_run.htm
Oracle® Application Server Reports Services Publishing Reports to the Web
10g Release 2 (10.1.2)
B14048-02
13 Running Report Requests
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/howto/runprint/deploy_rpt.htm
Deploying a report
Regards -
How to use LIKE function with a parameter in Oracle REPORT builder??
how could i use parameter inside a LIKE function in Oracle reports builder?
it works in SQL plus, but not in report builder!!
Example:
select code,desc from item_master where desc
like '%&give_desc%'; ---works in SQL
like '%:give_desc%' ---doesn't work in report builder!!Hi Renil,
You will need to use the wildcard character (%) and the concatenation character (||) to join to your user parameter.
i.e. like '%'||:give_desc||'%'
Regards,
John
Maybe you are looking for
-
Cannot delete Flash32_11_6_602_180.ocx from an old system disk
Hi, I am running a Windows 8 64 bit system with the most current version of Flash installed, whatever that is, since I blindly accept whatever update Adobe sends to me. My problem is that I cannot delete the Flash32_11_6_602_180.ocx file from an old
-
CFMail breaks up attachments filename with non ASCII
Hi CF-Devs out there! My problem is, that when attaching files via cfmailparam - no matter if inline or not - and using a filename that contains or a non 7bit-ASCII character or a simple space, the filename is not displayed correctly in Outlook nor T
-
Validation in approval workflow
Hi, I am new to OIM 11gR1. I have created one approval workflow, RequesterManagerApproval in jDeveloper. When the user raises a request, the request will go to Requester's Manager. We have to check that Requester's Manager should not be blank or disa
-
HT5333 why i don't have a dvd folder in the settings?
why i don't have a dvd folder in the settings?
-
Watch folders stopped working in Elements 8 Organizer
Please can anyone help? I upgraded to Elements 8 some time ago and have been successfully using the watch folders service for several months to quickly add my edited photos to organizer. The watch folders has suddenly stopped working. I have read thr