Unable to Delete client

hi
i have creat new  client 300, but it is not working properly that's why i want to del it but unable to  delete this , also i have test run to delete client showing error timeout
" Runtime Errors         TIME_OUT
Date and Time          26.03.2009 10:28:43
What happened?
     The program "SAPLSCCM" has exceeded the maximum permitted runtime without
     interruption and has therefore been terminated. "
plz tell me how can i delete that client
regard

hi
we execute the command of truncate table ddlog and run again the r3trans after finishing it without error log is as under
4 ETW000 Summary:
4 ETW000
4 ETW000 Totally 3 table entries deleted.
4 ETW000  [dev trc     ,00000]  Fri Mar 27 12:20:10 2009                         761620839  5072.293064
4 ETW000  [dev trc     ,00000]  Disconnecting from ALL connections:               757540  5073.050604
4 ETW000  [dev trc     ,00000]  Disconnecting from connection 0 ...                  993  5073.051597
4 ETW000  [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=00000000050FE5A8,usrhp=00000000050F9738)
4 ETW000                                                                            3700  5073.055297
4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=00000000050FE5A8,srvhp=00000000054F30E8)
4 ETW000                                                                             525  5073.055822
4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     599  5073.056421
4 ETW000  [dev trc     ,00000]  Disconnected from connection 0                        17  5073.056438
4 ETW000  [dev trc     ,00000]  statistics db_con_commit (com_total=2, com_tx=2)
4 ETW000                                                                              19  5073.056457
4 ETW000  [dev trc     ,00000]  statistics db_con_rollback (roll_total=0, roll_tx=0)
4 ETW000                                                                              17  5073.056474
4 ETW000 Disconnected from database.
4 ETW000 End of Transport (0000).
4 ETW000 date&time: 27.03.2009 - 12:20:10
after that we stop mmc and db also restrat the system but when we logon to the client 300 i connected to this , so tell me deletion is performed or not
rgds
imran

