Data storage on a SAP WEB AS cluster environment

Hi,
We are using the SAP WEB AS 7.0 and I'm facing a problem with a single sign on (SSO) in a clustered environment.
The SSO works like this:
1. On an application outside of our WEB AS (Customer Application) a user logs on and an object called Token is send to a servlet on our application on the WEB AS (Internal Application). This Token is saved within the servlet context and contains data of the user.
2. If the user then decides to call our Internal Application, he clicks a link on the Customer Application and a second Token is send to our Internal Application. A new session in our Internal Application will be created and a search in the servlet context for the first Token for this user starts. If the first Token is found, the data from the second token will be matched with the first token.
This works fine in a single node environment. But in a clustered environment the Token objects will be spread among all server nodes because each server node holds its own servlet context. And there is my question: <b>How can I store the first Token object, so that I can reach the data within other session from every other server node?</b>
Sticky sessions are not an option, because this SSO works asynchronous and we have a session for the first Token and another session for the second Token. There are up to 800 concurrent users and the time difference between the first and the second token can be milliseconds. So I’m afraid storage in the database would not work either. 
I hope someone can help me with that.
Nora

Hi Nora,
When you persist the information you need in the database, you don't have a problem with multiple server nodes. Simply create a CMP EJB ("Container Managed Persistence") that holds everything you need for your single sign on. You just have to keep in mind hat you need something that does a cleanup for the data you stored in the database...
As far as I know, there is no way to deal with this issue without using a persistency layer.
Best regards,
Frank

