HTTP Status 408/ HTTP Status 400 JDBCRealm/Form Authorization Tomcat

Hi all
When I'm trying to log in to my webapp using Form Authorization based on JDBCRealm I can't get in.
Opera gives me sth like this:
opera
And IE:
ie
When I'm using Firefox everything is ok. Have no idea why. Any suggestions?
Waiting for ur help ;]

Well, if the cookies are actually enabled, then the problem lies somewhere else (however, have you actually verified if the browser has accepted the jsessionid cookie on the correct domain/path?). URL rewriting is not needed if cookies are enabled. It is only essential for ones who disabled cookies, because that would be the only way to let the server track the client session then. You can use JSTL's c:url for this. But again, this is not the main cause of your problem.
Can you post an SSCCE so that we can try to reproduce the same problem and spot on the cause?

Similar Messages

  • "The request failed with HTTP Status 400: Bad Request." when running reports

    Hi,
    I installed reporting services and the install went fine.  The Reporting Services are located on a different server.  I can see all the reports in SCCM but when I try to run them I get the "400" error with the following details:
    System.Net.WebException
    The request failed with HTTP status 400: Bad Request.
    Stack Trace:
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.ReportExecutionService.LoadReport2(String Report, String HistoryID)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.<>c__DisplayClass2.<LoadReport>b__0()
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
       at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
       at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
    I can open the URL from the SCCM server but when I select a report I am unable to select any report options if available.  If no options are availble the report just doesn't run,  I don't get and error if I select "View Report" mutiple
    times.
    If I connect to the Reporting Services site on the computer where it is installed all the reports run fine.
    One thing I have noticed is that when I try to change or add a role assignment for Reporting Services the edited account always reverts back to the default settings and the added Domain user is dropped.
    Thanks

    I reviewed the topic and found a couple of steps I missed the first time around.  I had to "Configure Reports to Use Report Builder 3.0 and setting the "Log on Locally" permission. 
    I then uninstalled the role and reinstalled it.  I am still getting the 400 error.
    When I inspected the SmsAdminUI.log I noticed the Error on the last line 2151811598 (it repeats in the log).  I couldn't find anything specific related to it.  By reading a few "related" Internet posts I came accross a intial setup
    blog that noted some WMI firewall execptions (Async-in, DCOM-in and WMI-in) as require so I checked and they were not allowed on the SCCM server so I allowed them and tested with the same result.  I turned them off again. 
    Here is the tail end of the SmsAdminUI.log
    [19, PID:2684][01/24/2013 16:08:29] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
    [4, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
    [15, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
    [1, PID:2684][01/24/2013 19:06:02] :System.Management.ManagementException\r\nNot found \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.Initialize(Boolean getObject)
       at System.Management.ManagementBaseObject.get_wbemObject()
       at System.Management.PropertyData.RefreshPropertyInfo()
       at System.Management.PropertyDataCollection.get_Item(String propertyName)
       at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
       at System.Management.ManagementBaseObject.get_Item(String propertyName)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
    instance of SMS_ExtendedStatus
     Description = "Error retrieving object FileType=2";
     ErrorCode = 2151811598;
     File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
     Line = 1208;
     Operation = "GetObject";
     ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
     ProviderName = "ExtnProv";
     StatusCode = 2147749890;
    \r\n
    [1, PID:2684][01/24/2013 23:39:14] :System.NullReferenceException\r\nObject reference not set to an instance of an object.\r\n   at Microsoft.ConfigurationManagement.AdminConsole.SmsCustomDialog.get_LocaleIndependentIdentifier()
       at Microsoft.ConfigurationManagement.AdminConsole.ShowDialogTaskHandler.DoTask(NavigationModelNodeBase node, SccmTaskConfiguration sccmTask, PropertyDataUpdated dataUpdatedDelegate, Boolean readOnly)\r\n
    [1, PID:5008][01/25/2013 20:48:00] :System.Management.ManagementException\r\nNot found \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.Initialize(Boolean getObject)
       at System.Management.ManagementBaseObject.get_wbemObject()
       at System.Management.PropertyData.RefreshPropertyInfo()
       at System.Management.PropertyDataCollection.get_Item(String propertyName)
       at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
       at System.Management.ManagementBaseObject.get_Item(String propertyName)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
    instance of SMS_ExtendedStatus
     Description = "Error retrieving object FileType=2";
     ErrorCode = 2151811598;
     File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
     Line = 1208;
     Operation = "GetObject";
     ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
     ProviderName = "ExtnProv";
     StatusCode = 2147749890;
    \r\n

  • Business Objects XI 3.1 SP4 Infoview and IE9 HTTP Status 400 - Invalid path

    Hi There,
    When I working in Infoview with IE9 32Bit or 64Bit and I right click on any object i.e Crystal Report, Folder, Webi Report etc. and select properties I get the following Error
    HTTP Status 400 - Invalid path /PlatformServices/properties was requested
    Has any one got a workaround or a solution for this problem.
    Server - BOE XI 3.1 with SP4 running on a Windows Server 2008 R2 64 bit.
    Client PC`s\Laptops  - Windows 7 64 bit
    Kind Regards,
    Frikkie

    Dear all,
    Seems the issue is browser compatibility ans the below solution may work in your case
    HTTP 400 occurs because of URL difference between IE9 and older versions of supported IE. To resolve this issue, this error in Tomcat will be redirected to a HTML script that applies new URL format. Please follow this 3 steps process:
    STEP ONE: Solution in InfoViewAppActions Folder:
    1) Go to “D:\Business Objects\Tomcat55\webapps\InfoViewAppActions” folder. This folder already has httperror_404.htm and httperror_500.jsp by default.  Rename httperror_404.htm to httperror_404_backup.htm.
    2) Copy and paste the attached file from InfoViewAppActions folder (httperror_400.htm and httperror_404.htm) into “D:\Business Objects\Tomcat55\webapps\InfoViewAppActions” folder. Go to “D:\Business Objects\Tomcat55\webapps\InfoViewAppActions\WEB-INF”
    3) Take a backup of web.xml file and name it as web_backup.xml
    4) Open the file and paste the following script after the Error 404 error handling and save.
    Before:
    <error-page>
            <error-code>404</error-code>
    <location>/httperror_404.htm</location>
        </error-page>
    After:
    <error-page>
    <error-code>404</error-code>
    <location>/httperror_404.htm</location>
        </error-page>
        <error-page>
    <error-code>400</error-code>
    <location>/httperror_400.htm</location>
        </error-page>
    STEP TWO: Solution in AnalyticalReporting Folder:
    1) Go to “D:\Business Objects\Tomcat55\webapps\ AnalyticalReporting” folder. This folder already has httperror_404.htm and httperror_500.jsp by default.  Rename httperror_404.htm to httperror_404_backup.htm.
    2) Copy and paste the attached file from AnalyticalReporting folder (httperror_400.htm and httperror_404.htm) into “D:\Business Objects\Tomcat55\webapps\ AnalyticalReporting” folder. Go to “D:\Business Objects\Tomcat55\webapps\ AnalyticalReporting \WEB-INF”
    3) Take a backup of web.xml file and name it as web_backup.xml
    4) Open the file and paste the following script after the Error 404 error handling and save.
    Before:
    <error-page>
    <error-code>404</error-code>
    <location>/httperror_404.htm</location>
        </error-page>
    After:
    <error-page>
    <error-code>404</error-code>
    <location>/httperror_404.htm</location>
        </error-page>
        <error-page>
    <error-code>400</error-code>
    <location>/httperror_400.htm</location>
        </error-page>

  • Http Status 400

    Hi.
    First of all, If this is in the wrong part of the forum.
    A user is running windows 7, Since her PC was upgraded from XP she is unable to run any infoview reports. They reports are created in crystal reports. Other users are able to run the same report, She is the only person who has been upgraded to windows 7.
    She receives an error when running the report as below;
    https status 400 - invalid path \ crystalreports\view was requested
    Type : Status Report
    Message : invalid path\crystalreports\view was requested
    Description : The request sent by the client was syntactically incorrect (invalid path \ crystalreports\view was requested
    Does anyone have any idea how to resolve this error ?
    Thank you
    Leigh

    Hello and thanks for the reply and sorry for the delay responding.
    Installing chrome has worked for the users that this affects. Does anyone know what the problem with IE 9 is ? Our IT dept are rolling out IE 9 as part of the windows 7 upgrade. We have approx 60-70 business objects users and we can't install chrome as a seperate browser to use with buiness objects on each PC.
    Thanks
    Leigh

  • HTTP STatus 400: WebiView was requested

    Hi All
    I install BOE to my ZCM 11 Primary server(SLES11), and it install successfully.
    I click reporting service from ZCC, and generate anyone report,it's fail.
    The web shaow "HTTP Status 400 - Invalid path /AnalyticalReporting/WebiView was requested"
    Type: Status report
    Message: Invalid path /AnalyticalReporting/WebiView was requested
    Description: The request sent by the client was syntactically incorrect (Invalid path /AnalyticalReporting/WebiView was requested).
    Do I have patch for fix it ?
    wyld

    Originally Posted by wyld
    Hi All
    I install BOE to my ZCM 11 Primary server(SLES11), and it install successfully.
    I click reporting service from ZCC, and generate anyone report,it's fail.
    The web shaow "HTTP Status 400 - Invalid path /AnalyticalReporting/WebiView was requested"
    Type: Status report
    Message: Invalid path /AnalyticalReporting/WebiView was requested
    Description: The request sent by the client was syntactically incorrect (Invalid path /AnalyticalReporting/WebiView was requested).
    Do I have patch for fix it ?
    wyld
    What browser and version are you using?
    Thomas

  • HTTP Status 400 - Invalid path /AnalyticalReporting/WebiCreate was requeste

    Hi,
    I have a  BusinessObject Enterprise XI 3.1 installed on a Linux server.
    When I try to create a New Web Intelligence Document, I get the following error.
    HTTP Status 400 - Invalid path /AnalyticalReporting/WebiCreate was requeste
    Do I need to install another module to activate this feature?
    Thanks
    /Yannick

    Hello Yannick
    Have a look at the following SAP note 1431655
    https://bosap-support.wdf.sap.corp/sap/support/notes/1431655
    Basically, you have to use the wdeploy command.
    Another information: When you install a Service Pack or a Fix Pack, the war files need to be redeployed.
    The installation program asks you if you want to do it manually or automatically.
    Regards,
    Philippe

  • GetItemsRequest failed with HTTP status 400

    At one of our customers we've got a strange error.
    The Login/Logout request works fine, but the getItemsRequest fails with status 400.
    Here is the soap request:
    ------- SoapRequest at 13:29:22 -------
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><session xmlns="http://schemas.novell.com/2005/01/GroupWise/types">BbOOBFebTkAxSffn</session></soap:Header><soap:Body><getItemsRequest xmlns="http://schemas.novell.com/2005/01/GroupWise/methods"><view>default id container @type message subject startDate endDate attachments recipients status</view><filter><element xsi:type="FilterGroup" xmlns="http://schemas.novell.com/2005/01/GroupWise/types"><op>and</op><element xsi:type="FilterEntry"><op>contains</op><field>subject</field><value>*</value></element></element></filter><items><item xmlns="http://schemas.novell.com/2005/01/GroupWise/types">4ECE5BEE.GWDOMNM.GWPOSTNM.100.1333466.1.16E BA.1</item></items><count>-1</count></getItemsRequest></soap:Body></soap:Envelope>
    POA is 8.0.2, any suggestions?

    There is not enough information.
    You could check the POA log file.
    You can turn on logging the soap requests in the POA log file
    to see if that shows the error around the time on the soap
    request.
    If you get an 8.0.x build after 98083, we put the engine
    error in an HTTP header line:
    X-GWError-Code: xxxx
    Preston
    >>> On Wednesday, January 04, 2012 at 6:26 AM,
    hkunze<[email protected]> wrote:
    > At one of our customers we've got a strange error.
    > The Login/Logout request works fine, but the getItemsRequest fails with
    > status 400.
    >
    > Here is the soap request:
    >
    > ‑‑‑‑‑‑‑ SoapRequest at 13:29:22 ‑‑‑‑‑‑‑
    >
    > <?xml version="1.0" encoding="utf‑8"?>
    > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    > xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
    > xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><session
    > xmlns="http://schemas.novell.com/2005/01/GroupWise/types">BbOOBFebTkAxSff
    > n</session></soap:Header><soap:Body><getItemsRequest
    > xmlns="http://schemas.novell.com/2005/01/GroupWise/methods"><view>default
    > id container @type message subject startDate endDate attachments
    > recipients status</view><filter><element xsi:type="FilterGroup"
    >
    xmlns="http://schemas.novell.com/2005/01/GroupWise/types"><op>and</op><eleme
    nt
    >
    xsi:type="FilterEntry"><op>contains</op><field>subject</field><value>*</valu
    e></elemen
    > t></element></filter><items><item
    > xmlns="http://schemas.novell.com/2005/01/GroupWise/types">4ECE5BEE.GWDOMN
    >
    M.GWPOSTNM.100.1333466.1.16EBA.1</item></items><count>‑1</count></getItems
    Request></s
    > oap:Body></soap:Envelope>
    >
    > POA is 8.0.2, any suggestions?

  • WinRM - WsManFault - HTTP Bad Request status (400) - Error number: -2144108175 0x80338171

    I am trying to configure the WinRM in my servers for eventlog forwarding but I am facing issue when i run "winrm qc" command on domain controllers. I get the following error,
    WinRM already is set up to receive requests on this machine.
    WSManFault
        Message = The WinRM client received an HTTP bad request status (400), but the remote service did not include any other information about the cause of the failure.
    Error number:  -2144108175 0x80338171
    The WinRM client received an HTTP bad request status (400), but the remote service did not include any other information about the cause of the failure.
    Please help me resolve this. I searched many articles but no result. Nothing helped.
    Regards,
    Sameer Gawde

    Hi Sameer,
    Before going further, would you please let me confirm edition information of the server OS that this issue
    occurred? Was it Windows Server 2008 or Windows Server 2008 R2 or any other?
    Based on the error message, this issue may occur if the Window Remote Management service and its listener functionality
    are broken. Please refer to resolution in following KB and check if can help you.
    Errors when you run winrm commands to check local functionality
    in a Windows Server 2008 environment
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • BPC NW 7.5 - Request failed with HTTP status 400:  Bad Request

    Dear Experts,
    I am trying to upload a flat file to BPC server. I am getting the following error.
    " Request to transfer a file to the server failed (ERROR): The request failed with HTTP status 400: Bad Request"
    Could any of you please help?
    I am selecting BPC for excel >manage data > upload data file > selection for source file > selection of destination file > ok
    Thanks in advance
    Vipin Jain

    Hi Vipin,
    Glad to know that you have heard good about me.
    Can you try to upload the same file from some other system. If it doesnt work from any system, there might be some problem with the flat file. In that case, you can try to create a small and simple file and try to upload that.
    You might also get this error if there is a blank line at the end of the file.
    Hope this helps.

  • Calendar component in CQ 5.5, "Recursive invocation. Not further handling status 404(No form found)"

    Hi,
    we have upgraded our CQ 5.4 installation to CQ 5.5. After the upgrade, we are facing an error with the Calendar component. The following error is logged when trying to create a new calendar event:
    20.11.2012 11:01:23.139 *ERROR* [10.62.45.10 [1353405682764] POST /content/hm/NewsroomSection/en/NewsRoom/test/_jcr_content/par/calendar_3dd7/calendars/def ault/2012/11/22/.form.create.html/libs/collab/calendar/content/eventform HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver handleError: Recursive invocation. Not further handling status 404(No form found)
    We will try increasing the log level to possibly get a more detailed error message, just checking if anyone has encountered this issue?
    Thanks,
    Joakim

    "No form found" means the form chooser that's used here ("form" selector) to find the form to show/edit the event did not find one under the given path /libs/collab/cale ndar/content/eventform (the suffix). It contains a space, maybe it's just a typo.

  • I click on a link inside an email and it won't open so I can print the coupon, response is http error 400 or I have it blocked. Others in my area aren't having any problems with the same link opening but they are using IE. What's up with Firefox?

    gohollywood.com, register, message came back from Hollywood Insider with a link to click on to "Download Coupon". Click on link and you should get the coupon and you print it out. All my friends have done it but I can't. I get various error messages including : "HTTP error 400 - the request is badly formed".... or you have a blocker set.....
    Unless it is a Gmail/Firefox blocker or firewall, I don't have anything set up as a blocker on my email. Had a few friends go in my account on their computers and they had the same thing happen. However when they go in under their names they get to the link with no problems. HELP.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Change the status of a form

    Hi All,
    Can anybody tell me how to change the status of the form?
    I want to exit the form with out committing the changes when the user click a button,
    For it...
    EXIT_FORM(NO_COMMIT);
    will do but, only when the form is not in a query mode.
    How do I change the status of the form or do something so that I can exit the form when I click the button irrespective of the form mode?
    Thanks,
    Naren.

    You don't need to change the status, you just need to ignore it. Try:
    exit_form(NO_VALIDATE)
    Oracle Forms exits the current form without validating the changes, committing the changes, or prompting the operator.

  • HTTP link in PDF Form

    Hello,
    Can I put an HTTP link in PDF form. So when the user is online and clicks this link, he will directed to the link web site.
    Please provide me with an answer. This is very urgent.
    Thanks
    Shashi

    Thanks, But the Submit button posts the XML data to the Form Server. I dont want to do that, it is just an hyperlink to say www.cnn.com etc etc..
    If I specify the submit button URL as www.cnn.com, it gives me a message in the PDF that no site found.
    Did you ever try this? If yes can you share more information.
    Thanks
    Shashi

  • How to create a status bar in Forms 6i

    Hi,
    I am using Forms6i. I am calling a C application which takes some time to execute...So I would like to display a status bar in forms saying....Processing..Please Wait...
    And, once the control comes back to forms from the C program, this status should say complete.....
    Is there a way to do this ?..
    Please give some example /link for this
    thanks

    Hi
    Y cant u have a text item, ENABLED before the that C code with DEFAULT value 'Pleae wait....' and even u could have cursor style also set to BUSY.. then after process DISABLE the text item and bring back cursor style to DEFAULT.
    Regards

  • SRT: Unsupported xstream found: ("HTTP Code 400  : Bad Request")

    hi,
    I get the error message
    SRT: Unsupported xstream found: ("HTTP Code 400  : Bad Request")
    what can cause that. I have created a RFC Connection have tested it, it workd well.
    But when I call  CALL METHOD r_user->MAP_R3USER i get this message.
    Regards
    sas

    Thanks.
    Kindly take note that the "Comment" field is not mandatory, so there is no need to bounce all 200 threads to the top again.
    You can leave threads unanswered when you still hope or suspect that an answer might be searched be someone, but if it is a "dead duck" (like many cross-posted threads are - which often cause this problem) then please close them.
    People who neglect following up on their threads, often neglect thanking those who put in an effort to help with helpfull answers. But many people notice this and stop answering. That does not apply in your case in posts since about July this year, so if you clean up then I am sure that you will further benefit from it.
    Please take this in a positive way. Personally I enjoy reading some of your questions and learn from them as well.
    Cheers,
    Julius

Maybe you are looking for

  • Problem with adding photo

    hello I'm trying to add photo with Ken burns effect to my movie , but i got a message saying that ( time remaining : less than a minute ) but if i remove the ken burn effect it works so how can i solve it thanks

  • ITunes Not launching at all

    I upgraded to the latest version of iTunes a couple weeks ago and since then I haven't been able to launch iTunes at all. It looks like it's starting but nothing happens. I check my task manager and it's there and I can't end the process either witho

  • Idoc help

    Hi guys, I currently have a program which takes in an input file (text) and then uses the following BAPIs to either change a Purchase Order or to do a Goods Movement:- BAPI_PO_CHANGE BAPI_GOODSMVT_CREATE I know want to change this functionality to us

  • How do I control serial power using LabView?

    I need to use LabView to alter the voltage coming from the serial port. Is it as easy as writing to the serial port? I know that if you write to the serial port that it'll produce a binary number, does this binary number correspond to a voltage.

  • One object of Scanner class?

    Hello, I was reviewing some posts and I found a very interesting question which was answered by db. I was hoping someone could answer this. The problem is that there can only be one instance of System.in. The OP posted code that has a instance in two