Similar Messages

  • UNABLE TO DO CLIENT DELETION

    Hi
    Im trying to delete a client with the virtual user i.e SAP* and password as PASS,as im not able to create a user in that client as it asking to maintain company address...and when im trying to provide the company address its not giving any F4 fields to choose...is there any solution where i can delete the client.
    Regards
    G.prashanth
    Edited by: Csaba Szommer on Feb 1, 2012 10:37 AM

    Hi,
    go to client which u want to delete->scc5->delete client using background process.After this u need to login to another client and delete entry in SCC4.
    or
    U can delete by using R3trans at os level
    Check this
    http://www.sap-img.com/basis/proper-way-to-delete-a-sap-client.htm
    unable to Delete client

  • 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.

  • Unable to delete file from trash because it's "in use" not locked.

    I'm unable to delete a file from trash. I keep getting the following message: "The operation can’t be completed because the item is in use."  I've confirmed the file isn't locked and I've tried renaming it but still no luck. I'm running OSX 10.8.4. Any thoughts?

    Check the 'More Like This' discussions on the right hand column.  I suspect you may find the answer there.
    Ciao.

  • Unable to delete Address Book File

    I am unable to delete nor copy over an Address Book file that I have on an external HD connected via Airport Extreme. When I connect the HD directly to my Macbook Pro, I am able to delete the file - but not via Airport Extreme. When I attempt to delete the file, I get a message from Trash as follows: The operation cannot be completed because the item "Metadata" is in use. Same message when I attempt to replace the file with a new file. In other words, I am unable to use AE to transfer my Address Book file to my external HD, unless I change the name of the file. What is going on here?

    Hello Bob.
    You may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.

  • BOBJ is unable to delete file from OFRS

    System Info:
    Business Objects Enterprise XI3.1 SP3 FP3.2
    Windows 2003 Server Enterprise Edition SP3
    Oracle 10.2
    Java 1.6.0_20
    APACHE Tomcat 5.5.20
    2 clustered servers
    FRS located on SAN Disk Drive connected to primary server (Winchester1)
    We use WebIntelligence exclusivly.
    We are receiving the following error in our event log on our clustered server:
    Source: BusinessObjects_CMS
    Category: General
    Type: Warning
    Event ID: 33018
    Computer: Winchester2
    Unable to delete file from the file repository. Make sure a File Repository Server is running and registered and enabled. Details : Failed to connect to the File Repository Server output. Make sure the server is up and running.
    We have verified the FRS is running and we are able to connect to it from our clustered server (Winchester2).  The security settings are set to full control for the admin group and the users have Read/Write access to the file store folders.  The errors are filling up our event logs and causing issues with the servers.  this appears to be happening each morning and the file it is trying to delete is an .xls file.
    We have a ticket open with SAP Support but they are just as baffled as we are and keep sending us from one group to another and tell us they need to look at it on thier end and they will get back to us.
    Has anyone had this happen on their system?

    Hi Richard, did you ever get this issue resolved?  We are having a similar issue on XI R3 SP4 using NAS/CIFS shares for our File Stores.  We see this issue mainly after our servers are patched and a full environment restart is initiated.  Like you, our event logs fill up with so many error messages I cannot pinpoint exactly when the issue starts happening.
    Any help would be much appreciated.

  • Unable to delete a file

    I'm unable to delete a a file from the filesystem.
    String fileName = "dummy.xml"
    boolean delete = (new File(fileName)).delete();It's not deleting this file from the filesystem.

    Can anything else delete that file? Is the fileopen?
    I don't know what you mean by can anything else
    delete the file.I mean can you delete the file from the command line, a window, whatever. Is it just Java's delete that is having this problem or is it the file system?
    No this is not opened/or use.How do you know?
    DO I have to specify a path for this. Certainly. How else would Java know which file to delete?
    If yes, please read on ........
    the path where this xml file resides could by
    anywhere in the file system. If it is how do I access
    it since there is no specific location (it is left to
    the user's choise to save the file anywhere he
    wants)Keep the user's choice.

  • 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!!

  • Windows Server 2012 R2 RDS: RDS Users are unable to delete files from their desktop

    Hello,
    We are working with Windows Server 2012 R2 RDS. We also implemented User Profile Disks. This is all working fine without problems. The only issue I have is that normal users are unable to delete files from their desktop. They are getting a message:
    you'll need administrator permission to delete this file, with the prompt for administrator access.
    They can edit, copy, rename, cut and paste files. But they cannot delete a file from their desktop.
    I checked the security permissions of the files on the desktop (for example a normal self-created PDF file) and the users are owner and have "Full Control" over the files.
    I checked the file permissions and took a look under "Advanced", selecting the specific domain user and checked the "Advanced Permissions" and the user has the "Delete" option checked. So he should be able to delete the
    file.
    I am guessing this is UPD related issue, or something in GPO. But I already unlinked the GPO objects, that I felt could be the source of this problem, but without results.
    Could someone give me a hint on where to look? It's kinda annoying to users, that they can't delete their own files.

    Hello Bria,
    What you should check first, is the NTFS permissions on the User Profile Disk to begin with. See if the user has full control over the items that are in the UPD.
    Also check the GPO's that are enabled for the user and computer account. You can check that by running: gpresult /h <path>\gpresult.html
    There are two GPO settings that could prevent the user from deleting his/her own items: 
    User
    Configuration\\Policies\\Administrative Templates\\Windows Components\\Windows Explorer\
    Hide these specified drives in My Computer
    Prevent access to specified drives in My
    Computer
    There might be other GPO settings, that block deleting items on the UPD, but can't think of any out of my head.
    I can only think NTFS and GPO settings that might prevent the user from deleting items. In my case it was a GPO setting, that I didn't suspect.

  • Unable to delete songs from my iPad 2

    Last night for the first time ever I had problems updating iOs (version 7.0.4) on my iPad 2. I kept getting one of several messages, for example, saying: iTunes has detected an iPad in recovery mode. You must restore this iPad before it can be used with iTunes. I went through the update three times before it finally worked.
    Then I found that I had every song that I had ever purchased cluttering up -- and filling up -- my iPad. Although in the past I was able to delete either a single song or an entire album, I am now UNABLE TO DELETE ANY SONG.
    I have the iTunes setting on Manual update and have attempted to completely disconnect the disgusting iCloud feature. However, it appears that iCloud is NOT disconnected.
    I happily use the iPad 2 ONLY for a very few uses on a daily basis. I wish to control ALL my music from my iMac.
    I've been with Apple since 1984, but I'm seriously thinking of ditching this iPad 2 for a Samsung product.
    Any assistance will be appreciated.

    Somehow I got 12 songs on my ipad mini that I could not remove.
    I stumbled across a solution.  Plug in the ipad and UN-check "sync music" to remove all but the remaining unwanted song.  Find the song in your itunes library and right click these unwanted songs and RE-ADD it directly to the ipad.
    The ipad should automatically re-check "sync music" and show one song being synced.  Now manually UN-check the sync music box again and the warning will come up "are you sure...existing songs...removed".  Select remove and click the "apply" button in itunes.  Once the changes are applied, you should see the song remove itself from your ipad.
    Good luck!

  • Unable to delete files from powerpoint

    I just installed MS office for iPad. I am experiencing an annoying problem with Powerpoint. When I download and open a file from OneDrive, oftentimes I am subsequently unable to delete it from within the iPad powerpoint program. I get a message that the file cannot be deleted because it is in use. I am able to delete the file from OneDrive on my computer no problem, but it remains on the iPad. Clearing the file cache from settings does not do the trick. I have to uninstall and reinstall powerpoint to get rid of the undeletable files. Am I missing something here? Thanks.

    I just installed MS office for iPad. I am experiencing an annoying problem with Powerpoint. When I download and open a file from OneDrive, oftentimes I am subsequently unable to delete it from within the iPad powerpoint program. I get a message that the file cannot be deleted because it is in use. I am able to delete the file from OneDrive on my computer no problem, but it remains on the iPad. Clearing the file cache from settings does not do the trick. I have to uninstall and reinstall powerpoint to get rid of the undeletable files. Am I missing something here? Thanks.

  • Unable to delete files from encrypted external SD Card using File Commander

    I've run into some trouble trying to delete the directory com.spotify.music from my external SD Card (encrypted) after a hard reboot using the reset button next to the sim card.
    I need to do this for the Spotify app to work (FC on starting it) and I'm currently unable to delete the folder and its contents from Sony provided file explorer(FC File Commander).
    Is there a way to delete this app from adb or other command line tool or how should I go about this? Developer options are enabled because I'm learning to develop apps. Not particularly keen on rooting or otherwise format my SD Card but it's an option if there are no other ways to do it. 
    I can see the contents of my card using File Commander just fine. Spotify app is uninstalled, I tried remove cache and data before uninstall also.

    Thommo wrote:
    Are you able to delete files via your Pc or are you able to remove the card from your phone and connect it to a Pc for file deletion - There is a free program called Unlocker currently on version 1.9.2 which is excellent at deleting files that don't want to be deleted - You would install the program then right click the file and choose Unlocker and then when the program starts choose delete
    I guess he will not be able to move the SD card to the computer since it's encrypted and is working only with that particular device, but he should be able to access it via PC.
    If you can try to uninstall Spotify from your phone. I assume Spotify is not working due to some rubbish inside it's directory, but on the other hand you can't delete the folder because it may be used by Spotify. If you uninstall app folder may be unlocked.
    Best regards,
    Sergio PL
    Xperia Z1 / Nexus 7 (2012)

  • Unable to delete file on NW6.5 sp8.

    I'm unable to delete a file on a NW6.5 sp8 server.
    This is only a copy, so it's not mission critical, but it's starting to frustrate the hell out of me!
    A colleague was given a helpdesk problem about a misbehaving pdf, he made a copy of the pdf in a different directory to do some testing but now finds that he cannot delete this copy!
    I've tried deleting it using Windows Explorer, Dos, Filer.Exe, Console One, and possibly one or 2 others. I get various errors but they all seem to infer that either I'm using a user who doesn't have the necessary rights (I'm using our standard admin user, so that shouldn't be the problem) or that the file is in use by others. Using the JRBUtil 'Openfile.exe', I find that the file is being used by 4 instances of my admin user.
    If I try and disconnect these instanceswith 'Openfile.exe', I get confirmation that the connections have been terminated, but I'm still not able to delete the file. If I go back to 'Openfile.exe' it tells me that the same 4 connections (same connection numbers throughout) are still in use! If I try to close the connections using the Console Monitor then it appears to close the connections, they disappear from the list and if I re-check then they are still not visible, but if I go back to 'Openfile.exe' then it reports that the connections are still current! I've tried using iManage to close the connections, but with no success!
    The server in question is our main data server so the chances of rebooting it just because it 'may' fix this problem is unlikely to happen.
    Again it's only a copy and not mission critical, but it would be good to find an answer to this. So, is there a command or utility that will just delete a file when asked?
    Many thanks
    Ian.

    Originally Posted by dgersic
    On Tue, 27 Sep 2011 10:56:02 +0000,
    If the server thinks the file is open / locked, you will not be able to
    delete it without resolving that first. You could try dismounting the
    volume, which should force the OS to close the file.
    David
    I think that it is this open / locked issue that is causing the problem. The idea of dismounting the volume sounds like a less brutal version of my original idea of having to reboot the server to clear the connections.
    However, as I said to Tom above, I've got to try and get this past the server admin, and as this is only a copy on our main data server which is in constant use, I'm not sure that I'll get permission to try this. Unfortunately I think that I may have to accept that I'll have to wait until the server is taken down for a more important reason. Frustrating, but that's life.
    So, thanks to all who replied and for the suggestions. I'll certainly log them for future use, so if nothing else this has been a good learning experience for me.
    Ian
    (Now I've just got to work out how to close this thread!)

  • "unable to delete" file on 6267

    I have a Nokia 6267 S40 phone made for Malaysia and I am in the US.
    I’ve got a file that I cannot delete from the phone memory (no mem card) which seems to be causing problems in other applications. It is a downloaded video file with the extension .3gp.
    When I try to delete it, I get the message “unable to delete” or if I mark it and I try to “delete marked” I get the message “item being used by another application”.
    When I try to open the file, the phone locks up, then I have to remove the battery.
    I am unable to rename the file, I get the message: “unable to rename”.
    If I try to move the file and get message “file in use, unable to move”.
    Sometimes I cannot even open the “gallery,” and get the message “file system is busy”
    Other problems:
    Cannot access the internet, the phone tries, but does not get past “processing data” then if I try to exit, phone locks up.
    Cannot open any applications, however I can open the folders
    Calculator will not open
    Games will not open
    Cannot save a note, will edit but not save, phone locks up if I try to save, same happens with the calander.
    I’ve tried restoring the factory settings, both “settings only” and “restore all.” In both instances this message appears, “Restoring settings. Please wait.” And I wait and wait and wait…and then I remove the battery and try something else.
    The only way I seem to be able to do anything with this particular file is if I am able to open the “gallery,” highlight the file, select options, select use video clip--as contact video then go into that contact and choose to edit—then I can view the video.
    I have tried using PC Suite also, with the same results. When I try to delete from file manager I get this error: “Operation failed. A file or folder you are trying to delete, rename, move or copy is protected from access.”
    Please help.

    It seems that this file got corrupted. An advice: never download and save files into the cellfone memory. Save them in the memory card to avoid these problems.
    If there is a nokia care centre in the USA, better take it now. Or try to upgrade (not a sure thing that fix the problem)
    Sharing is Good!!!
    Nokia5200; Sony Ericsson w710i; Nokia 3250; Nokia 5610XM

  • Unable to delete applications from my i-pad 2

    I have delete some applications on the ipad from the  computer, but they are still on the ipad and i am unable to delete them from the ipad itself !! ? any help please ???

    Some apps, i.e. the Apple standard ones like iTunes and Newsstand, can't be deleted.
    For the rest, hold on the icon until it goes jiggley, then tap the small cross in the left corner.
    http://www.apple.com/support/ipad/assistant/application/#section_5

Maybe you are looking for

  • I can't sign in to iCloud on my computer but can on my phone.

    Hello to all. Starting friday  when i did  a clean install i tried to sign  in to icloud. It gave me an error which can be found here. Http://Tinypaste.Com/ece6d1dc i then checked that all of my stuff  was correct by signing in to apple store and oth

  • I can't restore my ipodclassic.how can i restore?

    i mistakenly formated my 160gb ipodclassic 2 momth ago.then after every time i connect my ipod with my pc,itune says"itunes has detected an ipod that apears to be corrupted.you may need to restore your ipod.....".when i try to restore,it says sometim

  • How do I connect both TCCP cards to the LAN?

    Hi, I cannot find this in the documentation anywhere so I apologize if this is rather simple. How do I connect both TCCP cards of 15454 to the LAN? I know the cards have a hub between them so plugging them both into a single switch (or multiple switc

  • Using ORADIM to create instance on Oracle 10g R2, windows platform

    Please I used the below command to create database instance to startup at the same time as of the OS is starting up. ORADIM -new -sid ORCL -SRVC OracleServiceORCL -STARTMODE auto -SRVCSTART system -PFILE C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\INITORC

  • Software updater with Windows 7

    Just tried installing on my PC - and it will not load with Windows 7 !