DTR can't remove workspace

Hi,
I have to remove a workspace from the DTR using the command line client. The workspaces command returns
the following entries:
//EXMDEV/axentiv_EXAMPLES/cons/active/
//EXMDEV/axentiv_EXAMPLES/cons/inactive/
When I enter the command:
deleteworkspace -w "//EXMDEV/axentiv_EXAMPLES/cons/active" the following error is thrown:
Could not delete workspaceConflict [(pre||post)-condition failed: x:cannot-delet
e-wsp-repository-name-not-set]
Could anybody tell me what I'm doing wrong here?
Thank you in advance and kind regards,
Heiko Nolte

Hi Heiko
Deletion of a workspace is considered as an administrative action in DTR.  Certain pre-conditions need to be satisfied in order to delete a workspace and one of the conditions is that a display-name should be set for the DTR repository.
Other pre-conditions include:
- You should have administrative privileges
- There should be no open activities in the workspace.
In order to set the repository display name, go to:
http://<host>:<port>/dtr/sysconfig/support/RepositoryConfig
(The /sysconfig/ is not shown as a member of the root. You will have to directly go to the above resource)
Provide a display name and click on 'Set'.  After this, you should be able to delete the workspace if all other pre-conditions are satisfied.
- Girish

Similar Messages

  • Can't remove workspace from DTR with shell

    Hi,
    initially I have posted this message to the Java development forum. It might suite this forum more. Sorry.
    I have tried to remove a workspace from the DTR using the command line client. The workspaces command returns
    the following entries:
    //EXMDEV/axentiv_EXAMPLES/cons/active/
    //EXMDEV/axentiv_EXAMPLES/cons/inactive/
    When I enter the command:
    deleteworkspace -w "//EXMDEV/axentiv_EXAMPLES/cons/active" the following error is thrown:
    Could not delete workspaceConflict [(pre||post)-condition failed: x:cannot-delet
    e-wsp-repository-name-not-set]
    Could anybody tell me what I'm doing wrong here?
    Thank you in advance and kind regards,
    Heiko Nolte

    Hi Heiko
    Deletion of a workspace is considered as an administrative action in DTR.  Certain pre-conditions need to be satisfied in order to delete a workspace and one of the conditions is that a display-name should be set for the DTR repository.
    Other pre-conditions include:
    - You should have administrative privileges
    - There should be no open activities in the workspace.
    In order to set the repository display name, go to:
    http://<host>:<port>/dtr/sysconfig/support/RepositoryConfig
    (The /sysconfig/ is not shown as a member of the root. You will have to directly go to the above resource)
    Provide a display name and click on 'Set'.  After this, you should be able to delete the workspace if all other pre-conditions are satisfied.
    - Girish

  • ORA-00060 during remove workspace

    I'm using Oracle Release 9.2.0.4 with Workspace Manager.
    In my application all changes are made inside long transaction, all involved tables are versioned.
    Several users work concurrently, the users can not modify the same rows (update/delete), insert are possible
    (the application generates automatically the unique primary keys using sequences)
    Any user session operates in this way:
    - Create workspace: execute dbms_wm.createworkspace('ws1');
    - go to workspace : execute dbms_wm.gotoworkspace('ws1');
    - make changes: update/delete/insert on different tables
    - exit from workspace: execute dbms_wm.gotoworkspace('LIVE');
    - merge/rollback workspace: execute dbms_wm.mergeworkspace('ws1')/dbms_wm.rollbackworkspace('ws1');
    - remove workspace: execute dbms_wm.removeworkspace('ws1');
    Sometimes the following error occurs during dbms_wm.removeworkspace:
    ORA-00060 deadlock detected while waiting for resource
    While this error can occur? Can I prevent this error?
    In the follow I include the content of oracle trace files:
    oraadmn6@cdsv00jd:SIGASP> more /app/oraadmn6/admin/SIGASP/udump/sigasp_ora_21687.trc
    /app/oraadmn6/admin/SIGASP/udump/sigasp_ora_21687.trc
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    ORACLE_HOME = /app/oraadmn6/product/9.2.0
    System name: SunOS
    Node name: cdsv00jd
    Release: 5.8
    Version: Generic_108528-19
    Machine: sun4u
    Instance name: SIGASP
    Redo thread mounted by this instance: 1
    Oracle process number: 58
    Unix process pid: 21687, image: oracle@cdsv00jd (TNS V1-V3)
    *** 2005-10-26 15:25:55.494
    *** SESSION ID:(60.2524) 2005-10-26 15:25:55.488
    DEADLOCK DETECTED
    Current SQL statement for this session:
    DELETE FROM WMSYS.WM$WORKSPACE_SAVEPOINTS_TABLE WHERE WORKSPACE = :b1
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    3927ac3e0 1145 package body SYS.LTADM
    38dd4bf40 3421 package body SYS.LT
    38dd4bf40 3286 package body SYS.LT
    38dd4bf40 4507 package body SYS.LT
    3920d4c00 1 anonymous block
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-0003002d-000083db 58 60 X 32 46 X
    TX-00020004-00008db9 32 46 X 58 60 X
    session 60: DID 0001-003A-0000094E session 46: DID 0001-0020-00001A99
    session 46: DID 0001-0020-00001A99 session 60: DID 0001-003A-0000094E
    Rows waited on:
    Session 46: obj - rowid = 00001771 - AAABdxAABAAAFILAAE
    (dictionary objn - 6001, file - 1, block - 21003, slot - 4)
    Session 60: obj - rowid = 00001786 - AAABeGAABAAAFKSAAI
    (dictionary objn - 6022, file - 1, block - 21138, slot - 8)
    Information on the OTHER waiting sessions:
    Session 46:
    pid=32 serial=112 audsid=1728581 user: 0/SYS
    O/S info: user: ri01516, term: SNWS00695019, ospid: 1716:1712, machine: SNAMRETEGAS\SNWS00695019
    program: Ustation.exe
    application name: Ustation.exe, hash value=0
    Current SQL Statement:
    UPDATE WMSYS.WM$WORKSPACES_TABLE SET PARENT_VERSION=:b1 WHERE PARENT_VERSION = :b2
    End of information on OTHER waiting sessions.
    ===================================================
    oraadmn6@cdsv00jd:SIGASP> more /app/oraadmn6/admin/SIGASP/udump/sigasp_ora_21757.trc
    /app/oraadmn6/admin/SIGASP/udump/sigasp_ora_21757.trc
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    ORACLE_HOME = /app/oraadmn6/product/9.2.0
    System name: SunOS
    Node name: cdsv00jd
    Release: 5.8
    Version: Generic_108528-19
    Machine: sun4u
    Instance name: SIGASP
    Redo thread mounted by this instance: 1
    Oracle process number: 13
    Unix process pid: 21757, image: oracle@cdsv00jd (TNS V1-V3)
    *** 2005-10-06 16:51:56.140
    *** SESSION ID:(19.2048) 2005-10-06 16:51:56.134
    DEADLOCK DETECTED
    Current SQL statement for this session:
    insert into TRATTI (FAC_TYPE, COD_GASD, TIPO_COND, STATO_FUN, CENTRO, LUN, DN, PRES_MAX, PRES_CPI, COD_SPE, LIVELLO_CIRC, ORD
    INE_LIVELLO, VISIBILITA_STR, AUTOMATIZZAZIONE, mslink) values (1100, 45860, 2, 1, 'PI', 300, 450, 24, 70, 'PI047', 4, 1, 0, '
    S', 2100000120)
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    392cf1e80 82 package body SYS.DBMS_LOCK
    392cf1e80 110 package body SYS.DBMS_LOCK
    392d561f0 2055 package body SYS.LTADM
    38dcbf928 352 package body SYS.LT_CTX_PKG
    38d4dfb28 42 GISDBA.OVM_INSERT_3842
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TM-0000ab01-00000000 13 19 X 44 32 SX
    UL-00000000-00000000 44 32 X 13 19 S
    session 19: DID 0001-000D-000006DB session 32: DID 0001-002C-0000224D
    session 32: DID 0001-002C-0000224D session 19: DID 0001-000D-000006DB
    Rows waited on:
    Session 32: obj - rowid = 0000AA54 - AAAAAAAAJAAAPi7AAA
    (dictionary objn - 43604, file - 9, block - 63675, slot - 0)
    Session 19: no row
    Information on the OTHER waiting sessions:
    Session 32:
    pid=44 serial=1406 audsid=1556312 user: 118/GISDBA
    O/S info: user: ri50000, term: SNWS01146378, ospid: 1876:1872, machine: SNAMRETEGAS\SNWS01146378
    program: Ustation.exe
    application name: Ustation.exe, hash value=0
    Current SQL Statement:
    UPDATE GISDBA.TRATTI_LT
    SET ltlock =
    sys.lt_ctx_pkg.checkngetlock(:b4, ltlock, nextver,
    :b2, 0,'UPDATE'),
    nextver = sys.lt_ctx_pkg.getNextVer(nextver,:b3,:b2)
    WHERE ROWID = :b1
    Thanks, Alessandra

    Hi,
    Do any of the versioned tables that you are using have RICs defined on them ? If so, you may find useful information regarding deadlocks in the following thread.
    RIC in OWM - ORA-20171 deadlock detected ...
    A deadlock will occur when 2 different sessions are waiting on a resource that has already been acquired by the other session.
    The easiest example of this are multiple updates to the same table:
    -- Session 1
    SQL> update scott.test_tab set value=10 where id=1 ;
    SQL> -- wait for session 2 to execute its first statement
    SQL> update scott.test_tab set value=10 where id=2 ;
    -- Session 2
    SQL> update scott.test_tab set value=10 where id=2 ;
    SQL> -- wait for session 1 to execute its first statement
    SQL> update scott.test_tab set value=10 where id=1 ;
    At this point 1 of the 2 sessions will fail due to a deadlock. Please note that a deadlock will not occur when 2 sessions simply update the same row. It needs to have already acquired a lock on a row that the other session will be updating.
    The same principles can be applied to workspace manager. During each of the workspace operations(merge, remove, rollback, etc) we will acquire a lock on the current workspace and also the parent workspace in the case of remove and merge and a few other operations. If you set the auto_commit to false than those locks are retained until the session either commits or rolls back.
    So, if two session successfully perform a workspace operation without committing, and then each of them tries to do another workspace operation which requires the lock held by the other session, then a deadlock will occur. This could also happen from a combination of dmls and workspace operations if you do not commit between them.
    It is hard to say from the description that you gave exactly what is happening in your case. It will depend on when the commits are occurring and if you set auto_commit to false during any workspace operations. If you have a simple testcase that is able to show the deadlock occurring, then I would be glad to look at it and make any further recommendations. I would also suggest to upgrade to the latest version of workspace manager(9.2.0.5.1) if you have not already done so. You can find your current version by querying the wm_installation view. The latest version of workspace manager is always available on Metalink.
    Regards,
    Ben

  • How can I remove my account on an iPad and add an existing one

    how can I remove my account on an iPad and add an existing one

    Or, how can I change the account on an existing iPad without restoring / formatting it?

  • How can I remove LABELS from my gmail account?

    How can I remove unwanted LABELS from the side bar unsung gmail?

    I assume you're using GMail as your primary e-mail account?  Try this.  This is how I am setup.  Not only will it move all your contacts to your phone but any changes made in GMail or on the iPhone will be sync'd with the server.
    http://www.google.com/support/mobile/bin/answer.py?answer=138740
    Note... I think this will delete your existing contacts from your device.  You will want to use iTunes to back them up and get them imported into GMail before you sync your device wtih GMail.

  • How can we remove the scroll bars from the table?

    Hi,
    I have a dynamic table. Currently the table appears with the scroll bars. But there is a requirement that the scroll bar should not appear and the table should stretch in the entire page. How can this be achieved.
    Thanks in advance
    Nita

    Thanks Mohammad for the reply.
    Was able to remove the scroll bars by using only the styleClass as AFStretchWidth. But there is a default partition in middle of the page still? Can i remove that too by any way.

  • How can we remove the following zeros from quantity field ?

    Hi All.
    how can we remove the following zeros from quantity field while populating ALV by using FM REUSE_ALV_GRID_DISPLAY ?
    eg:getting output zqty = 2.000
    but i need           zqty = 2.
    help me to reslove this issue.
    Regards.
    jay

    Hi,
      While populating the field catlog do the following thing to   avoid zeros.
      wa_fieldcat-tabname = 'I_OUTPUT'.    " Curr
      wa_fieldcat-fieldname = 'FWAER'.
      wa_fieldcat-seltext_l = text-023.
      wa_fieldcat-no_zero = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR  wa_fieldcat.
    Thanks,
    Khushbu.

  • How can we remove asterix from the amount

    i have problem wen i am trying to get amount it uis coming in this manner
    ***100000**
    how can i remove it
    pls let me know

    Here is one logic:
    data text type string.
    text = '**1000**'.
    replace all occurrences of '*' in text with ''.
    write text.
    Check out this link too:
    do not want asterix to be padded in left of currency value..
    Hope it helps you.

  • Can't remove my credit card from account.

    Why i can't remove my credit card from my account. when i remove credit card (select none)already after abt 5-10 min i check my account again my creditcardd will be appear. I try to remove from PC and on my iphone.

    Answered here:
    https://discussions.apple.com/message/24655077#24655077
    So, either do as directed, or don't get anything from the iTunes/app store.

  • How can we remove the key from the dataset which has json

    uid
    id
    Json
    4588
    51
    { "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
    4589
    52
    { "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
    4590
    53
    { "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
    I have the above dataset resulting from merge operation .
    UID -Integer data type
    ID- Integer data type
    Json- String data type holding json document
    How can I remove  the " key" element from the json field  and make my dataset look like 
    Expected output which will strip of key value pair from the json column
    uid
    id
    Json
    4588
    51
    { "element1":{ "a":10 "b": "test1" } }
    4589
    52
    { "element1":{ "a":10 "b": "test1" } }
    4590
    53
    { "element1":{ "a":10 "b": "test1" } }
    Mudassar

    Hello Mudassar,
    In SQL Server / T-SQL we don't have a native JSON support, so you would have to implement a solution on your own = parsing the string and remove the "Key" + it's value.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How can we remove the commas from the Formula value in SAP BW BEx query

    Hi All,
    How can we remove the commas from the Formula value in SAP BW BEx query
    We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
    Regards
    Venkat.

    Do you want to remove the commas when you run the query on Bex Web or in RSRT?
    Regards

  • How can i remove a card from iTunes ?

    How can i remove a card from iTunes ?

    If you want to remove a credit/debit card from your account then on your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your iOS device then tap on your id in Settings > iTunes & App Store and tap on 'View Apple ID' on the popup and log into your account  - that should also give you a payments link on your account's page.
    Changing payment info : Change or remove your payment information from your iTunes Store account (Apple ID)
    If you don't get the 'none' option on the payment details screen : Why can’t I select None when I edit my Apple ID payment information?

  • How can I remove a card from my apple account I have an IPhone4

    I entered a card to make a purchase it was successful but now when I went to update some things it's saying it's an issue and I can't remove the card unless I add a new card. i don't understand why it would go thru if it didn't actually go thru???? Can someone help me?

    Try to contact iTunes support and see what they can do for you
    http://www.apple.com/support/itunes/contact/

  • How can i remove credit card info from apple id?

    How can i remove credit crad info from my apple id?

    I tried to enter it as "none" but it didnt work. It keeps saying i need a card number and all that. But then, i clicked "same as shipping information" and just entered my name and all the adress stuff, put my credit card number as 0 and my security code as 0, put in a random date and clicked save.
    -Just a tip for anyone else who couldnt figure it out like me

  • HT202667 how can I remove credit card from apple id ?

    i don't want to use apple id with credit card anymore i purchased enough apps for my apple device so now i wanna remove it so how can i remove credit card from apple id

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your iPhone then tap on your id in Settings > iTunes & App Store and tap on 'View Apple ID' on the popup and log into your account  - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/en-gb/HT1918
    If you don't get the 'none' option on the payment details screen : http://support.apple.com/en-gb/TS5366

Maybe you are looking for