Logging Issue (First Time Error, Second attempt success)- Please help

Hi,
We have BO XI 3.1 SP2.We have developed a custom java sdk code for logging in. The code works in Dev and Test however the same code errors out when using another CMS name(Prod). Not quite sure how to troubleshoot the issue. Another note is first time when we pass the login values (System Name, User Id, Pass, Auth) it errors out and second time it logs in fine. This happens every time start of the application.
Here is the code that i am using and for the first time it gives the error message "Sorry - you could not be logged on to this server." +
" Ensure that your user name and password, as well as the CMS name are correct" and when logs in second time it works fine..!
    String cms = CMS Name
    if (cms.equals("localhost"))
          response.sendRedirect("../loginForm.jsp?strError=localhost");
    String username = request.getParameter("User");
    String password = request.getParameter("Password");
    String auth =  secLDAP;
   enterpriseSession = sm.logon(username, password, cms, auth);
// If the login failed, redirect the user to the start page.
            out.printlnn("<SCRIPTt language=\"javascript\"> " +
                        " alert t(\"Sorry - you could not be logged on to this server." +
                        " Ensure that your user name and password, as well as the CMS name are correct." +
                        "\");</SCRIPTt>");
        //it will return the login page... unable to attach the code as it is not saving...META HTTP-EQUIV='refresh' CONTENT='0;URL=/CI'
            return;
Edited by: Paul Dasari on Nov 29, 2010 2:13 PM
Edited by: Paul Dasari on Nov 29, 2010 2:14 PM
Edited by: Paul Dasari on Nov 29, 2010 2:21 PM

Hi Ted,
Yes we do have Support and we are working with them to identify the root cause. Still no luck so far!!!
No. It does not redirect to Infoview page,once the logon is completed it redirects to a product selection screen from there it uses an open document to view webi report.
We have tried clearing all the cookies, history, temp files everything and start with a new browser the issue still remains. Well the logon page writes cookies however it does only when it can create an Enterprise Session.
Yes the Prod Environment is at SP2 Level. The Prod has been set up the same way as Dev and Test. Well the same code works in both the environments. Unsure how to troubleshoot to identify the root cause.
Any thoughts is greatly appreciated.
Thanks
Paul

