Custom Action - SDK -error

Based on the "Developing Custom Action in in SAP MII 12.1" i encountered error while running the action block in BLS. In Link Editor I assign 2 values in Inputs and Output to a tracer. When I execute this BLS, I receive following error
[ERROR] [Tracer_0] Link ('Tracer_0.Message' [Assign] from "SimpleAction_0.Output") execution threw an exception. Exception: Invalid variable: SimpleAction_0.Output [Unknown variable: SimpleAction_0.Output
[ERROR] [Tracer_0] Action: Runtime threw an exception. Exception: [Invalid variable: SimpleAction_0.Output Unknown variable: SimpleAction_0.Output
The code is exactly like in the document
package customactions;
import com.sap.lhcommon.common.*; // Needed for the VariantDataTypes and
import com.sap.lhcommon.exceptions.DataConversionException;
// VariantData types.
import com.sap.xmii.bls.sdk.*; // This is the main SDK for custom actions.
* This is a simple action construct used to show how to use some of the basic
* MII 12.1 Custom Action constructs.
public class SimpleActions {
* To ensure the parameters are always named the same, it is good practice to
* create a static final string with the parameters name. This also make it
* easy to use across actions.
private static final String PARAM_OUTPUT = "Output";
* Describes a simple action that adds two numbers together.
* @param instance This is the action instance. This is the main interface
* from the action code back into the transaction engine. Most
* users will only need to set their variables through this
* interface, though much more powerful operations are also
* available.
* @param in1 This is an input into the action. The type is detected by the
* transaction engine and automatically cast to the correct value.
* @param in2 This is a second input.
* @throws InvalidVariableException This exception is
@Action(name = "AddTwoNumbers") // This annotation tells the engine that this
// is an action available to execute.
@Outputs(names = { PARAM_OUTPUT },
types = { VariantDataTypes.INTEGER }) // This annotation tells
// the engine that one
// integer output called
// 'Output' is going to be
// returned.
public static void addTwoNumbers(
IActionInstance instance, // Besides the basic types, the
// IActionInstance interface is the only
// other type allowed to be defined in
// parameter list of a custom action.
@Input(name = "Input1") int in1, // @Input annotations are used to
// indicate the user modifiable
// inputs to this action.
@Input(name = "Input2") int in2)
throws InvalidVariableException { // Exceptions can be thrown directly from
// the actions without causing critical
// execution failures. These exceptions
// will be caught and logged by the engine
// and will cause the Success flag to be
// set to false.
// The following code describes how to set an actions output.
try {
     instance.setActionResult(PARAM_OUTPUT, in1 + in2);
} catch (DataConversionException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
the catalog is
<ComponentCatalog>
<Category Name="Custom" Description="Custom">
    <Component Type="Action" Name="AddTwoNumbers"
    Description="" Label="SimpleAction"
    ClassName="customactions.SimpleActions"
    AssemblyName="SimpleActions.jar" Dependencies=""
    HelpFileName="" />
  </Category>
  </ComponentCatalog>
Is there anything I might have done wrong?

hargoe
and do you know why my icon does not show up? it just black.
@Action(name = "AddTwoNumbers", icon="icons/CustomAction.png")
i created a package called icons and in this package I have a .png file called CustomAction.png
I copied this CustomAction.png from another .jar and it works for that jar.
thanks

Similar Messages

  • Custom Actions upload error in 12.2

    Hello!
    I have error while uploading custom action in MII 12.2:
    [005056A30000244C0000000D00001398] File could not be loaded. com.sap.xmii.temp.upload.17164.jar. Check error log for details.
    There are 3 error and warning types in Log Viewer:
    1) Could Not Find Assembly File GaCustoms.jar
    2) MISSING_ASSEMBLY_FILE
    3) *** MISSING RESOURCE: Unable to localize MISSING_ASSEMBLY_FILE

    It works normaly with MII 12.1.8.
    I've got new blssdk.zip from 12.2 and just recreated .jar file.
    <?xml version="1.0" encoding="utf-8" ?>
    <ComponentCatalog>
         <Category Name="GaCustoms" Description="GaCustoms">
              <Component Type="Action"
                   Name="DosEncodingSaver"
                   Description=""
                   Label="DosEncodingSaver"
                   ClassName="DosEncodingSaver.DosEncodingSaver"
                   AssemblyName="GaCustoms.jar"
                   HelpFileName="" />
              <Component Type="Action"
                   Name="Base64Saver"
                   Description=""
                   Label="Base64Saver"
                   ClassName="Base64Saver.Base64Saver"
                   AssemblyName="GaCustoms.jar"
                   HelpFileName="" />
         </Category>
    </ComponentCatalog>
    Edited by: A.Andreev on Nov 11, 2011 10:55 AM

  • Acrobat 10 Professional/Standard Custom Action Installation Errors

    Hi,
    i am getting some strange installation errors on several of our machines, during the installation of Acrobat Pro/Standard. The OS is Windows 7 32Bit.
    The error gets raised by a custom action (install port scan) of the msi. The error also occurs during uninstall, and shows up as a pop up which says "installation failed", no further description in the message box. After confirming the message box, the installation proceeds normal und succeeds.
    The problem is, that the message box cant be suppressed by a silent install, /qb-! /qn switches are not helping either, so the SCCM deployment of the package will time out and leave the installation in a undefined state.
    Does anyone know what this custom action is doing and what the reason for this error could be?
    Thanks in advance
    Peter

    I have exactly the same problem.  Just downloaded FrameMaker 10 from the Adobe website.  Trying to install on 64-bit Windows 7.
    The error log doesn't give any useful information:
    ----------- Payload: {E5DD149F-8370-48F9-A32C-2E3DC776CFFB} AdobeJRE 1.6.0.0 -----------
    FATAL: DS003: Cannot extract 'C:\Users\JRobertson9\Desktop\Adobe FrameMaker 10\Adobe FrameMaker 10\payloads\AdobeJRECS5-mul\Assets1_1.zip' to 'C:\Program Files (x86)\Common Files\Adobe\Installers\adobeTemp\{E5DD149F-8370-48F9-A32C-2E3DC776CFFB}'. Error: Error 0
    ----------- Payload: {BAE5212B-6651-4AD8-B26A-1B284D2665C6} AdobePDFL CS5 9.9.0.0 -----------
    FATAL: DS003: Cannot extract 'C:\Users\JRobertson9\Desktop\Adobe FrameMaker 10\Adobe FrameMaker 10\payloads\AdobePDFL9.9-mul\Assets2_1.zip' to 'C:\Program Files (x86)\Common Files\Adobe\Installers\adobeTemp\{BAE5212B-6651-4AD8-B26A-1B284D2665C6}'. Error: Error 0
    ----------- Payload: {E0749EE5-57BB-4FA1-9802-8724F8F61BD7} Adobe FrameMaker 10 10.0.1.0 -----------
    FATAL: DS003: Cannot extract 'C:\Users\JRobertson9\Desktop\Adobe FrameMaker 10\Adobe FrameMaker 10\payloads\AdobeFrameMaker10.0.1_LI\Assets1_1.zip' to 'C:\Program Files (x86)\Common Files\Adobe\Installers\adobeTemp\{E0749EE5-57BB-4FA1-9802-8724F8F61BD7}'. Error: Error 0
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    While it's probably not the cause, if I'm being totally honest, trying to use a temp directory under Program Files is a pretty dumb thing to do.

  • Error during Portal Setup: An error occurred while executing a custom action:_GrantLocalPermissionsToWCSAccount

    Error:
    Configure Portal Setup
    An error occurred while executing a custom action:_GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6
    This upgrade attempt has failed before permanent modifications were made. Upgrade has successfully rolled back to the original state of the system. Once the correction are made, you can retry upgrade for this role.
    Errors in the Log:
    MSI (s) (38:14) [21:30:36:094]: NOTE: custom action _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
    CustomAction _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (38:94) [21:30:36:115]: User policy value 'DisableRollback' is 0
    MSI (s) (38:14) [21:30:36:094]: NOTE: custom action _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
    CustomAction _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (38:94) [21:30:36:115]: User policy value 'DisableRollback' is 0
    I cannot get past this error. I am running Sharepoint Foundation 2010 with Sp1. This is on a Windows Server 2008 R2 Server +Sp1.
    Any ideas?
    David Baur

    I finally figured this out, The issue was that I had put in the Self Service Portal Computer Name and Service account into the Service Manager SQL as SysAdmin, once I removed it flew through just fine.
    David Baur

  • SCSM 2012 R2 Authoring Tool Setup Error "An error occured while executing a custom action:_RegMainEditorPackage"

    Screenshot:
    Setup Log:
    Property(S): ProductToBeRegistered = 1
    MSI (s) (8C:BC) [10:55:05:914]: Note: 1: 1708
    MSI (s) (8C:BC) [10:55:05:914]: Note: 1: 2205 2:  3: Error
    MSI (s) (8C:BC) [10:55:05:914]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708
    MSI (s) (8C:BC) [10:55:05:914]: Note: 1: 2205 2:  3: Error
    MSI (s) (8C:BC) [10:55:05:914]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
    MSI (s) (8C:BC) [10:55:05:914]: Product: Microsoft System Center 2012 R2 Service Manager Authoring Tool -- Installation failed.
    MSI (s) (8C:BC) [10:55:05:914]: Windows Installer installed the product. Product Name: Microsoft System Center 2012 R2 Service Manager Authoring Tool. Product Version: 7.5.3079.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation
    success or error status: 1603.
    MSI (s) (8C:BC) [10:55:05:918]: Deferring clean up of packages/files, if any exist
    MSI (s) (8C:BC) [10:55:05:918]: MainEngineThread is returning 1603
    MSI (s) (8C:78) [10:55:05:920]: RESTART MANAGER: Session closed.
    MSI (s) (8C:78) [10:55:05:920]: No System Restore sequence number for this installation.
    === Logging stopped: 2/27/2014  10:55:05 ===
    MSI (s) (8C:78) [10:55:05:921]: User policy value 'DisableRollback' is 0
    MSI (s) (8C:78) [10:55:05:921]: Machine policy value 'DisableRollback' is 0
    MSI (s) (8C:78) [10:55:05:921]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (8C:78) [10:55:05:921]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (8C:78) [10:55:05:921]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (8C:78) [10:55:05:922]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (8C:78) [10:55:05:922]: Restoring environment variables
    MSI (s) (8C:78) [10:55:05:922]: Destroying RemoteAPI object.
    MSI (s) (8C:9C) [10:55:05:922]: Custom Action Manager thread ending.
    MSI (c) (E4:DC) [10:55:05:923]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (E4:DC) [10:55:05:924]: MainEngineThread is returning 1603
    === Verbose logging stopped: 2/27/2014  10:55:05 ===
    I am trying to install on Windows 7 Ent. and Windows 2012 (both attempts fail with same error).
    The VS 2008 shell piece was installed, however, as others have experienced the prereq check issue, I removed it from the input file in the setup folder, which resolved that piece. 
    Any suggestions?
    Thank you.
    Regards, Zoeb Khan

    When installing the VS Isolated Shell, make sure the actual binaries (found on the root drive or where you extract the web installer) are installed. This will resolve the above error and also the Prerequisite issue that a lot of people are coming across.
    Regards, Zoeb Khan

  • SCSM2012 Beta installation problem: An error occurred while executing a custom action:_PopulateUserRoles

    I'm installing the SCSM2012 Management Server
    component on a SQL dev box.  During the installation, the very last step (Import Management Packs) fails with this error:
    An error occurred while executing a custom action:_PopulateUserRoles
    This upgrade attempt has failed before permanent modifications were made. Upgrade has successfully rolled back to the original state of the system. Once the correction are made, you can retry upgrade for this role.
    I've already verified that the account I'm logged in with has SA access to the SQL database.  Windows 2008 R2 firewall is turned off.....
    Has anybody else run into this problem?

    I don't see anything indicative in the setup log.  The setup seems to get all the way to the part where it installs the management packs.  Then right after that is when the installation fails and it rolls back.
    From the setup log, towards the end:
    Property(S): ACTIONSUSER = NETWORK SERVICE
    Property(S): ACTIONSDOMAIN = NT AUTHORITY
    Property(S): ACTIONSUSER_FOR_DB = NETWORK SERVICE
    Property(S): ACTIONSDOMAIN_FOR_DB = NT AUTHORITY
    Property(S): SOURCEDIR = C:\SCSM\SCSM2012_Beta\Setup\Server\
    Property(S): SourcedirProduct = {295201AE-EAB6-416C-8252-7C065243EF55}
    Property(S): ProductToBeRegistered = 1
    MSI (s) (9C:54) [17:33:22:951]: Note: 1: 1708
    MSI (s) (9C:54) [17:33:22:951]: Product: Microsoft System Center Service Manager 2012 -- Installation failed.
    MSI (s) (9C:54) [17:33:22:959]: Windows Installer installed the product. Product Name: Microsoft System Center Service Manager 2012. Product Version: 7.5.1354.0. Product Language: 0. Manufacturer: Microsoft Corporation. Installation success or error status:
    1603.
    MSI (s) (9C:54) [17:33:23:010]: Deferring clean up of packages/files, if any exist
    MSI (s) (9C:54) [17:33:23:013]: MainEngineThread is returning 1603
    MSI (s) (9C:20) [17:33:23:061]: RESTART MANAGER: Session closed.
    MSI (s) (9C:20) [17:33:23:061]: No System Restore sequence number for this installation.
    === Logging stopped: 11/7/2011  17:33:22 ===
    MSI (s) (9C:20) [17:33:23:065]: User policy value 'DisableRollback' is 0
    MSI (s) (9C:20) [17:33:23:065]: Machine policy value 'DisableRollback' is 0
    MSI (s) (9C:20) [17:33:23:065]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (9C:20) [17:33:23:065]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (9C:20) [17:33:23:066]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (9C:20) [17:33:23:067]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (9C:20) [17:33:23:067]: Restoring environment variables
    MSI (s) (9C:20) [17:33:23:089]: Destroying RemoteAPI object.
    MSI (s) (9C:28) [17:33:23:089]: Custom Action Manager thread ending.
    MSI (c) (C8:B4) [17:33:23:144]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (C8:B4) [17:33:23:175]: MainEngineThread is returning 1603
    === Verbose logging stopped: 11/7/2011  17:33:23 ===

  • An error occurred while executing a custom action:_PopulateUserRoles

    I am trying to install Service Manager 2012 RTM onto a brand new server 2008r2. The purpose is to replace the other Data Management server that is giving me problems upgrading to service pack1. I go through the setup and connect to the SQL server and
    the database that has my existing DM. I am using the same credentials and everything is the same. It goes all the way to the end and I get an error :
    An error occurred while executing a custom action:_PopulateUserRoles
    This upgrade attempt has failed before permanent modifications were made. Upgrade has successfully rolled back to the original state of the system. Once the correction are made, you can retry upgrade for this roll

    After this error, I reran setup and used the domain admin account instead of the Service Manager Admins group I created in AD. The  error did not happen again, but I did get the "Setup cannot complete - RollbackCleanup"
    error. This was fixed by following this link: "http://www.cireson.com/scsm/scsm-an-error-occurred/" and this MS article: "http://support.microsoft.com/kb/922918/en-us".
    These are the steps (I had to create the DWORD 32 bit):
    Click Start, click Run, type regedit, and then click
    OK.
    Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
    In the right pane, locate the ServicesPipeTimeout entry.
    Note  If the ServicesPipeTimeout entry does not exist, you must create it. To do this, follow these steps:
    On the Edit menu, point to
    New, and then click DWORD Value.
    Type ServicesPipeTimeout, and then press ENTER.
    Right-click ServicesPipeTimeout, and then click Modify.
    Click Decimal, type 60000, and then click
    OK.
    This value represents the time in milliseconds before a service times out.
    Restart the computer.
    Hope this helps!
    BR,
    Robert
    Robert

  • Monitor stopped due to setup error or custom action

    Hi folks,
    i have installed the sun cluster and created a resource group for my oracle database. I have created resourece's for database server and or listener.
    My question is when I am issuing the scstat command on my oracle server resource i get the following mesg.
    "Monitor stopped due to setup error or custom action"
    What does it means, does anybody give me some hint about it.
    - Resource Groups and Resources --
    Group Name Resources
    Resources: aaa-rg DB1-aaa-rs aaa-lh-rs aaa-srv-rs aaa-lsnr-rs
    -- Resource Groups --
    Group Name Node Name State
    Group: aaa-rg medsrv5 Online
    Group: aaa-rg medsrv6 Offline
    -- Resources --
    Resource Name Node Name State Status Message
    Resource: DB1-aaa-rs medsrv5 Online Online
    Resource: DB1-aaa-rs medsrv6 Offline Offline
    Resource: aaa-lh-rs medsrv5 Online Online - LogicalHostname online.
    Resource: aaa-lh-rs medsrv6 Offline Offline - LogicalHostname offline.
    Resource: aaa-srv-rs medsrv5 Online Unknown - Monitor stopped due to setup error or custom action.
    Resource: aaa-srv-rs medsrv6 Offline Offline
    Resource: aaa-lsnr-rs medsrv5 Online Online
    Resource: aaa-lsnr-rs medsrv6 Offline Offline

    i check the /var/adm/message log and find out fallowing message
    Jun 19 14:07:27 medsrv5 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource sas-srv-rs status on node medsrv5 change to R_FM_UNKNOWN
    Jun 19 14:07:27 medsrv5 SC[SUNWscor.oracle_server.monitor]:sas-rg:sas-srv-rs: [ID 564643 local7.error] Fault monitor detected error DBMS_ERROR: 1017 DEFAULT Action=STOP : Please correct login information in HA-DBMS Oracle database configuration
    Jun 19 14:07:27 medsrv5 SC[SUNWscor.oracle_server.monitor]:sas-rg:sas-srv-rs: [ID 780539 local7.error] Stopping fault monitor: DBMS_ERROR:1017:Please correct login information in HA-DBMS Oracle database configuration
    Jun 19 14:07:27 medsrv5 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource sas-srv-rs status msg on node medsrv5 change to <Monitor stopped due to setup error or custom action.>
    Jun 19 14:07:27 medsrv5 SC[SUNWscor.oracle_server.monitor]:sas-rg:sas-srv-rs: [ID 796592 local7.error] Monitor stopped due to setup error or custom action.
    and then i notice that i am using "sqlplus '/ as sysdba'" as Connect_strings, that is why i can start/stop the database but not able to monitor the database, for that i need to create an oracle account as it mentioned in "sun cluster data service for HA-Oracle" like
    # sqlplus �/as sysdba�
    grant connect, resource to user identified by passwd;
    alter user user default tablespace system quota 1m on
    system;
    grant select on v_$sysstat to user;
    grant create session to user;
    grant create table to user;
    exit;
    i would appriciate your update if i m doing some thing wrong here
    thanks

  • Could not install custom actions error

    heres the users info
    running windows 7 pro 32bit oem
    office standard 2013
    visio 2013
    adobe pro X
    CRM 2011
    using exchange 2010
    we the user click on a message in outlook left or right click the error
    Outlook is crashing giving this error: "could not install custom actions is displayed"
    which then crashes outlook:
    This error shows in event log:
    Faulting application name: OUTLOOK.EXE, version: 15.0.4551.1004, time stamp: 0x5253ad6f
    Faulting module name: OUTLOOK.EXE, version: 15.0.4551.1004, time stamp: 0x5253ad6f
    Exception code: 0xc0000005
    Fault offset: 0x004f1d25
    Faulting process id: 0x25c
    Faulting application start time: 0x01cefcd257c1e5fa
    Faulting application path: C:\Program Files\Microsoft Office\Office15\OUTLOOK.EXE
    Faulting module path: C:\Program Files\Microsoft Office\Office15\OUTLOOK.EXE
    Report Id: a3d5969e-68c5-11e3-a4c5-7845c40b5bf7
    I have found issues relating to this issue and voting buttons, we do not use them.
    now the weird part, when logging into OWA, the message shows as corrupted and displays this error:
    Exception
    Exception type: Microsoft.Exchange.Data.Storage.CorruptDataException
    Exception message: The voting data was corrupt.
    Call stack
    Microsoft.Exchange.Data.Storage.VotingInfo.Read(BinaryReader reader)
    Microsoft.Exchange.Data.Storage.VotingInfo..ctor(MessageItem messageItem)
    Microsoft.Exchange.Data.Storage.MessageItem.get_VotingInfo()
    Microsoft.Exchange.Clients.Owa.Premium.RenderingUtilities.RenderVotingInfobarMessages(MessageItem message, Infobar infobar, UserContext userContext)
    Microsoft.Exchange.Clients.Owa.Premium.ReadMessage.OnLoad(EventArgs e)
    System.Web.UI.Control.LoadRecursive()
    System.Web.UI.Control.LoadRecursive()
    System.Web.UI.Control.LoadRecursive()
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    when the same user logs into OWA lite version the message displays fine.
    I have tried removing/reinstalling outlook/office/crm/ ect
    I have setup a whole new pc, still happens
    I even installed outlook 2007 to see if it would happen and it did, im at wits ends, and I cannot put crm back on the users pc until I rule out it. 
    I have tried repairing the exchange mailbox and no corruptions were detected.
    any ideas that can point we in the right direction would be appreciated.
    thanks for your time

    Hi,
    According to your description and the error message, the issue seems more related to the Exchange user account. Because you had re-build a client environment and check the voting buttons.
    I noticed that if you logged into OWA it was corrupted, and it worked well in OWA lite version. A lot of feature were available in OWA lite version. Such as, Reading Pane, Share a calendar, Public Folders, etc. I suppose that the issue also may be caused some
    custom forms loading.
    Following this, I recommend you create a new user account in Exchange, then try to disable and open the feature one by one to test.
    Here is the feature list:
    http://blogs.technet.com/b/ilvancri/archive/2010/04/07/exchange-2010-owa-versus-owa-light.aspx
    Reading Pane: Click View > Reading Pane, and then Right or Bottom.
    http://office.microsoft.com/en-us/outlook-help/turn-the-reading-pane-on-and-off-HA102830304.aspx
    Share a calendar: Use command to turn off it in Exchange server.
    Regards,
    George Zhao
    TechNet Community Support

  • Error in writing custom action

    Hi
    I wanted to create a new action, so I read "Writing Custom Actions" section in JHeadstart Developer's Guide.
    As mentioned in the Developer's Guide, I chose JhsAction as super class and extended a new class called GenerateChart and overrode validateProperties and execute methods.
    I wrote a new method in my action class called getData() to retrieve information from model to use in execute method.
    here is its specification :
    private void getData (SessionData sessionData, JhsActionMapping mapping)
    Then as mentioned in the developer's guide (page 2-38) I got the sesion id and passed it to getHandler method.
         // retrieve Session Id from SessionData
         Object sessionId = sessionData.getSessionId();
         // Get the DataObject handler
         DataObjectHandler handler =
         (DataObjectHandler)getHandler("myClass", sessionId);
    Surprisingly, I received following compilation error :
    Error(48,26): method getHandler(java.lang.String, java.lang.Object) not found in class com.behincara.controller.struts.action.GenerateChart
    I read getDataObject and getDataObjectSet sources and realized that they use getHandler with sessionData instead of sessionId.
    Is it a mistake in Developer's Guide?
    Then I changed the code to the following
    // retrieve Session Id from SessionData
    Object sessionId = sessionData.getSessionId();
    // Get the DataObject handler
    DataObjectHandler handler =
    (DataObjectHandler) getHandler("myClass", sessionData);
    and I received another error
    Error(48,36): unreported exception: java.lang.Exception; must be caught or declared to be thrown
    Then I copied these lines to execute method and surprisingly I received no error.
    Where is my mistake?
    Could anybody help me?

    Hi Navid,
    You wrote:
    I read getDataObject and getDataObjectSet sources and
    realized that they use getHandler with sessionData
    instead of sessionId.
    Is it a mistake in Developer's Guide? You are right, it is a mistake in the Developer's Guide. I have logged a doc bug for it, so we can correct it in a future version.
    A more reliable source for this kind of information is the JHeadstart JavaDoc, which you can find at J:\jheadstart\doc\api\index.html (where J: is the JHeadstart home). If you look up JhsAction there, you will find detailed information about the methods you can use in your custom actions.
    ... I received another error
    Error(48,36): unreported exception:
    java.lang.Exception; must be caught or declared to be
    thrown
    Then I copied these lines to execute method and
    surprisingly I received no error.
    Where is my mistake?Your mistake is that your method getData does not throw an Exception, and the execute method does. If you change the signature of getData to be as follows:
    private void getData (SessionData sessionData, JhsActionMapping mapping)
    throws Exception
    (add the last two words), then you can also put the getHandler lines in getData.
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • An error occurred while executing a custom action:_CreateMOMRegKey

    It occurs during the "Configuring Reporting" portion of the install. This is an install using an existing database and the error seems to occur as it is trying to access that database during the Reporting portion of the install. I have included
    the portion of the log file where it fails to speed things along. I have looked at all of the advice on the forums and I am completely lost at this point.
    "MSI (s) (3C:3C) [10:34:28:882]: NOTE: custom action _CreateMOMRegKey unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
    CustomAction _CreateMOMRegKey returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (3C:4C) [10:34:28:964]: User policy value 'DisableRollback' is 0
    MSI (s) (3C:4C) [10:34:28:964]: Machine policy value 'DisableRollback' is 0
    Action ended 10:34:28: InstallFinalize. Return value 3.

    Validate that the installation account and SSRS account defined during the installer has access to the location where the Report Server Database is stored. Also recommend deleting the keys below for the failed installation.
    HKLM\Software\Microsoft\Microsoft Operations Manager
    and
    HKLM\Software\Microsoft\System Center
    Systems Engineer

  • Reinstalling SCSM 2012 SP1 -- installation fails on Finalize step "while executing a custom action:RollbackCleanup" -- absolutely stumped!

    I uninstalled a previous installation of SCSM 2012 in our lab environment because the person who installed it is didn't give anyone else permissions and they weren't available to make the change.  Since then, I've tried to install SCSM 2012 multiple
    times and it fails every time during the Finalize step with the error shown in the picture below.
    Things I've tried and double checked:
    I am running the install with a domain admin account
    I'm specifying a domain user service account during install which is local administrator on the machine
    I rebuilt the performance counters
    I'm running SQL 2k8 R2 SP2
    .Net 3.5.1 is installed
    I see the following message in the System Event Log during setup:
    Event 7036 - The System Center Data Access Service service entered the running state.
    Event 7031 - The System Center Data Access Service service terminated unexpectedly. 
    It has done this 1 time(s).  The following corrective action will be taken in 60000 milliseconds: Restart the service.
    It appears as though this happens 18 times before the service is no longer restarted and is left terminated.
    Any thoughts or help on how to get this to work would be greatly appreciated!  Log excerpts are below as well as a link to the full log file at the end.
    Chris
    Errors in the log that make me go "hmm…" 
    I changed my domain and username in the logs to "DOMAIN" and "user" respectively. 
    MSI (s) (74!94) [10:29:06:718]: Note: 1: 2711 2: MOMServer
    Action start 10:29:06: _SetHealthServiceConfig.80B659D9_F758_4E7D_B4FA_E53FC737DCC9.
    GetMsiFeatureState: Failed to get feature state. Error Code: 0x80070646. MOMServer
    MSI (s) (74!94) [10:29:06:719]: Note: 1: 2711 2: MOMGateway
    SetHealthServiceConfig: Failed to get Feature State.. Error Code: 0x80070646. MOMServer
    GetMsiFeatureState: Failed to get feature state. Error Code: 0x80070646. MOMGateway
    MSI (s) (74:04) [10:49:58:011]: Executing op: ActionStart(Name=_ExecuteSqlScripts,Description=Configuring Database,Template=[1])
    The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: _MPProcessorDeferred, 9923,
    Calling custom action CAManaged!Microsoft.MOMv3.Setup.MOMv3ManagedCAs.RegisterSdkSCP
    RegisterSdkSCP: Old serviceConnectionPoint found
    RegisterSdkSCP: Deleting existing serviceConnectionPoint
    RegisterSdkSCP: Warning: Dont have access to delete existing serviceConnectionPoint
    RegisterSdkSCP: Creating New serviceConnectionPoint
    RegisterSdkSCP: Adding ACL for current user: DOMAIN\account
    RegisterSdkSCP: Adding ACL for SM Admini: DOMAIN\SCSM Admins
    RegisterSdkSCP: Error: The object already exists.
    Calling custom action CAManaged!Microsoft.MOMv3.Setup.MOMv3ManagedCAs.WaitForSDKServiceStart
    WaitForSDKServiceStart:Entering
    WaitForSDKServiceStart:Sleeping for SDK to start 0 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 10 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 20 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 30 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 40 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 50 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 60 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 70 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 80 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 90 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 100 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 110 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 120 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 130 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 140 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 150 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 160 seconds
    WaitForSDKServiceStart:Sleeping for SDK to start 170 seconds
    WaitForSDKServiceStart: SDK Service connect error, after 3 mins, fail this function
    MSI (s) (74:40) [10:56:20:397]: NOTE: custom action _WaitForSDKServiceStart unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that
    handle.
    CustomAction _WaitForSDKServiceStart returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (74:04) [10:56:40:799]: Executing op: CustomActionRollback(Action=_RollBack_UninstallHealthServicePerfCountersForUpgrade.80B659D9_F758_4E7D_B4FA_E53FC737DCC9,ActionType=3393,Source=BinaryData,Target=InstallHSPerfCounters,CustomActionData=C:\Program
    Files\Microsoft System Center 2012\Service Manager\)
    MSI (s) (74:38) [10:56:40:801]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI62BF.tmp, Entrypoint: InstallHSPerfCounters
    InstallHSPerfCounters: Custom Action Data. C:\Program Files\Microsoft System Center 2012\Service Manager\
    InstallHSPerfCounters: Installing agent perf counters.
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center 2012\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallHSPerfCounters: Failed to install agent perf counters. Error Code: 0x80070057.
    MSI (s) (74:04) [10:57:10:844]: I/O on thread 2752 could not be cancelled. Error: 1168
    MSI (s) (74:04) [10:57:10:844]: I/O on thread 4796 could not be cancelled. Error: 1168
    MSI (s) (74:04) [10:57:10:844]: I/O on thread 4928 could not be cancelled. Error: 1168
    MSI (s) (74:04) [10:57:10:845]: I/O on thread 4612 could not be cancelled. Error: 1168
    MSI (s) (74:04) [10:57:10:845]: I/O on thread 884 could not be cancelled. Error: 1168
    MSI (s) (74:04) [10:57:10:845]: I/O on thread 2600 could not be cancelled. Error: 1168
    MSI (s) (74:04) [10:57:10:845]: I/O on thread 1884 could not be cancelled. Error: 1168
    MSI (s) (74:04) [10:57:10:845]: I/O on thread 4872 could not be cancelled. Error: 1168
    MSI (s) (74:04) [10:57:10:845]: I/O on thread 3084 could not be cancelled. Error: 1168
    MSI (s) (74:04) [10:57:10:845]: I/O on thread 4920 could not be cancelled. Error: 1168
    MSI (s) (74!E0) [10:57:10:846]: Product: Microsoft System Center 2012 - Service Manager -- The installer has encountered an unexpected error installing this package. This may indicate a problem with
    this package. The error code is 25211. The arguments are: -2147024809, The parameter is incorrect.,
    The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25211. The arguments are: -2147024809, The parameter is incorrect.,
    CustomAction _RollBack_UninstallHealthServicePerfCountersForUpgrade.80B659D9_F758_4E7D_B4FA_E53FC737DCC9 returned actual error code 1603 but will be translated to success due to continue marking
    MSI (s) (74:04) [10:57:17:154]: Note: 1: 1708
    MSI (s) (74:04) [10:57:17:154]: Product: Microsoft System Center 2012 - Service Manager -- Installation failed.
    MSI (s) (74:04) [10:57:17:155]: Windows Installer installed the product. Product Name: Microsoft System Center 2012 - Service Manager. Product Version: 7.5.2905.0. Product Language: 0. Manufacturer:
    Microsoft Corporation. Installation success or error status: 1603.
    Full log file:
    https://skydrive.live.com/redir?resid=F723C571E9E6D51F!1414&authkey=!ACisfvqIpGO_i7A

    Hello Christopher,
    I have recently worked in a case that had mostly the same errors:
    InstallHSPerfCounters: Installing agent perf counters.
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\HealthServiceCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. HealthService
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070057. momv3 "C:\Program Files\Microsoft System Center\Service Manager\MOMConnectorCounters.ini"
    InstallPerfCountersHelper: pcCounterInstaller->InstallCounters() for the default counters failed. Error Code: 0x80070057. MOMConnector
    InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070057.
    InstallPerfCountersLib: Retry Count : .
    InstallHSPerfCounters: Failed to install agent perf counters. Error Code: 0x80070057.
    MSI (s) (A8:D4) [10:29:51:586]: I/O on thread 8152 could not be cancelled. Error: 1168
    MSI (s) (A8:D4) [10:29:51:586]: I/O on thread 9580 could not be cancelled. Error: 1168
    MSI (s) (A8:D4) [10:29:51:586]: I/O on thread 6008 could not be cancelled. Error: 1168
    MSI (s) (A8:D4) [10:29:51:586]: I/O on thread 2112 could not be cancelled. Error: 1168
    MSI (s) (A8:D4) [10:29:51:586]: I/O on thread 8252 could not be cancelled. Error: 1168
    MSI (s) (A8:D4) [10:29:51:586]: I/O on thread 12504 could not be cancelled. Error: 1168
    MSI (s) (A8:D4) [10:29:51:586]: I/O on thread 9548 could not be cancelled. Error: 1168
    MSI (s) (A8:D4) [10:29:51:586]: I/O on thread 11464 could not be cancelled. Error: 1168
    MSI (s) (A8:D4) [10:29:51:587]: I/O on thread 10616 could not be cancelled. Error: 1168
    MSI (s) (A8:D4) [10:29:51:587]: I/O on thread 8120 could not be cancelled. Error: 1168
    MSI (s) (A8:D4) [10:29:51:587]: I/O on thread 2424 could not be cancelled. Error: 1168
    MSI (s) (A8!D4) [10:29:51:587]: Product: Microsoft System Center 2012 R2 Service Manager -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25211. The arguments are:
    -2147024809, The parameter is incorrect.,
    The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25211. The arguments are: -2147024809, The parameter is incorrect.,
    CustomAction _RollBack_UninstallHealthServicePerfCountersForUpgrade.80B659D9_F758_4E7D_B4FA_E53FC737DCC9 returned actual error code 1603 but will be translated to success due to continue marking
    MSI (s) (A8:3C) [10:29:51:599]: Executing op: ActionStart(Name=_StopNamedServices_HealthService.80B659D9_F758_4E7D_B4FA_E53FC737DCC9,Description=Stopping Health services,)
    MSI (s) (A8:3C) [10:29:51:603]: Executing op: ActionStart(Name=StopServices,Description=Stopping services,Template=[1])
    MSI (s) (A8:3C) [10:29:51:605]: Executing op: ServiceControl(,Name=W3SVC,Action=1,,)
    MSI (s) (A8:3C) [10:29:52:621]: Executing op: ActionStart(Name=ProcessComponents,Description=Updating component registration,).
    - I was able to resolve it using the command  line LOTCTR /R
    - And restarting the IIS service using the command line tool IISRESET
    - After this command was successfully applied I have tried to install the Service Manager Portal without any errors.
    http://technet.microsoft.com/en-us/library/bb490926.aspx
    http://technet.microsoft.com/en-us/library/hh875560.aspx
    http://support.microsoft.com/kb/300956
    https://blogs.technet.com/b/yongrhee/archive/2009/10/06/how-to-rebuild-performance-counters-on-windows-vista-server2008-7-server2008r2.aspx
    Thank you very much
    Renato Pacheco

  • How to call a custom action class present in one DC from a different DC

    Hi Experts,
    I have to implement one email functionality in my project.This functionality works fine if I use the Standard EmailAction class present in com.sap.isa.cic.customer package,but we need to change the email IDs in some cases so,we need to create a custom class.But if I create a custom Action class in Another DC(shext) and try to call this class from the config file present in the other DC(From where the Standard class was called),I am getting no Action Instance found for the declared Action(This Happens when the class is not present ).
    From the error I interpreted that the presence of the Custom Action class is not recognised by the The DC.
    Please confirm If my understanding is correct.
    I also tried adding a a new public part in shrext and tried adding the same in the used dc for the DC from where I am trying to call the class.But the activity fails and it gives me the error that the DCs are Broken.Do I need to build the DCs after adding a public part or a used DC?
    Please answer If anybody has faced the same issue or has a solution to it.
    Thanks
    Arpita Saxena
    Edited by: ArpitaSaxena on Jun 23, 2011 6:51 AM
    Edited by: ArpitaSaxena on Jun 23, 2011 7:01 AM

    Hi All,
    I was able to resolve this issue myself.
    I had to include the DC crm/isa/lwc and the DC mail in the used DCs of SHREXT .
    So,all the jars got included automatically and I was able to create a new custom class for the required functionality.
    Its working fine now.

  • Changing action name of sample custom action block in MII 12.2

    Hi all,
    I have a problem changing the action name of the custom action block sample. I've changed the content and successfully implemented the action block. But when I changed the action name and uploaded again, the action block cannot display any input parameters and output parameters. In the java console, I can see 3 rows of "Shared Properties Error: No File Defined" error. Can I get a hand on resolving this issue? Thanks.
    The From rows are the sample code. To row is what I changed to.
    In SimpleActions.java
    From:
    @Action(name = "AddTwoNumbers", referenceDocumentGenerator = ReferenceDocumentGenSample.class)
    To:
    @Action(name = "GBarcode", referenceDocumentGenerator = ReferenceDocumentGenSample.class)
    From:
    public static void addTwoNumbers(
    To:
    public static void gBarcode(
    In catalog.xml
    From:
    Component Type="Action"
    Name="AddTwoNumbers"
    To:
    Component Type="Action"
    Name="GBarcode"
    All other code remains the same.
    Best regards,
    Lawrence

    Hi Lawrence
    Did you remember to change the action name in the catalog xml as well? In the catalog xml the Name field denotes the name of the action. This needs to also change in case the Action Name is changed in the class.
    Please check this and change if not already done.
    Regards
    Partha

  • Soa suite 12c fault policy invokeWS action enqueue action resolveAndrecover: error in fault resolution:java.lang.NullPointerException

    Hi,
    I'm trying to use the new fault actions in Oracle SOA Suite 12c (12.1.3.0) invokeWS and enqueue.
    I've done the following:
    fault-policies.xml
    <faultName name="custom:MyFault" xmlns:custom="http://xmlns.oracle.com/Application1/Dummy/WebServiceB"
               path="SOA\WSDLs\dummybpelprocess_client_ep.wsdl">
        <condition>
            <action ref="default-enqueue"/>
        </condition>
    </faultName>
    <Action id="default-ws">
        <invokeWS uri="http://host:7003/soa-infra/services/default/WebServiceHandler/webservicehandlerbpel_client_ep?WSDL|webservicehandlerbpel_client_ep|WebServiceHandlerBPEL_pt"/>
        <!-- format - <Absolute wsdl path>|service name|port name -->
    </Action>
    <Action id="default-enqueue">
        <!-- enqueue uri="eis/aq/aqjmsuserDataSource"/ -->
        <enqueue uri="jdbc:oracle:thin:@host:1521:orcl#user/userpassword#USERQUEUE" />
        <!-- QueueURI format  - jdbc:oracle:thin:@<host>:<port>:<sid>#<un>/<pw>#queue -->
    </Action>
    Webservice Handler (which is the webservice to be invoked by the faultpolicy) is constructed 1-way pattern, 1 operation, 1 port and using the following schema:
    <?xml version="1.0"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
            targetNamespace="http://xmlns.oracle.com/pcbpel/errorHandling"
            xmlns:tns="http://xmlns.oracle.com/pcbpel/errorHandling"
            elementFormDefault="qualified">
      <element name="RejectedMessage" type="tns:RejectedMessageType"/>
        <complexType name="RejectedMessageType">
            <sequence>
           <!-- base64 encoded strings" -->
              <element name="MessageHeader" type="string"/>
              <element name="MessagePayload" type="string"/>
              <element name="RejectionReason" type="string"/>
            </sequence>
          <attribute name="RejectionId" type="string"/>
        </complexType>
    </schema>
    The scenario is the following:
    Webservice A invokes WebService B
    Webservice B has defined a BusinessFault
    Webservice A has defined faultbindings using the faulpolicies from the previous snippet, for the reference of WebserviceB
    The BusinessFault is thrown by WebServiceB
    The fault policy is not able to neither enque or call the webservce to handle the businessexception
    A NullPointerException is shown in the logs
    The error is also present if enqueue os invokeWS are used in retryFailureAction of a retry action
    The error is only present for enqueue or invokeWS actions (I didn't try fileAction)
    Traditional actions (such as retry, humanintervention, temrinate) are working properly for businessfaults
    The error in logs is the following:
    Message
    resolveAndrecover: error in fault resolution:java.lang.NullPointerException
    Supplemental Detail
    at com.collaxa.cube.engine.fp.BPELRecoverFault.recoverFault(BPELRecoverFault.java:102)
    at oracle.fabric.CubeServiceEngine.recoverFault(CubeServiceEngine.java:2195)
    at oracle.integration.platform.faultpolicy.RecoverFault.recoverAndChain(RecoverFault.java:497)
    at oracle.integration.platform.faultpolicy.RecoverFault.resolveAndRecover(RecoverFault.java:337)
    at oracle.integration.platform.faultpolicy.FaultRecoveryManagerImpl.resolveAndRecover(FaultRecoveryManagerImpl.java:372)
      at oracle.soa.tracking.fabric.service.se.ServiceEngineFaultRecoveryServiceImpl.recoverFault(ServiceEngineFaultRecoveryServiceImpl.java:116)
      at oracle.soa.tracking.fabric.service.se.CubeServiceEngineAuditServiceImpl.recoverFault(CubeServiceEngineAuditServiceImpl.java:502)
    at com.collaxa.cube.engine.ext.common.FaultPolicyHandler.resolveAndRecover(FaultPolicyHandler.java:115)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.handleException(InvokeHandler.java:715)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.__callback(InvokeHandler.java:784)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:657)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:143)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.expire(InvokeHandler.java:1371)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.expire(BPELInvokeWMP.java:62)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:3358)
    at com.collaxa.cube.engine.CubeEngine._expireActivity(CubeEngine.java:1621)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:1557)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:1478)
    at com.collaxa.cube.ejb.impl.CubeActivityManagerBean.expireActivity(CubeActivityManagerBean.java:115)
    at com.collaxa.cube.ejb.impl.CubeActivityManagerBean.expireActivity(CubeActivityManagerBean.java:72)
    at com.collaxa.cube.ejb.impl.bpel.BPELActivityManagerBean_8dvvts_ICubeActivityManagerLocalBeanImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
      at com.collaxa.cube.ejb.impl.bpel.BPELActivityManagerBean_8dvvts_ICubeActivityManagerLocalBeanImpl.expireActivity(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:58)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:153)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:132)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:90)
    at com.collaxa.cube.engine.dispatch.WMExecutor$W.run(WMExecutor.java:239)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    I already made sure I had all the artifacts for the AQ queue:
    -database
    -table
    -queue
    -permissions
    Do you have the same problem?
    Are you able to use this new actions?
    Please advise
    Thanks in advance.
    P.S: Related documentation: http://docs.oracle.com/middleware/1213/soasuite/develop-soa/bpel-fault-handling.htm#CHDCIBDF

    Creating a SR to Oracle....

Maybe you are looking for