Urgent - Handle error when mail server is down
Hi,
Can anyone assist on how we can handle the case when the mail server is down? For instance is it going to be implemented like
exception when +???+
Or is there any other way to handle this in order not to get frm-error in oracle forms?
Thank you
Edited by: MrProud on Mar 26, 2009 12:32 AM
Edited by: MrProud on Mar 26, 2009 12:33 AM
I think OP's problem doesn't related with FORMS. He should CATCH that error code and return normal readable error to user
Moreover, I advice to OP to read briefly documentation related with [UTL_SMTP |http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_smtp.htm#CHDCFFDI] package
And also to take a look at default [Exceptions |http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_smtp.htm#i1006659] which can be raised when using UTL_SMTP package
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
Similar Messages
-
FTP Adapter File Polling does not raise error when FTP server is down
Hi All,
Thanks in advance.
I am polling for new files in a FTP Server. However, if the server is down there is no way for me to catch the fault to notify someone. I am using fault-policies but that never gets triggered when polling an unavailable FTP Server.
One option is to have a completely separate scheduled process (SOA or not) that tries to connect to the servers but I am trying not to go that route just to keep things manageable and within the realm of the process.
I am sure that I am not the only one polling for new files in a FTP Server, so I thought to pick your brain to tackle this scenario.
Thanks for taking the time to read this.I was contacted by our DBA team for an exception received while writing a file to a FTP location.
Then i looked at the exception message and asked them to check the whether they are able to contact the ftp server using command prompt then they said the user password got expired.
They reset the password and its working now.
Am i missing something here :(
Exception:
WSIF JCA Execute of operation 'Put' failed due to: Error sending file to FTP Server.
Unable to send file to server.
; nested exception is:
ORABPEL-11429
Error sending file to FTP Server.
Unable to send file to server.
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
Thanks,
Vijay
Edited by: veejai24 on 25-Jul-2012 07:10 -
How to show an error Page in Weblogic when the server is down
Hi ,
I heard that every container has the facility to show an error page when the server is down and (when the request has arrived at that time ).
Please tell me how to configure this in BEA weblogic ??
Thanks .Hi,
From my understanding weblogic dose not provide the thing which you are asking for, reason is given below.
- An application is deployed only on managed server one (MS-1)
- Now if the request comes to the server (MS-1) when it was running and then for some reason MS-1 goes down then weblogic server would be able to send any response back to the client as its down.
- Hence nothing can be done as the request object is been lost when the server goes down or even cant redirect to an error page as for doing that too the server has to be up and running.
However there are other way round which can help you overcome this issue as shown below
- Use Clusters with few managed servers in it which gives you high availability and load-balancing.
- Use any web servers like Apache in front of weblogic servers.
Using the above things you can also use customized HTTP Error Responses with error-page element in web.xml and create your own error pages which can be re-directed for the web server side also. For more information go through the below links
Topic: Customizing HTTP Error Responses
http://download.oracle.com/docs/cd/E13222_01/wls/docs92/webapp/configurejsp.html#wp157884
Topic: error-page
http://download.oracle.com/docs/cd/E13222_01/wls/docs81/webapp/web_xml.html#1017571
Topic: ErrorPage
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/plugins/plugin_params.html#wp1155425
Hope above information helps you.
Regards,
Ravish -
Error WHen rying to Drill down in the Report
Hi ,
I am getting the below error when trying to Drill down on a characterstic in the Report.
"500 Internal Server Error"
BEx Web Application
Failed to process request; contact your system administrator
Information for Administrator
To avoid this exception see the steps below. To help SAP better investigate this issue, you will need to provide the diagnostic information from these steps.
1. Most likely, the issue you are experiencing has already been corrected. Please make sure that the most recent patch level is deployed on your system according to notes 1033246 and 1011241. Starting with Support Package Stack 16 patch level 30, BI Java is delivered according to the synchronized delivery process described in the note 1033246.
2. Please ensure that NetWeaver Business Intelligence Diagnostics & Support Desktop Tool does not report any issues on your server according to note 937697. You can start it by clicking here (administrator permissions are required).
3. When opening any customer message on this issue, please attach:
Support Desktop Tool support info ZIP file according to note 937697,
Required information for reproduction according to note 948490.
Error Summary
Exception occured while processing the current request; this exception cannot be handled by the application or framework
If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
Root Cause
The initial exception that caused the request to fail was:
Termination message sent
ABEND RS_EXCEPTION (000): ORA-00904: "P0000"."CATTYPE_OT": invalid identifier
MSGV1: ORA-00904: "P0000"."CATTYPE_OT": invalid
MSGV2: identifierGood day,
Please check if Note 1327130 helps ...
Regards,
Karen -
Handle errors when makeing doc.submitForm()
Hello,
I am trying to submit PDF form by method doc.submitForm, example:
doc.submitForm
cURL: "http://localhost/reader_test.php?name=" + name.rawValue,
cSubmitAs: "XML"
A) With this approach, is it possible to handle connection errors and display custom error message (and cancel the original one) ?
I have tried something like
try{ doc.submitForm(...); } catch(e) { //handle code }
but it seems to be run asynchronously.
B) Is it possible to add custom HTTP headers to the POST ?
I saw that FormCalc can do it in Post() funciton, but when using Post() function, the Reader displays Yello-bar security dialog, that made our previous SOAP-based solution too complicated for the end user.
Appreciate any help.
RadekSofar I have not found the way how to handle errors when using doc.submitForms(), but there may be following workaround (mey be?):
The server returns as a response to a submitForms() call a pdf content, which is displayed as a document in a new Reader's window. Is it possible to place some javascript into this new window, that would refer to parent window and send to it some message ? Or at least to detect at the "parent" window, that a "child" window was opened ?
So is there any relation between the newly opened document with the response from server and the original document, that initiated calling of doc.submitForms()?
Thanks. -
Hi
I've been having difficulties with mail on my Mac and have checked all the settings. I have three mail accounts, 2 iClouds (different acct names) and 1 bigpond account.
Whenever I change the outgoing mail server drop down boxes for the iCloud accts and save my changes, I go out of it then when I go back to the iCloud accts the drop down boxes for both iCloud accounts have reverted back to 'None'.
Is this of any relevance? Is it 'normal'?
I've tried deleting all mail accounts and adding them all again but the same thing still happens.
I have been on Apple Support and followed the Mail Acct setup tutorial.
I'd appreciate any help on this matter thanks.Thanks for your reply Winston Churchill.
Because I'd been having problems which had recently been resolved by AppleCare Support I decided to go through all my accounts and check their individual settings. I found a Tutorial on Apple support for setting up or verifying email account settings and found mine were different so I changed it.
In any event I took your advice and just went with the option of automatically setting the iCloud accounts up and I haven't had anymore problems thus far - fingers crossed.
I do however note that my drop down box in account settings still says 'none' for the outgoing mail server and the 'use this server only' check box isn't ticked despite being ticked in the 'verify account' info on the tutorial, so hence my question to the community - did this matter and what was the difference?
I will let sleeping dogs lie I think and will see how I go.
Many thanks for your help. -
OCILogon returns success when TimesTen server is down which causes app core
In our failover testing, when the primary TimesTen server was brought down, the OCILogon call returned OCI_SUCCESS with a service handler. However the OCIServerVersion call which immediately follows the OCILogon call caused the application to core with signal 11.
Below is the stack trace in the core:
#4 0x00000001001e7ab0 in crash_handler (sig=11) at Main.cpp:1632
#5 <signal handler called>
#6 0xffffffff7ccc736c in lsfp ()
from /tools/timesten-11.2.1.5-64bit/TimesTen/ttclnt/ttoracle_home/instantclient_11_1/libclntsh.so.11.1
#7 0xffffffff7c5ecc70 in x10verVersion ()
from /tools/timesten-11.2.1.5-64bit/TimesTen/ttclnt/ttoracle_home/instantclient_11_1/libclntsh.so.11.1
#8 0xffffffff7c5e42d4 in x10odr ()
from /tools/timesten-11.2.1.5-64bit/TimesTen/ttclnt/ttoracle_home/instantclient_11_1/libclntsh.so.11.1
#9 0xffffffff7c31df94 in upirtrc ()
from /tools/timesten-11.2.1.5-64bit/TimesTen/ttclnt/ttoracle_home/instantclient_11_1/libclntsh.so.11.1
#10 0xffffffff7c31d63c in upirtr ()
from /tools/timesten-11.2.1.5-64bit/TimesTen/ttclnt/ttoracle_home/instantclient_11_1/libclntsh.so.11.1
#11 0xffffffff7c5dfcf8 in upiver ()
from /tools/timesten-11.2.1.5-64bit/TimesTen/ttclnt/ttoracle_home/instantclient_11_1/libclntsh.so.11.1
#12 0xffffffff7c461a98 in kpuvers ()
from /tools/timesten-11.2.1.5-64bit/TimesTen/ttclnt/ttoracle_home/instantclient_11_1/libclntsh.so.11.1
#13 0x00000001002451e4 in COCISession::get_server_version (this=0x1029b6ad0) at ocisess.cpp:270
Does anyone know why OCILogon returns success when the server is down? And how can I tell if the server is down?
Thanks!
CathyHi Cathy,
I'm not in a position to check this out right now but it certainly looks like a bug. Are you able to log an SR on this so we can get it into the system?
Thanks,
Chris -
Problem in creating Jtree instance when X server is down
I am facing this problem while trying to build JTree object when X Server is down
I am using Redhat 8 and jdk1.3.1
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Problem creating javax.swing.plaf.metal.MetalLookAndFeel with method getSystemTextFont and args { : java.lang.reflec
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:670)
at javax.swing.UIDefaults.get(UIDefaults.java:145)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:46)
at javax.swing.UIDefaults.getFont(UIDefaults.java:223)
at javax.swing.UIManager.getFont(UIManager.java:456)
at javax.swing.plaf.basic.BasicTreeUI.installDefaults(BasicTreeUI.java:5Xlib: No protocol specified
Problem creating javax.swing.plaf.metal.MetalLookAndFeel with method getSystemTextFont and args { : java.lang.reflec
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:670)
at javax.swing.UIDefaults.get(UIDefaults.java:145)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:46)
at javax.swing.UIDefaults.getFont(UIDefaults.java:223)
at javax.swing.UIManager.getFont(UIManager.java:456)
at javax.swing.plaf.basic.BasicTreeUI.installDefaults(BasicTreeUI.java:591)
at javax.swing.plaf.basic.BasicTreeUI.installUI(BasicTreeUI.java:525)
at javax.swing.plaf.metal.MetalTreeUI.installUI(MetalTreeUI.java:83)
at javax.swing.JComponent.setUI(JComponent.java:322)
at javax.swing.JTree.setUI(JTree.java:537)
at javax.swing.JTree.updateUI(JTree.java:553)
at javax.swing.JTree.<init>(JTree.java:513)
at javax.swing.JTree.<init>(JTree.java:489)
at javax.swing.JTree.<init>(JTree.java:472)
at com.cygnet.constel.cygSdk.cygJS.CygTree.<init>(CygTree.java:15)
at com.cygnet.constel.cservs.cygManageIpInit.StringCreator.getDetails(StringCreator.java:54)
SampleTree.java Source code .
import javax.swing.tree.* ;
import javax.swing.* ;
public class SampleTree extends JTree
public SampleTree() {
super() ;
public SampleTree( Object[] value ) {
super( value ) ;
public SampleTree( TreeModel newModel ) {
super( newModel ) ;
this is the line creating problem
when my class is trying to call super( root )
public SampleTree( TreeNode root ) {
super( root ) ;
public SampleTree( TreeNode root, boolean asksAllowsChildren ) {
super( root , asksAllowsChildren ) ;
NOTE : when i log in to X server JTree object gets constructed properly
My requirment is it should also get constructed properly , even if X is down.
i tried hard and i am frusted
any help is appreciated
thank in advance
-- Nileshthanks thomas for your reply
but i think , we need to find out the point where it actually gets environment settings
there must be 2 things done before creation is done.
1]
Actual Construction of the Tree
2]
then getting look and feel of the underlaying OS
if we can find out step between 1 and 2 , we will get the problem ...
what say ??
dont think i am giving any suggestions to you . this is just what i think.
Please let me know if any of ur friends are facing the same problem.
-- Nilesh -
Controlling Broadcasts Attempts when PreCalc Server is down
In BI 7.X, is there a way to control the number of attempt that the BIBCAST jobs make when Precalculation Server is down. We would prefer that it failed after a reasonable number of attempts instead of just trying over again every 30 seconds.
Any ideas?
MitchellDan,
Try to append the LOCAL key word to your authentication-server-group statement in your tunnel group or group policy.
http://www.cisco.com/en/US/docs/security/asa/asa90/command/reference/a3.html#wp1719328
Thanks,
Sent from Cisco Technical Support iPad App -
Error when trying to drill down by region in BW report.
Hi,
I am getting following error when trying to drill-down according to region in BI report.
Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
System error in program SAPLRRK0 and from LIFT_DEL_H-02
can anybody please tell me how to solve this error.
Thanks in advance.
VaibhavHi,
With the help of ABAPer, you can debug the short dump, if its a dump? Check whether this Infoobject is Authorization relevant?
Regards,
Suman -
Shouldn't ACE 4710 ignore cookie stickiness when the server is down?
Hello,
I have implemented sticky load balancing with cookies. The problem is that if one of my two servers in the server farm is down (and even if the ace recognizes it as down via a probe) it keeps sending the requests to the server that is down, obviously because it has set a cookie for this server,
Shouldn't the ACE ignore the cookie when the server is down?
Is there a command to ignore cookie stickiness if the server is down? Is there another workaround?
an example of my config is
serverfarm host SF_Ebanking
rserver RS_IAS_1 XXXX
conn-limit max 4000000 min 4000000
probe http_probe_ebanking
inservice
rserver RS_IAS_2 XXXX
conn-limit max 4000000 min 4000000
probe http_probe_ebanking
inservice
sticky http-cookie ACE_COOKIE ebanking_sticky
cookie insert
replicate sticky
serverfarm SF_Ebanking
16 static cookie-value "server01" rserver RS_IAS_1
24 static cookie-value "server02" rserver RS_IAS_2
thanks,
georgeThis is not as obvious as you seem to believe.
ACE will not select a server that is down !!!! Even if the cookie points to that server.
What might be happening is that the connection from the browser to the ACE has not been killed, so when client sends a new request it reuses the existing connection and ACE does allow an existing connection to be maintain with a dead server by default.
Try the command 'failaction purge' under the serverfarm.
This should kill the active connections with the dead server and allow a new connection to be open with the other server even if the cookie points to the dead one.
Regards,
Gilles. -
IPhones lost contacts and e-mail when activesync server was down
We have about 20 iPhone 3GS syncing to our Exchange 2003 Server running on Windows Small Business Server 2003.
All iPhones have software 3.1
All iPhones were setup to use ActiveSync using iPhone Configuration Utility
Our Exchange server went down on a maintenance restart. When it was restarted we had some unknown failure to the ActiveSync functionality between IIS and Exchange. iPhones trying to sync got an HTTP 500 Error response, which I could see from the console log of the iPhone. The error message was:
Thu Oct 15 14:43:09 unknown dataaccessd[22] <Warning>: EAS|connection died with error Error Domain=ASHTTPConnectionErrorDomain Code=500 "Operation could not be completed. (ASHTTPConnectionErrorDomain error 500.)" 0x174480
Thu Oct 15 14:43:09 unknown dataaccessd[22] <Warning>: EAS|ASFolderSyncTask failed: Error Domain=ASHTTPConnectionErrorDomain Code=500 "Operation could not be completed. (ASHTTPConnectionErrorDomain error 500.)"
We rebuilt the Internet settings on the small business server and got the ActiveSync functionality working again. But this was after 24 hours.
All iPhones lost all e-mail during the 24 hours of ActiveSync downtime.
Approximately 60% of the iPhones lost all contacts during the downtime.
All iPhones kept their calendars during the downtime.
Other ActiveSync clients running Windows Mobile 6.1 or Symbian on Nokia N82 did not delete their contacts or e-mails during the downtime.
Is there any setting that governs this, may I say unexpected, behaviour? Makes it impossible to depend on iPhone e-mail - who knows when the Exchange Server will go down...
Does anyone know why 40% of the iPhones kept their contacts while the other 60% deleted them? They have all been purchased together and set up in the exact same manner.
I have tried to contact Apple support, but the automated voice just said that the network operator handles iPhone problems. The operator did not have a clue about Exchange servers and iPhones...
Thank you in advance!
TobiasUsually once items are removed from the server, they are gone for good. Sorry to hear about the loss of contacts. We would like to check though to see if they can be retrieved. So we can get more information from you, I have copied your post to our private support board. Please refer all correspondences to there from here on out. You can easily get to the private support one of two ways. In the email you signed up for the forums with, you will receive a link to click on. Make sure you are already signed into the forums before clicking on this link. Another way of getting there is by clicking on your username anywhere you see it in the forums. This brings you to your account profile. Scroll down to the section labeled "My Support Cases" . In there you will see the link to your case.
Anthony_VZ
**If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan -
Customise error page when content server is down
Hi all,
The following message is received when the content server is down:
Web Server Error Error attempting to perform request. (Unable to connect to address.) To administrate this server use this link.
I have seen a few variations fo this mesage on different conditions.
The question is: how can we customise this page?
Many thankshi all,
try this
You can set up the maintenance page when at the Web server level when the application is down in the App layer. Here is the reference for Oracle HTTP server, same you can do it for any other web server too..!!
You can achieve this by configuring an error page at the WebServer (part of web-tier).
For example, in the case of a Oracle HTTP Server (OHS), you could do the following:
1. Place your maintenance page at <ORACLE_INSTANCE>/config/OHS/<component_name>/htdocs.
For Example, <ORACLE_INSTANCE>/config/OHS/<component_name>/htdocs/errorPage500.html
2. Open the OHS httpd.conf located at <ORACLE_INSTANCE>/config/OHS/<component_name> in an editor and search for the string ‘ErrorDocument 403′ which can be seen as commented text. Next to the commented text line, add the below lines for configuring the Error
Pages (500 —> backend server unavailable, 403 —> forbidden request, 404 –> Resource Not available). For the below example, we had 3 html pages errorPage500.html, errorPage403.html and errorPage404.html are deployed in OHS htdocs.
ErrorDocument 500 /errorPage500.html
ErrorDocument 403 /errorPage403.html
ErrorDocument 404 /errorPage404.html
3. Save the changes to the httpd.conf file.
4. Restart OHS server -
Redirect to a custom error page when Forms Server shuts down
Hi,
I want the forms application to redirect to a custom error page whenever Forms Server goes down. (like network issues, unscheduled shutdown...) Whenever this happens, the user gets a pop up with FRM messages and user has to acknowledge the pop up. Since the application is used in the shop floor, there will not be any user always in front of the screen and will be a very big issue as there are at least 70-80 PC's on the floor which will be attended fewer times(only when there is issue with the machine) other wise the application displays important events of the machine,etc.,
I am trying to develop a simple HTML error page(may be with applet) which will keep querying the forms server and once the forms server is up and running, the error page will revert back to the application which the user was working earlier to shutdown. Other option is the redirect to main menu of the application (this may be a PSP or a JSP or a Oracle Forms Menu ).
Is there any event in forms to capture the loss of connection to forms server ??
BTW, I am using Oracle Application Server 10g Forms and Reports on Windows 2000 Server...
Any ideas...
Thanks in advance
PurushI don't think it will be easily possible in Forms for a couple of reasons.
1. In Forms you do not have query rights, and as soon as you want to edit data, you have to log in. In Forms you log in once, and this sets your rights for the whole session. You will have to do some programming in Forms to achieve what you want. E.g. as soon as you hit the Save button you are asked for a username and password.
2. A refresh cannot be done in Forms. Remember that Forms is a Java applet. The URL in the browser is just pointing to the startup page only. If you refresh your screen, you are taken back to the login screen of Forms again.
Well, there will probably be ways around these problems. I'm thinking in the line of calling every form in a separate URL instead of starting a Forms application where one form is called from another form. The default 'query only' form can be called from a startup html page. This page can be refreshed. As soon as the user wants to update data, he clicks on a link or button and is taken to a login form.
If the refresh is unsuccessful you are taken to a custom error page, like in your ASP application.
A problem with an automatich refresh may be hanging sessions. Forms server does not always kill sessions.
And also, how would you avoid a refresh if a user is currently using the form? -
How forms know when Report Server is down
Environment: Oracle Developer Suite 10g 10.1.2.0.2 R2
os :windows xp
I have button to call a report object :when-button-pressed
declare
v_report_name VARCHAR2(30):='REQ010';----report name without .rdf
v_repid REPORT_OBJECT;
vc_rep VARCHAR2(20);
vc_rep_status VARCHAR2(20);
vc_URL VARCHAR2(100);
vc_rep_job VARCHAR2(10);
Plist ParamList;
dummy NUMBER;
Report_Plist_name VARCHAR2(30) := 'REPORT_PARAM_LIST';
REPORT_NOT_GENERATED EXCEPTION;
PARAMETER_LIST_SECTION_PROBLEM EXCEPTION;
BEGIN
--=========================================================================
BEGIN
--prepare the list of parameters to be sent to the report
Plist := Get_Parameter_List(Report_Plist_name);
IF NOT Id_Null(Plist) THEN
Destroy_Parameter_List(Report_Plist_name);
END IF;
Plist := Create_Parameter_List(Report_Plist_name);
IF Id_Null(Plist) THEN
dummy := Show_Alert('PARAM_LIST_CREATION_PROBLEM');
RAISE Form_Trigger_Failure;
END IF;
--Add parameter(s) to list just created
Add_Parameter(Plist, 'P_REQUEST_ID', TEXT_PARAMETER, :CUSTOMER_REQUESTS.CR_REQUEST_ID);
EXCEPTION
WHEN OTHERS THEN
raise PARAMETER_LIST_SECTION_PROBLEM;
END;
--=============================================================================
--START THE REPORT
v_repid := FIND_REPORT_OBJECT(v_report_name);
vc_rep := RUN_REPORT_OBJECT(v_repid,Plist);
vc_rep_status := REPORT_OBJECT_STATUS(vc_rep);
--=============================================================================
BEGIN
IF vc_rep is NOT NULL THEN
-- Wait until report finishes or produces an error
WHILE vc_rep_status in
('RUNNING', 'OPENING_REPORT', 'ENQUEUED')
LOOP
vc_rep_status := REPORT_OBJECT_STATUS(vc_rep);
END LOOP;
-- Display the report if it is finished
if vc_rep_status = 'FINISHED' then
vc_rep_job := substr(vc_rep,instr(vc_rep,'_')+1);
message('Report Completed');
vc_URL := '/reports/rwservlet/getjobid' ||vc_rep_job||
'?server='||get_report_object_property
(v_repid,report_server);
Web.show_document(vc_URL,'_blank');
-- Display an error if the report errored
END IF;
END IF;
EXCEPTION
WHEN OTHERS THEN
raise REPORT_NOT_GENERATED;
END;
--=============================================================================
Destroy_Parameter_List('REPORT_PARAM_LIST');
EXCEPTION
WHEN REPORT_NOT_GENERATED THEN
msgbox('Error Calling Report');
--Causes: 1-Report file name is incorrect,check report name and existance.
-- 2-Or, Report Server is Down.
WHEN PARAMETER_LIST_SECTION_PROBLEM THEN
msgbox('CHECK PARAMETER SECTION ');
WHEN OTHERS THEN
msgbox(SQLERRM);
END;
Problem:
======
How can I distingwish among these conditions:
IF Report cannot run :
when the problem is from the report file object itself.
and IF the problem is the Report Server is Down.
and the report file is not exist.
Tries:
I try to but many exception to differenciate between these conditions but I fail
how can I display a message to the user,Inform him the problem ,
So the support personnel know if the problem from the Report object or the application Server
.Hi Krishan,
If you want to check if local cache service is running, you can do something like this:
NamedCache cache = CacheFactory.getCache(sCacheName);
boolean isRunning = cache.getCacheService().isRunning();If you want to check if any storage enabled nodes (cache servers) are available in the cluster:
NamedCache cache = CacheFactory.getCache(sCacheName);
DistributedCacheService service = (DistributedCacheService) cache.getCacheService();
Set storageEnabledMembers = service.getStorageEnabledMembers();
if(storageEnabledMembers.isEmpty())
// no cache servers available ...
}Regards,
Dimitri
Maybe you are looking for
-
WebI report based on BEx query in Live Office document
Hi We have a BEx query in BW that has one input ready variable (period). Then we have created a WebI report based on this BEx query (the WebI report itself does not have any prompts). When we run the WebI report we get asked to enter a value in the B
-
CD/DVD Drive Failure?
Hello. I have a Pavilion dv9700 notebook running Windows 7. My problem is that I think my CD/DVD drive has failed. The computer won't read any disks, it doesn't even spin the disk as though it's trying to read it. We've tried to update the driver whi
-
TP4[BUG]: Memory profile and CPU profile doesn't work for MAC
I'm using Mac OSX 10.5.4. When I try to use Memory profile and CPU profile, I got following error: Error occurred during initialization of VM Could not find agent library in absolute path: /Shared/jdevstudiobase1111/jdev/lib/profiler15.so But the fil
-
Problem in 301 Stock transfer via VLMOVE for Handling Unit movement
Hi Gurus I am having one issue, where handling unit is active. So user facing one issues that user has posted the stock around 10 qty , after some material movements , stock showing as 9 in MMBE , where as checking the handling units showing 10 In
-
What other details are needed?