Regarding sessions created fro User Requests

Hi SDNs,
My doubt is we have J2EE Engine remotely.
And we all access that by giving the SDM Password.
Now the server will get down if multiple hits are attempted on the server(i.e.if one or more persons deploy there application)
Then the administrator will unlock the locked objects.
and make the server.
This is upto my knowledge.
Can anyone explain this scenario more in depth.
or the doc or blog which expalins this scenario in depth.
Thanks & Regards,
Lokesh@EDS.

Hi Lokesh,
When more than one user deploying the application to server at same time. Only the first person deployment will be successfully others will get aborted. Only one person can deploy at  a time.
If you have more users it will be tough to develop and debug in single server at the same time. So you can install Local WAS as per your Remote server version. Once development and testing over you can move to Remote server.
Hope I cleared your doubts.
Regards, Suresh KB

Similar Messages

  • New session created with every request

    Hi there,
    I have an web application that we used to deploy on tomcat, websphere and bea without any trouble. We are trying to move to support OAS and the application gives this peculiar behavior:
    A new session is created with every single request by the client browser. I have searched these forums for the better part of today and read some interesting similar cases but none of the fixes seem to have any effect on my problem.
    Is there a different way I need to request the session object from the request in the app for OAS? Or is there a configuration that I should have? I am deploying the app as a .war file. Is there a better way to deploy on OAS, should I stick the war in a .ear?
    Any help on this would be most greatly appreciated!
    Thanks,
    -Adam

    I have a problem that matches with this subject line but its somewhat different. This original posting wants to create new session and invalidate the existing one but my problem is to keep the session invalide if it has expired for the browser.
    Anyways, here is my problem. I have JSP named entity_actions.jsp which has 3 pop-up links that opens up with code like:
    window.open('restaurantentry.do?entityName=restaurant')
    window.open('districtentry.do?entityName=district')
    window.open('baseentry.do?entityName=base')
    My web.xml has this tag:
    <session-config>
    <session-timeout>5</session-timeout>
    </session-config>
    And the way forward the response for each request is:
    context.getRequestDispatcher(urlString).forward(request, response);
    The code I check for session timeout is:
    private void checkForSessionTimeOut(HttpServletRequest request)
    throws SessionTimeoutException
    HttpSession current_session = request.getSession(false);
    logger.info(CLASS_OBJECT, "Session in checkForSessionTimeOut(): "+current_session);
    if (current_session == null)
    logger.error(CLASS_OBJECT, "SessionTimeOutException has thrown.");
    throw new SessionTimeoutException("sessionTimeOut");
    Now lets say I want to show the end user session expiry page after 5 mins of idle time. Now from entity_actions.jsp when I click/open any one popup first time after 5 mins of idle time/session expire,
    logger.info(CLASS_OBJECT, "Session in checkForSessionTimeOut(): "+current_session);
    this loggers shows current_session as 'null' and I can display session exp mesg on the popup page. But when I click/open any other popup or any other link on the page it DOES WORK instead of having current_session = null, it creates new one. And I can see the sessionid which is different than fist session created on the same base page/browser.
    The same pattern of code used to work on Tomcat and JRun before for showing consistant session expiry on all the clicks being made on the same browswer after session gets expire.
    Why OC4J / JDev 10.1.3 is creating new session on the same browser even after session has expired?
    How can I fix this?
    Thanks

  • Problem in creating user request through ContentDB API

    Hi
    I am trying to create user request on the document. Workflow is configured on the document parent folder. I am trying to submit the document for workflow.
    Here is the code i used to create user request
    RequestManager reqM = session.getRequestManager();
    long[] itemId = { item.getId() };
    NamedValueSet[] docParameters = new NamedValueSet[]
    new NamedValueSet(
    new NamedValue[]
    new NamedValue(Attributes.WORKFLOW_PARAMETER_NAME,"JUSTIFICATION"),
    new NamedValue(Attributes.WORKFLOW_PARAMETER_DEFAULT_VALUE,
    "Edited para 2"),
    new NamedValueSet(
    new NamedValue[]
    new NamedValue(Attributes.WORKFLOW_PARAMETER_NAME,"IFS_ECM_VERBOSE_LOGGING"),
    new NamedValue(Attributes.WORKFLOW_PARAMETER_DEFAULT_VALUE,
    Boolean.FALSE),
    NamedValue[] options2 = new NamedValue[] {
    ClientUtils.newNamedValue(Attributes.WORKFLOW_CONFIGURATION_PARAMETERS,docParameters)};
    reqM.createUserRequest(itemId, options2);
    I got the following error:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError
    faultActor:
    faultNode:
    faultDetail:
         {http://xmlns.oracle.com/content/ws}fault:<detailedErrorCode xsi:type="xsd:string">ORACLE.FDK.ServerError</detailedErrorCode><errorCode xsi:type="xsd:string">ORACLE.FDK.UnexpectedError</errorCode><exceptionEntries xsi:nil="true" xsi:type="ns1:ArrayOfFdkExceptionEntry"/><info xsi:nil="true" xsi:type="ns1:ArrayOfNamedValue"/><serverStackTraceId xsi:type="xsd:string">112-1191017621836</serverStackTraceId>
         {http://xml.apache.org/axis/}hostname:contentdb.sjrwmd.com
    ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
    However, If i create user request without passing any parameters it is working fine. I get error only when creating request with parameters.
    Please help.

    Hi
    I could able to get the request invoked. Earlier I tried with wrong parameters.
    Thanks

  • Session is being torn down. Reason: User Requested

    Hi,
    I have an issue with a Site to site VPn using IPSec.
    I have several tunnels all configured the same and this is the only one with the isssue. looks like the VPN is dropped whene remote peer pings the internal IP (172.16.30.88). Tunnel drops after 7 - 8secs.
    I got this message when enabling isakmp debug :
    Nov 04 17:20:32 [IKEv1]Group = 2XX.YY.140.135, IP = XX.YY.140.135, Session is being torn down. Reason: User Requested
    I would really appreciate some advice about how to troubleshoot this issue, as i am new to ASA.
    Here are some more logs :
    Thanks in advance !
    5|Nov 04 2013|16:53:19|713904|||||IP = XX.YY.140.135, Received encrypted packet with no matching SA, dropping
    4|Nov 04 2013|16:53:19|113019|||||Group = XX.YY.140.135, Username = XX.YY.140.135, IP = XX.YY.140.135, Session disconnected. Session Type: LAN-to-LAN, Duration: 0h:00m:10s, Bytes xmt: 608, Bytes rcv: 128, Reason: User Requested
    5|Nov 04 2013|16:53:19|713259|||||Group = XX.YY.140.135, IP = XX.YY.140.135, Session is being torn down. Reason: User Requested
    6|Nov 04 2013|16:53:19|302020|172.16.10.19|0|172.16.10.254|0|Built inbound ICMP connection for faddr 172.16.10.19/0 gaddr 172.16.10.254/0 laddr 172.16.10.254/0
    6|Nov 04 2013|16:53:19|602304|||||IPSEC: An inbound LAN-to-LAN SA (SPI= 0x0864D3AB) between XX.YY.140.135 and 202.171.68.14 (user= XX.YY.140.135) has been deleted.
    6|Nov 04 2013|16:53:19|602304|||||IPSEC: An outbound LAN-to-LAN SA (SPI= 0x94F43112) between 202.171.68.14 and XX.YY.140.135 (user= XX.YY.140.135) has been deleted.
    5|Nov 04 2013|16:53:18|713050|||||Group = XX.YY.140.135, IP = XX.YY.140.135, Connection terminated for peer XX.YY.140.135.  Reason: Peer Terminate  Remote Proxy 192.168.0.0, Local Proxy 172.16.30.88
    6|Nov 04 2013|16:53:18|302020|172.16.30.88|0|192.168.0.1|26299|Built outbound ICMP connection for faddr 192.168.0.1/26299 gaddr 172.16.30.88/0 laddr 172.16.30.88/0
    6|Nov 04 2013|16:53:18|302020|192.168.0.1|26299|172.16.30.88|0|Built inbound ICMP connection for faddr 192.168.0.1/26299 gaddr 172.16.30.88/0 laddr 172.16.30.88/0
    5|Nov 04 2013|16:53:08|713120|||||Group = XX.YY.140.135, IP = XX.YY.140.135, PHASE 2 COMPLETED (msgid=f141e93e)
    6|Nov 04 2013|16:53:08|602303|||||IPSEC: An inbound LAN-to-LAN SA (SPI= 0x0864D3AB) between 202.171.68.14 and XX.YY.140.135 (user= XX.YY.140.135) has been created.
    6|Nov 04 2013|16:53:08|602303|||||IPSEC: An outbound LAN-to-LAN SA (SPI= 0x94F43112) between 202.171.68.14 and XX.YY.140.135 (user= XX.YY.140.135) has been created.
    5|Nov 04 2013|16:53:08|713049|||||Group = XX.YY.140.135, IP = XX.YY.140.135, Security negotiation complete for LAN-to-LAN Group (XX.YY.140.135)  Responder, Inbound SPI = 0x0864d3ab, Outbound SPI = 0x94f43112
    5|Nov 04 2013|16:53:08|713119|||||Group = XX.YY.140.135, IP = XX.YY.140.135, PHASE 1 COMPLETED
    6|Nov 04 2013|16:53:08|113009|||||AAA retrieved default group policy (CLT_TEASOA_L2L_GroupPolicy) for user = XX.YY.140.135
    6|Nov 04 2013|16:53:08|713172|||||Group = XX.YY.140.135, IP = XX.YY.140.135, Automatic NAT Detection Status:     Remote end is NOT behind a NAT device     This   end is NOT behind a NAT device

    Hi Florian
    tunnel is coming UP?
    if so and after few time is going down...sometimes could be related to sessions timeout issues.
    try to configure SLA with infinite ping  and see if this works.
    sla monitor x
    type echo protocol ipIcmpEcho sla_monitor_address interface outside_interface
    frequency 5
    exit
    sla monitor schedule 1 life forever start-time now

  • Request for Step by step procedure to create SRM User in detail

    Hi All,
    Could you please provide Step by step procedure to create SRM User in detail.
    I have completed the following:
    1. I created SU01 User.
    2. I created Root Organistaion with PPOCA_BBP.
    3. I went into PPOMA_BBP Tr. code and added Organisation structure like Root Organisation -> Organisation for Company Code -> Organisation for Pur Org -> Organisation fro Pur Group -> Position.
    4. I got struck at assigning BusinessPartner for each organisation and creating Cntral Person
    Plase provide further steps to copmplete SRM USer creation.
    Thanks in advance,
    Regards,
    Siva

    Hi
    Are you using USERS_GEN transaction in SRM to create users ? Please read the SAP documentation in this case associated with the transaction using SRM GUI logon..
    Which option do you use in USERS_GEN : file upload ?
    In your case where the "US" (User) link is missing: is the SU01 user created ? Wasn't is already created before USERS_GEN ?
    If the system is not able to create the CP <-> US relation, you should get back an error message in USERS_GEN.
    Please go through the related very helpful pointers ->
    Central Person
    Re: Error while assigning user to a position
    Re: How to assign contact person user id to Vendor uploaded from ECC?
    Re: Central Person already exists
    Re: Correct relationships not being created from USERS_GEN
    Business Partner(BP) and Central Person(CP) distribution
    Contact person of vendors created inconsistently in my organizative structu
    Please revert in the event of any query.
    Regards
    - Atul

  • Generate User Login in "Create User" Request

    Hi Guys,
    I have more a problem. To create user, I am using a Request (Create User Template), I managed add the attributes that would necessary normally, but I use a Event Handler (Post-Process) to generate user login. So I marked the User Login in Attributes Restrictions, fixing an user login default for example: autogenerate.
    Then I created a new request to create user, I filled out all the fields that I marked to appear. I approved this request, and the user is created with the User Login generate by my Event Handler normally. The issue is, when I create 2 create user requests, as I use a Default value in the User Login attribute, if the first request still isn't approved, the second request isn't created because the "autogenerate" user login already being used.
    Exists some otherwise to I resolve this issue?
    Thanks

    Hi Bikash,
    Use a prepopulate adapter an attribute with timestamp is nice idea, but I use the "Create User" template CreateUserDataSet.xml and not exists a form in Design Console to associate the prepopulate adapter.
    I had thought in eventhundler because I use a method that check on Active Directory if the user login generated by other method, already is being used. And I use this eventhandler in HR GTC recon too.
    About XL.LDAPReservationPluginImpl, I opened the oracle.iam.identity.usermgmt.impl.plugins.reservation.ReservationInOID but I not understood as use this option. If I needs add in this class my method of generate user login. If I needs implement an new class similar to this class, using my methods and associate the name of class in XL.LDAPReservationPluginImpl.
    Thanks a lot

  • Create unique user profiles for each separate session

    Hi,
    How can I configure TS environment so that each user (who logs onto Windows using the same generic Windows user ID) gets their own unique Windows user profile.
    For example, imagine a scenario where the users are logging onto Windows using the shared user "SYSTEMAPP"
    The intention is to configure the TS server's Windows, so that it creates unique user profiles for each separate session, for example:
    - SYSTEMAPP
    - SYSTEMAPP.000
    - SYSTEMAPP.001
    - SYSTEMAPP.002 (etc...)
    The server version for TS is Windows Server 2012 and not joined to AD. User IDs are created at Local Users and Groups.
    Kindly advise.

    Hi Susie,
    Just to illustrate my point further. Let's say a user logged into the server using user ID SYSTEMAPP for the first session. So, if
    you browse the folders in the server, you'll be able to see this:
    C:\Users\SYSTEMAPP
    Then, another user logged into the same server as SYSTEMAPP user using other session. In this case, my intention is to configure the
    server to create another unique user profile as below:
    C:\Users\SYSTEMAPP.000
    Subsequently, if more users logged in using the same account, the unique counter number will keep on adding...
    C:\Users\SYSTEMAPP.001
    C:\Users\SYSTEMAPP.002
    C:\Users\SYSTEMAPP.003
    Previously, I checked from my third party software vendor that this can be done but I still cracking my head on this which is why led me
    to this forum.
    Kindly advise.

  • Create subscription not having the correct created by user name and date

    Last week we upgraded our system to SP14 from SP11. When a user creates
    a new document request from a template (refer attachment-screen shots),
    subscription notification is sent with the wrong created by user name &
    date. Instead of showing the user who created the request using the
    template, it is showing the user’s name & date who loaded the templates
    to the repository.
    Also, when the user creates new document request from template, the
    name of the templates defaults in the system property “name” without any
    extension, in other words it looks like it is overwriting the same file
    name to all the requests & is not able to identify the user’s name. We
    did not see this behavior in SP11.
    Since we are already in production & this is causing lot of issues &
    confusion, if any of you have experienced this issue, please let me know how it was resolved.
    I am also attaching the log files with errors for your reference.
    Errors thrown in trace files for template stuff
    #1.5#0003BA0ED980001D000000000000218B00040A023494CCAC#1136904495221#com.sapportals.wcm.util.logging.CatchBlockHandler#sap.com/irj#com.sapportals.wcm.util.logging.CatchBlockHandler.ResourceImpl#9kgollap#2342##woody_EPD_613400651#9kgollap#dc44ab8081e611dac2ff0003ba0ed980#SAPEngine_Application_Thread[impl:3]_4##0#0#Error##Plain###[ECB] Can't move /documents/Templates/SingleTemplates/New_ Document_ Number_ Required_Engr Spec.doc to /QIS_content/ELYR_Manufacturing/New_ Document_ Number_ Required_Engr Spec_0_.doc: com.sapportals.wcm.repository.NotSupportedException: Can't move /documents/Templates/SingleTemplates/New_ Document_ Number_ Required_Engr Spec.doc to /QIS_content/ELYR_Manufacturing/New_ Document_ Number_ Required_Engr Spec_0_.doc
                at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:400)
                at java.lang.Throwable.<init>(Throwable.java:195)
                at java.lang.Exception.<init>(Exception.java:41)
                at com.sapportals.wcm.WcmException.<init>(WcmException.java:59)
                at com.sapportals.wcm.util.content.ContentException.<init>(ContentException.java:38)
                at com.sapportals.wcm.repository.ResourceException.<init>(ResourceException.java:163)
                at com.sapportals.wcm.repository.NotSupportedException.<init>(NotSupportedException.java:64)
                at com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager.copy(CmNamespaceAndContentManager.java:1313)
                at com.sapportals.wcm.repository.ResourceImpl.internalCopyManager(ResourceImpl.java:3142)
                at com.sapportals.wcm.repository.ResourceImpl.internalCopy(ResourceImpl.java:3232)
                at com.sapportals.wcm.repository.ResourceImpl.copy(ResourceImpl.java:2041)
                at com.sapportals.wcm.repository.ResourceImpl.copy(ResourceImpl.java:2014)
                at com.sapportals.wcm.rfadapter.CopyUtility.copy(CopyUtility.java:116)
                at com.sapportals.wcm.service.template.TemplateService.createFromTemplate(TemplateService.java:409)
                at com.sapportals.wcm.rendering.uicommand.cm.UITemplateCommand.execute(UITemplateCommand.java:129)
                at com.sapportals.wcm.rendering.control.cm.CommandDispatcher.onExecute(CommandDispatcher.java:77)
                at com.sapportals.wcm.rendering.control.cm.WdfProxy.onExecute(WdfProxy.java:2152)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at com.sapportals.wdf.stack.Control.dispatchHtmlbEvent(Control.java:386)
                at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:175)
                at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:538)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
                at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
                at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
                at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
                at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)
                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.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
                at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
                at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
                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.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
                at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
                at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
                at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
                at java.security.AccessController.doPrivileged(Native Method)
                at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
                at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
                at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
                at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
                at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
                at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
                at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
                at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
                at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                at java.security.AccessController.doPrivileged(Native Method)
                at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
                at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Thanks,
    Viji

    Hi Viji,
    have you also logged a support message in the Online Support System?
    If not, please do so. SDN will not necessarily trigger a bugfix from SAP development, in case this here makes one necessary.
    Regards,
    Karsten

  • New User Request cannot be submitted in GRC AC 10

    Hello Gurus,
    We have configured GRC AC 10 along with workflows and for all scenarios things are working fine , except for "New User".
    When we select
    Request Type : New Request
    Request for: Others
    User : XYZ (This user is not present in "HR system(ERP system)", which is our data source for User search, user details & authentication)
    and we select certain roles to be assigned to the user.
    Then when we click "Submit Button" , it gives us an error , XYZ is not a valid User
    In SPRO under CUP --> Maintain Provisioning Settings
    For Global Provisioning under
    "Create User if does not exist"
    i have selected both "check boxes" for
    1) For Change User Action
    2) For Assign Role Action
    Also in System Provisioning, i have ticket the option "create User".
    Note: Under Data Source Configuration i have selected "End User Verification" as Yes.
    Will you please provide your inputs on what could be the reason for getting this error .
    Regards,
    Victor

    Hello Sabita!
    Sabita Das wrote:
    The system should validate in both cases whether User ID exists or not. It was working fine in AC 5.3 later patches.
    If you want to validate against LDAP, SAP or other datasource, you should set this parameter to "YES", but in this case you have to make sure that the user exist there. If the parameter is set to "no", no validation takes place. If you want to create the user if the user doesn't exist in the "change account" request, you have another option to do it: Maintain Global Provisioning Settings --> Create User if does not exist
    > In new account, we are able to create a request for a User ID which already exists.
    This is not documented as a controlled in the parameter 2051. Is it a missing functionality??
    Cheers,
    Diego.
    Edited by: Diego I. Yaryura on Feb 8, 2012 12:23 AM
    Edited by: Diego I. Yaryura on Feb 8, 2012 12:26 AM

  • Can we control user request w.r.t Memory and CPU utilization in Oracle 10g

    Dear All,
    We are having Production with Oracle 10.2.0.4 (5 Node RAC, 32Gb RAM each) running on RHEL5.2 with 12000 Users. We have some schema say FIN, HRMS, SALES, REPORT and many dedicated users for those schemas. We need to control the user request against these schema with respect to Memory (or CPU utilization)
    Suppose users using FIN schema can use Maximum 40 % of Total Memory, HRMS schema can use Max 20%, SALES can use Max 20% and REPORT can use Max 20%.
    Is it possible to create any Service in Server side to handle this type of scenareo or any existing service which can be customised to fullfil this?
    Please suggest me.......
    Thanks,
    Tusar
    Edited by: gohappy on Jan 27, 2011 5:59 AM
    Edited by: gohappy on Jan 27, 2011 6:00 AM

    JDBC 'applications' quite often don't use persistent connections, and often do not exit gracefully by calling 'exit' or 'disconnect'.
    This means the session will continue to exist.
    It also means, if you don't establish any form of connection pooling and/or dead connection detection, you can throw whatever amount of memory in the server, and you will continue to report
    'Now problems is coming'. Apart from crippled English, the general lesson any DBA should know is how these 'applications' operate, and, contrary to some, you can never ever fight problems caused by applications,
    by throwing memory and cpu at the problem.
    When I read your text, I also assume the application is not using PrepareStatement calls and not using bindvariables, this is why your 'application' is burning the CPU.
    Find those 'application developers', sue them, or better still : Beat them with a whip, and have them fix their 'crapplication'.
    Paraphrasing William Jefferson Clinton: It's the application, stupid!
    Sybrand Bakker
    Senior Oracle DBA

  • How to create a user in Opensso Identity Service Webservices api?

    Hi All,
    I am getting struck with the creation of user in OpenSSO through the webservices api they are providing.
    I used the following wsdl link to create the API's. http://localhost:8080/opensso/identityservices?WSDL
    Now my requirement is, i have to create a user profile through the program which has the api create(identity,admin) created by the WSDL link.
    Here identity is the com.sun.idsvcs.IdentityDetails and admin is the com.sun.idsvcs.Token. I want to append givenName,cn,sn,userPassword in that. But dont have any idea how to given these details in IdentityDetails. If anyone give any sample solution i can follow.
    Any Help Greatly Appreciated.
    Thanks in Advance.
    With Regards,
    Nithya.

    Hey, I've managed to implement OpenSSO user registration through SOAP.
    My code is:
    package ru.vostrets.service.implementation.helper.opensso;
    import ru.vostrets.model.person.Person;
    import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.stereotype.Service;
    import ru.vostrets.dao.PropertiesDao;
    import ru.vostrets.exception.FatalError;
    import com.sun.identity.idsvcs.opensso.*;
    import java.util.HashMap;
    import java.util.Map;
    import org.slf4j.LoggerFactory;
    import org.slf4j.Logger;
    import ru.vostrets.exception.ConfigurationError;
    * @author Kuchumov Nikolay
    * email: [email protected]
    @Service
    public class OpenSsoPersonServiceHelper
         private enum AttributeName
              USER_NAME("uid"),
              PASS_WORD("userpassword"),
              GIVEN_NAME("givenname"),
              FAMILY_NAME("sn"),
              FULL_NAME("cn"),
              EMAIL("mail");
              private final String name;
              AttributeName(String name)
                   this.name = name;
              public String getName()
                   return name;
         private static final Logger LOG = LoggerFactory.getLogger(OpenSsoPersonServiceHelper.class);
         private PropertiesDao propertiesDao;
         public void create(Person person)
              try
                   IdentityServicesImplService service = new IdentityServicesImplService();
                   IdentityServicesImpl servicePort = service.getIdentityServicesImplPort();
                   java.util.List<java.lang.String> attributeNames = null;
                   Token subject = new Token();
                   subject.setId(request.getParameter("token"));
                   UserDetails results = servicePort.attributes(attributeNames, subject);
                   for (Attribute attribute : results.getAttributes())
                        LOG.info("************ Attribute: Name = " + attribute.getName() + ", Values = " + attribute.getValues());
                   LOG.info("Roles = " + results.getRoles());
                   IdentityDetails identity = newIdentity
                             person.getCredentials().getUserName(),
                             getAttributes(person)
                    * Creates an identity object with the specified attributes.
                    * @param admin Token identifying the administrator to be used to authorize
                    * the request.
                    * @param identity object containing the attributes of the object
                    * to be created.
                    * @throws NeedMoreCredentials when more credentials are required for
                    * authorization.
                    * @throws DuplicateObject if an object matching the name, type and
                    * realm already exists.
                    * @throws TokenExpired when subject's token has expired.
                    * @throws GeneralFailure on other errors.
                   servicePort.create
                             identity,
                             authenticateAdministrator()
              catch (DuplicateObject_Exception exception)
                   throw new UserAlreadyExistsError();
              catch (Exception exception)
                   //GeneralFailure_Exception
                   //NeedMoreCredentials_Exception
                   //TokenExpired_Exception
                   throw new FatalError(exception);
         private Token authenticateAdministrator()
              try
                   IdentityServicesImplService service = new IdentityServicesImplService();
                   IdentityServicesImpl servicePort = service.getIdentityServicesImplPort();
                   if (propertiesDao.get().getAuthentication().getOpenSso().getAdministrator().getUserName() == null
                             || propertiesDao.get().getAuthentication().getOpenSso().getAdministrator().getPassWord() == null)
                        throw new ConfigurationError("OpenSSO administration properties not initialized");
                    * Attempt to authenticate using simple user/password credentials.
                    * @param username Subject's user name.
                    * @param password Subject's password
                    * @param uri Subject's context such as module, organization, etc.
                    * @return Subject's token if authenticated.
                    * @throws UserNotFound if user not found.
                    * @throws InvalidPassword if password is invalid.
                    * @throws NeedMoreCredentials if additional credentials are needed for
                    * authentication.
                    * @throws InvalidCredentials if credentials are invalid.
                    * @throws GeneralFailure on other errors.
                   Token token = servicePort.authenticate
                             propertiesDao.get().getAuthentication().getOpenSso().getAdministrator().getUserName(),
                             propertiesDao.get().getAuthentication().getOpenSso().getAdministrator().getPassWord(),
                   LOG.info("******************************** Admin token: " + token.getId());
                   return token;
              catch (Exception exception)
                   throw new FatalError(exception);
              com.sun.identity.idsvcs.opensso.IdentityServicesImplService service = new com.sun.identity.idsvcs.opensso.IdentityServicesImplService();
              QName portQName = new QName("http://opensso.idsvcs.identity.sun.com/" , "IdentityServicesImplPort");
              String request = "<authenticate  xmlns=\"http://opensso.idsvcs.identity.sun.com/\"><username>ENTER VALUE</username><password>ENTER VALUE</password><uri>ENTER VALUE</uri></authenticate>";
              try
                   // Call Web Service Operation
                   Dispatch<Source> sourceDispatch = null;
                   sourceDispatch = service.createDispatch(portQName, Source.class, Service.Mode.PAYLOAD);
                   Source result = sourceDispatch.invoke(new StreamSource(new StringReader(request)));
              catch (Exception exception)
                   // TODO handle custom exceptions here
         private Attribute newAttribute(AttributeName name, Object value)
              Attribute attribute = new Attribute();
              attribute.setName(name.getName());
              attribute.getValues().add(value.toString());
              return attribute;
         private Map<AttributeName, Object> fillAttributes(Map<AttributeName, Object> attributes, Person person)
              attributes.put(AttributeName.USER_NAME, person.getCredentials().getUserName());
              attributes.put(AttributeName.PASS_WORD, person.getCredentials().getPassWord());
              attributes.put(AttributeName.GIVEN_NAME, person.getPersonal().getGivenName());
              attributes.put(AttributeName.FAMILY_NAME, person.getPersonal().getFamilyName());
              attributes.put(AttributeName.FULL_NAME, person);
              attributes.put(AttributeName.EMAIL, person.getContacts().getEmail());
              return attributes;
         private Map<AttributeName, Object> getAttributes(Person person)
              return fillAttributes(new HashMap<AttributeName, Object>(), person);
         private IdentityDetails newIdentity(Object name, Map<AttributeName, Object> attributes)
              IdentityDetails identity = new IdentityDetails();
              identity.setName(name.toString());
              return fillAttributes(identity, attributes);
         private IdentityDetails fillAttributes(IdentityDetails identity, Map<AttributeName, Object> rawAttributes)
              for (Map.Entry<AttributeName, Object> rawAttribute : rawAttributes.entrySet())
                   identity.getAttributes().add(
                             newAttribute(rawAttribute.getKey(), rawAttribute.getValue()));
              return identity;
         @Autowired
         public void setPropertiesDao(PropertiesDao propertiesDao)
              this.propertiesDao = propertiesDao;
    }

  • Create a Shipment Request in Transport mgt system through XI

    Hi All,
    I'm trying to create a shipment request in SAP TM System 7.0 from SAP ECC 6.0 thru PI 7.0.
    Once output message type is saved in Outbound delivery in ECC, the xml message is comming to PI.
    (Service to service scenario)  i'm using xi adapter in receiver side of PI.
    Queue is getting created in TM System and i'm trying to process through SMQ2. But shipment request didnt get created in TM System.Thanks in advance for any help.
    I searched in forum and didnt get any idea.Also provide anyother best solution  for this scenario.
    Thanks
    Hari

    Hi,
    Actually this is not the right place for your question,please look in to Java Development infrastructure Forum.However i will answer your query.
    System admin has to create domain(Three letter word)
    if you check this url http://<server>:port/devinf as you mentioned you will get DTR,CBS and CMS.With cmsadm user you can create  track before that you have to creta Software component.
    if you post what, message you are getting it helps us to answer.
    Regards,
    RK

  • Error in creating Java Users during Solution Manager installation

    Hi gurus,
    First time trying to install SAP.
    Red Hat Linux 4
    Oracle
    jdk 1.4.2_11
    While installing the Solution Manager, it errored when it was creating Java Users, SAPJSF, J2EE_ADMIN and J2EE_GUEST.
    The error description read "jco$exception: rfc_error_system_failure: invalid request".
    I want to create these users manually and continue with the rest of process.
    I searched lots of entries, notes, etc., but somehow, my "old" pair of eyes (and brains, too) failed to come up with something I could understand.
    So, gurus, please help, help, help!!
    There are no GUI version of anything installed, no Virtual Admin, no nothing like that. I have to rely on good old unix (Linux) command to do (add users) this.
    Can you please, please post the instructions (step-by-step)? Please have a pity on me since this is my very first time dealing with SAP.
    Thanks and regards.

    Creating users manually is not the intension of the SAP Installation tool. There are other solutions available
    A good starting point is to check if SELinux is enabled or disabled. I've seen lots of broken installations on Red Hat because SELinux does not allow the installer to create users. Check if in /etc/selinux/config  the setting
    SELINUX=disabled
    is set.
    I see, that you are using JDK 1.4.2_11. Is this the Sun JDK? In case you are on x86_64 you have to use the IBM JDK instead. You can download it from <a href="https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=lxdk&S_PKG=amd64142sr7&S_TACT=105AGX05&S_CMP=JDK&lang=en_US&cp=UTF-">here</a> .
    Also a new SAPINST may help. The current Installation Master CD can you download here:
    http.//service.sap.com/swdc
    -> Download
    -> Installations and Upgrades
    -> Entry by Application Group
    -> SAP Technology Components
    -> SAP SOLUTION MANAGER
    -> SAP SOLUTION MANAGER 3.2/4.0
    -> Installation and Upgrade
    -> LINUX
    -> ORACLE
    51032006       SAP Solution M. 4.0 SR1 Inst. Master **
    Best Regards,
    Hannes Kuehnemund

  • ORA-01013: user requested cancel of current operation Disconnected from Ora

    Hi Hussein;
    When i run my script for cold backup in r11.5.10.2 solaris 9.2.0.8 database it gives me:
    ORA-01013: user requested cancel of current operation Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.8.0 - Production
    What is matter?

    Hi,
    Run this query to determine the session details of the OS PID:
    SQL> select s.sid, s.serial#, s.username, s.osuser, p.spid, p.terminal, s.program
    from v$session s, v$process p
    where paddr=addr
    and spid='<OS PID>';Regards,
    Hussein

  • Create an user from the existing user.

    Hi All,
    Recently i have created one user from the existing user in a different server.
    Oracle version :10.2.0.1.0
    I have granted the similar roles same as in production.
    In Production:
    SQL> select granted_role,grantee from dba_role_privs where grantee in ('TRADELOANS');
    GRANTED_ROLE                   GRANTEE
    RESOURCE                       TRADELOANS
    CONNECT                        TRADELOANS
    In Test:
    SQL> select granted_role,grantee from dba_role_privs where grantee in ('TRADELOANS');
    GRANTED_ROLE                   GRANTEE
    RESOURCE                       TRADELOANS
    CONNECT                        TRADELOANS
    But the user complained that he is getting error like 'user lacks CREATE SESSSION privilege'. He also says he is able to connect to production but for the test he is getting that error
    Can anybody let me know where i have done the mistake?
    Regards
    Arun

    arundba wrote:
    Hi Kamran,
    I listed the roles given to the user in my first post. I have granted connect and resource role to the user.
    and it is same in production also. But the thing is why he is able to connect to production and not for test?
    Regards
    ArunSee the following demonstration:
    SQL> create user t identified by t;
    User created.
    SQL> connect t/t
    ERROR:
    ORA-01045: user T lacks CREATE SESSION privilege; logon denied
    Warning: You are no longer connected to ORACLE.
    SQL> conn / as sysdba
    Connected.
    SQL> grant connect to t;
    Grant succeeded.
    SQL> conn t/t
    Connected.
    SQL>