Similar Messages

  • HT5642 Unable to download app this time error while downloading app please help!!!

    when i download some app from apps store i get the following error
    "Unable to download app this time error while downloading app" please help!!!
    i ve tried these Things but
    didnt workout yet
    1) i tried hard reset
    2)i tried logout/login Itune & appstore
    3)Connected to pc and rest setting Network and Full Rest
    all of no use... i dont want to update my softwre from IOS 6.0
    Plx help!1

    Hey Prahaladvatsan,
    Thanks for the question. If I understand correctly, there is a blank app icon on the home screen. It looks like you have already done some troubleshooting. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Have a good one,
    Mario

  • Will not let me log in, first time installing on this computer.

    Will not let me log in, first time installing on this computer.

    What is the error message you see when it will not let you log in... is it one of the below problems?
    Sign Out When Sign In http://forums.adobe.com/thread/1450581?tstart=0 may help
    -and http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html
    And, just in case you ever have this problem...
    BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html
    Mac Spinning Wheel https://forums.adobe.com/message/5470608
    -Similar in Windows https://forums.adobe.com/message/5853430

  • The query just run the first time, the second doesnt run

    The query just run the first time, the second doesnt run, i checked it in the SM50 and appear this msg:
    CL_RSR_CACHE_BO_FF============CP
    its not a problem of indexes, i repaired it but its really weird cause the first time the query run ok, the second doesnt, it seems that the cache is confused or i dont know, help guys, i'll really appreciate it

    I was watching the notes, its really weird when i load the cube and execute the query for the first time, its ok, to the second stay in cache, but i was watching that the cube doesnt allow me activat the BD statistics, i dont know if this is necesary to improve the performance of the query, what i know is this:
    1- before i create a Hierarchy for an infoobject thta is in the cube ,  the query used to run ok. Now when i load the first time and execute its ok, but the second stay in cache.
    2- now i can activate the statistics for the cube, the indexes are ok, i checked for the RSRV and all is ok less the statistics.
    what can i do help friends...

  • I have Mac Pro 2010 model and it's giving heavy fan noise,so run the Apple hardware test but it's showing the Error: 4SMC 1 40000000  please help me in this issue.

    I have Mac Pro 2010 model and it's giving heavy fan noise,so run the Apple hardware test but it's showing the Error: 4SMC 1 40000000  please help me in this issue.

    Same error information here.
    https://discussions.apple.com/message/13083664?messageID=13083664

  • HT1386 my iphone does not sync with itunes on my second authorized computer, please help. i changed the first authorized computer in May 2012 and have been using the second authorized computer since then but it cannot sync - please help!!

    my iphone does not sync with itunes on my second authorized computer, please help. i changed the first authorized computer in May 2012 and have been using the second authorized computer since then but it cannot sync - please help!!

    "I was thinking I would just connect my iPhone and all of my music and other stuff would transfer to the new computer. "
    Not true. The music and pic sync is one way - computer to iphone. The only exception is itunes purchases. Without syncing: File>Transfer Purchases
    You really should transfer everything from the old computer, or your backup copy of your computer. Since you do not have access to the old computer, then use your backup copy of the old computer.
    If for some reason you have failed to maintain a backup copy of your computer ( not good), then you would have to transfer itunes purchased as described earlier. Any other itunes content would be lost.
    You can e-mail photo library pics to yourself, but they will not be of the original quality.
    Before syncing, enter at least one unique contact and calendar entry on the computer. When you first sync, then you should get the option to merge the data.

  • My compouter (PC) no longer recognizes my ipod (4th gen), it "sees" an unknowndevice and gives me error code 43.  Please help.

    My compouter (PC) no longer recognizes my ipod (4th gen), it "sees" an unknowndevice and gives me error code 43.  Please help.

    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

  • TS3694 i think itunes  has removed my iphone software. because now not showing home screen. when i tried to restore my phone there generated an error no is 1015. please help me how can i recover my iphone again?

    i think itunes  has removed my iphone software. because now not showing home screen. when i tried to restore my phone there generated an error no is 1015. please help me how can i recover my iphone again?

    From the article which you posted your question from:
    Errors related to downgrading iOS
    The required resource cannot be found: This alert message occurs when your device has a newer version of iOS than what is available in iTunes. When troubleshooting a device that presents this alert message, go to Settings > General > About and check the version of iOS on the device. If it is newer than the latest released iOS version, the device may have a prerelease developer version of iOS installed.   Installing an older version of iOS over a newer version is not supported.
    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.

  • Itunes won't start up...no error message...please help

    my old itunes version worked fine but when i upgraded it when it prompted me to it won't start up. when i click on it it gives me the hourglass for a couple of seconds then it goes away and itunes never opens. this is very frustrating, i have tried to uninstall and reinstall itunes and quicktime several times and i have downloaded windows install clean up and i have restarted my computer several times and nothing has worked. please help.

    when i click on it it gives me the hourglass for a couple of seconds then it goes away and itunes never opens.
    ... by any chance, do you have Norton Internet Security 2005 installed on that PC?
    if so, let's try giving the trusty Lorraine M technique a whirl:
    Lorraine M: NIS/itunes problem rectified

  • TS1814 This is not working for me. I tried the Windows 7 Resolution steps multiple times to no avail. Please help. I am obviously connected to the internet (as is iTunes Store).

    This is not working for me. I tried the Windows 7 Resolution steps multiple times to no avail. Please help. I am obviously connected to the internet (as is iTunes Store).
    I am connected to the internet through a Verizon Wireless card, that is my regular internet connection.

    I did all that HT1925 recommended and it was no help.  My computer still won't recognize my iPhone.  Often trying to start Apple Mobile Device Service fails with an error message that it starts and then stops immediately.

  • Windows thinks my itouch is a camera and itunes says this ipod can't be used because the software isn't installed - reinstall itunes.  i've done that and continue to get the same error.  can someone please help?

    windows thinks my itouch is a camera and itunes says this ipod can't be used because the software isn't installed - reinstall itunes.  i've done that and continue to get the same error.  can someone please help?

    (apologies for barging in, lllass.)
    Let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/download.htm
    Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)
    Does it install (or uninstall and then reinstall) properly for you? If so, does your device connect without that message now?

  • TS1424 i keep getting error message not enough privileges and also error -1201 can someone please help

    i keep getting you do not have enough privileges when opening itunes as well as error 1201 can someone please help?

    See Here for Troubleshooting
    Free Disc Space
    http://www.thexlab.com/faqs/freeingspace.html
    See Here for Resolving Startup Issues
    http://support.apple.com/kb/ts1417

  • My phone has gone into recovery mode on its own.  says to connect to itunes.  i have restored it 10 times and it does nothing please help me i am out of the country and desparate

    my phone has gone into recovery mode on its own.  says to connect to itunes.  i have restored it 10 times and it does nothing please help me i am out of the country and desparate

    Open iTunes on computer. Connect iPhone to computer. If the iPhone is recognized in Recovery Mode, then Restore the Firmware. If not recognized, then hold both Home and Power Buttons until the iPhone is recognized in Recovery Mode. Usually takes about 20 seconds of holding both buttons. Restore the iPhone Firmware.

  • TS3694 I couldn't be update my iphone. An unknown error occurred (6). Please help me to resolve this problem.

    I could not be updated my iphone4. An unknown error is occurred(6). please help me to resolve this problem

    Errors related to third-party security software
    Error 2, 4 (or -4), 6, 1000, 9006
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    There may be third-party software that modifies your default packet size in Windows by inserting a TcpWindowSize entry into your registry. Your default packet size being set incorrectly can cause these errors. Contact the manufacturer of the software that installed the packet size modification for assistance or follow this article by Microsoft: How to reset Internet Protocol (TCP/IP).
    Verify that access to ports 80 and 443 are allowed on your network.
    Verify that communication to albert.apple.com or phobos.apple.com is not blocked by a firewall, or other Internet security setting.
    Discard the .ipsw file, open iTunes and attempt to download the update again. See the steps underAdvanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations.
    Restore your device while connected to a different network.
    Restore using a different computer.

  • I have instaled Windows 7 64bit Enterprise edition and installed the lastest version of Firefox and it freezes every time i launch it. Please help me.

    I have instaled Windows 7 64bit Enterprise edition and installed the lastest version of Firefox and it freezes every time i launch it. Please help me.
    4d4aae27-34ee-4620-b349-c03002813b2003-Jan-1312:30 AM
    54e24e0e-dfc4-466b-a347-4bd95536773e03-Jan-1312:30 AM
    22d351d2-6461-4f33-9fbd-6d31f769e73103-Jan-1312:30 AM
    8a8da99b-335e-43bb-aa12-4634aa0b431003-Jan-1312:30 AM
    a15bb095-aeb9-44e1-a79c-1a17cee207d503-Jan-1312:28 AM

    None if these crash reports seem to have been send.
    Do you have crash reports with a "bp-" prefix that were submitted and that show a crashing thread?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can use one of these to start Firefox in <u>Safe mode</u>:
    *On Windows, hold down the Shift key while starting Firefox with a double-click on the Firefox desktop shortcut
    *On Mac, hold down the Options key while starting Firefox
    See also:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes

Maybe you are looking for

  • [Solved] Startx black screen on nvidia macbook

    startx goes to a black screen, Xorg.0.log doesn't report anything unusual (that I noticed). I've been using arch for a few years, but this is my first install on a mac, and my knowledge is rather thin in places, so I apologize if I'm missing somethin

  • Mapping Problem.. I Need to pass Unique value everytime to Target filed.

    Hi All, I need to pass some unique value everytime the message processed to the target field.    Source filed ---> Target Field can anyone has the UDF to generate like this.. ? I heard that through RFCLookup we can do that.. by maintaing some table a

  • Split PDF and use field name for file name

    I have a pdf file with 333 pages that I will be splitting into 333 separate pfd files.  Each file needs a specific name that corresponds to a number located in the header of each individual page. Splitting the pdf is easy, unfortunately I can only us

  • Recognising Sony PRS-T1 in Adobe Digital Editions

    Why doesn't Adobe Digital Editions recognise my Sony PRS-T1 ereader?

  • Installing wine apps from AUR, no install UI shows?

    Hello I have been unable to install the netflix-desktop app and pipelight from the aur. The thing is that i start the installation process from terminal (yaourt -S pipelight) and when there is supposed to popup a installation wizard gui, i get nothin