Invalid session cookie on High latency wan connections

Hello,
I've had users at a remote site complaining that they are getting disconnected regularly from the SGD server here and are then unable to reconnect for several minutes. The connection is a GRE tunnel over the between sites with several firewalls and proxies in between. As well, the clients are behind a NAT. This is a standalone server SGD 4.41. As a test, I set up an SGD server at the remote location and logged into it. I've been disconnected twice at random intervals with a popup dialog that says "Invalid connection Cookie" Please contact your Administrator. In the webtop browser window I attempted a refresh which resulted in a Session Expired message in the webtop message window. I login again and I see my application session still there but upon attempting to connect to it I receive the following:
Web Service Request Failed
The following fault was returned from the server
Code Client.InvalidSessionCookie
String <cookie info etc...> for admin:runCommand
In a subsequent incident I received a popup with the message: The session already has a Secure Global Desktop Client Connection
Once this popped up my webtop session was hung and I could not log back in to the SGD server until I closed my browser and restarted it.
The connection has high latency 365+ ms and is notoriously unstable. Again there are multiple firewalls and proxies between the sites that I have no access to.
Error logs show the following:
Any ideas?
bash-3.00# less jserver988_error.log
2009/06/15 20:01:50.932 (pid 988) server/soapcommands/error #1245076310932
Sun Secure Global Desktop Software (4.4) ERROR:
Invalid session cookie supplied for session 1245075516671:servername:2172620047794735723:Li4uL191c2VyL2VwZWVsZXI=.
The operation will fail.
Repeat the request with a valid session cookie.
2009/06/15 20:07:25.691 (pid 988) server/soapcommands/error #1245076645691
Sun Secure Global Desktop Software (4.4) ERROR:
Unable to write message of type webserver for servername:1245068645735:-3969341831847819217.
Request will fail.
The user should close the Secure Global Desktop Client process, end the
session and start a new session.
2009/06/15 20:07:28.867 (pid 988) server/soapcommands/error #1245076648867
Sun Secure Global Desktop Software (4.4) ERROR:
Invalid session cookie supplied for session 1245075516671:servername:2172620047794735723:Li4uL191c2VyL2VwZWVsZXI=.
The operation will fail.
Repeat the request with a valid session cookie.
2009/06/15 20:08:32.384 (pid 988) server/soapcommands/error #1245076712384
Sun Secure Global Desktop Software (4.4) ERROR:
Invalid session cookie supplied for session 6543220712367266453:servername:1245068645735:-3969341831847819217:1.
The operation will fail.
Repeat the request with a valid session cookie.