Similar Messages

  • SAP Upgrade in Cluster Environment

    Hi,
    Need information regarding SAP upgrade in cluster environment(MSCS) like if any prerequisites need to be done.
    and if any aditional steps to be performed compared to normal upgrade.
    Thanks in advance.
    Regards
    Ram

    the upgrade guide tells you what to do, read it throughly.

  • Data storage solution for SAP BO

    Hello,
    Is there a storage platform that SAP prefers for Business One SQL databases? For example, Storage Area Networks? Some big storage Vendors are HP, EMC, is there a preference on which vendor and which product?
    I would appreciate it if you could share any of your experience on this topic. Thanks.
    Yi

    Hi Yi,
    I suppose this forum may not be the right place for this question since it is mostly about the SAP Business One SDK and related questions.
    I propose that you contact your SAP sales representative who should forward you accordingly - or give you the information you are asking for.
    I remember having heard about special offerings from hardware vendors for B1 partners customers, but I don't know about any recommendation.
    If you would like to get recommendations from other partners or customers, I would suggest that you ask the question in the SAP community forum (www.sap.com/community) or the SAP Business One forum on Channel Partner Solution Network (CPSN): http://cpsn-channel.sap.com/businessoneforum
    HTH,
    Frank
    Message was edited by: Frank Moebius

  • Cannot see data in SAP.Web.UI.Controls.Table

    Hi,I have created a portal project and dragged a sap table into the design area. then i call a webservice and bind the resulting dataset to the table. the dataset seems to bind, since i can see there are the right number of pages in the table, but i cannot see any of the data. all the rows are blank. am i treating the ascx file correctly? i deploy and browse to test it.
    this is the code in the aspx:
    <%@ Register TagPrefix="sap" Namespace="SAP.Web.UI.Controls" Assembly="SAP.Web, Version=1.2.0.0, Culture=neutral, PublicKeyToken=50436dca5c7f7d23" %>
    <%@ Control language="vb" Codebehind="PortalComponent1.ascx.vb" AutoEventWireup="false" Inherits="pdkdemo2.PortalComponent1"  targetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
    <!%@ PortalComponent name="PortalComponent1" %>
    <LINK href="C:\Program Files\SAP\SAP Portal Development Kit for .NET 1.0\Controls\ur\ur_design.css"
         type="text/css" rel="stylesheet">
    <body class="prtlBody">
         <sap:Table id="Table1" runat="server">
              <sap:Caption Text="Table" ID="Caption2"></sap:Caption>
              <sap:TableRow ID="Table1_ItemTemplate">
                   <sap:TableCell ID="TableCell4" Title="Column1">
                        <sap:TextView ID="TextView4"></sap:TextView>
                   </sap:TableCell>
                   <sap:TableCell ID="TableCell5" Title="Column2">
                        <sap:TextView ID="TextView5"></sap:TextView>
                   </sap:TableCell>
                   <sap:TableCell ID="TableCell6" Title="Column3">
                        <sap:TextView ID="TextView6"></sap:TextView>
                   </sap:TableCell>
              </sap:TableRow>
         </sap:Table>
    </body>
    and this is the code behind:
    Imports System
    Imports System.Collections
    Imports System.ComponentModel
    Imports System.Data
    Imports System.Drawing
    Imports System.Web
    Imports System.Web.UI
    Imports SAP.Portal.Web.UI
    Imports SAP.UI
    Imports SAP.Web.UI.Controls
    Public class PortalComponent1
        Inherits SAP.Portal.Web.UI.PortalComponent
        Protected WithEvents Table1 As SAP.Web.UI.Controls.Table
        Protected WithEvents Caption1 As SAP.Web.UI.Controls.Caption
        Protected WithEvents Table1_ItemTemplate As SAP.Web.UI.Controls.TableRow
        Protected WithEvents TableCell1 As SAP.Web.UI.Controls.TableCell
        Protected WithEvents TextView1 As SAP.Web.UI.Controls.TextView
        Protected WithEvents TableCell2 As SAP.Web.UI.Controls.TableCell
        Protected WithEvents TextView2 As SAP.Web.UI.Controls.TextView
        Protected WithEvents TableCell3 As SAP.Web.UI.Controls.TableCell
        Protected WithEvents Caption2 As SAP.Web.UI.Controls.Caption
        Protected WithEvents TableCell4 As SAP.Web.UI.Controls.TableCell
        Protected WithEvents TextView4 As SAP.Web.UI.Controls.TextView
        Protected WithEvents TableCell5 As SAP.Web.UI.Controls.TableCell
        Protected WithEvents TextView5 As SAP.Web.UI.Controls.TextView
        Protected WithEvents TableCell6 As SAP.Web.UI.Controls.TableCell
        Protected WithEvents TextView6 As SAP.Web.UI.Controls.TextView
        Protected WithEvents TextView3 As SAP.Web.UI.Controls.TextView
        Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim proxy As New secblrnd.Service1
            Dim ds As DataSet
            ds = proxy.GetData("U020_EQUIP", "ALL", "NO", 0, "MOODLET1", "MOODLET1")
            Table1.DataSource = ds
            Table1.DataBind()
        End Sub
    #Region "Web Form Designer generated code"
        Protected Overrides Sub OnInit(ByVal e As EventArgs)
            ' CODEGEN: This call is required by the ASP.NET Web Form Designer.
            InitializeComponent()
            MyBase.OnInit(e)
        End Sub
        ' Required method for Designer support - do not modify
        ' the contents of this method with the code editor.
        Private Sub InitializeComponent()
        End Sub
    #End Region
    End class
    any assistance would be highly appreciated.

    Hi,
    The problem is that the SAP table doesn't support this kind of "dynamic binding" at the moment. The SAP table can contain any one of several controls in each cell, and these controls have several possible properties to bind to. So currently you have to "tell" the table what you want to bind to.
    You have several options:
    1. The easiest option, if you can create a typed dataset in design-time, according to what your webservice returns, then do that... and then put an instance of it on your portal component, and bind your table to that typed dataset (using the designer property grid). This should create a default ItemTemplate with all textViews in the cells, and the texts will be bound to the columns.
    2. Write code in ItemCreated Event handler of the table. This event will be raised for each row in the DS. There you can tell the cells to get the data from the content. Remember that you'd have to create the cells according to the number of columns and set the content of each cell to be what control you want (like TextView) and then fill the properties of that control.
    3. If you know the Data structure, but don't want to or can't create a typed DataSet - First define the columns using the designer (right click the table, select "edit columns"). Then in the event handler (from "2") just set the property "text" of each TextView which is in the content of each cell (use the Cell's property "TableCellContent" to get to the TextView control)
    4. Don't use databinding and create the table contents completely manually (See here -
    How to modify cells in a table?)
    One last thing, here's a link to some more explanations about DataBinding in SAP controls:
    https://media.sdn.sap.com/html/submitted_docs/PDK_for_dotNET_10/Programming%20with%20PDK%20for%20.NET/SAP%20NetWeaver%20.NET%20Controls/Data%20Binding/Complex%20Data%20Binding.htm
    If you choose a solution and need more help, just ask. 
    Regards,
    Ofer

  • Data lost in Weblogic 6.0 web server cluster

    We developed a system using JSP+Servlet+Weblogic 6.0.
    We use web sever cluster provided by weblogic 6.0. We implemented
    a business logic to login user data. Because data user has to input is too
    much, there are multiple pages for user to login data. When use finished
    the first page's input, data will be posted to server and store as
    attribute
    object in session, and user can inut data in second page. Our problem is
    when user input data in the second page, the main server is down, another
    server will be become main server, however, the previous data user input
    has lost. Who can tell me why, or necessary information to solve this
    problem?
    Regards,
    Sun Gang.

    Brenda Balog wrote:
    Hi,
    In the release notes for WebLogic 6.0 it is recommended to use the
    java.rmi.*
    object/exception types rather than weblogic.rmi.*. The recommendation
    is,
    however to use the weblogic.rmi.server.UnicastRemoteObject to get an RMI
    stub instance.
    But looking at the reference API for 6.0, I didn't see anywhere the
    package
    weblogic.rmi.server. The only package available for RMI in 6.0 is
    weblogic.rmi.*THis is a doc bug.
    >
    >
    My questions are:
    - Are the other packages for RMI deprecated, or are they going to be
    deprecated
    in the future releases?No, there are no plans for deprecating the weblogic.rmi packages.
    >
    - Are the release notes corect with respect to the use of
    UnicastRemoteObject?Yes.
    >
    - Is it correct/recommended to use the RMI registry to register RMI
    objects, or
    should I use only JNDI for that?Use JNDI.
    >
    >
    Thank you,
    Brenda.

  • SAP Data Storage Migration from HP EVA SAN to NetApp FAS3070 FMC for M5000s

    Good day all
    We are needing to perform a storage migration for SAP Data that is currently on 2 HP EVA SANs. We have 2 SUN M5000s, 2 SUN E2900s and a couple of V490s, that all connect to the SAN via Cisco 9506 Directors. We have recently commissioned a NetApp Fabric Metrocluster on 2 FAS 3070s, and need to move our SAP Data from the EVAs to the new Metrocluster. Our SUN boxes are running Solaris 10. It was suggested that we use LVM to move the data, but I have no knowledge when it comes to Solaris.
    I have some questions, which I hope someone can assist me in answering:
    - Can we perform a live transfer of this data with low risk, using LVM? (Non-disruptive migration of 11Tb)
    - Is LVM a wise choice for this task? We have Replicator X too, but have had challenges using it on another Metrocluster.
    - I would like to migrate our Sandbox, as a test migration (1.5Tb), and to judge the speed of the data migration. Then move all DEV and QA boxes across, before Production data. There are multiple zones on the hardware mentioned above. Is there no simple way of cloning data from the HP to the NetApp, and then re-synching before going live on the new system?
    - Would it be best to have LUNs created with the same volume on the new SAN as the HP EVA sizings, or is it equally simple to create "Best Practise" sized LUNs on the other side before copying data across? Hard to believe it would be equally simple, but we would like to size the LUNs properly.
    Please assist, I can get further answers, if there are any questions in this regard.

    Good day all
    We are needing to perform a storage migration for SAP Data that is currently on 2 HP EVA SANs. We have 2 SUN M5000s, 2 SUN E2900s and a couple of V490s, that all connect to the SAN via Cisco 9506 Directors. We have recently commissioned a NetApp Fabric Metrocluster on 2 FAS 3070s, and need to move our SAP Data from the EVAs to the new Metrocluster. Our SUN boxes are running Solaris 10. It was suggested that we use LVM to move the data, but I have no knowledge when it comes to Solaris.
    I have some questions, which I hope someone can assist me in answering:
    - Can we perform a live transfer of this data with low risk, using LVM? (Non-disruptive migration of 11Tb)
    - Is LVM a wise choice for this task? We have Replicator X too, but have had challenges using it on another Metrocluster.
    - I would like to migrate our Sandbox, as a test migration (1.5Tb), and to judge the speed of the data migration. Then move all DEV and QA boxes across, before Production data. There are multiple zones on the hardware mentioned above. Is there no simple way of cloning data from the HP to the NetApp, and then re-synching before going live on the new system?
    - Would it be best to have LUNs created with the same volume on the new SAN as the HP EVA sizings, or is it equally simple to create "Best Practise" sized LUNs on the other side before copying data across? Hard to believe it would be equally simple, but we would like to size the LUNs properly.
    Please assist, I can get further answers, if there are any questions in this regard.

  • Error in opening sap web dynpro iview

    hi all,
    i am trying to open sap webdynpro iview in portal but getting the following error...
    500   Internal Server Error
      Web Dynpro Container/SAP J2EE Engine/6.40 
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.ClassNotFoundException: com.lti.wdp.InternalCSLs Found in negative cache -
    Loader Info -
    ClassLoader name: [local/SLAReporting_KM] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/com.sap.km.application sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:tccolapi library:com.sap.aii.util.misc library:tccmi library:tccol~runtime Resources: D:\usr\sap\CX5\DVEBMGS00\j2ee\cluster\server0\apps\local\SLAReporting_KM\webdynpro\public\lib\app.jar Loading model: {parent,references,local} -
        at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
        at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:65)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
        at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:638)
        at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:675)
        ... 49 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0007.20060509173555.0000 (release=NW04S_07_REL, buildtime=2006-05-09:16:21:23[UTC], changelist=13857, host=pwdfm114), build date: Thu May 18 17:33:32 GMT+05:30 2006
    J2EE Engine 7.00 patchlevel
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_09-b05, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Session & Other
    Session Locale en
    Time of Failure Wed Jul 12 09:17:18 GMT+05:30 2006 (Java Time: 1152676038656)
    Web Dynpro Code Generation Infos
    sap.com/pb
    SapDictionaryGenerationCore 7.0007.20060210160356.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:25:11[UTC], changelist=388986, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates 7.0007.20060210160356.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:25:18[UTC], changelist=388986, host=PWDFM101.wdf.sap.corp)
    SapGenerationFrameworkCore 7.0007.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:14:35[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0007.20060228171604.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:30:31[UTC], changelist=391800, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0007.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:15:31[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0007.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:15:22[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0007.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:22:56[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0007.20060210162212.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:27:38[UTC], changelist=389002, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0007.20060316153408.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:45:50[UTC], changelist=394237, host=pwdfm101)
    SapWebDynproGenerationCore 7.0007.20060228171604.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:30:40[UTC], changelist=391800, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0007.20060316153408.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:45:50[UTC], changelist=394237, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    sap.com/pb_api
    SapDictionaryGenerationCore 7.0007.20060210160356.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:25:11[UTC], changelist=388986, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates 7.0007.20060210160356.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:25:18[UTC], changelist=388986, host=PWDFM101.wdf.sap.corp)
    SapGenerationFrameworkCore 7.0007.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:14:35[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0007.20060228171604.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:30:31[UTC], changelist=391800, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0007.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:15:31[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0007.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:15:22[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0007.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:22:56[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0007.20060210162212.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:27:38[UTC], changelist=389002, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0007.20060316153408.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:45:50[UTC], changelist=394237, host=pwdfm101)
    SapWebDynproGenerationCore 7.0007.20060228171604.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:30:40[UTC], changelist=391800, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0007.20060316153408.0000 (release=645_VAL_REL, buildtime=2006-03-18:15:45:50[UTC], changelist=394237, host=pwdfm101)
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for view com.lti.CSLs. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:638)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:675)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:560)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:300)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:204)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:359)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:670)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:267)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:726)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:662)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:808)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:227)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1278)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:353)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:551)
         at com.sap.portal.pb.PageBuilder.wdDoApplicationStateChange(PageBuilder.java:300)
         at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoApplicationStateChange(InternalPageBuilder.java:197)
         at sun.reflect.GeneratedMethodAccessor3364.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doApplicationStateChange(DelegatingComponent.java:139)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doApplicationStateChange(ClientComponent.java:659)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doApplicationStateChange(ClientApplication.java:532)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:120)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:297)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:706)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:660)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:47)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.ClassNotFoundException: com.lti.wdp.InternalCSLs
    Found in negative cache
    Loader Info -
    ClassLoader name: [local/SLAReporting_KM]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:cross
       interface:ejbserialization
       sap.com/com.sap.km.application
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:tccolapi
       library:com.sap.aii.util.misc
       library:tc~cmi
       library:tccolruntime
    Resources:
       D:\usr\sap\CX5\DVEBMGS00\j2ee\cluster\server0\apps\local\SLAReporting_KM\webdynpro\public\lib\app.jar
    Loading model: {parent,references,local}
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:65)
         ... 52 more

    Hi there,
    Try re-deploy the application and restart the server. It will fix this problemn.
    Regards,
    Luciano

  • SAP Web Dispatcher in a high availability environment

    Hello, guys
    We are working in a CRM 7.0 implementation Project. Our system landscape is the following:
       - Two hosts (host1 & host2) on MSCS cluster (Windows 2008) with SQL Server and ASCS in high availability. Additional, this MSCS cluster has a instance of SAP Web Dispatcher.
       - In these two host weu2019ve installed a CI & DI instance, outside of high availability scope
       - Two additional hosts (host3 & host4) with one dialog instance in every host
    We have severe problems with communication between SAP Web Dispatcher and ICM components. Our configuration schema is the next:
       - ASCS (MSCS_virtual_hostname):
    ms/server_port_0 = PROT=HTTP,PORT=8141
    SAPLOCALHOSTFULL = <MSCS_virtual_hostname>.<domain>
       - IC (host1)
    icm/server_port_0 = PROT=HTTP,PORT=8040,TIMEOUT=90,PROCTIMEOUT=600
    icm/host_name_full = <host1>.<domain>
       - ID1 (host2)
    icm/server_port_0 = PROT=HTTP,PORT=8044,TIMEOUT=90,PROCTIMEOUT=600
    icm/host_name_full = <host2>.<domain>
       - ID3 (host3)
    icm/server_port_0 = PROT=HTTP,PORT=8045,TIMEOUT=90,PROCTIMEOUT=600
    icm/host_name_full = <host3>.<domain>
       - ID4 (host4)
    icm/server_port_0 = PROT=HTTP,PORT=8046,TIMEOUT=90,PROCTIMEOUT=600
    icm/host_name_full = <host4>.<domain>
       - SAP Web Dispatcheer (MSCS_virtual_hostname):
    SAPGLOBALHOST = <MSCS_virtual_hostname>
    SAPLOCALHOSTFULL = <MSCS_virtual_hostname>.<domain>
    SAPLOCALHOST = <MSCS_virtual_hostname>
    SAPLOCALHOST = <MSCS_virtual_hostname>
    ms/http_port = 8141
    icm/server_port_0 = PROT=HTTP, PORT=8042,TIMEOUT=30,PROCTIMEOUT=600
    wdisp/add_xforwardedfor_header = TRUE
    In SAP Web Dispatcher log weu2019ve found the following error messages:
    Fri Jan 28 15:45:22 2011
    ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused)
    *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 6 / sock 130060
        (SI_ECONN_REFUSE/10061; I4; ST; 192.168.6.182:8044)
    *** ERROR => Connection request to host: , service: 8044 failed (NIECONN_REFUSED)
    SAP Web Dispather is trying to connect to connect with dialog instances through , which itu2019s incorrect (ports 8044, 8045 & 8046 are opened in dialog instances, not in virtual instance). I think it should try with real hostnames (host1, host2, host3 & host4).
    ¡¡Please, help!! Thanks in advance

    Hello, Karthi,
    Our Web Dispatcher profile looks as following:
    Instance specific parameters
    Maybe some of these parameters are needless
    SAPSYSTEMNAME = <CRM SID>
    INSTANCE_NAME = <WD SID>
    SAPSYSTEM = <WD System number>
    SAPGLOBALHOST = <virtual hostname of WD>
    SAPLOCALHOSTFULL = <FQDN of virtual hostname of WD>
    SAPLOCALHOST = <virtual hostname of WD>
    Directorios
    DIR_INSTANCE = R:\usr\sap\wd
    DIR_INSTALL = R:\usr\sap\wd
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
    DIR_EXECUTABLE = R:\usr\sap\wd
    DIR_PROFILE = R:\usr\sap\wd
    DIR_HOME = R:\usr\sap\wd
    DIR_ICMAN_ROOT = $(DIR_INSTANCE)\icmanroot
    R:\usr\sap\wd\global\security\data
    Accesibilidad al Message Server
    rdisp/mshost = <virtual hostname of CRM Message Server>
    ms/http_port = <HTTP port of CRM Message Server>
    HTTP Settings
    Puerto estandar de acceso HTTP
    icm/server_port_0 = PROT=HTTP, PORT=8042,TIMEOUT=30,PROCTIMEOUT=600
    These parameters defines load balancing weights
    #wdisp/server_00 = NAME=<hostname_SID_SYSNR>, LB=4, ACTIVE=0
    #wdisp/server_01 = NAME=<hostname_SID_SYSNR>, LB=10, ACTIVE=1
    #wdisp/server_02 = NAME=<hostname_SID_SYSNR>, LB=20, ACTIVE=1
    #wdisp/server_03 = NAME=<hostname_SID_SYSNR>, LB=20, ACTIVE=1
    Puerto de acceso interfaz web de administrador
    icm/HTTP/admin_0 = PREFIX=/sap/admin, DOCROOT=$(DIR_ICMAN_ROOT)/admin, AUTHFILE=$(DIR_INSTANCE)\sec\icmauth.txt
    Activaciu00F3n de la cachu00E9 de SAP Web Dispatcher
    icm/HTTP/server_cache_0/http_cache_control = true
    icm/HTTP/server_cache_0 = PREFIX=/, CACHEDIR=$(DIR_INSTANCE)\cache
    Fichero de log de seguridad
    icm/security_log = LOGFILE=$(DIR_HOME)\log\security_%y%m%d.log, SWITCHTF=day, MAXSIZEKB=1024, FILEWRAP=off
    icm/HTTP/logging_0 = PREFIX=/, LOGFILE=$(DIR_HOME)\log\wd_log_%y%m%d.log, SWITCHTF=day, MAXSIZEKB=1024, FILEWRAP=off
    icm/log_level = 1
    Dispatcher Configuration
    wdisp/add_xforwardedfor_header = FALSE
    Parametrizacion de memoria
    Datos de sizing de los que se parten                                #
    #users = 1800 usuarios (900 concurrentes)
    #req_per_dialog_step = 6 peticiones HTTP por paso
    #thinktime_per_diastep_sec = 10 seg. de "thinktime"
    #conn_keepalive_sec = 30 seg. mantener conexiu00F3n abierta con ICM
    #icm/max_conn = users * req_per_dialog_step * conn_keepalive_sec / thinktime_per_diastep_sec
    icm/max_conn = 16200
    wdisp/HTTP/max_pooled_con = icm/max_conn
    wdisp/HTTP/max_pooled_con = 16200
    icm/max_sockets = al menos la suma de icm/max_conn y wdisp/HTTP/max_pooled_con
    icm/max_sockets = 32400
    mpi/buffer_size = 64K = 64 * 1024 = 65536
    mpi/buffer_size = 65536
    mpi/total_size_MB = icm/max_conn * mpi/buffer_size (hay que convertir mpi/buffer_size a MB)
    mpi/total_size_MB = 1024
    icm/req_queue_len = icm/max_conn / 2
    icm/req_queue_len = 8100
    icm/min_threads = icm/max_conn / ~50
    icm/min_threads = 512
    icm/max_threads = icm/max_conn / ~20
    icm/max_threads = 1024
    Parametrizacion de seguridad
    Evitar el envu00EDo de mensajes tu00E9cnicos al usuario final
    is/HTTP/show_detailed_errors = FALSE
    #icm/HTTP/error_templ_path
    And ICM parameters are:
    - SAPLOCALHOSTFULL= <FQDN of every application server>
    - icm/server_port_0 = PROT=HTTP,PORT=8080,TIMEOUT=90,PROCTIMEOUT=600:
    - icm/host_name_full = <FQDN of every application server>  ## This parameter is ignored if SAPLOCALHOSTFULL is defined
    I hope it helps you.
    Best regards,
    Sergio Su00E1nchez

  • JDBC Configuration Error -- Please Help!!!!! any SAP WebAS folks

    Hi,
      Being a newbie to SAP WebAs i'm seeking some help from this forum for the issue which's driving me crazy. I'm trying to configure a Oracle data source to access a local oracle database on a WebAs server hosted part of EP6.
    The WebAs is 6.4 w/ kernal 6.3(this thing is confusing me..), whenever i configure a datasource(after adding driver), it's bombs with a error message on the J2EE console.. I tried many times before trying to find help outside(like this group)
    I have spent many years developing J2EE apps using various vendor products including WebAS6.0, this thing is crazy.. help please..
    V
    the error is pasted below
    java.rmi.RemoteException: Error occurred while starting application in whole cluster and wait.; nested exception is:
    com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Complex error : server ID 3811650:
    Cannot start DataSource "CUSTOMERTRANSACTIONREF".
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:678)
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:660)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:562)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:261)
    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.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
    at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
    at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
    at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
    at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
    at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
    at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
    at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
    at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
    at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
    at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
    at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:292)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:118)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

    Hi,
    I'm not sure what the problem is, but I can give you some basic suggestions about what you could do.
    First of all, check if there are more detailed error messages available in the defaultTrace.trc file. You can open the file using LogViewer service in Visual Administrator.
    Also, check the settings for Database URL, and make sure you have set the SQL Engine option in the Additional tab to "Native SQL".
    Best regards,
    Zornitsa

  • Error data Storage

    what is error data storage at XI? Also provide me the details  along with screeshot.

    Hi Shweta,
                  All error log's stored at following location.
                 i,e /usr/sap/X01(system id)/DVBMGS000/j2ee/cluster/dispatcher/log.
    wher u can find system and default trace.
    u can saw all error log's at that location.
    warm regards
    mahesh.

  • Web Services Session /Singleton cluster environment

    Hi!
    I am having trouble figuring out how to do sessions in web services.
    I am trying to build an app that uses multiple GUI's in different languages (not java) and we want to implement our business layer with web services.
    I need a session to save user settings, and user info so that I can avoid going to the database and ldap in every call.
    So far my idea is to have a web service that deals with the authentication. If the user is valid, the web service will save in a singleton that has hashmap the user setting and return to the client the hashmap key as a token.
    The client has the responsibility to save the token and to use it in later calls.
    The problem that I have is that a singleton would not work in a cluster environment! And I really don't want to be passing all the user information between calls
    Any ideas how can I solve this???

    Hi Gaurav,
    Yes, the currently running session will be taken care of by the another server node which is up and running.
    Your question: Does this mean that the a session of WebDynpro application will continue to work or the changes are lost and the user needs to login again?
    "The state of the session is maintained in the persistent storage after the last successfully ended request." Which means that for example a user was filling up a form and haven't saved the changes and the server crashes then the data on that form will be lost when the second server node starts processing the request. But if the user had saved the data before the server crashes that state of the session will be stored and the data of the form will be saved and user need not fill it up again. If the Server crashes in between the HTTP request session then the request is assinged to the another server node to generate the response. In none of the case user needs to login again.
    Your question: Fundamentally the question is what WebDynpro uses behind the scenes for maintaining session?
    It uses Java Serialization to serialize the HTTP Sessions
    "Serialization involves saving the current state of an object to a stream, and restoring an equivalent object from that stream. The stream functions as a container for the object. The information stored in the container can later be used to construct an equivalent object containing the same data as the original."
    Edited by: Aishwarya Sharma on Oct 7, 2008 8:07 AM

  • Upload data from Excel into SAP CRM using webservices

    Hi,
               I want to upload the data from EXCEL into SAP CRM using a web  service, can anyone say me the process and also how to map the excel and the source code structures.
    Thanks,
    Sanju.

    Try the following :
    Class: CL_GUI_FRONTEND_SERVICES
    Method: GUI_UPLOAD
    Thanks
    <b>Allot points if this helps!</b>

  • WSDL Data connection not working - SAP Interactive Forms(Adobe Based)

    Greetings,
    I am trying to explore the features of Adobe based forms in SAP (WAS 6.4) and have been trying to create an interactive form.
    I am trying to use the WSDL file Data Connection but with no success. This is what I have been doing, starting with a blank form in the "Layout" tab,
       - In the "Data View", created a "New Data Connection".
       - Selected "WSDL file" Option.
       - Browsed to and selected the desired WSDL file.
       - Selected the WebService Option listed (Only one in my case).
    The WebService in this case is programed to "Request" two numbers and "Response" back the sum. (This was just for trial).
    - The connection subsequently appeared in the "Data View".
       - Expanded the "Request" and "Response" trees and dragged the elements to the "Body Page" screen.
       - Dragged the Data Connection Button to the screen.
       - On the Properties of the Button, Went to the "Object" tab and then to the "Execute" tab.
       - Checked "Re-Merge Form Data" and Run at "Client and Server"
       - Generated the PDF Preview
       - On the preview, entered the values for the "Requested" fields and clicked the button. It displays the error message "Couldn't post data to ".
    This was my long story, but with this background, what I want to know is:
       - How do i get it to work, I expected to see the sum in the field.
       - What is meant by running at "Client or Server".
    We do use a proxy server to connect to the Internet.
    As a bottom line, I intend to make an interactive form with which I can display real-time transactional data on the form from our R/3 46C server based on a user input on the form itself (eg: PO info on entering of PO number on the form output itself)
    Best Regards,
    Sanyam Kapur

    Hi Sanyam,
    Looking for messages with zero reply I have found yours.
    Even if it is some time ago, when you posted the message, I would like to give some hints here:
    Web Dynpro does not allow to access data coming directly from a Web Service and display it within a pdf file. You need to create a Web Service modell first. Then you would bind the InteractiveForm property to the context and the data can be shown.
    Hope that helps.
    Best regards,
    Karin

  • How to change the default operators in sap web ui Search screen?

    How to change the default operators in sap web ui Search screen?
    For eg. Using advance search option , I have some fields with default operators like equals, contains,is between, is less than and is greater than. I don't need all these operators for this field.
    I need only "equals" operator. How do i remove the rest of the operators?

    There is a view cluster crmvc_dq where all the standard setting is present related to you r issue. Please try if you can modify that, that way you will avoid the code.
    Incase you are not able to make any changes there then in that case you have to redefine the method GET_DQUERY_DEFINITION () of the IMPL class to delete the operators for a particular serach field.
    Regards,
    Harshit

  • TREX - Configuring Distributed Slave with Decentralized Data Storage

    I am creating a distributed TREX environment with decentralized data storage with 3 hosts.  The environment is running TREX 7.10 Rev 14 on Windows 2003 x64.  These are the hosts:
    Server 01p: 1st Master NameServer, Master Index Server, Master Queue Server
    Server 02p: 2nd Master NameServer, Slave Index Server
    Server 03p: Slave NameServer, Slave Index Server (GOAL; Not there yet)
    The first and second hosts are properly set up, with the first host creating the index and replicating the snapshot to the slave index server for searching.  The third host is added to the landscape.  When I attempt to change the role of the third host to be a slave for the Master IS and run a check on the landscape, I receive the following errors:
    check...
    wsaphptd03p: file error on 'wsaphptd03p:e:\usr\sap\HPT\TRX00\_test_file_wsaphptd02p_: The system cannot find the file specified'
    wsaphptd02p: file error on 'wsaphptd02p:e:\usr\sap\HPT\TRX00\_test_file_wsaphptd03p_: The system cannot find the file specified'
    slaves: select 'Use Central Storage' for shared slaves on central storage or change base path to non shared location
    The installs were all performed in the same with, with storage on the "E:" drive using a local install on the stand-alone installation as described in the TREX71InstallMultipleHosts and TREX71INstallSingleHosts guides provided.
    Does anybody know what I should try to do to resolve this issue to add the third host to my TREX distributed landscape?  There really weren't any documents that gave more information besides the install documents.
    Thanks for any help.

    A ticket was opened with SAP customer support.  The response to that ticket is below:
    Many thanks for the connection. We found out, that the error message is wrong. It can be ignored, if you press 'Shift' and button 'Deploy' (TREXAdmin tool -> Landscape Configuration).  We will fix this error in the next Revision (Revision 25) for TREX 7.1.

Maybe you are looking for