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

Similar Messages

  • How to enable create user option in portal under user administration?

    Hi,
    In Portal, in user administration tab, always the create user and Copy to  New user option is disabled, how can i enable those?
    -Siva

    If the AS ABAP is your datasource for your users there is NO WAY you can create users in the portal UME.
    ●     If the UME has read-only access, you cannot modify user attributes stored in the ABAP system, like first name and last name. You can modify attributes stored in the UME database, like street. Even if read-only access is assigned, users can still change their own passwords.
    ●     If the UME has read-write access, you can create users using the tools of the J2EE Engine. Users created in this way are stored as users in the ABAP system. Extended user data that cannot be stored in the standard ABAP user record is stored in the database of the UME.
    in the read/write access the users are created only in the ABAP side and not the java. If you have the read access you cannot create users in the abap side. hence you need the SAP_BC_JSF_COMMUNICATION role to create users in the AS ABAP.....
    Trust me .......bottomline ....you cannot create users in the JAVA UME if you have AS ABAP as your datasource !!!!
    hope this helps..
    \m/

  • Creating users in enterprise portals with CUA as userbase

    Hi All,
       we are using CUA system for maintaining the users and we want this users to be used in enterprise portals. So while installing WebAs itself, we specified the connection details to this CUA system. then we installed portal and we were able to view the users of CUA in portal.
      now i am creating a user from portal, create user option in UserManagement. but i just get an error like, could not create a user.
    i checked out in system administration->umconfiguration-> sap system. all the details that we specified during the webas installation appear there by default.
    so could you please let me know what the problem could be
    thank you

    Raj,
    I know that your problem was solved, but I've come across following SAP link. Hope, it helps other ppl..
    TITLE: Requirements for Service User Used to Connect to SAP Systems
    http://help.sap.com/saphelp_ep60sp2/helpdata/en/8f/67d27676ace84080964d4c4223bb3c/content.htm
    Thanks,
    Pritesh.

  • Can't created user on installed portal

    After install portal i recieve error WC_000 when try to create user by portal30 login. Does anybody know how to repare this problem ?

    Yes, Apache is case sensitive and the configuration files have the wrong case.
    Have a look on metalink.oracle.com as there are various articles on this.

  • Creating user problem----- plz help

    Hii for all....
    I am using oracle 11g . I created a user as student like below....
    SQL> CREATE USER student IDENTIFIED by learn
    2 DEFAULT TABLESPACE users
    3 TEMPORARY TABLESPACE temp;
    User created.
    SQL> grant connect , resource to student;
    Grant succeeded.
    SQL> conn
    Enter user-name: student
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01830: date format picture ends before converting entire input string
    ORA-06512: at line 2
    Warning: You are no longer connected to ORACLE.
    Plz help me how to connect the student User..........

    Thnaks you "ordba " .................
    Can you please explain what is link between the logon trigger and the user creation......
    my trigger code is below.........
    SQL> CREATE OR REPLACE PROCEDURE foo (c VARCHAR2) AS
    2 BEGIN
    3 INSERT INTO audit_table (user_at) VALUES(c);
    4 END;
    5 /
    Procedure created.
    SQL> CREATE OR REPLACE TRIGGER logontrig AFTER LOGON ON DATABASE
    2 -- Just invoke an existing procedure. The ORA_LOGIN_USER is a function
    3 -- that returns information about the event that fired the trigger.
    4 CALL foo (ora_login_user)
    5 /
    Trigger created.

  • Error adding new users in Portal 9ias Release 2

    We have just built a new OracleIAS Server using 9.0.2 with Portal installed. Everything works just fine with Portal until I try to add a new user. When I go into the administration section and click on "Create New Users" it returns a page cannot be displayed error.
    The URL it is trying to access is: pls/orasso/orasso.wwsso_app_admin.ls_login
    I cannot find anything in the error_log files for the IAS Server.
    1) Where would I find the errors logged by this process?
    2) Anyone ever seen this before?
    3) Any fixes?
    Richard

    We have just built a new OracleIAS Server using 9.0.2 with Portal installed. Everything works just fine with Portal until I try to add a new user. When I go into the administration section and click on "Create New Users" it returns a page cannot be displayed error.
    The URL it is trying to access is: pls/orasso/orasso.wwsso_app_admin.ls_login
    I cannot find anything in the error_log files for the IAS Server.
    1) Where would I find the errors logged by this process?
    2) Anyone ever seen this before?
    3) Any fixes?
    Richard Richard,
    I'm having the exact problem. I opened a TAR with Oracle, but do not have a resolution for it. Please let me know when you have a solution. I tried starting and restarting the OC4J_DAS service but still have the same problem.
    Thank,
    Long

  • How to create  user groups in portal

    Hi
    I am new to portal..can any one explain how to create a group and add the users to that group.
    Thanks
    Rahul

    Hi
    Go to  "user administration"-> Identitiy management place "Groups" in the Search Criteria then you will see the options for creating NEw Group
    at the time of Group creation there is a tab for Assigned users from there you can add users.
    Or you select the user name and click on modify and select Assigned groups and assign your group.
    Regards,
    Mahesh

  • Concurrent users problem in portal components.

    Hi
    we are implementing portal components based projects to an customer.
    we are using RFC connections to fetch data from R/3. All users mapped to a service user , through which we are connecting to
    the backend
    when we are testing concurrently any portal applications we are getting erros.
    any ideas how can we handle concurrent users access problems  in netweaver portal.
    Thanks
    Ravi

    Hi,
    Post the error and logfiles.
    Regards,
    Koti Reddy

  • CUP 5.3 creating users in Portal

    Hi Experts,
              Our external users will be stored in a Directory Service that is connected via a read/write connection to our External Portal.  GRC needs to be able to create users in the Portal.  Has anyone tried this and can confirm it works?

    If that directory is linked to UME as user store, the directoty should be transparent to CUP. This scenarion should be fine.
    Frank.

  • UME Create user not  possible

    Portal 7.0 sp10 2004s
    ECC 6.0 sp 10  ERP 2005
    Portal is connected to ABAP backend for user authenticity,
    Data source configuration file is dataSourceConfiguration_abap.xml which should allow users created in the portal to be in the UME database only.
    Problem, When creating users on the Portal they are automatically being created with a datasource of ABAP and are created in the ECC abap backend.
    I have tried creating the users using the Visual Admin tool and it also created the users in the ECC abap backend
    I have in the past been able to create users in the UME only in fact I could not create Backend ABAP users from the POrtal
    Any help would be appreciated.
    Thanks
    sarah

    Haydn
    Thanks for your suggestion, I am still having problems
    I changed the SAPJSF user that communicates from the portal to the abap backend to read only. I got an error, it is still trying to create an ABAP backend user
    An error occurred in the persistence. The original message (possibly not translated) was: "BAPI_USER_CREATE1@RS2CLNT100: ID=01, NUMBER=491, MESSAGE=You are not authorized to create users in group". Contact your system administrator
    From the SAP Note 718383 it states the following:
    Supported changes to the data source configuration
    The allowed change options depend on the currently active data source configuration. You can determine the current data source configuration with the J2EE ConfigTool.
    In "cluster-data -> Global server configuration -> services -> com.sap.security.core.ume.service" check the property "ume.persistence.data_source_configuration".
    Depending on the data source configuration file you use, the following changes are possible:
    dataSourceConfiguration_abap.xml
    No change is possible.
    This configuration supports all usages (especially SAP Exchange Infrastructure and SAP Enterprise Portal) by making ABAP users and ABAP roles available as users and groups in the UME, and supports the creation of new groups in the UME (which are then stored in the local database) as well.
    Any other suggestions would be appreciated,
    Thanks
    Sarah

  • Server Error on Create user page in 9iAS Portal 9.0.2.0

    Hi,
    I have installed Oracle 9iAS Portal 9.0.2.0 on WinNT
    I got the SSO page loging thru admin login and everything is fine .....i can get into build page groups etc.....
    Problem
    creation of users
    When i click Build --> Administer --> Create User
    Page error:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Oracle HTTP Server/1.3.22 Server at accentur-jpdq.accenture.com Port 7777
    Kindly let me know how to solve this and get the Create User page --> To Create users ....
    Thanks & Regards,
    Gopinath.G
    Accenture Technology services.
    Bangalore,INDIA

    Can you pls confirm if OC4J_DAS instance is up?
    Refer Oracle9i Application Server Administrator's Guide
    Release 2 (9.0.2) -> Starting and Stopping the Application Server for 'Starting an Infrastructure'
    link: http://download-west.oracle.com/docs/cd/A97329_01/core.902/a92171/start.htm#1011347

  • Can't create user with 9iAS(1.0.2.1)

    I did a fresh installation of 9ias(1.0.2.1) on a 8.1.7 EE database. Everything works fine until I need to create a Portal user. When I click "Create New users", I got a error window "Error: (WWC-00000)". If I click the "Back" icon on the top of the window, I got the same error window.
    Has anyone else has created a new portal user with 9ias(1.0.2.1)?
    Thanks for your help!
    Young

    I AM FACING THE SAME ERROR.
    THE PROBLEM IS NOT JUST IN THE "CREATE USERS", I THINK THERE IS SOME SORT OF PROBLEM WITH THE "LOGIN SERVER", BECAUSE IF CONNECT TO " http://hostname/pls/portal30_sso, AFTER I INPUT THE LOGIN INFO I GET THE SAME "WWC-00000" ERROR.
    WORKING WITH THE PORTAL ITSELF IS OK. ONLY THE FUNCTIONS RELATED TO THE LOGIN SERVER DO NOT WORK.
    THIS IS A NEW INSTALLATION (8.1.7 SE + iAS 1.0.2.1 SE UNDER Windows2000).
    ANY HELP WILL BE GREATLY APPRECIATED!!
    REGARDS

  • Error While Creating user in Portal

    Hai Experts...
    Errored occured while creating User in portal.
    Error : Error  occured due to persistance: contact administrator.
    Since i have created user in J2EE_ADMIN which has Administrator Role. i am facing this issue.
    Kindly help me in this issue..
    Regards
    Arun Rajan,

    Hi ,
    Solved problem by changing the UME configuration as ABAP.
    after changing the UME configuration , some memory dump problem faced and solved as per server0 getting restarted when i access UME configuration .
    Now it is able to create user in portal.
    Thanks   Juan Reyes and  RishiAbrol.
    thanks to all helped me to sort out the issue.
    Regards
    Arun
    Edited by: Arun Rajan on Sep 11, 2009 8:43 AM
    Edited by: Arun Rajan on Sep 11, 2009 8:45 AM

  • Error while creating user in LDAP (MS ADS) from SAP Portal 7.0

    Hi,
    Is it obliged to use SSL connection to create new user in LDAP (MS ADS) from SAP Portal 7.0 ?
    I've configured the UME with ldap server adress and port 389. And use configuration file "dataSourceConfiguration_ads_writeable_db.xml"
    I succeed to view users existing in LDAP but when I try to create new user I've the following error message:
    LDAP: error code 53 - 0000001F: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0)
    Thanks and regards

    check this link
    http://help.sap.com/saphelp_nw70/helpdata/EN/37/cfd93f130f9115e10000000a155106/frameset.htm
    and at the end of the page there is a qoute "We strongly recommend that you configure SSL between the UME and the LDAP directory. Some LDAP directories, such as Microsoft Active Directory Server, require an SSL connection if you want to create users on the LDAP directory"
    hence follow this link to configure SSL
    http://help.sap.com/saphelp_nw70/helpdata/EN/7d/77fa735e5f47a2a50b5336fd1b5a61/frameset.htm
    hope this helps..
    [Rahul|http://rahulursportal.blogspot.com/]

  • Creating users using custom made class/UI in portal

    This is what i have to achieve,
    I need to create an interface in portal which will,
    1. Create users in the OID where the users extend a class which i have created in OID with my custom attributes.
    2. Then create them in portal and then assign them to default groups which will depend on a parameter in the user creation form.
    From reading various documents in Metalink and OTN i have understood that the wwsec_api package allows us to do all this except that it is all for a user which will extend a predefined set of classes.
    So i decided to do this
    1.Make entries into the OID using the DBMS_LDAP package using commands like
    emp_vals(1) := p_first_name;
    DBMS_LDAP.populate_mod_array(emp_array,DBMS_LDAP.MOD_ADD,'firstName',emp_vals);
    retval := DBMS_LDAP.add_s(emp_session,emp_dn,emp_array);
    2.Fire the wwsec_api.add_portal_user to create the portal user and then activate and assign him to the default group after running the provsyns.sql file
    The problem i face is that i get errors when i execute the said procedure from any other schema other than portal.
    When the procedure is recreated in the portal schema and executed it works fine.
    So i decided to create the entire package in the portal schema itself.
    Now the problem i face is that the proc would execute fine on the sql prompt but fail when called from the form created in portal based on this procedure.
    I found out that the execution fails when the wwsec_api.xxx calls are made.
    The exceptions are not specific and have the error code 1 => user defined exception
    To have a workaround for this i directly inserted into the wwsec_person$ table with no values for the GUID column( I know this is not recommended but i gave it a try)
    The insert worked fine but i still had to set his default group.I tried updating the rows for the user to set the default_group column but there seems to be a trigger on it which causes the update to fail.
    Also when i check up the wwsec_person$ table there two rows for each user that i created ,one without the GUID/default_group and the other with the GUID/default_group.I guess this is because of the trigger.
    If i try using the wwsec_api.set_defaultgroup api, the proc fails.
    It is quite interesting to note that all the steps mentioned above, grant access to the user to portal.
    But the place it fails is while setting the default group for the same which is of prime importance to me.
    Also because I am inserting directly into the tables i have also to delete them when the user is deleted, this is because i again cannot execute the delete_portal_user in the wwsec_api package from the browser.
    Surprisingly the wwsec_api.create_list function works fine.
    Once i have created the users all the manipulations like changing group memberships etc become easy as i just modify the required details in the OID itself.
    What i need is a proper/safe way to do what i have just mentioned above.
    Please help out ASAP as this is urgent.
    Regards,
    KK

    Based on your requirements, you should go about things a little differently...
    You have written your custom DBMS_LDAP code to create and populate the user entry including your custom objectclasses - good.
    You don't need to create the user profile in the Portal schema at all.
    To set the default group, just set the orcldefaultprofilegroup attribute in the user entry in OID. This should be set to the DN of the default group.
    When the user logs on, his profile will automatically be created, and the default group will also sync up with the user entry in OID (patch required - 2830252).
    Also, you should have DIP provisioning running so that updates to the orcldefaultprofilegroup attribute in OID are subsequently conveyed to the portal schema. It will also take care of automatically deleting the user profile from the portal if the user is removed from OID.
    Please see the Portal Configuration Guide on how to enable and activate the Directory Integration Platform (DIP) provisioning integration between OID and Portal

Maybe you are looking for

  • How to use player on windows

    Hi, I have made a few swf with sdk on linux. One would cd a terminal to the folder where they are, and type flashplayer movie.swf to start them, and of course they find support files (some xml) in the same folder. Now I copied the same files to a win

  • JSP Documents (JSP pages in XML format) and Namespaces

    I have 1 set of XSLT stylesheets that takes XML and outputs JSP documents. This 1 set of XSLT supports numerous clients (customers). I have a new customer that uses a new namespace, let's call it "xyz". This namespace is the TLD for xyz custom tags.

  • Array of variables in reports

    Hello: I am beggining with reports 6i. I am doing a report and I need an array of number to hold ten different imports. I have a select with an import in every row, depending of the import (euro, usd, yen, etc) I need sum the import and finally to pr

  • Script for collecting Asian fonts

    Was having issues with Asian fonts last week and asked a question on the InDesign side of the fence, and scripting came up, which brought me over here to ask if such a script existed for collecting Asian fonts.

  • Customer pricing procedure in CRM

    Can anyone please let me know how to find customer pricing procedure in CRM that is assigned to a particular customer.