Maybe you are looking for

  • My computer doesn't recognize my Zen Creative Vision:M (30 GB) anymore

    ? I still use XP and I have this mp3-player for a year now and it has been working fine until yesterday. I ripped Stefani's first album and tried to drag one of her songs on my mp3-player, but the player couldn't handle the file it seemed. So it fell

  • MSVCR100D.dll was not found

    Hi, I created a simple dll using Visual C++ following this tutorial: http://decibel.ni.com/content/docs/DOC-1690 I got it to run in labview on my laptop which runs Labview 2010 on Windows 7; however, I can not get it to run on my other machine which

  • Multiple assets depreciation using T.Code ABAA

    Hi Gurus Using the T.code ABAA, we can depreciate one asset at a time. one of my user wants to depreciate multiple assets using this t.code to reduce the his process time. is it possible? if it is possible how we can do it. Please suggest

  • RPM Upload/Download Project Data u2013 No Selection list for Application system

    When trying to upload from project or download to project from/to application SAP Project System there is no selection list under the drop down field for Application system. As I understand from the RPM guides, this is the logical system. We have def

  • Streaming audio to my hifi using HomeHub 3

    Dear all This is my first message!  I would like to play music on my Laptop and have it play out of my hifi, which has excellent sound quality.  Is there anyway to do this using the HomeHub and if so how? I am windows7, wireless enabled and have Blue