"Unable to Delete Service" - Installation Challenge

We purchased an IPOD SHUFFLE for my wife to use. I'm a MAC G5 user...now attempting to connect this new shuffle to her PC at home. I have installed all the software but continue to get an error message that says, "Unable to Delete Service". I can find no reference to this. When I move songs from the Library to her Shuffle, the system locks up and deletes all the files from the Shuffle.

That's a funny issue: I copied your line in the PowerGUI Editor and I got the same error message.
So I deleted the "Remove-SCSMObject -Force" because in the Editor it wasn't shown as a cmdlet. I retyped the command and it was shown as a cmdlet now and the command worked and deleted the SR.
Import-Module SMlets
Get-SCSMObject -Class (Get-SCSMClass -Name System.WorkItem.ServiceRequest$) -Filter "ID -eq SR40"| Remove-SCSMObject -Force
Please just delete the  "Remove-SCSMObject -Force" retype it manually and give it a try again.
Hope this helps.
Andreas Baumgarten | H&D International Group

Similar Messages

  • Unable to find appropriate installation number in service market place

    Hi Everybody
    While applying for License for our newly implemented SAP Solution Manager 7.0 EHP1 system in SAP service market place, we are unable to find appropriate installation number.
    Charu

    Hi
    You can choose new system and enter all the required data and proceed for the license request function
    Please check for the below note for detail guidance
    [Note 94998 - Requesting license keys and deleting systems|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=94998]
    Thanks,
    Jansi

  • Unable to install SQL 2005 Service Pack 3 (Unable to install Windows Installer MSI file)

    I'm unable to install SQL 2005 Service Pack 3. This results in the following error message: Unable to install Windows Installer MSI file.
    Could someone please help me. Thanks in advance!
    === Verbose logging started: 3-4-2009  9:33:00  Build type: SHIP UNICODE 4.05.6001.00  Calling process: d:\5ddfa356349ddf2e676c336d95c5\hotfix.exe ===
    MSI (c) (E0:88) [09:33:00:404]: Resetting cached policy values
    MSI (c) (E0:88) [09:33:00:404]: Machine policy value 'Debug' is 0
    MSI (c) (E0:88) [09:33:00:404]: ******* RunEngine:
               ******* Product: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi
               ******* Action:
               ******* CommandLine: **********
    MSI (c) (E0:88) [09:33:00:404]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (E0:88) [09:33:00:404]: Grabbed execution mutex.
    MSI (c) (E0:88) [09:33:00:419]: Cloaking enabled.
    MSI (c) (E0:88) [09:33:00:419]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (E0:88) [09:33:00:419]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (28:28) [09:33:01:747]: Running installation inside multi-package transaction C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi
    MSI (s) (28:28) [09:33:01:747]: Grabbed execution mutex.
    MSI (s) (28:CC) [09:33:02:029]: Resetting cached policy values
    MSI (s) (28:CC) [09:33:02:029]: Machine policy value 'Debug' is 0
    MSI (s) (28:CC) [09:33:02:029]: ******* RunEngine:
               ******* Product: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi
               ******* Action:
               ******* CommandLine: **********
    MSI (s) (28:CC) [09:33:02:685]: Machine policy value 'DisableUserInstalls' is 0
    MSI (s) (28:CC) [09:33:03:450]: File will have security applied from OpCode.
    MSI (s) (28:CC) [09:33:03:841]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi' against software restriction policy
    MSI (s) (28:CC) [09:33:03:841]: SOFTWARE RESTRICTION POLICY: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi has a digital signature
    MSI (s) (28:CC) [09:33:04:841]: SOFTWARE RESTRICTION POLICY: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi is permitted to run at the 'unrestricted' authorization level.
    MSI (s) (28:CC) [09:33:04:888]: End dialog not enabled
    MSI (s) (28:CC) [09:33:04:888]: Original package ==> C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi
    MSI (s) (28:CC) [09:33:04:888]: Package we're running from ==> C:\WINDOWS\Installer\3d3a713.msi
    MSI (s) (28:CC) [09:33:05:497]: APPCOMPAT: looking for appcompat database entry with ProductCode '{53F5C3EE-05ED-4830-994B-50B2F0D50FCE}'.
    MSI (s) (28:CC) [09:33:05:497]: APPCOMPAT: no matching ProductCode found in database.
    MSI (s) (28:CC) [09:33:05:685]: MSCOREE not loaded loading copy from system32
    MSI (s) (28:CC) [09:33:05:825]: Note: 1: 2203 2: C:\WINDOWS\Installer\2f1994e.msi 3: -2147287038
    MSI (s) (28:CC) [09:33:05:825]: Opening existing patch 'C:\WINDOWS\Installer\e6ba0.msp'.
    MSI (s) (28:CC) [09:33:05:825]: Note: 1: 2203 2: C:\WINDOWS\Installer\e6ba0.msp 3: -2147287038
    MSI (s) (28:CC) [09:33:05:825]: Couldn't find local patch 'C:\WINDOWS\Installer\e6ba0.msp'. Looking for it at its source.
    MSI (s) (28:CC) [09:33:05:825]: Resolving Patch source.
    MSI (s) (28:CC) [09:33:05:825]: User policy value 'SearchOrder' is 'nmu'
    MSI (s) (28:CC) [09:33:05:825]: User policy value 'DisableMedia' is 0
    MSI (s) (28:CC) [09:33:05:825]: Machine policy value 'AllowLockdownMedia' is 0
    MSI (s) (28:CC) [09:33:05:825]: SOURCEMGMT: Media enabled only if package is safe.
    MSI (s) (28:CC) [09:33:05:825]: SOURCEMGMT: Looking for sourcelist for product {EE92F683-5F5C-4970-BB0B-9AC591B60268}
    MSI (s) (28:CC) [09:33:05:825]: SOURCEMGMT: Adding {EE92F683-5F5C-4970-BB0B-9AC591B60268}; to potential sourcelist list (pcode;disk;relpath).
    MSI (s) (28:CC) [09:33:05:825]: SOURCEMGMT: Now checking product {EE92F683-5F5C-4970-BB0B-9AC591B60268}
    MSI (s) (28:CC) [09:33:05:825]: SOURCEMGMT: Media is enabled for product.
    MSI (s) (28:CC) [09:33:05:825]: SOURCEMGMT: Attempting to use LastUsedSource from source list.
    MSI (s) (28:CC) [09:33:05:825]: SOURCEMGMT: Trying source \\NF04\d$\3db7739bf5c1bb9c50076c418420\HotFixSqlSupport\Files\.
    MSI (s) (28:CC) [09:33:06:607]: Note: 1: 2203 2: \\NF04\d$\3db7739bf5c1bb9c50076c418420\HotFixSqlSupport\Files\SqlSupport.msp 3: -2147287037
    MSI (s) (28:CC) [09:33:06:607]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
    MSI (s) (28:CC) [09:33:06:607]: Note: 1: 1706 2: -2147483647 3: SqlSupport.msp
    MSI (s) (28:CC) [09:33:06:607]: SOURCEMGMT: Processing net source list.
    MSI (s) (28:CC) [09:33:06:607]: Note: 1: 1706 2: -2147483647 3: SqlSupport.msp
    MSI (s) (28:CC) [09:33:06:607]: SOURCEMGMT: Processing media source list.
    MSI (s) (28:CC) [09:33:07:654]: SOURCEMGMT: Resolved source to: 'SqlSupport.msp'
    MSI (s) (28:CC) [09:33:37:732]: Note: 1: 1314 2: SqlSupport.msp
    MSI (s) (28:CC) [09:33:37:732]: Unable to create a temp copy of patch 'SqlSupport.msp'.
    MSI (s) (28:CC) [09:33:37:732]: Searching provided command line patches for patch code {EE92F683-5F5C-4970-BB0B-9AC591B60268}
    MSI (s) (28:CC) [09:33:37:763]: Note: 1: 1708
    MSI (s) (28:CC) [09:33:37:763]: Product: Microsoft SQL Server Setup Support Files (English) -- Installation failed.
    MSI (s) (28:CC) [09:33:37:763]: Windows Installer installed the product. Product Name: Microsoft SQL Server Setup Support Files (English). Product Version: 9.00.4035.00. Product Language: 1033. Installation success or error status: 1635.
    MSI (s) (28:CC) [09:33:37:779]: MainEngineThread is returning 1635
    MSI (s) (28:28) [09:33:37:888]: No System Restore sequence number for this installation.
    This patch package could not be opened.  Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package.
    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi
    MSI (s) (28:28) [09:33:37:888]: User policy value 'DisableRollback' is 0
    MSI (s) (28:28) [09:33:37:888]: Machine policy value 'DisableRollback' is 0
    MSI (s) (28:28) [09:33:37:888]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (28:28) [09:33:37:904]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (28:28) [09:33:37:919]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (28:28) [09:33:37:919]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (28:28) [09:33:37:919]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (28:28) [09:33:37:919]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (28:28) [09:33:37:919]: Restoring environment variables
    MSI (c) (E0:88) [09:33:37:935]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (E0:88) [09:33:37:935]: MainEngineThread is returning 1635
    === Verbose logging stopped: 3-4-2009  9:33:37 ===

    This post should definitely help you
    http://blogs.msdn.com/sqlserverfaq/archive/2009/01/30/part-1-sql-server-2005-patch-fails-to-install-with-an-error-unable-to-install-windows-installer-msp-file.aspx?CommentPosted=true
    Feroz
    Mark as Answer if it helps. This posting is provided "AS IS" with no warranties and confers no rights.

  • CRASH DURING INSTALLATION OF APPLICATION - UNABLE TO DELETE EITHER !!

    Hi, I am presently very happy with iPhone 3G having upgraded from the original model yesterday...
    I have one small problem, however, I have installed about a dozen or so applications from the the Apps store, about half using the iPhone and the other half from iTunes store on Mac.
    Everything was fine, but one free application:- "Checkword" which I was installing on iPhone locked up during the "Loading: phase of installation and has sat doing nothing in spite of numerous re-sets of phone and connecting to iTunes.
    I am unable to delete the App from the phone itself as this is not possible until installation is complete.
    I am a little concerned as this means potentially "glitchy" software on Apps store or a bug within version 2.0 of iPhone software which allows partially installed software to "hang" and prevents subsequent deletion of "useless" icon.
    I have even attempted to load the software via iTunes with the intention of over-writing onto phone, but iTunes indicates that I have already purchased the software and that I should "Check for purchases" from Store menu.
    Performing this instruction produces "Unable to check for purchases. Unknown error occurred (-206).
    This is only a small problem, but if this were to happen frequently iPhone users will have potentially dozens of unwanted half-installed apps left on their phones......
    Any ideas Guys, Ian R

    chiu,
    What is the exact RPC error messages? See if these article helps and fits the bill.
    http://consumer.installshield.com/kb.asp?id=Q0888
    Jason

  • Unable to delete applet.....

    Hi all,
    I am unable to delete one applet which I have loaded in the card.
    There are 2 applets, one is purse and other is loyalty. And am using shareable interface in which loyalty is the server and purse is the client. I can delete the purse applet but i can't delete the loyalty from the card.
    Here is my code : There are in all 3 codes, one is purse, second is loyalty code and third is the shareable interface code. Can some one look at the code and tell me what's wrong in this programs.
    package com.gemplus.examples.loyalty;
    import javacard.framework.*;
    import visa.openplatform.*;
    public class Loyalty extends javacard.framework.Applet implements TestInterface
    static byte points ;
    protected Loyalty(byte[] buffer, short offset, byte length)
    // data offset is used for application specific parameter.
    // initialization with default offset (AID offset).
    short dataOffset = offset;
    if(length > 9) {
    // Install parameter detail. Compliant with OP 2.0.1.
    // | size | content
    // |------|---------------------------
    // | 1 | [AID_Length]
    // | 5-16 | [AID_Bytes]
    // | 1 | [Privilege_Length]
    // | 1-n | [Privilege_Bytes] (normally 1Byte)
    // | 1 | [Application_Proprietary_Length]
    // | 0-m | [Application_Proprietary_Bytes]
    // shift to privilege offset
    dataOffset += (short)(1 + buffer[offset]);
    // finally shift to Application specific offset
    dataOffset += (short)(1 + buffer[dataOffset]);
    // checks wrong data length
    if(buffer[dataOffset] != 4)
    // return received proprietary data length in the reason
    ISOException.throwIt((short)(ISO7816.SW_WRONG_LENGTH + offset + length - dataOffset));
    // go to proprietary data
    dataOffset++;
    // points = 0;
    // register this instance
    register(buffer, (short)(offset + 1), (byte)buffer[offset]);
    * Method installing the applet.
    * @param bArray the array constaining installation parameters
    * @param bOffset the starting offset in bArray
    * @param bLength the length in bytes of the data parameter in bArray
    public static void install(byte[] bArray, short bOffset, byte bLength) throws ISOException
    /* applet instance creation */
    new Loyalty (bArray, bOffset, (byte)bLength);
    * Select method returning true if applet selection is supported.
    * @return boolean status of selection.
    public boolean select()
    /* return status of selection */
    return true;
    * Deselect method.
    public void deselect()
    return;
    public void process(APDU apdu) throws ISOException
              // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
              ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
                   apdu.setIncomingAndReceive();
              byte[] apduBuffer = apdu.getBuffer();
    // writes the balance into the APDU buffer after the APDU command part
              creditPoints((byte)0x00);     
              apduBuffer[5] = (byte)(points >> 8) ;
              apduBuffer[6] = (byte)points ;
    // sends the APDU response
    // switches to output mode
              apdu.setOutgoing() ;
    // 2 bytes to return
              apdu.setOutgoingLength((short)2) ;
    // offset and length of bytes to return in the APDU buffer
              apdu.sendBytes((short)5, (short)2) ;
         public void creditPoints(byte pTobeCredited)
    points += pTobeCredited;
    public Shareable getShareableInterfaceObject(AID client, byte param){
              if(param != (byte)0x00)
                   return null;
         return (this);
    second code is :
    package com.gemplus.examples.oppurse;
    * Imported packages
    import javacard.framework.*;
    import visa.openplatform.*;
    import com.gemplus.examples.loyalty.*;
    public class OPPurse extends javacard.framework.Applet
    // the APDU constants for all the commands.
         private final static byte INS_GET_BALANCE = (byte)0x30 ;
         private final static byte INS_DEBIT      = (byte)0x31 ;
         private final static byte INS_CREDIT      = (byte)0x32 ;
         private final static byte INS_VERIFY_PIN = (byte)0x33 ;
         private final static byte INS_SET_NAME                    = (byte)0x34 ;
         private final static byte INS_GET_NAME                    = (byte)0x35 ;
    // the OP/VOP specific instruction set for mutual authentication
         private final static byte CLA_INIT_UPDATE = (byte)0x80 ;
         private final static byte INS_INIT_UPDATE = (byte)0x50 ;
         private final static byte CLA_EXTERNAL_AUTHENTICATE = (byte)0x84 ;
         private final static byte INS_EXTERNAL_AUTHENTICATE = (byte)0x82 ;
    // the PIN validity flag
    private boolean validPIN = false;
    // SW bytes for PIN Failed condition
         // the last nibble is replaced with the number of remaining tries
         private final static short      SW_PIN_FAILED = (short)0x63C0;
         private final static short SW_FAILED_TO_OBTAIN_SIO = (short)0x63D0;
         private final static short SW_LOYALTY_APP_NOT_EXIST = (short)0x63E0;
    // the illegal amount value for the exceptions.
    private final static short ILLEGAL_AMOUNT = 1;
    // the maximum balance in this purse.
    private static final short maximumBalance = 10000;
    // the current balance in this purse.
    private static short balance;
    /*     byte[] loyaltyAID = new byte[]{ (byte)0xA0,(byte)0x00,(byte)0x00,(byte)0x00,
              (byte)0x19,(byte)0xFF,(byte)0x00,(byte)0x00,
              (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,
              (byte)0x00,(byte)0x00,(byte)0x02,(byte)0x02};*/
    /* Security part of declarations */
    // the Security Object necessary to credit the purse
    private ProviderSecurityDomain securityObject = null;
    // the security channel number
    byte secureChannel = (byte)0xFF;
    // the authentication status
    private boolean authenticationDone = false;
    // the secure channel status
    private boolean channelOpened = false;
         private byte[] nameBuffer = new byte[6];
    * Only this class's install method should create the applet object.
    protected OPPurse(byte[] buffer, short offset, byte length)
    // data offset is used for application specific parameter.
    // initialization with default offset (AID offset).
    short dataOffset = offset;
    if(length > 9) {
    // Install parameter detail. Compliant with OP 2.0.1.
    // | size | content
    // |------|---------------------------
    // | 1 | [AID_Length]
    // | 5-16 | [AID_Bytes]
    // | 1 | [Privilege_Length]
    // | 1-n | [Privilege_Bytes] (normally 1Byte)
    // | 1 | [Application_Proprietary_Length]
    // | 0-m | [Application_Proprietary_Bytes]
    // shift to privilege offset
    dataOffset += (short)( 1 + buffer[offset]);
    // finally shift to Application specific offset
    dataOffset += (short)( 1 + buffer[dataOffset]);
    // checks wrong data length
    if(buffer[dataOffset] != 2)
    // return received proprietary data length in the reason
    ISOException.throwIt((short)(ISO7816.SW_WRONG_LENGTH + offset + length - dataOffset));
    // go to proprietary data
    dataOffset++;
    } else {
    // Install parameter compliant with OP 2.0.
    if(length != 2)
    ISOException.throwIt((short)(ISO7816.SW_WRONG_LENGTH + length));
              // retreive the balance value from the APDU buffer
    short value = (short)(((buffer[(short)(dataOffset + 1)]) & 0xFF)
              | ((buffer[dataOffset] & 0xFF) << 8));
    // checks initial balance value
    if(value > maximumBalance)
    ISOException.throwIt(ISO7816.SW_DATA_INVALID);
              // initializes the balance with the APDU buffer contents
    balance = value;
    // register this instance as an installed Applet
    register();
    // ask the system for the Security Object associated to the Applet
    securityObject = OPSystem.getSecurityDomain();
    // applet is personalized and its state can change
    OPSystem.setCardContentState(OPSystem.APPLET_PERSONALIZED);
    // build the new ATR historical bytes
    byte[] newATRHistory = new byte[]
    // put "OPPurse" in historical bytes.
    (byte)0x4F, (byte)0x50, (byte)0x50, (byte)0x75, (byte)0x72, (byte)0x73, (byte)0x65
    // !!! ACTIVATED IF INSTALL PRIVILEGE IS "Default Selected" (0x04). !!!
    // change the default ATR to a personalized's one
    OPSystem.setATRHistBytes(newATRHistory, (short)0, (byte)newATRHistory.length);
    * Method installing the applet.
    * @param installparam the array constaining installation parameters
    * @param offset the starting offset in installparam
    * @param length the length in bytes of the data parameter in installparam
    public static void install(byte[] installparam, short offset, byte length )
    throws ISOException
    // applet instance creation with the initial balance
    new OPPurse(installparam, offset, length );
    * Select method returning true if applet selection is supported.
    * @return boolean status of selection.
    public boolean select()
    validPIN = false;
    // reset security if used.
    // In case of reset deselect is not called
    reset_security();
    // return status of selection
    return true;
    * Deselect method.
    public void deselect()
    // reset security if used.
    reset_security();
    return;
    * Method processing an incoming APDU.
    * @see APDU
    * @param apdu the incoming APDU
    * @exception ISOException with the response bytes defined by ISO 7816-4
    public void process(APDU apdu) throws ISOException
    // get the APDU buffer
    // the APDU data is available in 'apduBuffer'
    byte[] apduBuffer = apdu.getBuffer();
    // the "try" is mandatory because the debit method
    // can throw a javacard.framework.UserException
    try
         switch(apduBuffer[ISO7816.OFFSET_INS])
    case INS_VERIFY_PIN :
         verifyPIN(apdu);
    break ;
    case INS_GET_BALANCE :
         getBalance(apdu) ;
    break ;
    case INS_DEBIT :
         debit(apdu) ;
    break ;
                        case INS_SET_NAME :
                             setName(apdu);
                        break;
                        case INS_GET_NAME :
                             getName(apdu);
                        break ;
    case INS_CREDIT :
         credit(apdu) ;
    break ;
    case INS_INIT_UPDATE :
    if(apduBuffer[ISO7816.OFFSET_CLA] == CLA_INIT_UPDATE)
    // call initialize/update security method
         init_update(apdu) ;
    else
    // wrong CLA received
    ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    break ;
    case INS_EXTERNAL_AUTHENTICATE :
    if(apduBuffer[ISO7816.OFFSET_CLA] == CLA_EXTERNAL_AUTHENTICATE)
    // call external/authenticate security method
         external_authenticate(apdu) ;
    else
    // wrong CLA received
    ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    break ;
    case ISO7816.INS_SELECT :
    break ;
    default :
    // The INS code is not supported by the dispatcher
         ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED) ;
    break ;
         }     // end of the switch
    } // end of the try
              catch(UserException e)
    // translates the UserException in an ISOException.
              if(e.getReason() == ILLEGAL_AMOUNT)
    throw new ISOException ( ISO7816.SW_DATA_INVALID ) ;
    //- P R I V A T E M E T H O D S -
         * Handles Verify Pin APDU.
         * @param apdu APDU object
         private void verifyPIN(APDU apdu)
    // get APDU data
              apdu.setIncomingAndReceive();
    // get APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
    // check that the PIN is not blocked
    if(OPSystem.getTriesRemaining() == 0)
    OPSystem.setCardContentState(OPSystem.APPLET_BLOCKED);
    // Pin format for OP specification
    // |type(2),length|nible(1),nible(2)|nible(3),nible(4)|...|nible(n-1),nible(n)|
    // get Pin length
    byte length = (byte)(apduBuffer[ISO7816.OFFSET_LC] & 0x0F);
    // pad the PIN ASCII value
    for(byte i=length; i<0x0E; i++)
    // only low nibble of padding is used
    apduBuffer[ISO7816.OFFSET_CDATA + i] = 0x3F;
    // fill header TAG
    apduBuffer[0] = (byte)((0x02 << 4) | length);
    // parse ASCII Pin code
    for(byte i=0; i<0x0E; i++)
    // fill bytes with ASCII Pin nibbles
    if((i & 0x01) == 0)
    // high nibble
    apduBuffer[(i >> 1)+1] = (byte)((apduBuffer[ISO7816.OFFSET_CDATA + i] & 0x0F) << 4);
    else
    // low nibble
    apduBuffer[(i >> 1)+1] |= (byte)(apduBuffer[ISO7816.OFFSET_CDATA + i] & 0x0F);
    // verify the received PIN
    // !!! WARNING PIN HAS TO BE INITIALIZED BEFORE USE !!!
    if(OPSystem.verifyPin(apdu, (byte)0))
    // set PIN validity flag
    validPIN = true;
    // if applet state is BLOCKED then restore previous state (PERSONALIZED)
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
    OPSystem.setCardContentState(OPSystem.APPLET_PERSONALIZED);
    return;
         // the last nibble of returned code is the number of remaining tries
              ISOException.throwIt((short)(SW_PIN_FAILED + OPSystem.getTriesRemaining()));
    * Performs the "getBalance" operation on this counter.
    * @param apdu The APDU to process.
    private void getBalance( APDU apdu )
    // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
    // get the APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
    // writes the balance into the APDU buffer after the APDU command part
              apduBuffer[5] = (byte)(balance >> 8) ;
              apduBuffer[6] = (byte)balance ;
    // sends the APDU response
    // switches to output mode
              apdu.setOutgoing() ;
    // 2 bytes to return
              apdu.setOutgoingLength((short)2) ;
    // offset and length of bytes to return in the APDU buffer
              apdu.sendBytes((short)5, (short)2) ;
         private void setName(APDU apdu)
              // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
              // the operation is allowed only if master pin is validated
         if(!validPIN)
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
              byte[] apduBuffer = apdu.getBuffer();
              apdu.setIncomingAndReceive();     
              for(short i=0,k=5;i<6;i++,k++)
                   nameBuffer[i] = apduBuffer[k];
         }//end of setName
         private void getName(APDU apdu)
              // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
                   byte[] apduBuffer = apdu.getBuffer();
                   for(short i=5, k=0;i<11;i++,k++)
                        apduBuffer=nameBuffer[k];
                   apdu.setOutgoing();
                   apdu.setOutgoingLength((short)6);
                   apdu.sendBytes((short)5,(short)6);
         }//end of storeName
    * Performs the "debit" operation on this counter.
    * @param apdu The APDU to process.
    * @exception ISOException If the APDU is invalid.
    * @exception UserException If the amount to debit is invalid.
    private void debit(APDU apdu) throws ISOException, UserException
    // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
    // the operation is allowed only if master pin is validated
         if(!validPIN)
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    // get the APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
         // Gets the length of bytes to recieved from the terminal and receives them
    // If does not receive 4 bytes throws an ISO.SW_WRONG_LENGTH exception
              if(apduBuffer[4] != 2 || apdu.setIncomingAndReceive() != 2)
              ISOException.throwIt(ISO7816.SW_WRONG_LENGTH) ;
              // Reads the debit amount from the APDU buffer
    // Starts at offset 5 in the APDU buffer since the 5 first bytes
    // are used by the APDU command part
              short amount = (short)(((apduBuffer[6]) & (short)0x000000FF)
    | ((apduBuffer[5] << 8 ) & (short)0x0000FF00));
    // tests if the debit is valid
    if((balance >= amount) && (amount > 0))
    // does the debit operation
    balance -= amount ;
    // writes the new balance into the APDU buffer
    // (writes after the debit amount in the APDU buffer)
    apduBuffer[7] = (byte)(balance >> 8) ;
    apduBuffer[8] = (byte)balance ;
    // sends the APDU response
    apdu.setOutgoing() ; // Switches to output mode
    apdu.setOutgoingLength((short)2) ; // 2 bytes to return
    // offset and length of bytes to return in the APDU buffer
    apdu.sendBytes((short)7, (short)2) ;
              /*short points = 10;
    AID loyaltyID = JCSystem.lookupAID(loyaltyAID, (short)0, (byte)loyaltyAID.length);
              if(loyaltyID == null)
                   ISOException.throwIt((short)(SW_LOYALTY_APP_NOT_EXIST));
              TestInterface sio = (TestInterface)(JCSystem.getAppletShareableInterfaceObject(loyaltyID, (byte)0x00));
              if(sio == null)
                   ISOException.throwIt((short)(SW_FAILED_TO_OBTAIN_SIO));
              sio.creditPoints(points);*/
    else
    // throw a UserException with illegal amount as reason
    throw new UserException(ILLEGAL_AMOUNT) ;
    /* byte points = (byte)0x0A;
              //short points = 10;
    AID loyaltyID = JCSystem.lookupAID(loyaltyAID, (short)0, (byte)loyaltyAID.length);
              if(loyaltyID == null)
                   ISOException.throwIt((short)(SW_LOYALTY_APP_NOT_EXIST));
              TestInterface sio = (TestInterface)JCSystem.getAppletShareableInterfaceObject(loyaltyID, (byte)0x00);
              if(sio == null)
                   ISOException.throwIt((short)(SW_FAILED_TO_OBTAIN_SIO));
              sio.creditPoints(points);*/
    * Performs the "credit" operation on this counter. The operation is allowed only
    * if master pin is validated
    * @param apdu The APDU to process.
    * @exception ISOException If the APDU is invalid or if the amount to credit
    * is invalid.
    private void credit(APDU apdu) throws ISOException
    // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
    // the operation is allowed only if master pin is validated and authentication is done
         if (!validPIN || !authenticationDone)
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    // get the APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
              // gets the length of bytes to recieved from the terminal and receives them
    // if does not receive 2 bytes throws an ISO.SW_WRONG_LENGTH exception
              if(apduBuffer[4] != 2 || apdu.setIncomingAndReceive() != 2)
    throw new ISOException(ISO7816.SW_WRONG_LENGTH) ;
              // reads the credit amount from the APDU buffer
    // starts at offset 5 in the APDU buffer since the 5 first bytes
    // are used by the APDU command part
              short amount = (short)(((apduBuffer[6]) & (short)0x000000FF)
    | ((apduBuffer[5] << 8) & (short)0x0000FF00));
    // tests if the credit is valid
    if(((short)(balance + amount) > maximumBalance) || (amount <= (short)0))
    throw new ISOException(ISO7816.SW_DATA_INVALID) ;
    else
    // does the credit operation
    balance += amount ;
    * Performs the "init_update" security operation.
    * @param apdu The APDU to process.
    private void init_update( APDU apdu )
    // receives data
    apdu.setIncomingAndReceive();
    // checks for existing active secure channel
    if(channelOpened)
    // close the openned security channel
    try
    securityObject.closeSecureChannel(secureChannel);
    catch(CardRuntimeException cre2)
    // channel number is invalid. this case is ignored
    // set the channel flag to close
    channelOpened = false;
    try
    // open a new security channel
    secureChannel = securityObject.openSecureChannel(apdu);
    // set the channel flag to open
    channelOpened = true;
    // get expected length
    short expected = apdu.setOutgoing();
    // send authentication result
    // expected length forced to 0x1C
    apdu.setOutgoingLength((byte)0x1C);
    apdu.sendBytes(ISO7816.OFFSET_CDATA, (byte)0x1c);
    catch(CardRuntimeException cre)
    // no available channel or APDU is invalid
    ISOException.throwIt(ISO7816.SW_CONDITIONS_NOT_SATISFIED);
    * Performs the "external_authenticate" security operation.
    * @param apdu The APDU to process.
    private void external_authenticate( APDU apdu )
    // receives data
    apdu.setIncomingAndReceive();
    // checks for existing active secure channel
    if(channelOpened)
    try
    // try to authenticate the client
    securityObject.verifyExternalAuthenticate(secureChannel, apdu);
    // authentication succeed
    authenticationDone = true;
    catch(CardRuntimeException cre)
    // authentication fails
    // set authentication flag to fails
    authenticationDone = false;
    // close the openned security channel
    try {
    securityObject.closeSecureChannel(secureChannel);
    } catch(CardRuntimeException cre2) {
    // channel number is invalid. this case is ignored
    // set the channel flag to close
    channelOpened = false;
    // send authentication result
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    // send authentication result
    ISOException.throwIt(ISO7816.SW_NO_ERROR);
    else
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    * The "reset_security" method close an opened secure channel if exist.
    * @return void.
    public void reset_security()
    // close the secure channel if openned.
    if(secureChannel != (byte)0xFF)
    try
    // close the openned security channel
    securityObject.closeSecureChannel(secureChannel);
    catch(CardRuntimeException cre2)
    // channel number is invalid. this case is ignored
    // reset security parameters
    secureChannel = (byte)0xFF;
    channelOpened = false;
    authenticationDone = false;
    return;
    and the 3rd code is:
    package com.gemplus.examples.loyalty;
    import javacard.framework.Shareable;
    public interface TestInterface extends Shareable
    // public void creditPoints(byte points) ;
              public void creditPoints(byte points) ;
    Thanks in advance......

    Thanks. I know they are not the same thing. A package cannot be deleted if it contains one or more applets.
    I tried to delete by typing in the applet AID first, but it just doesn't work. And of course it doesn't work for package AID.
    Both the package and applet AID are generated in JBuilder, which looks like this, package AID(6D 79 70 61 63 6B 61 67 31),
    applet AID(6D 79 70 61 63 30 30 30 31),
    instance AID(6D 79 70 61 63 30 30 30 31)
    I've tried those three AIDs, it's not working.
    Thanks.

  • HT4847 I am unable to delete the last backup from icloud, i checked my all device setting but it still say "cannot delete icloud this time because it is in use,"Please tell me what should i do.

    I am unable to delete the last backup from icloud, i checked my all device setting but it still say "cannot delete icloud this time because it is in use,"Please tell me what should i do                             

    It still didn't work...
    Within this commonfiles\apple folder, there is only one folder, labeled "Internet Services." Within this folder, there are 6 folders, labeled:
    APLZOD.resources
    BookmarkDAV_client.resources
    CoreDAV.resources
    iCloud.resources
    iCloudServices.resources
    ShellStreams.resources
    Within all but CoreDAV and BookmarkDAV_client, there are multiple different folders, all labeled starting with a two letter (acronym I believe, for different languages) then .lproj (for example, a folder is labeled "ar.lproj".
    In each of the folders of APLZOD.resources, there is a file labeled "APLZODlocalized.dll."
    In all of the folders containing the multiple .lproj folders, there are likewise "name"localized.dll files contained.
    In the BookmarkDAV_client and Core DAV folders, they each contain only one file, "Info.plist"
    I attempted to delete all of these files, and still, the FileAssassin could not delete them. I unlocked one of them for instance, and I tried to delete the file myself (thru windows explorer and just clicking delete), and I still had the same issue of coming eventually to the window requesting me to "try again" to have permission.
    What can I do?? I'd like to avoid Unlocker, but if it really is a reliable and SAFE program, and someone knows a SAFE place to download it from, I'd appreciate it very much so!!
    thanks!!

  • I cannot fully uninstall iTunes because I am unable to delete the commonfiles\apple folder

    I received error 42404 after updating to itunes 11, and have attempted to follow the instructions at http://support.apple.com/kb/HT1925. However, my Vista will not let me delete the commonfiles\apple folder. How can I delete it?
    The day of iTunes 11's release, I updated my iTunes, then opened up the prgm to take a look at it. I was immediately brought to the attention that the program didn't install correctly (with error 42404), so I uninstalled iTunes and reinstalled it, with the same error coming up. I continued to use iTunes and see if i could ignore the issue, however I discovered I was unable to log into my itunes acount on the store.
    So I followed the isntructions at http://support.apple.com/kb/HT1925 correctly, deleted the remaining files/folders, except I am still unable to delete the C:\Program Files\Common Files\Apple\ folder. I attempt to delete it, it asks me for permission to do so, I say continue, and even after I give it permission to delete the folder, it instantly says to me, "You need permission to perform this action," and it gives me the options to cancel or try again (which immediately brings this same window up again asking me to try again).
    I've done plenty of research for the past two days, from attempting to delete the individual files within this folder via the Command Prompt, using Safe Mode, and many other options, yet nothing works. I've seen many forums advise using a program called "Unlocker," however, anyone googling the program will find that it is offered from a plethora of various sites, and I honestly dont trust programs from these sites.
    Is there ANYTHING anyone knows to do for an issue like this? All I need is that one folder deleted, and all my problems are gone!

    It still didn't work...
    Within this commonfiles\apple folder, there is only one folder, labeled "Internet Services." Within this folder, there are 6 folders, labeled:
    APLZOD.resources
    BookmarkDAV_client.resources
    CoreDAV.resources
    iCloud.resources
    iCloudServices.resources
    ShellStreams.resources
    Within all but CoreDAV and BookmarkDAV_client, there are multiple different folders, all labeled starting with a two letter (acronym I believe, for different languages) then .lproj (for example, a folder is labeled "ar.lproj".
    In each of the folders of APLZOD.resources, there is a file labeled "APLZODlocalized.dll."
    In all of the folders containing the multiple .lproj folders, there are likewise "name"localized.dll files contained.
    In the BookmarkDAV_client and Core DAV folders, they each contain only one file, "Info.plist"
    I attempted to delete all of these files, and still, the FileAssassin could not delete them. I unlocked one of them for instance, and I tried to delete the file myself (thru windows explorer and just clicking delete), and I still had the same issue of coming eventually to the window requesting me to "try again" to have permission.
    What can I do?? I'd like to avoid Unlocker, but if it really is a reliable and SAFE program, and someone knows a SAFE place to download it from, I'd appreciate it very much so!!
    thanks!!

  • I need to delete my Apple ID on my iPhone 4.  I forgot my psw for my account.  When I answer the security question, the system responds incorrect answer.  I created a new Apple iTunes account but I still unable to delete the old iTunes account.

    I need to delete my Apple ID on my iPhone 4.  I forgot my psw for my account.  When I answer the security question, the system responds incorrect answer.  I created a new Apple iTunes account but I still unable to delete the old iTunes account.

    AppleFAN7591 wrote:
    I need to delete my Apple ID on my iPhone 4.  I forgot my psw for my account.  When I answer the security question, the system responds incorrect answer.  I created a new Apple iTunes account but I still unable to delete the old iTunes account.
    How to reset your Apple ID password.
    Go to iforgot.apple.com and type in your Apple ID, then click 'Next'.
    Verify your date of birth, then click 'Next'.
    You'll be able to choose one of two methods to reset your password, either E-Mail Authentication or Answer Security Questions.
    If neither method works, then go to https://getsupport.apple.com
    (If you see a message that says 'There are no products registered to this Apple ID, simply click on 'See all products and services')
    Choose 'More Products & Services', then 'Apple ID'.
    A new page will open.
    Choose 'Other Apple ID Topics', then 'Lost or forgotten Apple ID password'.
    Click the blue 'Continue' button.
    Select the contact option that suits your needs best.
    How to reset your Apple ID security questions.
    Go to appleid.apple.com, click on the blue button that says 'Manage Your Apple ID'.
    Log in with your Apple ID and password. (If you have forgotten your Apple ID password, go to iforgot.apple.com first to reset your password with a password recovery email)
    Go to the Password & Security section on the left side, and click on the link underneath the security questions that says 'Forgot your answers? Send reset security info email to [email]'.  This will generate an automated e-mail that will allow you to reset your security questions.
    If that doesn't work, or  there is no rescue email link available, then click on 'Temporary Support PIN' that is in the bottom left side, and generate a 4-digit PIN for the Apple Account Security Advisor you will be contacting later.
    Next, go to https://getsupport.apple.com
    (If you see a message that says 'There are no products registered to this Apple ID, simply click on 'See all products and services')
    Choose 'More Products & Services', then 'Apple ID'.
    A new page will open.
    Choose 'Other Apple ID Topics', then 'Forgotten Apple ID Security Questions'.
    Click the blue 'Continue' button.
    Select the contact option that suits your needs best.

  • I have iphone4. I tried 2 update some applicaStions when I was in USA, updates installation were not complete. Coming back 2 my country Egypt, I am unable to complete the installation of the update; it is still waiting. Is there a way other application ?

    I have iphone4. I tried 2 update some applications when I was in USA, updates installation were not complete. Coming back 2 my country Egypt, I am unable to complete the installation of the update; it is still waiting. Is there a way 2 complete installation other than deleting the application that contains important data?

    I have iphone4. I tried 2 update some applications when I was in USA, updates installation were not complete. Coming back 2 my country Egypt, I am unable to complete the installation of the update; it is still waiting. Is there a way 2 complete installation other than deleting the application that contains important data?

  • Unable to open service BOE120 TOMCAT and Unable to STOP severs in CCM

    Hi Everyone,
    i have installed business object Edge series 3.0 in windows 2008 server standard edition. I also installed crystal 2008, xcelsius engage 2008 , live office, SAP GUI 7.10. I did not installed SAP Integration yet. The installation has done in 'D-drive' instead of 'C-drive'. The installation has been done successfully for above products.
    Now i am facing two problems.
    In CCM, both  TOMCAT and SIA are  in running state.
    1. when i  try to open tomcat configuration, i am getting an error as below
      ' Unable to open service BOE120 TOMCAT'
    2. In CCM, when try to stop the TOMCAT or SIA, system showing an error
      'Unable to stop the service, Access Denied'.
      But when i go to windows services, there i can able to stop tomcat.
    What could be the reasons for above error? Wait for your reply.
    Thank you all in advance

    Hi,
    when you want to stop the services via ccm are you logged in as a user with local administrator rights ?
    Regards
    -Seb.

  • Windows server update services installation failed the update could not be found

    Hi everybody...
    I have tried to install WSUS Role on windows 2008 r2 ent server. its says windows server update services installation failed.
    actually the wsus role for SCCM 2007, asper the prerequesite i have finished all other steps, only wsus role is pending.. please help..

    Thanks FinMaky,
    The keys are:
    (1) to delete WindowsUpdate registry keys, and then
    (2) enable/restart Windows Update services.
    (3) also to make sure there's no WSUS policy defining update server is in place
    This resolves my issue.
    BIG THANKS!
    Tuesday, April 05, 2011 1:53 PM
    Reply
    |
    Quote
    |
    Report
    as abuse
    FinMaky
    ---Pat

  • I am unable to delete my old Adobe CS5 suite programs

    i am unable to delete my old Adobe CS5 suite programs.....it keeps telling me that Bridge CS5 is running when i try to uninstall. i also tried restarting the computer.

    restart your computer in safe mode or Error "Installation cannot continue until... Adobe Bridge is closed" | Installation | CS5

  • Unable to start service (IfsDefault)

    After I compile following HelloWorld.java, I received the Following Error Message.
    How can I solve this probleme.
    oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
    oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
         at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:546)
         at oracle.ifs.beans.LibraryService.startService(LibraryService.java:329)
         at oracle.ifs.examples.devdoc.helloworld.HelloWorld.main(HelloWorld.java:62)
    Source:
    package oracle.ifs.examples.devdoc.helloworld;
    // Class used to represent the current user at runtime
    import oracle.ifs.beans.DirectoryUser;
    // Class used to instantiate the Document object at runtime
    import oracle.ifs.beans.Document;
    //Class used to define the attributes of the new Document object
    import oracle.ifs.beans.DocumentDefinition;
    //Class used to represent a Folder object at runtime
    import oracle.ifs.beans.Folder;
    // Classes used to create the connection to the Oracle 9iFS server
    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.beans.LibrarySession;
    // Class used to access informat5ion about the current user; in this
    // program, it's used to access the user's home folder.
    import oracle.ifs.beans.PrimaryUserProfile;
    // Class used to create the persistent Document object in the repository
    import oracle.ifs.beans.PublicObject;
    // Class used to hold the user's authentication information
    import oracle.ifs.common.CleartextCredential;
    // Class used to trap and report 9iFS specific exceptions
    import oracle.ifs.common.IfsException;
    * HelloWorld class. This class demonstrates the steps needed to
    * connect to an instance of Oracle 9iFS, create a new document,
    * insert the document in a folder, and disconnect from the Oracle
    * 9iFS server.
    public class HelloWorld
    /* Connect to the Oracle 9iFS server. The arguments are IfsService,
    * IfsServicePassword, UserName, UserPassword. The syntax
    * to run the program is:
    * java oracle.ifs.examples.devdoc.helloworld.HelloWorld ifsDefault
    * ifssys system manager9ifs
    public static void main(String[] args) throws IfsException
    /* As a rule, you should always use VerboseMessages in your 9iFS
    * classes, because it will result in better error message output to
    * help you with your debugging. Set the value to true at the start
    * of each of your programs.
    IfsException.setVerboseMessage(true);
    try
    // Start the LibraryService.
    LibraryService service = LibraryService.startService(args[0], args[1]);
    // Create a CleartextCredential object that encapsulates the user's
    // log in information.
    CleartextCredential cred = new CleartextCredential(args[2], args[3]);
    // Connect (create a LibrarySession) using the Service and
    // CleartextCredential objects.
    LibrarySession ifsSession = service.connect(cred, null);
    // Instantiate an empty DocumentDefinition object.
    DocumentDefinition newDocDef = new DocumentDefinition(ifsSession);
    // Set the Name attribute for the new document.
    newDocDef.setName("HelloWorld.txt");
    // Set the content of the document.
    newDocDef.setContent("Hello, world.");
    // Create the document object in the Oracle 9iFS repository.
    Document doc = (Document) ifsSession.createPublicObject(newDocDef);
    // Begin the foldering process. First, instantiate a DirectoryUser
    // object that represents the current user.
    DirectoryUser thisUser = ifsSession.getDirectoryUser();
    // Get the PrimaryUserProfile information for the current user.
    PrimaryUserProfile userProfile = ifsSession.getPrimaryUserProfile(thisUser);
    // Instantiate a runtime representation of the user's home folder.
    Folder homeFolder = userProfile.getHomeFolder();
    // Insert the new document to the user's home folder.
    homeFolder.addItem(doc);
    // Close the connection to Oracle 9iFS.
    ifsSession.disconnect();
    catch (Exception e)
    e.printStackTrace();
    Thinks.
    Hamoud.

    Are you running your application from a local JVM or through IAS?
    In your IAS-installation you will find a folder named "9ifs/settings". This folder should be in your classpath, if you are running locally.
    If you are running through the IAS, I believe the cause of your trouble is a partly failed IAS-installation.

  • Database Web Service Installation

    Hi All,
    Using Oracle 10g. Trying for Oracle Web Service Installation(Database Web Service).
    Looking to implement 'Database Call-In' approach with 'Exposing a SQL Query or DML Statement as a Web Service' option.
    Gone through the Web Services Developer's Guide, but unable to grasp complete process from it.
    Can anyone help me in sharing, the complete requirements/Prerequisites that i should have for implementing this web service??
    Also how can i confirm whether my app server has OC4J JAX-RPC processing servlet, WebServicesAssembler in it??
    Dont have much clue regd this implementation. Want to know,learn more for doing this. Please let me know if any other info req for
    answering my questions.
    Thanks,
    Sandeep

    very helpful Rene..
    Sharing one which was found from Web Services Developer's Guide..
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28974/gettingstart.htm#BABHFFEG
    any other method available to develop Web service from SQL Query rather than using PL/SQL package??

  • Oralce B2B 10g unable to delete the xml from ftp folder

    Hi,
    Oracle B2B is polling in to a ftp folder which is located on different IP.
    After picking-up the xml from this folder, b2b should delete the xml but, it is unable to delete the xml.
    and as a result same xml is picked-up multiple times. could you please help us here?
    Regards

    Manually I am able to delete the xml from thr FTP folder
    Also below is the text of b2b-idc log generated
    2012.06.06 at 13:46:00:296: B2BStarter thread: (DEBUG) TransportProperties.TransportProperties():markerbasedpoll=false;file.receiver.wallet_location=/etc/ORACLE/WALLETS/ows/ewallet.p12;file.receiver.polling_interval=5;file.receiver.path=/wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound;file.receiver.marker=false;marker=false;ccc=false;filename_separator=-;file.receiver.channel_mask=None;port=21;file.receiver.minimum_age=0;filename_format=%TO_PARTY%-%SERVICE%-%ACTIONNAME%-%INREPLYTO_MSG_ID%.xml;file.receiver.van=false;keep_connections=false;file.sender.channel_mask=None;file.receiver.user=gsb2bdA;file.receiver.archive_dir=null;file.receiver.markerbasedpoll=false;file.receiver.password=******;file.receiver.preserve_filename=false;transport_callout_waittime=30;preserve_filename=false;file.receiver.keep_connections=false;file.receiver.ccc=false;van=false;polling_interval=5;
    2012.06.06 at 13:46:00:336: B2BStarter thread: (DEBUG) initialize TransportReceiver: [PG_Transport_Server_new < ftp > < CIT >]
    2012.06.06 at 13:46:00:338: B2BStarter thread: (DEBUG) FileReceiver.init() started ....
    2012.06.06 at 13:46:00:375: B2BStarter thread: (DEBUG) FTPAgent.login(): Enter
    2012.06.06 at 13:46:00:377: B2BStarter thread: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:00:484: B2BStarter thread: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:00:486: B2BStarter thread: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:00:488: B2BStarter thread: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:00:903: B2BStarter thread: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:00:908: B2BStarter thread: (DEBUG) FTPAgent.login(): Exit
    2012.06.06 at 13:46:00:910: B2BStarter thread: (DEBUG) Disconnecting from hwspxv006
    2012.06.06 at 13:46:00:979: B2BStarter thread: (DEBUG) Host hwspxv006 disconnected.
    2012.06.06 at 13:46:01:003: B2BStarter thread: (DEBUG) FileReceiver.init() completed.
    2012.06.06 at 13:46:01:004: Thread-13: (DEBUG) FTPAgent.login(): Enter
    2012.06.06 at 13:46:01:006: Thread-13: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:01:077: Thread-13: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:01:079: Thread-13: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:01:080: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:01:356: Thread-13: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:01:357: Thread-13: (DEBUG) FTPAgent.login(): Exit
    2012.06.06 at 13:46:01:359: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASV
    2012.06.06 at 13:46:01:361: Thread-13: (DEBUG) FTP Command: PASV, reply:
    227 Entering Passive Mode (147,149,200,111,175,184)
    2012.06.06 at 13:46:01:362: Thread-13: (DEBUG) Passive: ip = 147.149.200.111, port = 44984
    2012.06.06 at 13:46:01:364: Thread-13: (STATUS) Connecting to hwspxv006:44984
    2012.06.06 at 13:46:01:366: Thread-13: (DEBUG) Host hwspxv006 FTP command: NLST //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound
    2012.06.06 at 13:46:01:368: Thread-13: (DEBUG) FTP Command: NLST, reply:
    150 Opening ASCII mode data connection for file list.
    2012.06.06 at 13:46:01:375: Thread-13: (DEBUG) Disconnecting from hwspxv006
    2012.06.06 at 13:46:01:377: Thread-13: (DEBUG) Host hwspxv006 disconnected.
    2012.06.06 at 13:46:01:380: Thread-13: (DEBUG) [IPT_FileRecMonitorProcessFile] Processing file BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml in transport layer.
    2012.06.06 at 13:46:01:381: Thread-13: (DEBUG) FTPAgent.login(): Enter
    2012.06.06 at 13:46:01:383: Thread-13: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:01:447: Thread-13: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:01:448: Thread-13: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:01:450: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:01:726: Thread-13: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:01:731: Thread-13: (DEBUG) FTPAgent.login(): Exit
    2012.06.06 at 13:46:01:732: Thread-13: (DEBUG) Host hwspxv006 FTP command: CWD //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound
    2012.06.06 at 13:46:01:771: Thread-13: (DEBUG) FTP Command: CWD, reply:
    250 CWD command successful.
    2012.06.06 at 13:46:01:773: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASV
    2012.06.06 at 13:46:01:775: Thread-13: (DEBUG) FTP Command: PASV, reply:
    227 Entering Passive Mode (147,149,200,111,72,215)
    2012.06.06 at 13:46:01:776: Thread-13: (DEBUG) Passive: ip = 147.149.200.111, port = 18647
    2012.06.06 at 13:46:01:778: Thread-13: (STATUS) Connecting to hwspxv006:18647
    2012.06.06 at 13:46:01:787: Thread-13: (DEBUG) Host hwspxv006 FTP command: TYPE I
    2012.06.06 at 13:46:01:789: Thread-13: (DEBUG) FTP Command: TYPE, reply:
    200 Type set to I.
    2012.06.06 at 13:46:01:790: Thread-13: (DEBUG) Host hwspxv006 FTP command: RETR BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml
    2012.06.06 at 13:46:01:793: Thread-13: (DEBUG) FTP Command: RETR, reply:
    150 Opening BINARY mode data connection for BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml (2257 bytes).
    2012.06.06 at 13:46:01:796: Thread-13: (DEBUG) Disconnecting from hwspxv006
    2012.06.06 at 13:46:01:798: Thread-13: (DEBUG) Host hwspxv006 disconnected.
    2012.06.06 at 13:46:01:834: Thread-13: (DEBUG) Conversion of file BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml to TransportMessage is completed.
    2012.06.06 at 13:46:17:355: Thread-13: (DEBUG) Move file to archive null
    2012.06.06 at 13:46:17:356: Thread-13: (DEBUG) FileSourceMonitor.moveFile(MessageOrigin): begin to move BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml in //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound to null
    2012.06.06 at 13:46:17:359: Thread-13: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:17:462: Thread-13: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:17:464: Thread-13: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:17:466: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:18:051: Thread-13: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:18:055: Thread-13: (DEBUG) Host hwspxv006 FTP command: CWD //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound
    2012.06.06 at 13:46:18:081: Thread-13: (DEBUG) FTP Command: CWD, reply:
    250 CWD command successful.
    2012.06.06 at 13:46:18:083: Thread-13: (DEBUG) Host hwspxv006 FTP command: RNFR //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound/BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml
    2012.06.06 at 13:46:18:084: Thread-13: (DEBUG) FTP Command: RNFR, reply:
    350 File exists, ready for destination name
    2012.06.06 at 13:46:18:086: Thread-13: (DEBUG) FTPClient.renameFrom(): 350 File exists, ready for destination name
    2012.06.06 at 13:46:18:087: Thread-13: (DEBUG) Host hwspxv006 FTP command: RNTO null/BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml
    2012.06.06 at 13:46:18:090: Thread-13: (DEBUG) FTP Command: RNTO, reply:
    550 rename: No such file or directory.
    2012.06.06 at 13:46:18:091: Thread-13: (DEBUG) FTPClient.renameTo(): 550 rename: No such file or directory.
    2012.06.06 at 13:46:18:092: Thread-13: (ERROR) FTPClient.renameTo(): Unable to RNTO file null/BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml', reply code = 550
    2012.06.06 at 13:46:18:093: Thread-13: (DEBUG) File has been already archived BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml in //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound to null
    2012.06.06 at 13:46:18:094: Thread-13: (DEBUG) Moved file BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml in //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound to null
    2012.06.06 at 13:46:18:109: Thread-13: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:18:190: Thread-13: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:18:193: Thread-13: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:18:194: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:18:471: Thread-13: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:18:474: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASV
    2012.06.06 at 13:46:18:475: Thread-13: (DEBUG) FTP Command: PASV, reply:
    227 Entering Passive Mode (147,149,200,111,171,164)
    2012.06.06 at 13:46:18:477: Thread-13: (DEBUG) Passive: ip = 147.149.200.111, port = 43940
    2012.06.06 at 13:46:18:478: Thread-13: (STATUS) Connecting to hwspxv006:43940
    2012.06.06 at 13:46:18:480: Thread-13: (DEBUG) Host hwspxv006 FTP command: NLST //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound
    2012.06.06 at 13:46:18:482: Thread-13: (DEBUG) FTP Command: NLST, reply:
    150 Opening ASCII mode data connection for file list.
    2012.06.06 at 13:46:18:483: Thread-13: (DEBUG) Disconnecting from hwspxv006
    2012.06.06 at 13:46:18:485: Thread-13: (DEBUG) Host hwspxv006 disconnected.
    2012.06.06 at 13:46:18:489: Thread-13: (DEBUG) [IPT_FileRecMonitorProcessFile] Processing file BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml in transport layer.
    2012.06.06 at 13:46:18:492: Thread-13: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:18:557: Thread-13: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:18:559: Thread-13: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:18:561: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:18:833: Thread-13: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:18:836: Thread-13: (DEBUG) Host hwspxv006 FTP command: CWD //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound
    2012.06.06 at 13:46:18:840: Thread-13: (DEBUG) FTP Command: CWD, reply:
    250 CWD command successful.
    Thanks

Maybe you are looking for