CREATING A USER IN PORTAL DYNAMICALLY GIVES AN ERROR PORTAL.WPG_SESSION

While creating a users from portlet(customised form) it give a following an
error in apache logs,click another sub tab the page can not be displayed HTTP 404 oage not found ,but users are created successfully in OID and portal.
Error from the error log from mid_home/Apache/Apache/logs
[Sun Mar 6 20:33:19 2005] [error] [client 10.1.0.167] [ecid: 71654817423,1]
mod_plsql: /pls/portal/PORTAL.Hutch_Nwss_C
ll_Crt_Delg.CallDelgPortlets HTTP-404 ORA-20005: The session context could not
be restored because the session is marke
as inactive.
ORA-06512: at "PORTAL.WPG_SESSION", line 143
ORA-06512: at line 9.

Hi Chaitanya,
I think you are using a LDAP or SAP system to store users. The problem is when you are defining the datasource configuration file. This might be in *read only * mode.
You can check this by System Admin -> System Configuration -> UME Configuration ->Data Sources tab..
You check wether you data source config file is in read only mode or not. If this file is in read only mode you cannot create users from the front end
You need to create users from LDAP or SAP system what ever may be your back end.
Thanks,
Raju Bonagiri

Similar Messages

  • Problem with creating new user in portal = portlet is not visible

    Hi,
    I've got a problem with creating new users in portal. In the Administer tab of the builder is the user portlet not visible.
    How can I make this portlet visible?
    Please Help
    thank you...
    Gilbert

    Hi..my problem slightly similar.
    I created one new user, and didn't select anything from "Public Groups Assignment" and "Privilege Assignment" for him.
    I expect the user will be a public user.
    But, when he try to logged in the portal,
    He cannot see all the PORTLETS related to database values..
    All he can see just LINKS -that all in my portal right now beside the report from database that the user cannot see :)
    So, what did i do wrong?
    Plz Advise, and thanks.

  • Scritps to create new user in portal

    Hi, anyone knows where can i get a script to create new users in portal?:
    add new user, add user in groups, set default group
    i've been trying to insert in the tables WWSEC_PERSON$ and WWSEC_FLAT$ but i couldnt get to see the user in portal application though its the tables. i guess i am forgetting some table (like something in the SSO)...
    Thanks
    Daniel Perez
    SJD

    Well, actually the api also adds the user to the group, but obviously, there's something that portal does when you add it manually that we are missing in the api, and that's what i need to discover.
    The code in the api, related to default group, is:
    /*In FUNCTION ldap_create_user */
    IF p_default_group is not null then
    BEGIN
    group_array := DBMS_LDAP.create_mod_array(14);
    user_vals(1) := 'cn=' || lower(p_default_group) || ',' || group_id;
    DBMS_LDAP.populate_mod_array (user_array, DBMS_LDAP.MOD_ADD, 'orcldefaultprofilegroup', user_vals);
    user_vals.DELETE;
    group_vals(1) := 'cn=' || p_oid_id || ', cn=users, ' || ldap_base;
    DBMS_LDAP.populate_mod_array(group_array, DBMS_LDAP.MOD_ADD, 'uniquemember', group_vals);
    group_vals.DELETE;
    retval := DBMS_LDAP.modify_s(user_session,'cn=' || lower(p_default_group) || ',' || group_id, group_array);
    DBMS_LDAP.free_mod_array (group_array);
    END;
    END IF;
    /*In FUNCTION portal_create_user*/
    IF p_default_group is not null then
    BEGIN
    wwsec_api.set_defaultgroup (p_groupid => wwsec_api.group_id (p_default_group),
    p_username => p_username);
    l_id := wwsec_api.id_sso(p_username => p_username);
    END;
    END IF;
    If i try to add the user to the group anyway with add_user_to_list:
    wwsec_api.add_user_to_list(p_person_id => wwsec_api.id(p_username),
    p_to_group_id => wwsec_api.group_id(p_default_group),
    p_is_owner => wwsec_api.NOT_OWNER);
    I get a User Defined Exception.
    I also can see the user in the list of members for the group and the group as the default group for the user in his profile.
    Anyway i still get the same message when trying to log in:
    Error: You do not have permission to perform this operation. (WWC-44131)
    Message was edited by:
    dani_sjd
    Message was edited by:
    dani_sjd

  • How can I create service user in portal ?

    Hi.
    I'm going to create service user in portal and assign permisson.
    How to do this ?
    Regards, Arnold.

    Hi.
    What you mean "System user is known in the user management".
    I created service user in "Knowledge Management->Content Management" and also created UM.
    Then, Restarted System but When I run schdule task with created user, I got error.
    com.sapportals.portal.security.usermanagement.UserManagementException: Could not get service user "arnold_service".#
         at com.sapportals.portal.security.usermanagement.ServiceUserFactoryImpl.getServiceUser(ServiceUserFactoryImpl.java:54)#
         at com.ust.yahooxmlfeed.extract.run(extract.java:28)#
         at com.sapportals.wcm.service.scheduler.SchedulerEntry.run(SchedulerEntry.java:171)#
         at com.sapportals.wcm.service.scheduler.crt.PoolWorker.run(PoolWorker.java:107)#
         at java.lang.Thread.run(Thread.java:534)#
    Regrads, Arnold.

  • Unable to create new user thru Portal

    Hi,
    I am unable to create user from the oracle portal web page under the Administer tab.
    I have logged in as user PORTAL30 which has DBA rights.
    When I click the Create new user link, it generates an error page WWC-00000.
    Would appreciate if any can help me out urgently.
    OS: NT4 SP5
    9iAS 1.0.2.1
    Vipul
    null

    Cindy,
    Thanks for the solution. It worked fine after changing servername to lowercase.
    The servername was set in in httpd.conf by the 9iAS installer itself. I would like to express that Oracle should have checked before launching or should have listed it in the release notes.
    Once again thanks for the inputs, Cindy.
    Regards,
    Vipul
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by cindy:
    I too was having the same problem. I found this in another post:
    "this is reported as
    BUG:1534919
    the solution is to use lower case server name in httpd.conf. It must be in lower case."
    I made the change and am now able to create users.<HR></BLOCKQUOTE>
    null

  • Cannot copy or create new user in portal

    Hi all,
    I have tried to create new users in dual stack abap & java installation. However, j2ee_admin and sap* both display critical stop with message "An error has occured, contact your system administrator." Unfortunately, there is nothing more than this message in portal. I have used visual administrator from go.bat also but the result is the same with error:
    Caused by: java.lang.ClassNotFoundException: com.sap.security.core.persistence.datasource.PersistenceException
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
    Any clues!
    Regards.

    Hi Eduardo/Jo,
    That's fine, I can see abap user in both visual administrator and portal's identity mgt area.
    However, when attempted to logon with an super admin role abap user, the portal displays, user is locked... okay, go to portal with j2ee_admin and unlock this user... again login and message user is still locked.... Go to visual administrator the same user appears as locked. click the pencil button and try to unlock, visual admin displays message "unable to unlock user. details are available in status bar".
    Following is the perhaps relevant part of the long error details.
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Attribute "islocked" on namespace "com.sap.security.core.usermanagement" of principal "UACC.R3_DATASOURCE.MOHAMMAD" is not modifiable.
    So, all in all, portal cannot logon with super administrator becuase it appears locked in visual admin, cannot unlock this user in visual admin because of above error message.
    Any clues, please.
    Regards.

  • While creating the user getting iPlanetAMUserService does not exist error.

    Hi,
    I was trying to create a user in access manger 7.1 console . I am getting error like iPlanetAMUserService does not exist.
    path: Access control>Realm>Subjects.
    can anyone please help me to give the suggestions.
    Thanks
    GV

    And why do you think those jars are required? Guess work? Glassfish already provides them, remove them from the application deployment and try again.

  • Trying to create new user and getting remote procedure call error

    I'm trying to create a new user on my windows 8.1 machine but it's not letting me.
    If i open control panel and go to user accounts there's not even an option to add a new user. It's like it's missing, there si a blank space where the link should be. I can change my current account type, and manage another account (though that takes me
    to the list of accoutns which shows mine and the guest, but no option to add a new one) or change user account control settings.
    If i open the run menu and type "users" there is a program that shows up labeled "add, delete and manage other user accoutns" but if I click that a dialog pops up with the following message
    I've run sfc /scannow and it says there are corrupt files but that it couldnt repair them and logged them in the CBS.log

    OK I tried to run sfc /scannow again, and it said files needed to be fixed on a reboot. I rebooted and I can now create user accounts. So never mind, folks!
    Kyle

  • 9/9/12 6:20:04.000 PM kernel[0]: exec of /Volumes/CS6 MstrColl/Adobe CS6 Master Collection/Install.app/Contents/MacOS/Install denied since it was quarantined by TextEdit and created without user consent, qtn-flags was 0x00000046 error

    helpp

    You've got an  incompatible Logitech driver and java was incompletely uninstalled.
    You may have a problem with the Wacom driver.
    I don't know if fixing those things will help.
    There also a few window server errors, but I don't know if they are causal.
    If you can note the time of the hangs, that might help narrow it down in the logs.

  • Portal runtime error while creating users in portal content administrator

    I am getting this error while creating new users in portal.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_admin_ws/com.sap.portal.user_management/com.sap.portal.createNewUser/com.sap.portal.createNewUser
    Component Name : com.sap.portal.usermanagement.admin.CreateNewUser
    com/sap/security/core/util/imp/Util.patternMatch(Ljava/lang/String;Ljava/lang/String;Z)Z.
    Exception id: 03:51_27/08/08_0028_7431850
    See the details for the exception ID in the log file
    any help is appreciated...

    log file look something like
    this
    2,5,PRT-Async]##0#0#Error#1#/System/Server#Java###Exception in PortalRequestManager.dispatchRequest without timeout
    [EXCEPTION]
    #1#java.lang.NoSuchMethodError: com/sap/security/core/util/imp/Util.patternMatch(Ljava/lang/String;Ljava/lang/String;Z)Z
         at com.sap.security.core.admin.util.checkEmail(util.java:110)
         at com.sap.security.core.admin.UserBean.checkFieldValidity(UserBean.java:695)
         at com.sap.security.core.admin.UserBean.checkUser(UserBean.java:591)
         at com.sap.security.core.admin.UserAdminLogic.performUserModify(UserAdminLogic.java:3226)
         at com.sap.security.core.admin.UserAdminLogic.executeRequest(UserAdminLogic.java:552)
         at com.sapportals.portal.prt.component.usermanagement.admin.UserAdminComponent.doContent(UserAdminComponent.java:71)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.doPrivileged(AccessController.java:241)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:758)
    #1.5#001125A6576A008C00000015000550E2000455943BAE9D63#1219995051656#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Administrator#197794##irconepd_EPD_7431850#Administrator#f4d062d0759411ddb89b001125a6576a#Thread[PRT-Async 2,5,PRT-Async]##0#0#Error#1#/System/Server#Java###Exception ID:01:00_29/08/08_0043_7431850
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_admin_ws/com.sap.portal.user_management/com.sap.portal.userSearch/com.sap.portal.userSearch
    Component class : com.sapportals.portal.prt.component.usermanagement.admin.UserAdminComponent
    User : Administrator
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.doPrivileged(AccessController.java:241)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:758)
    Caused by: java.lang.NoSuchMethodError: com/sap/security/core/util/imp/Util.patternMatch(Ljava/lang/String;Ljava/lang/String;Z)Z
         at com.sap.security.core.admin.util.checkEmail(util.java:110)
         at com.sap.security.core.admin.UserBean.checkFieldValidity(UserBean.java:695)
         at com.sap.security.core.admin.UserBean.checkUser(UserBean.java:591)
         at com.sap.security.core.admin.UserAdminLogic.performUserModify(UserAdminLogic.java:3226)
         at com.sap.security.core.admin.UserAdminLogic.executeRequest(UserAdminLogic.java:552)
         at com.sapportals.portal.prt.component.usermanagement.admin.UserAdminComponent.doContent(UserAdminComponent.java:71)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 7 more

  • Problem in creating a user in Identity management

    hi all
    i work on portal 7.0 and am involved in the branding of the portal.
    when i try to create an user in Identity mgt the following error message is displayed..
    ..current user has user creation permissions in th UME , but cannot create users in the backend systems(datasource).Original and possibly untranslated message was "no active writeable datasource found for usr craetion,check your permissions configuration".
    kindly help
    thanks in advance
    krishna chaitanya.

    Hi Chaitanya,
    I think you are using a LDAP or SAP system to store users. The problem is when you are defining the datasource configuration file. This might be in *read only * mode.
    You can check this by System Admin -> System Configuration -> UME Configuration ->Data Sources tab..
    You check wether you data source config file is in read only mode or not. If this file is in read only mode you cannot create users from the front end
    You need to create users from LDAP or SAP system what ever may be your back end.
    Thanks,
    Raju Bonagiri

  • Not able to create new users or groups

    hi all,
    We have configured multiple LDAPs by changing XML file.
    But now we are not able to create new users or groups.It is giving error saying that "Adapter is configured as read-only"
    Can anybody help me out in this problem.
    Thanking You,
    Amol.

    For multiple LDAPs to work we have downloaded the Xml file namely "Flat hierarchy + Database "
    We made the necessary changes and then uploaded it.
    Now we want to create users or groups in portal-database and not in LDAP. But it is throwing error saying that "Adapter is read only". We suppose that it is trying to create users and groups in LDAP.
    So can anyone help us to create users or groups in portal-database.
    Thanking You,
    Amol.

  • What is the difference b//w R/3 user and Portal user in ESS/MSS

    Hi All,
    How do we create ESS R/3 Users and  ESS Portal Users. How does these users merged with each other. General process of user creation in both the end's.
    Thanks & Regards,
    kishore.

    You dont need to create ESS users seperately in portal. It can be created in R/3 like any other user ids. By using R/3 User management engine in Portal, you will get all R/3 users there as well. so no need to create seperate users in portal. When you login to portal, you are also logging into R/3 using SSO tickets.
    To make use of HR functionality, user ids have to be mapped to Personnel no. in Infotype 105 subtype 0001.

  • When i add menu bar in my user interface gives me error that this handle is not a panel handle(return value -42)

    i have 3 panels in my application and parent panel is displayed first then i display other two panels which come to the front then on entering correct password i discard the child panel and then you can see parent panel , but there is an issue when i add menu to my parent panel i dont know whats wrong when i add menu bar in my user interface (parent panel)  gives me error that this handle is not a panel handle(return value -42) for a child panel. when i dont open and display child panel then its fine , and even without menu added to my parent panel all my panels and my application works perfactly

    Hello smartprogrammer,
    some more informations are needed in order to properlu help you in this situation:
    - Are you adding menus dynamically at runtime or in the UIR editor? If dynamically: how are you loading the menu bar?
    - Are you dynamically tailoring the menu bar at runtime (adding or deleting menu items, dimming / undimming some of them or checking / unchecking)?
    - Can you post the code where you are getting the error, documenting variables and scope (local to the function, global to the source file, global to the project)?
    You can look at uirview.prj example that ships with CVI for an example of LoadMenuBar (the exampl eis in <CVI samples>\userint folder): in that project, the menu bar is shown as a context menu when you right-click on a tree element (see DeferredMenuCB callback).

  • J2ee_admin login cannot create/change user

    Hi all,
    I have a dual stack installation, hence login via j2ee_admin. However, all options to create change a new portal user are disabled both in portal and visual administrator.
    How can I create new users for portal? With dual stack I am only able to login via j2ee_admin.

    HI,
    Log on to the ABAP system. Go to transaction su01, search for user sapjsf, and assign the role SAP_BC_JSF_COMMUNICATION and simultaneously remove the role SAP_BC_JSF_COMMUNICATION_RO.
    Resatrt both the ABAP+JAVA server.
    This should solve the problem.
    Regards
    Deb

Maybe you are looking for