Hi DalamarUK83,
"I have seen posts about disabling VMQ on the host/guest servers as there may be an issue with this model - this has had no effect at all, the issue persists after changing VMQ and restarting both the guest and the host OS."
Did you disable the feature in advanced settings of physical NICs ?
I would suggest to re-create virtual switch after disabling VMQ .
What is the make of that NIC ?
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Invalid session cookie supplied for session

    Hi!
    I am receiving this message in the jserver logs:
    Invalid session cookie supplied for session test.site:1178135737779:-391743236040311715:2617822910155903052.
    The operation will fail.
    Repeat the request with a valid session cookie.
    I can access the web client, i can start the vt420, but any other application that spawns a new browser windows fails. This is a standard install in Suse Linux.
    Thanks in advance

    I'm getting the same thing, and I know I shouldn't be. I've installed 4.2 many times, and even had 4.3 going on the Sun Ray server last week and it was fine. But now when trying to do a stand alone install, I can't seem to get past this.
    Using Solaris x86, been working on this 2-3 days trying Sol10u3 no patches, latest patches, Xorg, Xsun, everything I can think of. I can't fathom why it worked on the exact same box, same OS.. (But it was running Sun Ray server software), and now with a fresh OS install, and it's doing this.
    I also noticed it wanted to add itself to /home/ttasys/.ssh/known_hosts, I've never had a home directory for these users before. Made the home directory since I was fresh out of ideas, now it's just one less error message with the same result.

  • E4200 - Extremely high latency, drops connections

    I have 50mb high speed Internet via comcast using a docsys 3 modem, and my wired connection is blazingly fast. I am more than happy to pay for performance, thus this purchase. And that's precisely why it's so infuriating to have 5 to 10 seconds of waiting for a web page to even BEGIN to load via the wireless network. Something is seriously wrong with this router - probably the firmware - even though I'm up to date (I called to double check)
    Once connections are made, the transfer is impressive. But I'm not sure the 5+ seconds to start each connection is worth it.

    There might be some settings required in the router so that it gets the proper solution. If you are facing the concern of getting lag, dropped connections then you can try the following steps:
    A] With the help of Cisco Connect Software (if at all you have installed the router with the help of this software)
    1] Open the software and go to the option which says "Router Settings"
    2] Then click on the option which says "Advanced Settings" which will take you to the router's configuration page.
    3] Lower the MTU (Maximum Transmission Unit) from 1500 to 1400 or less (usually found on your router's main/ basic setup page)
    4] Then go to the Wireless tab, keep network mode as mixed,
    For Channel Settings of 2.4 GHz you can make Channel Width to 20 MHz only and Channel to 6, 9, 11..
    For Channel Settings of 5 GHz you can make Channel Width to 20 MHz only and Channel to 40 or 161...
    B] If you haven't installed Cisco Connect then you can log on to the router's user interface using it's default IP address in the browser which is 192.168.1.1 and type in 'admin' as the password leaving the username field blank. This will take you to the router's web interface and then follow steps as mentioned above to make the changes.
    You should also make sure you upgrade the drivers for the WLAN card on your laptop computers.
    Second, for best results, wireless-N routers should be paired with wireless-N adapters in the same way that wireless-G routers should be paired with wireless-G adapters.
    Should there be a mix of wireless-G and wireless-N adapters connecting to the network, it would be best to set the wireless network mode to Mixed. This will allow wireless-G devices to have a stable connection to the network and will allow the wireless-N device to still connect to the network but will be performing based on the wireless-G speed.

  • Hyper-V Guest - RDP Connections cause high latency.

    Hi all,
    In a test environment we have a HP ProLiant DL360p Gen8 server with Windows Server 2012 R2 - Standard installed with the Hyper-V Role and no others.
    On the server there is a Switch Independent network team configured with 2 of the 1GB NICs.
    There is a virtual Swtich (External) configured on the Host linked to the Team with allow management selected.
    The Guest VM has a single NIC (not a legacy setup) connected to the virtual Switch
    The issue we are having is that once an RDP session is connected to a Guest OS, for example another 2012 R2 Server, it experiences high latency (which makes the RDP session appear to run in a very jerky way)
    Using Hyper-V VMConnect, the server has no issues at all although the window is smaller.
    We can verify this is being caused by an RDP session by observing ping times:
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=1ms TTL=127
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=75ms TTL=127 <RDP SESSION STARTS>
    Reply from 10.101.3.152: bytes=32 time=52ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=63ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=121ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=135ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=141ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=146ms TTL=127
    ......... Snipped ........
    Reply from 10.101.3.152: bytes=32 time=119ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=2ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=8ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=14ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=22ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=72ms TTL=127
    Reply from 10.101.3.152: bytes=32 time=75ms TTL=127
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127 <RDP SESSION CLOSES
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127
    Reply from 10.101.3.152: bytes=32 time<1ms TTL=127
    This issue does not affect RDP sessions to the Host.
    I have seen posts about disabling VMQ on the host/guest servers as there may be an issue with this model - this has had no effect at all, the issue persists after changing VMQ and restarting both the guest and the host OS.
    I have seen another fix for a similar issue by running these commands: bcdedit.exe /set USEPLATFORMCLOCK on and this also has not resolved the issue.
    I have also set the Guest VM to use 256Mbps minimum (512maximum - also tried with no maximum) bandwidth allocated, but again this does not resolve the issue.
    There are no backup jobs or reporting jobs running on these servers (they are in test).
    Is this caused by the specific hardware we have chosen or is there further diagnostics that can be performed? Any help would be appreciated.

    Hi DalamarUK83,
    "I have seen posts about disabling VMQ on the host/guest servers as there may be an issue with this model - this has had no effect at all, the issue persists after changing VMQ and restarting both the guest and the host OS."
    Did you disable the feature in advanced settings of physical NICs ?
    I would suggest to re-create virtual switch after disabling VMQ .
    What is the make of that NIC ?
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Error when connect to Smartview: Invalid Session ID

    We are using 9.2.1 and receive this error on our DEV server when trying to connect to HFM database using Smartview. Nothing changed over the weekend and I don't know when the last person used Smartview on DEV.
    When adding a new connection, can get to the window where the list of clusters are, then can pick a cluster and see the list of apps, but then once you click an app to see the database below it, get the Invalid Session ID message.
    Thanks
    Jeff

    Error seems to be driven by the fact that HFMWebserviceManager service is stopping every 5 seconds for some reason.

  • Invalid session : connecting from developer 6i to sql server 2000

    Hi ,
    I am facing the following problem for connecting to sql server
    2000 from oracle forms 6i.
    Oracle developer 6i(form builder 6.0.8.11.3)
    sql server 2000
    o/s windows 2000 server
    plus80.exe <username>/<password>@odbc:<dsn_name>
    SQL*Plus: Release 8.0.6.0.0 - Production on Tue Oct 24 17:36:56
    2000
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    Microsoft SQL Server 08.00.0194
    SQL>
    pls help
    Thanks in advance
    Yogesh

    Hello ,
    this forum must have a attachment option , so it very easy for others to update their development
    Now how can i paste the procedure it have 6 - 8 pages and when i paste it, the words merge or join with others word, it become very difficult to read,,
    anyhow
    mail me i send the document
    [email protected]

  • Invalid Session ID - cookie encode/decode

    Hello,
    I'm looking for the correct combination of cookie encode/decode parameters for my own setup.
    Machine am : AM Server 7.0 on WS6.1
    Machine amc : my own webapps using AM client SDK & protected by a Policy agent. 2.2 Everything within a WS6.1 container.
    After being redirected to AM, I obtain my iPlanetDirectoryPro cookie and my webapp can obtain a SSOToken using the SSOToken token = manager.createSSOToken(String) if obtain the String via Cookie accessor's method.
    No luck with SSOToken token = manager.createSSOToken(HttpServletRequest) which always gives a Invalid Session Id message. I know that this is an encoding problem but I tried many combinations & heard that these settings are not always well documented. I have at the moment :
    am server AMConfig.properties :
    com.iplanet.am.cookie.encode=false
    am client sdk AMConfig.properties :
    com.iplanet.am.cookie.encode=false
    policy agent AMAgent.properties :
    com.sun.identity.agents.config.sso.decode = false
    com.iplanet.am.cookie.encode = false
    Has somebody worked that out ?
    Thanks !
    nieuwenj

    Hi, am using this code:
    AMUtil.java
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.IOException;
    import javax.security.auth.callback.Callback;
    import javax.security.auth.callback.ChoiceCallback;
    import javax.security.auth.callback.NameCallback;
    import javax.security.auth.callback.PasswordCallback;
    import javax.security.auth.callback.TextInputCallback;
    import javax.security.auth.callback.TextOutputCallback;
    import javax.security.auth.callback.UnsupportedCallbackException;
    import com.sun.identity.authentication.AuthContext;
    import com.sun.identity.authentication.spi.AuthLoginException;
    import com.iplanet.am.util.Debug;
    * @author hjimenez
    public class AMUtil {
        private String loginIndexName;
        private String orgName;
        private String user;
        private String password;
         * Creates a new instance of AMUtil
        public AMUtil(String loginIndexName, String orgName) {
            this.loginIndexName = loginIndexName;
            this.orgName = orgName;
        protected AuthContext getAuthContext()
        throws AuthLoginException, com.iplanet.sso.SSOException, Exception {
            AuthContext lc = new AuthContext(orgName);
            AuthContext.IndexType indexType = AuthContext.IndexType.MODULE_INSTANCE;
            lc.login(indexType, loginIndexName);
            debugMessage(loginIndexName + ": Se obtuvo login context");
            return lc;
        private void addLoginCallbackMessage(Callback[] callbacks)
        throws UnsupportedCallbackException {
            int i = 0;
            try {
                for (i = 0; i < callbacks.length; i++) {
                    if (callbacks[i] instanceof TextOutputCallback) {
                        handleTextOutputCallback((TextOutputCallback)callbacks);
    } else if (callbacks[i] instanceof NameCallback) {
    handleNameCallback((NameCallback)callbacks[i]);
    } else if (callbacks[i] instanceof PasswordCallback) {
    handlePasswordCallback((PasswordCallback)callbacks[i]);
    } else if (callbacks[i] instanceof TextInputCallback) {
    handleTextInputCallback((TextInputCallback)callbacks[i]);
    } else if (callbacks[i] instanceof ChoiceCallback) {
    handleChoiceCallback((ChoiceCallback)callbacks[i]);
    } catch (IOException e) {
    e.printStackTrace();
    throw new UnsupportedCallbackException(callbacks[i],e.getMessage());
    private void handleTextOutputCallback(TextOutputCallback toc) {
    debugMessage("Se ejecut� TextOutputCallback");
    // Mostrar mensaje de acuerdo al tipo especificado
    switch (toc.getMessageType()) {
    case TextOutputCallback.INFORMATION:
    debugMessage(toc.getMessage());
    break;
    case TextOutputCallback.ERROR:
    debugMessage("ERROR: " + toc.getMessage());
    break;
    case TextOutputCallback.WARNING:
    debugMessage("WARNING: " + toc.getMessage());
    break;
    default:
    debugMessage("Tipo de mensaje no soportaado: " +
    toc.getMessageType());
    private void handleNameCallback(NameCallback nc)
    throws IOException {
    // asignar usuario
    nc.setName(this.user);
    private void handleTextInputCallback(TextInputCallback tic)
    throws IOException {
    // poner un prompt para obtener datos
    System.out.print(tic.getPrompt());
    System.out.flush();
    tic.setText((new BufferedReader
    (new InputStreamReader(System.in))).readLine());
    private void handlePasswordCallback(PasswordCallback pc)
    throws IOException {
    // asignar password
    String passwd = this.password;
    pc.setPassword(passwd.toCharArray());
    private void handleChoiceCallback(ChoiceCallback cc)
    throws IOException {
    // ignorar el valor default dado
    System.out.print(cc.getPrompt());
    String[] strChoices = cc.getChoices();
    for (int j = 0; j < strChoices.length; j++) {
    System.out.print("choice[" + j + "] : " + strChoices[j]);
    System.out.flush();
    cc.setSelectedIndex(Integer.parseInt((new BufferedReader
    (new InputStreamReader(System.in))).readLine()));
    public boolean login(AuthContext lc)
    throws UnsupportedCallbackException {
    boolean succeed = false;
    Callback[] callbacks = null;
    // obtener informaci�n del m�dulo solicitada
    while (lc.hasMoreRequirements()) {
    callbacks = lc.getRequirements();
    if (callbacks != null) {
    addLoginCallbackMessage(callbacks);
    lc.submitRequirements(callbacks);
    if (lc.getStatus() == AuthContext.Status.SUCCESS) {
    System.out.println("Login exitoso.");
    succeed = true;
    } else if (lc.getStatus() == AuthContext.Status.FAILED) {
    System.out.println("Login fallo.");
    } else {
    System.out.println("Estatus desconocido: " + lc.getStatus());
    return succeed;
    public void logout(AuthContext lc)
    throws AuthLoginException {
    lc.logout();
    System.out.println("Log Out!!");
    static void debugMessage(String msg) {
    System.out.println(msg);
    public String getUser() {
    return user;
    public void setUser(String user) {
    this.user = user;
    public String getPassword() {
    return password;
    public void setPassword(String password) {
    this.password = password;
    and call it from:
    import com.iplanet.sso.SSOToken;
    import com.sun.identity.authentication.AuthContext;
    import com.sun.identity.authentication.spi.AuthLoginException;
    import javax.security.auth.callback.UnsupportedCallbackException;
    import com.iplanet.sso.SSOException;
    import java.net.InetAddress;
    * @author hjimenez
    public class TestLogin {
        /** Creates a new instance of TestLogin */
        public TestLogin() throws SSOException {
         * @param args the command line arguments
        public static void main(String[] args) {
            try {
                // arg0 = LDAP arg1 = tecnet
                AMUtil login = new AMUtil(args[0], args[1]);
                // arg2=usuario arg3=pass
                login.setUser(args[2]);
                login.setPassword(args[3]);
                AuthContext lc = login.getAuthContext();
                if (login.login(lc)) {
                    SSOToken token = lc.getSSOToken();
                    System.out.println("Token asignado: "+token.getTokenID().toString());
                    String host = token.getHostName();
                    java.security.Principal principal = token.getPrincipal();
                    String authType = token.getAuthType();
                    int level = token.getAuthLevel();
                    InetAddress ipAddress = token.getIPAddress();
                    long maxTime = token.getMaxSessionTime();
                    long idleTime = token.getIdleTime();
                    long maxIdleTime = token.getMaxIdleTime();
                    System.out.println("SSOToken host name: " + host);
                    System.out.println("SSOToken Principal name: " +
                            principal.getName());
                    System.out.println("Authentication type used: " + authType);
                    System.out.println("IPAddress of the host: " +
                            ipAddress.getHostAddress());   
                    login.logout(lc); 
            } catch (AuthLoginException e) {
                e.printStackTrace();
            } catch (UnsupportedCallbackException e) {
                e.printStackTrace();
            } catch (SSOException e) {
                e.printStackTrace();
            }  catch (Exception e) {
                e.printStackTrace();

  • High latency issue When connected through Wifi

    Hi
    I have configured wlc 2504 with cisco 3600 ap .when i connected my laptop wlan on n range,i tried to ping with my network devices am getting high latency 130ms,150ms
    Can anybody provide solution for this
    by
    Veeramani.G

    Hi Veeramani,
    There are actually a lot of different factors that can go into high latency type problems on your wireless deployment such as co-channel interference, interference from other wireless devices, and overall utilization on the AP/Channel.  With that said, there are a number of questions that need to be answered:
    1. Is this issue isolated to either the 802.11b/g 2.4Ghz, the 802.11a 5Ghz, or both bands?
    2.  While associated to the Access Point, in the Controller Web interface, navigate to Monitor > Access Points > 802.11a/n or 802.11b/g/n(pick the band your client is associated on) > Find the Access Point and scroll to the far right.  Hover over the small blue box and select 'Detail'.  Find the section labeled 'Load Statistics' and let me know what you see as the Channel Utilization percentage as well as the 'Attached Client Count'
    3. Since you have a 3600, I am assuming you have CleanAir enabled on them.  Navigate to Monitor > Cisco CleanAir, and see if you can pinpoint any noticeable interfering devices with high % Duty Cycle

  • Windows 7 and Networks with High Latency

    We are currently trying to rollout Windows 7 on our network to replace XP but have encountered an issue whereby we have remote clients that access the network over high-latency satallite links (BGAN and Vocality/Satellite). The latency of the links (based
    on ping results) can be 600ms for Vocality and 1-3s for BGANs.
    The particular services that don't work are a full motion video solution using TVI Viewer 7.9.1 and Outlook 2003 or 2007. These work fine on Windows XP. Shares can be accessed but are significantly slower than XP and ping does respond fine.
    Windows 7 is running on Panasonic Toughbook CF52 and CF74 and I've tested in with a vanilla install with no updates and not on the Domain (2008R2 native) to eliminate GPO interference and tried it with all MS updates as of about 2 months ago.
    I've tried removing the extra services on the network card (Topology Discovery, ipv6 and QoS), updated to the latest NIC drivers from Panasonic and drivers from Intel themselves. Reduced the MTU to as low as 500 and increased the Frame size (I forget what
    to but was following a guide for slow links).
    I've successfully replicated the issue on out development system using a satallite simulator.
    Windows 7 with Outlook and TVI work fine on our network when connected via the LAN, ADSL, 3G and WiFi.
    I'm currently analysing Wireshark captures but they don't seem any different to the XP ones.
    Any help would be much appreciated.

    Hi,
    I noticed that your issue just happened when you use satellite transmission connection.
    The fact is that this kind of connection in Windows 7 use TCP protocol. Transmission Control Protocol ( TCP ) under ideal conditions can provide reliable data delivery, but it is inherent in the existence of a throughput bottleneck, with the emergence on
    the long-distance WAN packet loss and latency increases, the bottleneck is becoming more prominent and serious. In satellite networks with high loss, effective throughput may be as low as 0.1% - 10% of available bandwidth.
    However, FASP can be the solution.
    FASP
    http://asperasoft.com/technology/transport/fasp/#overview-464
    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore,
    Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you
    completely understand the risk before retrieving any software from the Internet.
    Thanks for your understanding. 

  • How to use session cookie property of System object?

    Hi all,
    I have searched all over the SDN but didnt get anything relevent so here i am posting my query...
    My scenario is as follows:
    I have created a KM document iview that launches an HTML page, on click of button of HTML page a VC iview is launched. On this iview i have a button that hits BI query.
    PS: A system object is created for the connectivity bet portal and backend BI server.
    PS: i have configured SSO between portal and backend.
    Now when i click on button on iview that fetches the data from backend, i am asked for authentication pop-up, although i have configured SSO why i am asked to enter UID and PWD again??
    In system object there is a property named
    <b>"session cookie = MYSAPSSO2"</b>
    So should i use this property so that cookie will get transfered from one session to other session when i click button on iview??
    If yes then HOW??
    Is there any other setting remained in Visual Admin?? or Backend or portal?
    What could be the missing??
    PS: User id are same on portal & backend.
    Any help will be highly appreciated...
    Regards,
    Ameya
    Thanks in advance
    Message was edited by:
            Ameya Pimpalgaonkar
    null
    Message was edited by:
            Ameya Pimpalgaonkar

    Hi Ameya,
    I do not know the exact answer.However you should look for something called JSESSION ID.
    Have a look at the thread:
    Re: Problems Using Application Integrator for BSP Application
    Reg SSO Logon Tickets and Browser sessions
    How to use jsessionid while making HTTP calls??
    Hope you find something which can help you.
    Regards
    Atul Shrivastava

  • Invalid session error when trying to transfer line items to shopping basket

    Hi All,
    I have a requirement in E-Commerce application.
    when a user searches for a product in B2B webshop in 'products' tab in left frame, search results table get displayed which will have a shopping basket icon for each line item.
    There we can transfer only a single item to shopping basket.
    if we want to transfer more than one item, again shopping basket icon has to be clicked..
    Now my requirement is that I have to add check boxes before each line item and a button below the results table ,so that when it is cliked, all the checked items should move to shopping basket in a shot.
    I added a button and called '/catalog/updateitems.do' (onclick of buttton) which is the action called when  'transferselection' button in 'productISA.jsp' is clicked.
    Now I am getting  an error saying 'Invalid session' when that button is clicked. I am not able to guess the reason.
    And also I want to ask experts, is this the correct way of proceeding for the requirement ?
    I am new to E-Commerce and any pointers in this regard will be of great help.
    Thanks,
    Anasuya.

    Hello Anasuya,
    Any reason why Catalog is not used but "Product" search list is used in the process? Catalog gives a more organized way of displaying and searching capabilities and makes the buying experience simple. Product search is a convenience tool for power users when you know the product.
    Without major UI changes - like de-framing, the use of Product search for "Add to Cart" of all "selected" products from search list will not excite the end users. Catalog is a powerful tool that is available to you. Unless you have a strong business reason, it is better to use the features the way they are intended. You need to go back to the drawing board with your customer.
    Anyway, I am assuming that you are doing a POC. I will give the same help I provided for your previous message on a similar topic. Re: Null poiner exception when trying to store extension data in existing BO.  We need to understand the basics of Servlet / JSP. Just adding any action (calling servlet) from any page (JSP) may not help. We must understand that the action (servlet) may be expecting many values in the request context which is available in the page (JSP) it was placed in. If that action is blindly placed in another page, it is highly unlikely that it will work, unless, you also took the pain to provide the servlet behind that action with the data it is expecting. So, adding the action from _'productsISA.jsp' _ in organizer-content-product-search1.jsp will have bad results. If you have done the required changes to the JSP, then let us know the changes you have done to really understand the issue.
    If you have not done so, here is what you can do for the POC. If you look at the JSP organizer-content-product-search1.jsp, it doesn't have any useful <INPUT tags that would pass on the Product data to the servlet. So
    Surround the product (tech key) with <Input tag. (Hint: see productISA.jsp)
    I am sure you already have this for the quantity1 and the new checkbox.
    Add a button to a custom action.
    inside the custom action read all the items and create a simple Java List of  BasketTransferItem. Use BasketTransferItemImpl to actually use the instance.
    Use methods setProductKey(String techKey), setQuantity(String quantity) and if you know the UoM use setUnit(String unit) to set the BasketTransferItemImpl object.
    Add each instance of BasketTransferItem to the java List.
    Now, place this list object in the request context under the attribute name baskettransferitemlist.
    On success forward to "addtodocument"
    Make proper changes to config.xml
    I hope this will work without much changes.
    (Note: This is not a cake served in a plate, but just a tested recipe for the cake. Please cook it nicely. If you need the cake immediately, then hire a Chef! - )
    Easwar Ram
    http://www.parxlns.com

  • Is Practical to use ODBC over high speed intenet connections?

    I am developing an application using Oracle 10g as back- end and Visual Basic / Access as front-end. ODBC works fine in intranets for this purpose, but I wonder if it will work over high speed internet connections to manage several offices from the headquarters.
    Any information on the subject will be appreciated.
    Francisco

    Connecting and using database connections over a WAN can be very slow. There are usually several network conversations for even the simplest SQL statements. An application that is used to querying the database each time it needs data can be brought to its knees when the latency goes up, regardless of how much bandwidth is available.
    As long as the latency is less than 20ms, you probably won't notice too much. Once it goes over 50ms, you start to curse these database companies that don't use real streaming. At 100ms or more you start thinking that Citrix is the best invention in the world.
    Jon

  • High latency Links

    We have a branch office that has about 220ms of latency between it and head office. The branch is composed of about 15 client machines (Windows 7 desktops and laptops). We have been struggling with application performance across this link. The Branch office has a 2Mbps MPLS connection and head office has a 50Mbps MPLS connection. Because of the Latency and BDP we get horrible throughput and rarely reach 2Mbps. Increasing the bandwidth to this site would not have much affect I don't think. One thing that was suggested was getting a second 2Mbps MPLS connection there and routing certain traffic over each each pipe. Idea is that we can double the throughput by having 2 separate pipes rather than 1 larger pipe.
    My question is, does anyone have any experience with this sort of setup? Will this improve overall performance to the site?

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    Yes, I have lots of experience (supporting international WAN links).
    No, I don't see a 2nd pipe being better than one twice as large.  If fact, it can be detrimental.  However, the killer in these situations is the distance based latency which isn't "fixed" by adding bandwidth.
    For distance based latency, there's no 100% "fix" beyond "just don't do it".  If possible, use local resources especially for "interactive" network access.  WAAS/WAFS, with their "tricks", can mitigate much of the distance latency impact (basically the most benefit comes from local caching which avoids the WAN's RTT).
    For long distance throughput, you want to avoid any drops (because of slow error recovery) and need to have (for TCP apps) the receiving host's RWIN support (available) BDP.  This is difficult to manually optimize, although often, on older hosts, you need to increase their RWIN to allow a TCP flow to utilize all available bandwidth.  Again, WAAS/WAFS or dynamic traffic shapers can do "tricks" to optimize throughput (basically they often spoof the connection across the WAN link so you don't need to adjust a host's RWIN).
    QoS can keep bulk transfers from disrupting interactive applications, which can make a noticeable improvement.
    Bulk transfers, w/o WAN acceleration, can be faster if concurrent flows (not multiple links) are used.  This because the high distance based RTT slows how fast a TCP flow will initially increase it's flow rate and/or (especially) recover its transmission rate when there's packet loss.
    PS:
    BTW, different hosts, with different "vintage" TCP stacks and/or file processing logic, can fare quite differently across a high latency network.

  • Time Capsule high latency (ping) when using WDS

    Hi!
    I have this WDS configuration.
    An Airport Extreme 802.11g connected to my cable modem as WDS main
    A Time Capsule as WDS remote.
    Both are using channel 1 with WPA/WPA2 Personal.
    I can access the Internet. Printers and AirTunes work fine. But I have some high latency when pinging the ISP modem on 10.0.0.1 from any device connected through the Time Capsule.
    More specifically when I am connected to Airport Extreme 802.11g the ping looks fine: within 1-10 ms. Both if I am directly connected to the Extreme with a cable or wireless.
    BUT when I am on Time capsule (both wired or wireless) my latency time looks very awkward ranging from 1 to 1500 ms.
    64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=35.074 ms
    64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=291.896 ms
    64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=1292.345 ms
    64 bytes from 10.0.0.1: icmp_seq=3 ttl=64 time=1.495 ms
    64 bytes from 10.0.0.1: icmp_seq=4 ttl=64 time=1.435 ms
    64 bytes from 10.0.0.1: icmp_seq=5 ttl=64 time=1.461 ms
    64 bytes from 10.0.0.1: icmp_seq=6 ttl=64 time=1.471 ms
    64 bytes from 10.0.0.1: icmp_seq=7 ttl=64 time=1960.883 ms
    64 bytes from 10.0.0.1: icmp_seq=8 ttl=64 time=960.775 ms
    64 bytes from 10.0.0.1: icmp_seq=9 ttl=64 time=186.944 ms
    64 bytes from 10.0.0.1: icmp_seq=10 ttl=64 time=1.460 ms
    64 bytes from 10.0.0.1: icmp_seq=11 ttl=64 time=977.690 ms
    64 bytes from 10.0.0.1: icmp_seq=14 ttl=64 time=1.529 ms
    64 bytes from 10.0.0.1: icmp_seq=13 ttl=64 time=1002.142 ms
    64 bytes from 10.0.0.1: icmp_seq=12 ttl=64 time=2002.976 ms
    64 bytes from 10.0.0.1: icmp_seq=16 ttl=64 time=1.806 ms
    64 bytes from 10.0.0.1: icmp_seq=15 ttl=64 time=1002.782 ms
    64 bytes from 10.0.0.1: icmp_seq=17 ttl=64 time=1.533 ms
    64 bytes from 10.0.0.1: icmp_seq=19 ttl=64 time=1.565 ms
    64 bytes from 10.0.0.1: icmp_seq=18 ttl=64 time=1002.137 ms
    64 bytes from 10.0.0.1: icmp_seq=20 ttl=64 time=1.446 ms
    64 bytes from 10.0.0.1: icmp_seq=21 ttl=64 time=22.602 ms
    All packets get there but they are terribly delayed causing bad communication while using Skype or SIP telephone from my laptop and imac when connected through the Time Machine.
    I have tried to change the multicast rate on both of them but with no success... still bad latency
    Do you have any suggestion?

    I have found the solution.
    I post it here so it might help someone.
    The issue is: even if you are in WDS don't use the WAN port in the Time Capsule.
    Leave that one empty and use the other 3 LAN ports... and it will make your Time Capsule work perfectly!
    The weird ping result in my previous msg were produced by a computer connected into the WAN port on my TM set into WDS. The port works and behave as a LAN port actually but it's not working properly. Avoid using it!

  • Safari loading pages slowly / high latency

    I have recently been asked by one of my clients to look at a problem with their 3 macs at their place of business. They are an iMac, a macbook and a macbook air. They have all started to exhibit the same problem of being slow to load web pages using safari as their web browser of choice.
    Using the broadband speed test at speedtest.net shows that they are getting some extremely high latency (~4000ms) to some sites.
    I have tested the broadband connection thoroughly using my own (linux) laptop and everything seems to be in working order. Tests on the macs themselves using a terminal show that latency to the internet and dns response times are all as they should be.
    From some limited searching the problem appears to be similar to the problem described in http://discussions.apple.com/thread.jspa?messageID=8799710&#8799710 where safari itself is causing some problems for some reason.
    What I'm looking for is some suggestions on how i can go about fixing the problem when i next visit the client

    Welcome to the forums!
    The following usually works on both Tiger and Leopard:
    (First, if yours is an Intel Mac, check that Safari is not running in Rosetta, which is enough to slow it to a crawl.)
    Adding DNS codes to your Network Settings, should gives good results in terms of speed-up:
    Open System Preferences/Network. Double click on your connection type, or select it in the drop-down menu. Click on TCP/IP and in the box marked 'DNS Servers' enter the following two numbers:
    208.67.222.222
    208.67.220.220
    (An explanation of why that is both safe and a good idea can be read here: http://www.labnol.org/internet/tools/opendsn-what-is-opendns-why-required-2/2587 / )
    Whilst in System Preferences/Network you should also turn off 'IPv6' in your preference pane, as otherwise you may not get the full speed benefit (the DNS resolver will default to making SRV queries). If you want to know what IPv6 is:
    This is Apple's guidance on iPv6:
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8708.html
    Click on Apply Now and close the window.
    Restart Safari, and repair permissions.
    If that didn't do it, then try this as well:
    Empty Safari's cache (from the Safari menu), then close Safari.
    Go to Home/Library/Safari and delete the following files:
    form values
    download.plist
    Then go to Home/Library/Preferences and delete
    com.apple.Safari.plist
    Repair permissions (in Disk Utility).
    Start up Safari again, and things should have improved.

Maybe you are looking for

  • How to force check right value of a JTable cell?

    Hi, I have a JTable with a column that must have a value no empty and between 0 and 100. I made a sample with only one column for simplicity. The code works fine when the user types some value. However, when the user press ENTER to go to next column,

  • MRRL  Document posting Date REg

    Dear All,                  In MRRL invoice verification through ERS  selection screen Posting date field is not available its always posting the documents on the system date. is is any possiblity to get the posting date in the selection screen?.. any

  • How to stop the manually running job

    Hi, I have to stop a job that is run by user manually. I checked on net but did not find the way to stop the existing running job. Please suggest. Thanks, Gulshan

  • Using the built in Isight camera with MSn Messenger

    I am trying to use the built in webcam on my MacBook Pro with MSN Messenger. I cannot locate the option to activate the camera. Any help is appreciated.

  • I am fed up with AT&T. What is the best provider to switch my iPhone 4s to?

    My wife and I would like to switch from AT&T's high prices and I was wondering which provider is the best to switch to. I use data a lot and she doesn't, we have niners in different area codes and would both like to keep them, and I want reliable ser