Problems deleting portal user any 1 ?

ERROR at line 1:
ORA-01086: savepoint 'DELETEUSER_SAVEPOINT' never established
ORA-06512: at "PORTAL30.WWSEC_API", line 1471
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 849
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 669
ORA-06502: PL/SQL: numeric or value error
using this
PORTAL30_SSO.WWSSO_API_USER_ADMIN.DELETE_USER
WWSEC_API.DELETE_PORTAL_USER
could someone tell me what is going on
thanks

If I understood it right... you have a service to del
a child and all children / related objects of it.No, it's just that I have one item, say of type person, and a person has n phone numbers. In my application there's a table component which displays a list. This list is populated with the phone numbers of that person (I cannot use the person.phones list directly, so I do a tab_list = person.phones when logging in). Next to that table there are buttons to add and delete phone numbers.
When a user clicks on the "add" button, an item is added to the tab_list and when the user saves his changes these statements are executed:
// Delete old phones list
List<Phone> lp = person.getPhones();
for (int i = 0; i < lp.size(); i++) {
Phone p = lp.get(i);
service.removePhone(p);
// Replace with new phones list
person.setPhones(tab_list);
service.mergeEntity(person);
I am not sure about your mergeEntity stuff.. You say
you want to insert new objects.. so why merge?I'm developing a JSF application with several forms to edit data. Basically all entities I deal with are related to a single Person object, so when the user clicks the save button I do a service.mergeEntity(person) and changes to all related entities are made persistent via the cascade option.
I hope this clarifies a bit... In case you know any tutorials/examples that show how to implement a load-save-mechanism like that I'd be happy to know (one type of object being queried for, all related objects retrieved via annotations, data being entered/updated in JSF-JSPs using #{mainObj.relatedObj.someData} expressions bound to input fields, and then the whole construct persisted using serivice.mergeEntity(mainObj);.
Thanks for trying to help anyways!

Similar Messages

  • Programmatically Delete Portal user Cache

    Hi! I have a problem re-using the "Portal User Profile" portlet to put on my own portal page. It is not able to execute unless i am Portal Administrator (PORTAL). The requirement is that I need to clear the cache for a Particular User.
    <br><br>
    I tweaked the Portal User Profile Portlet and from the "View Source", was able to construct the following HTML and place it in an "HTML Portlet". But when I submit, it doesn't work. Am I missing something...? Any Help is greatly appreciated.
    <br><br>
    Thanks
    Ram
    <br>
    HTML Code
    <head><br>
    <script type="text/javascript">
    function buttonClearCacheSubmit(){
         document.UserProfile.p_username.value=document.UserProfile.username.value;
         document.UserProfile.username.value="";
         document.UserProfile.submit();
    </script>
    </head><br>
    <font style="portlettext1">Clear the cache in Web Cache for User</font><br>
    <form name="UserProfile" method="POST" action="/pls/portal30/portal30.wwsec_app_user_mgr.edit_user" enctype="multipart/form-data"><br>
    <input name="username" type="text" size="30" maxlength="30"><br>
    <input type="button" name="p_request" value="OK" onClick="javascript:buttonClearCacheSubmit()"><br>
    <input type="hidden" name="p_username" value=""><br>
    <input type="hidden" name="p_clearcache value="Y"><br>
    <input type="hidden" name="p_action" value="TAB1"><br>
    <input type="hidden" name="p_back" value="http%3A%2F%2Fhostname.domain%3A7778%2Fportal%2Fpage%3F_pageid%3D428%2C61204%26_dad%3Dportal30%26_schema%3DPORTAL30"><br>
    </form><br>

    I'm glad with this (default) behaviour, although I would have no problems with a cascaded delete as an option.
    We use portal for our intranet site, and a default cascaded delete, would mean that if a worker leaves our company, and therefore his account would be deleted, all his contributions to the intranet would be deleted too.
    Ton

  • Deleting portal users using APIs

    Hi
    We are deleting users from portal through a java class using
    JBDC( using prepareCall and executeUpdate) . We can successfully
    delete the user from the login server using the procedure
    PORTAL30_SSO.WWSSO_API_USER_ADMIN.DELETE_USER(). However, when
    we try to delete the user from portal30 using
    PORTAL30.WWSEC_API.DELETE_PORTAL_USER()
    we get the following errors
    ERROR at line 1:
    ORA-01086: savepoint 'DELETEUSER_SAVEPOINT' never established
    ORA-06512: at "PORTAL30.WWSEC_API", line 1471
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWCTX_SSO", line 849
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWCTX_SSO", line 669
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 1
    We can run the delete_portal_user procedure successfully as
    portal30(the owner of the portal30 schema). But when we try to
    delete a user as another dba user, we get the error shown above.
    This user has full sysdba priveleges on the portal30 schema. The
    workaround is to create another database connection in the Java
    class for the portal30 user. However they prefer to run it
    as the dba who have created the user but not as portal30.
    I checked in the JPDK documentation but there is no API to delete
    users.
    Any help is greatly appreciated.
    Many Thanks
    Raja

    I get the same thing would any answer this question please ?

  • Delete Portal user = wwsec_person$

    Hi,
    For my project I need to remove users from our portal system.
    Users are delete from OID with dbms_ldap.delete_s.
    After performing a successful delete, we are not able to user the deleted user =&gt;OK
    This user still appear on table wwsec_person$. Is this logical ? Do I need to drop the portal user ?
    I try to create a new user with the same user_name and it works, user is created on OID.
    Thanks, Eddy.

    I'm guessing you are trying to do this from a tool outside portal such as sqlplus, SQL Developer, Toad, ...? If so, I think it is hiccuping because you don't have a lightweight identity -- you need to be logged into portal to access that table. Two choices -- delete the entry via the DBA tab in navigator when logged in as an administrative user (portal or orcladmin for example) or set context in your database session by running "exec PORTAL.wwctx_api.set_context('portal','<portal's lighweight password>');. Note that password is the user password for portal when logging in the portal GUI, not the PORTAL schema password.
    Rgds/Mark M.

  • Deleting portal DB users in EP6 SR1

    Hi
    When we try deleting database users under User Administration->Users(a few users have the same userids in portal DB and MS-ADS) in the portal we get a User Management Exception. (We get the same exception with user administration using http://<server:port>/useradmin).
    When we go back to Search under Detailed Navigation in the portal we get the following error message:
    "The iView has timed out. There is no cached content to display.Click 'Reload' to retrieve updated content. You may need to wait for the cache to retrieve the content from the source. Reload".
    I tried setting the property but it didnt work.
    Any idea these issues fixed with SP Stack 10?
    Thanks in advance
    Premal

    Hey Premal,
    You can try deleting the users from the admin tool -> server -> services -> UM Provider.
    Regards,
    Natti Nachmias.

  • Create user problem in portal 9ias release 2

    I have 9iAS release2 running. I am able to create new portal user. But when I try to create user using
    wwsso_app_user_mgr.create_user and wwsec_api.add_portal_user I get
    following error
    ora-06510: PL/SQL: unhandled user-defined exception
    Any idea why?
    How could I create portal user?
    I need to create user automatically through scripts.
    Thanks,
    Diego

    Diego,
    I have been working on this problem as well, that of creating users and assigning them to groups via pl/sql. What I have found is that non of the wwsec apis work. It appears that al user and group stuff need to be managed via the DBMS_LDAP package. There are examples of adding users in the DBMS_LDAP reference. Adding and removing from groups is a little harder to find info on, but there is an example out there by Erwan Lancien (Ithink) that I hae been able to get to work for my situation with minor changes.
    Try hitting this link for the discussion -> Re: FOREIGN KEY Constraint And Table Lock
    Hope this helps,
    Curt

  • Problem with replies in Maverick's mail.  Originating emails send fine.  When replying to an email (various addresses) the reply is hung up and can not be sent.  Option becomes put in draft, delete, etc.  Any suggestions would be helpful

    Problem with replies in Maverick's mail.  Originating emails send fine.  When replying to an email (various addresses) the reply is hung up and can not be sent.  Option becomes put in draft, delete, etc.  Any suggestions would be helpful.  Mid 2013 iMac.

    I don't know how rare this is.  I went a week or so without a problem, and now it's starting to recur.  Also, in some instances, an email will look unsent (remain in the outbox on the Treo), but it has been sent, and recipients are replying while I'm trying to figure out what is going on.  Further, it will send the same email over and over during this madness.
    This is a show stopper.  If there isn't a software fix soon, I may chuck this phone in the garbage.
    Post relates to: Treo 800w (Sprint)
    UPDATE:  The problem comes and goes.  The next day, no changes to the treo, everything workeds.  Now i'm suspecting the sprint server, and how it/the phone responds from failing to send while roaming.  I've since turned off roaming, and haven't had a problem for several days.
    Message Edited by slrichardson on 12-22-2008 01:12 PM

  • Problem assigning internet user Role through portal

    Hi All,
    Please could someone help me with the following:
    I am creating a registration process that creates a new CRM Business partner with contact person and internet user roles. When i run the Bapi from with in CRM everything works fine however when i run my jsp dynpage application and call the same bapi, the internet user that i create does not have any of the logon details or roles. Does anyone know why this is? i am using the same user when running in crm and the portal.
    Many thanks in advance
    Calvin

    Hi Sunil,
    Thanks for your reply. answers to your questions:
    1. Yes, all portal users are maintained and have the same roles as CUA users. Portal authenticates against CUA.
    2. Yes the user is created correctly on the backend. i have created a BAPI that creates users, BP's and assigns roles. This Bapi works perfectly when run in CRM but as soon as it is accessed via the portal the internet user role does not have all the required information.
    Many thanks
    Calvin

  • Deleted a user but did not save any space

    I used migration assistant some time ago and accidentally created a second user in the process. It took me several months to transfer all my files from the secondary user to the admin user (approximately 175 gigs worth) and I finally finished today.
    I then deleted the secondary user (picked the bottom option), but did not see any decrease in size even though I selected the option to delete the users files.
    I hunted around and found an old user profile but when I selected info on the file, I noticed that it was very small.
    I am not sure where these files are hidden, but I definitely want to delete them permanently.
    Any suggestions on how to clear this up would be greatly appreciated.

    When you delete a user account you have four options. The last one is to remove it completely. The other three allow you to retain it or archive it. The last option is not the default. So the account is still in your /Users/ folder, probably in a folder named Deleted Users. Drag to the Trash then empty.

  • Problem deleting users with delegated admin

    Hello,
    I seem to be having a problem deleting users with delegated administrator. I am using JES 2005Q4.
    Here is what I do:
    I set Inetuserstatus and mailuserstatus to deleted. Then run msuserpurge to delete the mail box. This seems to be working fine. Then I do a commadmin domain purge and it will actually delete the persons ldap record, but it does not delete the o=pab records or the o=PIserverDB records.
    I am probably missing a step here, and would apprecidate it somebody could point me in the right direction.
    Thanks,
    Gary

    DA patches:
    119777-10 most current release for Solaris
    119778 for X86
    119779 for Linux
    118540-23 Communication Express Solaris Sparc
    118541 X86
    118542 Linux
    118207-42 Messaging core Solaris sparc
    118208 X86
    118209 Linux
    116574-02 Veritas Vcsha (sparc only)
    118242-03 and 118245-03 Dssetup sparc
    118243 and 118246 X86
    118247 Linux
    122018-02 Outlook Connector
    (all the currently released patches. Most have t-patches available from tech support post the above numbers)

  • When i go to about this mac and look at my storage it says that i have 33GB of music. i recently deleted 2 user accounts but can't find any of these files. Where do i go to delete these files?

    when i go to about this mac and look at my storage it says that i have 33GB of music. i recently deleted 2 user accounts but can't find any of these files. Where do i go to delete these files?

    What are you asking? Where music is stored or where the user accounts were stored?
    Music should be in the music folder - perhaps inside of an iTunes folder.
    User accounts should be on the home directory.

  • Hello everyone...I got my very first macbook pro just today and i have a problem deleting the "test" user account. if i can't delete it, the system won't let me turn off the system. I don't know what to do! HELP!!!!

    hello everyone...I got my very first macbook pro just today and i have a problem deleting the "test" user account. if i can't delete it, the system won't let me turn off the system. I don't know what to do! HELP!!!!

    Have you created another admin user? Go to system preferences click users and click the + to add a user; if you haven't already. Once you have another admin user other then the "test" user make sure you're signed out of the test user account. Sign in with the alternate ADMIN USER that you just created or had created already and go back to SYSTEM PREFERENCES and click the same USERS icon near the bottom. Now select the TEST user and click the - sign. This should prompt you if your sure you want to delete the user account. And your done.
    New User created and Test User deleted... I hope this helps.

  • Having problem deleting all but one particular mail from the iPhone 4S mail inbox. I can delete mail either by the trash can or using edit, selecting the mail message and deleting.  However there is this one mail message that will not go away. Any ideas?

    I am having a problem deleting all but one particular mail message from my inbox. I delete by either using the trash can icon for individual mail, or using edit, selecting the mail message (s) and clicking delete.  However there is this one mail message that will not go away regardles of what I do including deleting all from the trash.  Any ideas?

    I get that every once in a while on my 3GS, and that's what I do to get rid of it. Probably not a bad idea to power down the phone every so often, anyway, gets rid of any crud waiting to cause a bug.
    Glad to hear that it worked for you.

  • Problem deleting user from Unity Connection 8.5.1 - BulkUserDelete

    We are having issue deleting a user from Unity Connection 8.5.1
    We tried the command line to remove the user, no go. We also installed the CUC Clean Inconsistency 1.2 and that to did not remove it.
    We then tried BulkUserDelete tool and the initiial search in BulkUserDelete see's the problem user (alias) but on the next screen where you select the users, on that step the BulkUserDelete no longer see's the problem user.
    Anyone know of other way to remove a problem user from CUC?

    Thanks, Rob. I appreciate you taking the time to reply. I feel much more confident about the whole procedure now.
    I've read many of your replies to others on this same issue so I'm pretty certain you know what you're talking about. One of the documents I read that made me doubt what TAC said is the document by Saurabh - I've read it through several times already and found it very helpful. Thanks for linking to it.
    There's a scheduled back up of UC performed every night (all options are checked). Should I still do a COBRAS backup too or is that unnecessary?
    Once the upgrade file installation is complete, do I need to do anything else? From what I've read, this is similar to running a Windows (or Mac) operating system update/patch - start the upgrade file, wait for it to run and once it's complete, reboot the system and continue as usual (assuming everything went OK). Is that right?
    Thanks again!
    Lisa

  • Using Powershell to delete all users from the Portal

    Summary
    This script will delete all users from the Portal except for Administrator and the Built-In Sync account.
    Based on Markus's "Delete a User" script.
    Useful when developing your system if you want to quickly clear out the data and start again.
    set-variable -name URI -value "http://localhost:5725/resourcemanagementservice' " -option constant
    function DeleteObject
    PARAM($objectType, $objectId)
    END
    $importObject = New-Object Microsoft.ResourceManagement.Automation.ObjectModel.ImportObject
    $importObject.ObjectType = $objectType
    $importObject.TargetObjectIdentifier = $objectId
    $importObject.SourceObjectIdentifier = $objectId
    $importObject.State = 2
    $importObject | Import-FIMConfig -uri $URI
    if(@(get-pssnapin | where-object {$_.Name -eq "FIMAutomation"} ).count -eq 0) {add-pssnapin FIMAutomation}
    $allobjects = export-fimconfig -uri $URI `
    –onlyBaseResources `
    -customconfig "/Person"
    $allobjects | Foreach-Object {
    $displayName = $_.ResourceManagementObject.ResourceManagementAttributes | `
    Where-Object {$_.AttributeName -eq "DisplayName"}
    if([string]::Compare($displayName.Value, "Administrator", $True) -eq 0)
    {write-host "Administrator NOT deleted"}
    elseif([string]::Compare($displayName.Value, "Built-in Synchronization Account", $True) -eq 0)
    {write-host "Built-in Synchronization Account NOT deleted"}
    else {
    $objectId = (($_.ResourceManagementObject.ObjectIdentifier).split(":"))[2]
    DeleteObject -objectType "Person" `
    -objectId $objectId
    write-host "`nObject deleted`n" $displayName.Value }
    Go to the FIM ScriptBox
    http://www.wapshere.com/missmiis

    The DeleteObject function opens and closes a connection for each object.  This approach is faster:
    http://social.technet.microsoft.com/wiki/contents/articles/23570.how-to-use-powershell-to-delete-fim-users-that-have-a-null-attribute-name.aspx
    Mike Crowley | MVP
    My Blog --
    Planet Technologies

Maybe you are looking for