Closing the report browser?
Hi All,
I am using developer suit 10g, I am generating a pdf file on the application server but after the file generated the browser open and give me a message "Oracle Reports Job Status Successfully run ".
I need to hide the browser because I am generating using loop so it opens the browser alot of times.
Thanks,
How do you invoke the report? Using forms?
Similar Messages
-
Closing the Report Viewer causes the application to hang
Hi,
Since a few days we are experiencing some problems with the Crystal Reports viewer. When closing a report viewer in our application, the application hangs for a few minutes. The strange thing is, that it only seems to happen on Windows 7 and Windows 2008 R2 Server.
Our application with the integrated Crystal Report Viewer is running on 2 application servers :
- Windows 2008 Server, versie 6.0 Build 6002, Service Pack 2
- Windows 2008 R2 Server versie 6.1, Build 7600
Crystal Reports version installed on both servers : 12.01.0007.1144
On the 2008 Server, the application works correctly.
On the 2008 R2 server, the application hangs for about 5 minutes while closing the report preview window.
Both server have exactly the same version of Crystal Reports and the same application version.
I'm having the same issue on a Windows 7 x64 (6.1 Build 7600).
I've installed all updates and hotfixes up to SP3 Fix Pack (12.3.3.812 / 12.3.2003.812) but I'm still having the same problem.
We didn't have this problem until a few days ago, so I assume it has something to do with a windows update which only affects Windows 7 and Windows 2008 R2.
Please advice us with a possible workaround, because our application is distributed to a few thousand users ...
Some more debug info :
This is the call of from the main thread when the application hangs :
[Managed to Native Transition]
> mscorlib.dll!System.__ComObject.ReleaseSelf() + 0x5 bytes
mscorlib.dll!System.Runtime.InteropServices.Marshal.ReleaseComObject(object o) + 0x8b bytes
CrystalDecisions.Shared.dll!CrystalDecisions.Shared.SharedUtils.ReleaseComObject(object obj = {CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass}) + 0x75 bytes
CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.ReportAppServer.ISCDClientDocumentEvents_EventProvider.Dispose(bool bDisposeManaged = true) + 0x1a2 bytes
CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.ReportAppServer.ISCDClientDocumentEvents_EventProvider.Dispose() + 0x32 bytes
CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.DisconnectEventRelay() + 0xfc bytes
CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.InternalClose(bool bSetupForNextReport = false, bool bAutoClose = true) + 0x10e bytes
CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Dispose(bool bDisposeManaged = true) + 0xad bytes
System.dll!System.ComponentModel.Component.Dispose() + 0x12 bytes
CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.CrystalReports.Engine.ReportDocument.ClearCache(bool clearDocument = true) + 0x9d bytes
CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.CrystalReports.Engine.ReportDocument.InternalClose(bool bSetupForNextReport = true) + 0x81 bytes
CrystalDecisions.CrystalReports.Engine.dll!CrystalDecisions.CrystalReports.Engine.ReportDocument.Close() + 0x3f bytes
SyDelSoftControlLibCrystalReports.dll!SyDelSoft.ControlLib.CrystalReports.cReportForm.Dispose(bool disposing = true) + 0x55 bytes
SDProjects.exe!SDProjects.GUI.ReportForm.Dispose(bool disposing) + 0x38 bytes
SharedUtils.ReleaseComObject
Kind regards,
Frederic HoornaertCrystalReportsDisposeIssue.crpe.Diagnostics.0.log
--> Form3 closed
..\..\src\print\datasource\datasrc2.cpp:535,Releasing subreport data sources,Start Time,"17:39:17"
N/A:-1,Releasing subreport data sources,Elapsed Time,"1"
..\..\src\crpe\crpe.cpp:791,Closing engine,Start Time,"17:39:17"
..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"7"
..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"6"
N/A:-1,Closing engine,Elapsed Time,"2"
..\..\src\crpe\crpe.cpp:791,Closing engine,Start Time,"17:39:17"
..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"6"
..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"5"
N/A:-1,Closing engine,Elapsed Time,"2"
--> Form2 closed
..\..\src\print\datasource\datasrc2.cpp:535,Releasing subreport data sources,Start Time,"17:39:52"
N/A:-1,Releasing subreport data sources,Elapsed Time,"1"
..\..\src\crpe\crpe.cpp:791,Closing engine,Start Time,"17:39:52"
..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"4"
..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"3"
N/A:-1,Closing engine,Elapsed Time,"2"
--> Form1 closed..\..\src\print\datasource\datasrc2.cpp:535,Releasing subreport data sources,Start Time,"17:40:29"
N/A:-1,Releasing subreport data sources,Elapsed Time,"1"
..\..\src\crpe\crpe.cpp:791,Closing engine,Start Time,"17:40:29"
..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"2"
..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"1"
N/A:-1,Closing engine,Elapsed Time,"2"
..\..\src\crpe\crpe.cpp:791,Closing engine,Start Time,"17:40:29"
..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"1"
..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"0"
N/A:-1,Closing engine,Elapsed Time,"100017"
CrystalReportsDisposeIssue.crpe.functions.0.log
0xfb8 17:39:17.871 0 PESetUserSessionInfo 0 PEUserSessionInfoW:<StructSize:262><userName:><requestID:22> IN 21 <==
0xfb8 17:39:17.871 0 0 PESetUserSessionInfo 0 OUT PEUserSessionInfoW:<StructSize:262><userName:><requestID:22> 21 <==
0xfb8 17:39:17.874 3 PEClosePrintJob report {657D0ECA-BC6A-4EC6-9476-02B77376E07C}.rpt 0 jobN:3 IN 22 <==
0xfb8 17:39:17.874 36 3 PEClosePrintJob report {657D0ECA-BC6A-4EC6-9476-02B77376E07C}.rpt 0 OUT jobN:3 22 <==
0xfb8 17:39:17.913 0 PECloseEngine 0 void IN 22 <==
0xfb8 17:39:17.913 3 0 PECloseEngine 0 OUT void 22 <==
0xfb8 17:39:17.923 0 PECloseEngine 0 void IN 0 <==
0xfb8 17:39:17.923 3 0 PECloseEngine 0 OUT void 0 <==
0xfb8 17:39:52.421 0 PESetUserSessionInfo 0 PEUserSessionInfoW:<StructSize:262><userName:><requestID:23> IN 0 <==
0xfb8 17:39:52.421 0 0 PESetUserSessionInfo 1032 OUT PEUserSessionInfoW:<StructSize:262><userName:><requestID:23> 0 <==
0xfb8 17:39:52.423 1 PEClosePrintJob report {F2574C5C-00BC-4627-9A05-B8133D6E6F7D}.rpt 0 jobN:1 IN 0 <==
0xfb8 17:39:52.423 15 1 PEClosePrintJob report {F2574C5C-00BC-4627-9A05-B8133D6E6F7D}.rpt 0 OUT jobN:1 0 <==
0xfb8 17:39:52.441 0 PECloseEngine 0 void IN 0 <==
0xfb8 17:39:52.441 3 0 PECloseEngine 1032 OUT void 0 <==
0xfb8 17:40:29.281 0 PESetUserSessionInfo 0 PEUserSessionInfoW:<StructSize:262><userName:><requestID:24> IN 0 <==
0xfb8 17:40:29.281 0 0 PESetUserSessionInfo 1032 OUT PEUserSessionInfoW:<StructSize:262><userName:><requestID:24> 0 <==
0xfb8 17:40:29.283 2 PEClosePrintJob report {C78FE11F-6465-478F-83AB-49D8F0C6D64A}.rpt 0 jobN:2 IN 0 <==
0xfb8 17:40:29.283 24 2 PEClosePrintJob report {C78FE11F-6465-478F-83AB-49D8F0C6D64A}.rpt 0 OUT jobN:2 0 <==
0xfb8 17:40:29.310 0 PECloseEngine 0 void IN 0 <==
0xfb8 17:40:29.310 2 0 PECloseEngine 1032 OUT void 0 <==
0x1568 17:40:29.315 0 PECloseEngine 0 void IN 0 <==
0x1568 17:40:29.315 100018 0 PECloseEngine 0 OUT void 0 <== -
Closing the report generating engine automatically
how can i close the report generating engine after displaying a report automatically ie when closing the report window the report generating engine also need to be closed. now i have to manually close the report background window also and it becomes annoying to users . i am using the rdf files and not rep files.
There is a parameter ORACLE_SHUTDOWN. Set it to YES.
When you have large, complex reports, the Reports Background engine sometimes eats lots of memory and leads to GPF. If you have lots of GPF when running a report, you should use this parameter.
null -
When i closed the Report , ODI Designer Tool also closed.
Hi ,
Through ODI Open Tool , genarated a report as PDF.
In My code i wrote 'jasperViewer ' so when i excuted through tool it will automatically opend, after seen that View Report and closed that Reoprt, total ODI tool also closed.
when i closed the Report , ODI Tool also closed. where is the problem.
So can Give me alternative Solution.
Regards
RaghavHi Josumon,
Welcome to the Support Communities!
The articles below may be able to help you with this.
Click on the links to see more details and screenshots.
Mac Basics: Messages
http://support.apple.com/kb/HT5395
iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
You may need to uncheck the "Enable this account" and then place the checkmark again to reset this for your Apple ID.
Messages (Mavericks): Set up your accounts
http://support.apple.com/kb/PH15055
FaceTime, Game Center, Messages: Troubleshooting sign in issues
http://support.apple.com/kb/ts3970
I hope this information helps ....
Have a great day!
- Judy -
Returning to the parameter form in a report after closing the report page
hi all,
tell me a way to get the following solution
how can we return back to the parameter form of a "parameterised
report" after closing to the report window.
i ve tried a little bit with "srw_run_report"
reply me as quick as possible
prabhakaranTry using menu options
Tools\Parameter Form Builder
you can either select/deselect any parameter from the list -
Closing the Application Browser.
Hi Experts,
I had been Posting on the forum about closing of the Application Window.
Thanks a lot for the ideas,the purpose is yet to be solved.
Let me explain my requirement in detail.
I have an application in which there are View Layouts.
I am able to close the Application Window on Click of a Button(say CLOSE).
But the requirement is such that,the Application Browser window needs to be closed.
Is it Possible in Web-DynPro to Close the Browser window on Click of a Button.
Please provide the necessary information in this regard.
Thanks and regards,
Chandrashekar.chk it
closing browser window via button
How to close parent window -
Closing the report's confirmation window
Hi All,
I am using developer 10g and I am calling a report from the form.
this report its DISTYPE is FILE after the report is generated and created the file a window apear that the report generated successfully.
I need to hide this confirmation because I am looping on about 600 records and generating files for each record then this confirmation is apearing 600 times so every this hanges.
Regards,hi
in u r report code.Or please try something like
create a trigger.
On-Message Trigger(Form Level).
begin
if
abs ( message_code ) = 40400
then
clear_message;
bell;
message ( message_text, no_acknowledge );
else
message ( message_text );
end if;
end;sarah -
Hi,
I wonder if any one can tell me how to close the report window(runtime) after the report is Run. For example if the report is running through a command line, i want the report(which displays on the screen) should close automatically once it is completed.
Thanks
Ferozhello,
why not run the report in batch-mode then. if you dont' want to actually view the report.
regards,
the oracle reports team --pw -
Closing the report on pushing a button to go to another form/application
Friends,
I want to close the report previewer after selecing a value through a push button to go to another application with DDE.APP_FOCUS method invoked
Thanks in advance
anojI have one java file which has a button called
"Submit" and when clicked i need it to open up a
validation form.Yes, and? Do you have specific problems? This shouldn't be difficult, if you have a reasonable grasp on gui setup and event handling. If you don't have such a grasp, you should try to get it.
What happens when you run the code you posted? -
Generated JNLP and closing the original browser window
Hi All, This is my first post so bear with me. Here is my problem.
I am using Web Start for an application.
I need to check to see if web start is installed or not.
If it is NOT I need to auto-install
if it is I need to call a servlet that dynamically generates the jnlp with the user that I passed in as <arguments/> maybe other arguments in the future also
I need to shut the original browser window
I will use this servlet in multiple web apps
I have it working like this but I don't think it is clean enough
I call a servlet with the syntax checkJREServlet?USER=username
this servlet writes out:
<html>
<body>
<h1>Installing Java Runtime</h1>
<OBJECT
CLASSID="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="0" height="0"
codebase="http://<myservler>/<plugins folder>/j2re-1_4_2-windows-i586.exe#Version=1,4,2,0">
<PARAM NAME="code" VALUE="redirectAndClose.class"> //my applet class
<PARAM NAME="archive" VALUE="RedirectUtil.jar"> //the jar where my applet class is stored
<PARAM NAME="archive_cache" VALUE="RedirectUtil.jar">
<PARAM NAME="type" VALUE="application/x-java-applet">
<PARAM NAME="where_to_next" VALUE="http://<myservler>/<mywebapp>/openAppServlet?USER=username">
You did not install Java.
<p>Please use the <b>Back</b> button to return to the previous page.
</OBJECT>
</body>
</html>
I have redirectAndClose which is:
import java.applet.Applet;
import java.net.URL;
import java.net.MalformedURLException;
import netscape.javascript.*;
public class redirectAndClose
extends Applet
java.util.Timer timer = null;
int seconds = 5;
public void start()
try
getAppletContext().showDocument(
new URL(getCodeBase(), getParameter("where_to_next")), "_blank");
//now we have to close ourselves in 5 seconds
timer = new java.util.Timer();
timer.schedule(new java.util.TimerTask()
public void run()
timer.cancel(); //Terminate the timer thread
destroy();
, seconds * 1000);
catch(MalformedURLException e)
throw new RuntimeException(e);
public void destroy()
super.destroy();
//close this window because we don't need it
JSObject win = (JSObject)JSObject.getWindow(this);
win.eval("window.opener=self;self.close();");
If try to close without a timer my entier session gets killed, including my webstart app that the openAppServlet wrote out the jnlp for
I hate this because it is not definite. I want to DEFINITELY know when my webstart app is open and I can close this original window. Like a whenWindowExists then close me but I have no clue how to do this.
The "where_to_next" location is a servlet that will dynamically build a jnlp file specific for each web app building it from parameters in web.xml for each individual web app. Basically I will have to store the actual name of the class, the jar href's I will be needing, title, vendor, description, basically everything that can be different.
So what I need is some kind of library so I can include it in multiple web apps EASILY. I don't want to have to write a document on how to include this thing. It should be self explainatory. I originally just mapped to the first servlet in my web.xml and then included the jar file but it appears to be non-existent in my project. Maybe some suggestions on what others would do may help me.
Thanx in advanceI don't want to use a timer because who knows if the servlet that writes out the dynamic jnlp will get hung up for a little while or any number of other reasons. If that did happen the timer would kick off and close my web start app. I cannot have this.
-
Closing the report background engine
hi friends,
i have tried using add_parameter function with ORACLE_SHUTDOWN=YES
BUT THE Engine doesn't close in fact it shows the first report as in prview and the another report which I am trying to run in forms as waiting.
is there any particular sequence for this syntax?
manojManoj,
you didn't mention a release version. ORACLE_SHUTDOWN=YES was filed as a bug for Forms 6.0 and was fixed for Forms 6i (6.0.8). Using Run_Reports_Object() instead of Run_Product and passing ORACLE_SHUTDOWN=YES as an argument of REPORT_OTHER will work even before.
Frank -
Open browser then close no browser is open and then click to re-open the browser it says it is still running and cannot get another browser for about a 45 sec....have Windows XP and didn't have the issue on 3.6 version.
https://support.mozilla.com/en-US/kb/Firefox%20hangs <br />See '''hang-at-exit'''
-
The message: "Severe Error; Can 't load resourse file; can not run" appears after closing Firefox4. All other applications on my pc do not have this problem.
I've found text of this error in npdjvu.dll plugin, remove it and error seems to disappear.
-
Closing the IE browser thro' Java application
Hi,
I have a requirement wherein I have to close the applications launched like (Internet exploer window) thro my java application.
Can anyone help me on this?
I tried using Runtime class Process.destroy( ) method. But still not able to find the exact one.
Thanks.maybe this is because the code did not create the process directly, ao destory() method doesn't work as expected.
Process ps = Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + "my website open here")
maybe ps not reference to the process create by rundll32
then there is no way to close a browser directly from java application? -
Browser not showing the report.
Hi
we have forms and reports developed using developer suite 10g.Our application server is with OS windows 2003
and database is oracle 11g on vista 64 bit.
Our client pc is vista and there was no probem we were able to generate forms and reports in mozilla firefox and IE.
But for the past two days we are unable to view the report on the browser but report job is created successfully and
downloaded to the client pc.
we are doubting whether any security settings have been changed suddenly since we updated and installed latest mozilla firefox.
If we run the forms from developer suite 10g everything works fine and the report also opens in the browser.
Please help and what is the solution for this sudden change.we are getting error "<local host name> is not set up to establish a connection on port 8889 with this computer.
ThanksHai,
Check In the mozilla Tools-->Options-->Applications.
Check the Default Action Of Acrobat Documents, And Make Sure The Acrobat Reader Is Installed In The PC.
Also Make Sure, No Popup Blockers Are Working.
Because some addon toolbars have popup blockers. so if is there any add the Url in the exception list or if that toolbar is not that much necessary, then uninstall that.
Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks.
Maybe you are looking for
-
I would like to use Date Picker on the OBIEE Dashboard. Is there any standard control/mechanism that I can put to use ?
-
Objects in MSO refuse to link to articles
Hi there, I realize this is a pretty insignificant problem compared to the complexity I'm reading about here in this forum - but I'm new to this...and really could use some help. This was not a problem with the other app I built - but I have not be
-
A problem about bidirectional relationship recovery?
I have read some snippets of AWT source. A snippet as following: ======================================== * The parent of the object. It may be null for top-level components. * @see #getParent transient Container parent; =============================
-
How can I implement breadcrumb hierarchy to individual news / FAQ items?
When I add a news or FAQ module to a page the breadcrumbs shows the full page hierarchy Home > News. (Which I can control in the sitemap). However, when a user clicks on an individual news item (or FAQ) the breadcrumbs just displays the news (or FA
-
I just wiped my hard disk and rebooted snow leopard 10.6.8 and now have lost my iphoto. It is not present in my original disk and I want the easiest way to reinstall iphoto. I have an older macbook pro that is not upgradeable anymore, but still wor