How to programmatically catch the activeSync errors in identity manager 8.1
Sun Identity Manager 8.1
May I know how can I catch the errors thrown by activeSync during create/update/delete process and even errors before the activeSync process reaches to create/update/delete workflows (like errors when the user account is locked, it does not reach the update workflow) pro-grammatically and throw to notification process such as email.
Your response will be highly appreciated.
Regards
I do this in 7.1 by using a workflow for my active sync processes. I'm sure it will be similar in 8.1. If you use a workflow rather than an input form you can set up a transition at top level of the workflow. This transition is used as an error checker which can move the workflow to an error handler section. The error handler can then do stuff like send out notices etc.
Something like this pseudo code:
<TaskDefintion...>
<Extension...>
<WFProcess...>
<Variable .../>
<Variable .../>
<Transition to="Error Handler">
<!-- your error checking here, notice it is not inside an activity but at the top level of the workflow -->
</Transition>
<Activity ...>
<!-- Actions go here -->
<Transition to="next"/>
</Activity>
<Activity name="Error Handler">
<!-- Do things like send notifications out -->
<Transition to="end"/>
</Activity>
</TaskDefinition>The top level transition (which checks for the error) is called between each activity so it's perfect as an error checker.
Similar Messages
-
How to programmatically place the field in the canvas.
Hello!
Can you please tell, how to programmatically place the field BLOCK1.FIELD1 in the canvas CANVAS1.
At the moment on the field value CANVAS = NULL.
And when opening the form error "FRM-41014 Cannot set attribute of null canvas item..."
Thank youYoucannot assign a canvas at runtime. Yu have to specify int at designtime and it cannot be changed at runtime. if you need an item in more than one canvas, use a mirror-item (duplcate the item and set the property Synchronize with)
-
How can I catch the exception type c = type i?
How can I catch the exception and display the error message when I assign the u2018ABC123u2019 value to an int data type.
Code is as follow.
REPORT zfsl_sum_functions.
DATA: cin(50),
cout(50),
iin TYPE i,
iout TYPE i,
etext TYPE string.
cin = '123ABC'. " how can i catch this
iout = cin.
WRITE: iout.The CATCH-ENDCATCH statement is obsolete as of release was620. You should use TRY. CATCH. ENDCATCH.
The exception that will be raise is CX_SY_CONVERSION_NO_NUMBER, so you have to catch that exception or a super class of this exception class.
REPORT zfsl_sum_functions.
DATA: cin(50),
cout(50),
iin TYPE i,
iout TYPE i,
etext TYPE string.
DATA: rf_cx_error TYPE REF TO CX_SY_CONVERSION_NO_NUMBER,
errortxt TYPE string.
TRY.
cin = '123ABC'. " how can i catch this
iout = cin.
WRITE: iout.
CATCH CX_SY_CONVERSION_NO_NUMBER INTO rf_cx_error.
errortxt = rf_cx_error->get_text( ).
WRITE errortxt.
ENDTRY. -
== Issue
==
I have another kind of problem with Firefox
== Description
==
how do I fix the following error, it comes up every time I open a Firefox page; "type error: Components.classes[cid] is undefined" (JavaScript Application)
== This happened
==
Every time Firefox opened
== a few months ago
==
== Troubleshooting information
==
Application Basics
Name Firefox
Version 3.6.3
Profile Directory
Open Containing Folder
Installed Plugins
about:plugins
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
Adblock Plus 1.2 true
Adobe DLM (powered by getPlus(R)) 1,6,2,49 true
AVG Safe Search 9.0.0.825 true {3f963a5b-e555-4543-90e2-c3908898db71}
AVG Security Toolbar 4.504.019.002 true avg@igeared
Fasterfox 2.0.0 false
Forecastfox 0.9.10.2 true {0538E3E3-7E9B-4d49-8831-A227C80A7AD3}
Java Console 6.0.05 true
Java Console 6.0.03 true
Java Console 6.0.07 true
Java Console 6.0.11 true
Java Console 6.0.13 true
Java Console 6.0.15 true
Java Console 6.0.17 true
Java Quick Starter 1.0 true [email protected]
Microsoft .NET Framework Assistant 1.2.1 true {20a82645-c095-46ed-80e3-08825760534b}
NoScript 1.9.9.77 true {73a6fe31-595d-460b-a920-fcc0f8843232}
Java Console 6.0.19 true
Java Console 6.0.20 true
Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar 0
browser.history_expire_days 0
browser.history_expire_days.mirror 180
browser.places.importBookmarksHTML false
browser.places.importDefaults false
browser.places.leftPaneFolderId -1
browser.places.migratePostDataAnnotations false
browser.places.smartBookmarksVersion 2
browser.places.updateRecentTagsUri false
browser.startup.homepage_override.mstone rv:1.9.2.3
extensions.lastAppVersion 3.6.3
general.useragent.extra.microsoftdotnet ( .NET CLR 3.5.30729)
keyword.URL http://au.yhs.search.yahoo.com/avg/search?fr=yhs-avg&type=yahoo_avg_hs2-tb-web_au&p=
network.cookie.prefsMigrated true
places.last_vacuum 1272511429
print.print_bgcolor false
print.print_bgimages false
print.print_command
print.print_downloadfonts true
print.print_evenpages true
print.print_in_color true
print.print_margin_bottom 0.5
print.print_margin_left 0.5
print.print_margin_right 0.5
print.print_margin_top 0.5
print.print_oddpages true
print.print_orientation 0
print.print_pagedelay 500
print.print_paper_data 0
print.print_paper_height 11.00
print.print_paper_size -134744073
print.print_paper_size_type 1
print.print_paper_size_unit 0
print.print_paper_width 8.50
print.print_printer Lexmark 4200 Series
print.print_reversed false
print.print_scaling 1.00
print.print_shrink_to_fit true
print.print_to_file false
print.printer_Lexmark_4200_Series.print_bgcolor false
print.printer_Lexmark_4200_Series.print_bgimages false
print.printer_Lexmark_4200_Series.print_command
print.printer_Lexmark_4200_Series.print_downloadfonts true
print.printer_Lexmark_4200_Series.print_edge_bottom 0
print.printer_Lexmark_4200_Series.print_edge_left 0
print.printer_Lexmark_4200_Series.print_edge_right 0
print.printer_Lexmark_4200_Series.print_edge_top 0
print.printer_Lexmark_4200_Series.print_evenpages true
print.printer_Lexmark_4200_Series.print_footercenter
print.printer_Lexmark_4200_Series.print_footerleft &PT
print.printer_Lexmark_4200_Series.print_footerright &D
print.printer_Lexmark_4200_Series.print_headercenter
print.printer_Lexmark_4200_Series.print_headerleft &T
print.printer_Lexmark_4200_Series.print_headerright &U
print.printer_Lexmark_4200_Series.print_in_color true
print.printer_Lexmark_4200_Series.print_margin_bottom 0.5
print.printer_Lexmark_4200_Series.print_margin_left 0.5
print.printer_Lexmark_4200_Series.print_margin_right 0.5
print.printer_Lexmark_4200_Series.print_margin_top 0.5
print.printer_Lexmark_4200_Series.print_oddpages true
print.printer_Lexmark_4200_Series.print_orientation 0
print.printer_Lexmark_4200_Series.print_pagedelay 500
print.printer_Lexmark_4200_Series.print_paper_data 1
print.printer_Lexmark_4200_Series.print_paper_height 11.00
print.printer_Lexmark_4200_Series.print_paper_size -134744073
print.printer_Lexmark_4200_Series.print_paper_size_type 0
print.printer_Lexmark_4200_Series.print_paper_size_unit 1
print.printer_Lexmark_4200_Series.print_paper_width 8.50
print.printer_Lexmark_4200_Series.print_reversed false
print.printer_Lexmark_4200_Series.print_scaling 1.00
print.printer_Lexmark_4200_Series.print_shrink_to_fit true
print.printer_Lexmark_4200_Series.print_to_file false
print.printer_Lexmark_4200_Series.print_unwriteable_margin_bottom 0
print.printer_Lexmark_4200_Series.print_unwriteable_margin_left 0
print.printer_Lexmark_4200_Series.print_unwriteable_margin_right 0
print.printer_Lexmark_4200_Series.print_unwriteable_margin_top 0
privacy.clearOnShutdown.cookies false
privacy.clearOnShutdown.offlineApps true
privacy.cpd.cookies false
privacy.item.offlineApps true
privacy.sanitize.migrateFx3Prefs true
privacy.sanitize.timeSpan 3
security.warn_viewing_mixed false
security.warn_viewing_mixed.show_once false
== Firefox version
==
3.6.3
== Operating system
==
Windows XP
== User Agent
==
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
== Plugins installed
==
*-getplusplusadobe16249
*Office Plugin for Netscape Navigator
*Adobe PDF Plug-In For Firefox and Netscape
*Default Plug-in
*NPRuntime Script Plug-in Library for Java(TM) Deploy
*The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
*Shockwave Flash 10.0 r45
*iTunes Detector Plug-in
*Garmin Communicator Plug-In 2.8.1.0
*Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
*Java(TM) Platform SE binary
*Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
*Npdsplay dll
*DRM Store Netscape Plugin
*DRM Netscape Network ObjectHow do I fix this problem ...javascript (cid) applications.
-
How can i catch the jsp checking event ?
As we know, there are three parameters which is about checking in the weblogic.xml, pageCheckSeconds,*servlet-reload-check-secs*,*resource-reload-check-secs*, but how can i catch the checking event when the webapp is active.
The fellowing is my simple test, i deployed a webapp on a weblogic server instance, and it was actived. I wrote a simple bash shell to try to catch the event, but fail. i througnt it may be dependent on the webapp's stage mode. but i change the mode, and try again, it was fail too.
[weblogic@tdy218 ~]$ ls
getLastAccessTime.sh webapps
[weblogic@tdy218 ~]$ ./getLastAccessTime.sh ~/webapps/Test/login.jsp
The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
The file's last access time is: 2011-05-22 11:10:21.000000000 +0800
[weblogic@tdy218 ~]$ ./getLastAccessTime.sh
/bea/wls924/user_projects/domains/base_domain/servers/AdminServer/stage/Test/Test/login.jsp
The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
The file's last access time is: 2011-05-22 11:11:37.000000000 +0800
[weblogic@tdy218 ~]$ stat
/bea/wls924/user_projects/domains/base_domain/servers/AdminServer/stage/Test/Test/login.jsp
File: `/bea/wls924/user_projects/domains/base_domain/servers/AdminServer/stage/Test/Test/login.jsp'
Size: 634 Blocks: 8 IO Block: 4096 regular file
Device: 804h/2052d Inode: 583725 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 502/weblogic) Gid: ( 500/ bea)
Access: 2011-05-22 11:11:37.000000000 +0800
Modify: 2010-05-24 14:49:08.000000000 +0800
Change: 2011-05-22 11:10:21.000000000 +0800
The jsp file's last access time didn't changed in the past.
[weblogic@tdy218 ~]$ more getLastAccessTime.sh
#!/bin/bash
declare -i m=1
declare -i n=100
while [ $m -le $n ]; do
echo "The file's last access time is: $(stat -c %x $1)"
m=m+1
sleep 3
done
weblogic.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.oracle.com/technology/weblogic/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<jsp-descriptor>
<jsp-param>
<param-name>pageCheckSeconds</param-name>
<param-value>2</param-value>
</jsp-param>
</jsp-descriptor>
<container-descriptor>
<servlet-reload-check-secs>2</servlet-reload-check-secs>
<resource-reload-check-secs>2</resource-reload-check-secs>
</container-descriptor>
<context-root>/jdbc</context-root>
</weblogic-web-app>
env :
WebLogic 9.2 MP4、Redhat Linux AS 4 Update 8 x86.I tested on WLS 11g ps2(10.3.3) which is running in Development Mode also, but it was the same as WLS 9.2 MP4.
During the weblogic server running, it don't check the application resources , but it will check the $Domain_Home/autodeploy directory every three seconds in Development Mode , the following is the result.
[weblogic@tdy218 ~]$ ./getLastAccessTime.sh /bea/wls924/user_projects/domains/base_domain/autodeploy
The file's last access time is: 2011-05-22 12:01:43.000000000 +0800
The file's last access time is: 2011-05-22 12:01:43.000000000 +0800
The file's last access time is: 2011-05-22 12:01:43.000000000 +0800
The file's last access time is: 2011-05-22 12:01:46.000000000 +0800
The file's last access time is: 2011-05-22 12:01:46.000000000 +0800
The file's last access time is: 2011-05-22 12:01:46.000000000 +0800
The file's last access time is: 2011-05-22 12:01:49.000000000 +0800
The file's last access time is: 2011-05-22 12:01:49.000000000 +0800
The file's last access time is: 2011-05-22 12:01:49.000000000 +0800
The file's last access time is: 2011-05-22 12:01:52.000000000 +0800
Ctrl + ^
[weblogic@tdy218 ~]$ ./getLastAccessTime.sh ~/webapps/Test
The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
The file's last access time is: 2011-05-22 17:26:25.000000000 +0800
Ctrl + ^
[weblogic@tdy218 ~]$ ./getLastAccessTime.sh ~/webapps/Test/
insert.jsp login.jsp query.jsp tdy218.sql WEB-INF/
[weblogic@tdy218 ~]$ ./getLastAccessTime.sh ~/webapps/Test/login.jsp
The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
The file's last access time is: 2011-05-22 11:44:31.000000000 +0800
Ctrl + ^
I set the frequency to every one seconds this time by using sleep method in my Bash Shell script.
#!/bin/bash
declare -i m=1
declare -i n=100
while [ $m -le $n ]; do
echo "The file's last access time is: $(stat -c %x $1)"
m=m+1
sleep 1
done -
How do I fix the 4900 error I get when trying to burn a cd in itunes?
how do I fix the 4900 error I get when trying to burn a cd in itunes?
We are having the same issue.
Windows 7 x64
Microsoft Office 2013 (Word)
Adobe Reader XI (11.0.0)
Whenever someone tries to embed a PDF file into a Word document, the following error occurs:
The program used to create this object is AcroExch. That program is either not installed on your computer or it is not responding. To edit this object, install AcroExch or ensure that any dialog boxes in AcroExch are closed.
I have looked at alot of articles online that say to 'Disable' Protected Mode. This does not resolve the issue. This option is not set by default in our environment.
Do we have any confirmation or information from Adobe on this issue? -
How can I fix the Runtime Error R6034 so that I can correctly install iTunes on my PC ? I get a notice that states ' An application has made an attempt to load the C runtime library incorrectly - Please contact the application's support team for more info
Hey Debbiered1,
Follow the steps in this link to resolve the issue:
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
When you uninstall, the items you uninstall and the order in which you do so are particularly important:
Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
iTunes
Apple Software Update
Apple Mobile Device Support
Bonjour
Apple Application Support (iTunes 9 or later)
Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
Let us know if following that article and uninstalling those components in that order helped the situation.
Welcome to Apple Support Communities!
Take care,
Delgadoh -
How do I fix the R6034 error in iTunes?
How do I fix the R6034 error in iTunes?
Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
Remove all of these items in the following order:
iTunes
Apple Software Update
Apple Mobile Device Support (if this won't uninstall move on to the next item)
Bonjour
Apple Application Support
Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
Please note:
Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
HT1925: Removing and Reinstalling iTunes for Windows XP
HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
tt2 -
How do I fix the following error? itunes counld not back up the iphone because the back up could not be saved on the computer?
I updated to iOS 5.0.1 days ago and didn't receive that notification until just now...
This time I synced new photos I took yesterday, and it gave me the:
"iTunes Sync: 54 items could not be synced. See iTunes for more information"
Perhaps it kicks off when new items get synced.
I've decided to rent a movie yesterday. Once it gets deleted, I'm curious to see if it jumps to 55 items. -
TS3694 how can i fix the itunes error 1638,3194 when i am restoring my ipad 2 wifi?
how can i fix the itunes error 1638.i changed my hosts file but i recive this error again.what can i do?
See Apple support Article
http://support.apple.com/kb/TS3694?viewlocale=en_US#error1638 -
How to programmatically Identify the Phase from a managed bean
How can we identify the Phase from a normal managed bean method ?
This managed bean method is a method activity in a task-flow. How can we identify the phase..?
If there is an event then, we can identify the phase using event.getPhaseId() but here there is no event. Can I get the phase programmatically ?
ThanksHi,
You won't need that with a PhaseListener. You could use something like the following:
public class CurrentPhaseListener implements PhaseListener
private static ThreadLocal<PhaseId> currentPhaseId = new ThreadLocal<PhaseId>();
public static PhaseId getCurrentPhaseId()
return currentPhaseId.get();
public void afterPhase(PhaseEvent ev)
currentPhaseId.remove();
public void beforePhase(PhaseEvent ev)
currentPhaseId.set(ev.getPhaseId());
public PhaseId getPhaseId()
return PhaseId.ANY_PHASE;
}Regards,
~ Simon -
How can i resolve the -1 error occuring during the iphone restoring process.
how can i resolve the -1 error occuring during the iphone restoring process.
hi ive also got the same probblem ive had it working last night but then after 2 hours of working it decided to put the phone back into recovery mode plus its an unknow error (36) Ive tried to connect to i tunes and it started to recovery and wipe the to put it back into factory settings then came up with the error 36 can any one help
-
I need to know that how we should analyse the bdoc error
Hi Experts,
I am monitoring the BODCs in the crm system, through the transaction smw01 ( both in & out).
there are a alots of erros in the queue.most of the erros are related to BUPA_MAIN & the queue are from r/3 (R3AD_CUSTOME)
I need to know that how we should analyse the bdoc error. should i need to reprocess those error.
PLease add experts point on this.
Thanks & Regards
Prajith P
Moderation: Locked. Rule number one: Try to find the answer first. [See rules of engagement.|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
Edited by: Joaquin Fornas on Oct 25, 2011 8:45 AMInstall 7. Don't bother with applying drivers and such, just reboot again from DVD and install again, it will see the existing system and this time activation will be possible.
Vista is mess, takes longer etc. Hope you have SP1 version of 7. And for Vista, only SP2+ are even supported now, by MS. -
How do i remove the 17 errors that come with the pricing userexit manual at
how do i remove the 17 errors that come with the pricing userexit manual attached code...
Try connecting the phone to the computer in "data storage" or "data transfer" mode, then open the memory card folder in Windows Explorer, and search the sounds there. If you can't see them, go to "Tools>Folder Options>View>Files and Folders>Hidden files and folders" and select "Show hidden files and folders". But I think that it would be a lot easyer just to remove them from the playlist manualy.
Crossing bridges far ahead of the crowd. -
How do we find the previous error details in the monitor (details tab).
Hi Experts,
While loading data to a target via PSA we got an error (ex. data error), we edited in PSA and reloaded to target from PSA successfully.
Here my problem is how do we find the previous error details in the monitor (details tab).
Kindly post your comments on this......
Thanks in advance.......
Regards,
Sankar ReddyHi,
While updating any request from PSA, you have to delete the first erroneous request from data target and then update the PSA request. If you do not delete the erroneous request, it will not allow you to update the PSA request.
Regards,
Yogesh
Maybe you are looking for
-
how to decide posting key for negative valuies and for positive values and who will decide this i have to assign minus sign to value for posting key say 21. how can i do that. is it like this ? if itab-BSCHL = '22'. concatenate '(-)' amount into itab
-
Macbook is so slow it's sometimes nearly unusable
I'm having to use my 13" macbook as my main computer as my Imac is being repaired, but am having difficulty. I'm not sure if it's always been like this or I didn't notice so much, but just about everything takes ages to do. At certain times there are
-
Transfer iPrint to a new cluster
Hi, I would like to move my existing iprint config on a standalone OES Linux onto a Linux Cluster and then add the server to the cluster. How can I achieve this without having to recreate the printer driver store and printers? Thank you.
-
Uncaught exemption error when deleting calender item???
Uncaught exception: net.rim.device.api .system.ObjectGroupReadOnlyException Help!! I get the message above wehn I edit or add an appointment in the calender. It happens every time. Under the message it reads "OK". and when I click it goes away and l
-
Okay folks. Is there any way to view hidden files in the Finder? Like, say, the iPod_Control folder on my iPod?