Request.getServerPort() not returning correct port

Hi,
I am using Oracle AS 10.1.2.0.2.
In my jsp request.getServerPort() returns me the webcache(HTTP Listen) port number, but it supposed to return me the port of my OC4J(defined in http-website.xml).
Could guys advice what need to change.

Hi Joni,
Is there a severe i18n bug in the servlet / jsp framework?Not a bug, but a limitation in the 2.2 java servlet classes. Up to Ver. 2.2, there was no way to tell the servlet what decoding to apply to the stream of bytes coming from the web page. Therefore, request.getParameter("toAdd") would always use its default platform encoding, typically something like Cp1252. So, suppose your web page sends bytes corresponding to a string containing the single Chinese character for tea in UTF8 encoding:
"\u8336" => 0xe8, 0x8c, 0xb6
which getParameter would decode into the three character string: "\u00e8\u008c\u00b6"
request.getParameter("toAdd").getBytes(); then returns an array of the original three bytes, and
new String(request.getParameter("toAdd").getBytes(),"UTF8"); then returns the original string "\u8336"
The good news is that in Ver. 2.3 of the java servlet classes all that nonsense above is unnecessary. The ServletRequest interface has a new method setCharacterEncoding(java.lang.String env), so all you have to do is insert
request.setCharacterEncoding ("UTF8"); before you call request.getParameter("toAdd") and your input byte stream will be correctly decoded. Works great.
Regards,
Joe

Similar Messages

  • Fsbtodb macro in ufs_fs.h does not return correct disk address

    I'm using fsbtodb to translate the file inode block address to file system block address.
    What I've observed is fsbtodb returns corretct disk address for all the files if file system size < 1 TB.
    But, if ufs file system size is greater than 1 TB then for some files, the macro fsbtodb does not return correct value, it returns -ve value
    Is this a known issue and is this been resolved in new versions
    Thanks in advance,
    dhd

    returns corretct disk address for all the files if file system size < 1 TB.and
    if ufs file system size is greater than 1 TB then for some files, the macro fsbtodb does not return correct value, it returns -ve valueI seem to (very) vaguely recall that you shouldn't be surprised at this example of a functional filesize limitation.
    Solaris 9 was first shipped in May 2002 and though it was the first release of that OS to have extended file attributes I do not think the developers had intended the OS to use raw filesystems larger than 1TB natively.
    That operating environment is just too old to do exactly as you hope.
    Perhaps others can describe this at greater length.

  • Res.getPathTranslated() does not return correct URL of the page requested

    Hi,
    The res.getPathTranslated() statement in the below code (in doFilter method) does not return the correct URL of the requested webpage.
    Whenever a web page is accessed using a return statement (eg : return "nextPage"; ) inside a button's action method or a hyperlink's action method, the res.getPathTranslated() returns the URL of the current webpage instead of returning the URL of the webpage that is actually requested.
    For example if there is a button on the page http://localhost:29080/MyJaas/faces/firstPage.jsp
    And the button_action() is as follows
    button_action()
    return "nextPage";
    The res.getPageTranslaged() returns "http://localhost:29080/MyJaas/faces/firstPage.jsp" instead of "http://localhost:29080/MyJaas/faces/nextPage.jsp"
    However, if the webpage is requested by populating the URL property of the hyerlink in creator IDE, the res.getPathTranslated() returns the correct (requested) web page.
    How to make res.getPathTranslagted() return the correct URL when the webpage is accessed from hyperlink's / button's action method?
    I know that the explation is not very clear, so please bear with me. Let me know if you need more clarificatons. Thanks in advance for showing interest in this issue.
    And by the way, the code below is the same as that used in Jaas Authentication tutorial :- http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/jaas_authentication.html
    package jaasauthentication;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.http.HttpSession;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class SecurityFilter implements Filter{
        /** Creates a new instance of SecurityFilter */
        private final static String FILTER_APPLIED = "_security_filter_applied";
        public SecurityFilter() {
        public void init(FilterConfig filterConfig) {
        public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException{
            HttpServletRequest req = (HttpServletRequest)request;
            HttpServletResponse res = (HttpServletResponse)response;
            HttpSession session = req.getSession();
            String requestedPage = req.getPathTranslated();
            String user=null;
            //We dont want to filter certain pages which include the Login.jsp/Register.jsp/Help.jsp
            if(request.getAttribute(FILTER_APPLIED) == null) {
                //check if the page requested is the login page or register page
                if((!requestedPage.endsWith("Login.jsp")) && (!requestedPage.endsWith("Register.jsp")) && (!requestedPage.endsWith("Help.jsp"))){
                    //Requested page is not login.jsp or register.jsp therefore check for user logged in..
                    //set the FILTER_APPLIED attribute to true
                    request.setAttribute(FILTER_APPLIED, Boolean.TRUE);
                    //Check that the session bean is not null and get the session bean property username.
                    if(((jaasauthentication.SessionBean1)session.getAttribute("SessionBean1"))!=null) {
                        user = ((jaasauthentication.SessionBean1)session.getAttribute("SessionBean1")).getUsername();
                    if((user==null)||(user.equals(""))) {
                        res.sendRedirect("Login.jsp");
                        return;
            //deliver request to next filter
            chain.doFilter(request, response);
        public void destroy(){
    }

    Guys any solution for the above problem?
    Right answer fetches 10 duke dollars..

  • Table not returning correct information

    We had a problem where doing a select count(*) returned a number, but then when a select * was issued not rows were returned. Many iterations were tried. Some returning rows and others not. Then when trying to truncate FK errors occurred. Does anyone know what might have been the problem? Our solution was to drop and re-create the tables. This was in a test environment, but we don't want this to happen in production.
    Thanks.

    Something doesn't sound right to me. I haven't seen this happen in our Oracle databases but have seen this happen with a DB2 database
    when an index was corrupt. The solution was to rebuild the index in that case. I'd issue a statement to validate the structure of the table
    and its indexes:
    analyze table table_name validate structure cascade;
    From the 8.1.7 SQL manual:
    VALIDATE STRUCTURE
    Specify VALIDATE STRUCTURE to validate the structure of the analyzed object. The statistics collected by this clause are not used by the Oracle optimizer, as are
    statistics collected by the COMPUTE STATISTICS and ESTIMATE STATISTICS clauses.
    For a table, Oracle verifies the integrity of each of the table's data blocks and rows.
    For a cluster, Oracle automatically validates the structure of the cluster's tables.
    For a partitioned table, Oracle also verifies that each row belongs to the correct partition. If a row does not collate correctly, its rowid is inserted into the
    INVALID_ROWS table.
    For a temporary table, Oracle validates the structure of the table and its indexes during the current session.
    For an index, Oracle verifies the integrity of each data block in the index and checks for block corruption. This clause does not confirm that each row in the table
    has an index entry or that each index entry points to a row in the table. You can perform these operations by validating the structure of the table with the
    CASCADE clause (described below).
    Oracle stores statistics about the index in the data dictionary views INDEX_STATS and INDEX_HISTOGRAM.
    See Also: Oracle8i Reference for information on these views
    Validating the structure of an object prevents SELECT, INSERT, UPDATE, and DELETE statements from concurrently accessing the object. Therefore, do not use this
    clause on the tables, clusters, and indexes of your production applications during periods of high database activity.
    If Oracle encounters corruption in the structure of the object, an error message is returned to you. In this case, drop and re-create the object.
    INTO table
    Specify a table into which Oracle lists the rowids of the partitions whose rows do not collate correctly. If you omit schema, Oracle assumes the list is in
    your own schema. If you omit this clause altogether, Oracle assumes that the table is named INVALID_ROWS. The SQL script used to create this table
    is UTLVALID.SQL.
    CASCADE
    Specify CASCADE if you want Oracle to validate the structure of the indexes associated with the table or cluster. If you use this clause when validating a
    table, Oracle also validates the table's indexes. If you use this clause when validating a cluster, Oracle also validates all the clustered tables' indexes,
    including the cluster index.
    If you use this clause to validate an enabled (but previously disabled) function-based index, validation errors may result. In this case, you must rebuild the
    index.

  • Problems with EVGET not Returning Correct Results

    We have several reports with EVGETs that are not working.  It seems to be limited to gets on a particular datasrc when getting members at the base level.  Here is an example.
    Application: Budgeting
    Deptid: D_07104
    Account: A_612080
    Product: P_070040
    Project: PJ_NOPROJ
    Time: 2009.APR
    Datasrc; ACTUALS
    Category: INPUT
    At this point, all the members above are base level members.  A standard EVGET will not return results at this intersection even though there is data.  If we change any of the following (Deptid, product, time, or category) to a parent level member, data will be returned.  Another action we can take to get data to return is open a new worksheet and write the same EVGET on the same intersection and it will return results.  If we go back to the original sheet edit each formula and hit enter it will return the correct results.  If we refresh the sheet, the results will disappear.  We have also tried EVGTS and get similar results.
    Another thing we have tried is copying a month of data from datasrc (ACTUALS) and category (INPUT) to datasrc (NEW_ACTUALS) and category (NEW_INPUT) through the BPC delivered copy.  That seems to work.  I don't know if the copy does something to load the data that we are missing.  We also updated our fact table with a SQL update changing the datasrc and category the same way and processed the application and the data would return through some EVGETs and not others.

    This issue can happen when you have for onde dimension multiple hierachies and something is wrong into hierachies.
    Usually you have dimension formula where you are trying to do calculation of a member from H1 using members from H2.
    This it is an example but it can be other possible errors.
    Any way for sure your issue is related to one dimension having multiple hierachies.
    Regards
    Sorin Radulescu

  • Filr 1.1 LDAP Preview Not Returning Correct Number of Result

    I'm finishing set up of Filr 1.1 in our environment but noticed today that the LDAP preview does not return the correct number of results. The query:
    (&(objectClass=Person)(|(employeeType=E)(employeeT ype=Y)(employeeType=Z)))
    has been tried against multiple AD domain controllers and has so far returned 3 different user counts - 2895, 2800, and 2700. Mostly it always returns 2800. The correct count using powershell with the exact same ldap filter is over 5000.
    I would prefer not to try a sync until I have some confidence that it will complete successfully. Any suggestions?

    On Wed, 22 Apr 2015 17:26:03 GMT, jameswatson3
    <[email protected]> wrote:
    >
    > I'm finishing set up of Filr 1.1 in our environment but noticed today
    > that the LDAP preview does not return the correct number of results. The
    > query:
    >
    > (&(objectClass=Person)(|(employeeType=E)(employeeT ype=Y)(employeeType=Z)))
    >
    > has been tried against multiple AD domain controllers and has so far
    > returned 3 different user counts - 2895, 2800, and 2700. Mostly it
    > always returns 2800. The correct count using powershell with the exact
    > same ldap filter is over 5000.
    >
    > I would prefer not to try a sync until I have some confidence that it
    > will complete successfully. Any suggestions?
    Could you try it with filr 1.2?
    https://download.novell.com/Download...d=q-mgVFDsOKQ~

  • ADDT not returning correct results

    Hello
    SELECT tblTraders.trader_company AS trader_ref, tblTrades.trade_name AS trade_ref, tblT2t.t2t_id
    FROM (tblT2t LEFT JOIN tblTraders ON tblT2t.trader_ref = tblTraders.trader_id) LEFT JOIN tblTrades ON tblT2t.trade_ref = tblTrades.trade_id
    WHERE {$NXTFilter_rstblT2t1}
    ORDER BY {$NXTSort_rstblT2t1}
    With reference to the above SQL statement generated while using dynamic list wizard, the SQL does not return the correct results.
    Sadly the SQL does not retrieve the field "trade_ref" and is blank when the "test" button is used.
    Anyone got any ideas?
    Cheers
    Paul

    Hi Paul,
    does this query return the correct results when loading the page in a browser ?
    Cheers,
    Günter

  • MessageChoice does not return correct value

    Hi
    I am problem with MessgeChoiceBean's improver beharior
    For the first time it retunrs blank and subsequently In one page if I select Yes, it returns No.
    In another page it does not return any thing for the first two selections. And I reciev flip values.
    I ran VO outside, VO is returning correct values.
    MessageChoice attributes and associated PPR:
    Data Type: Varchar2
    Initial Value: N
    Pick List view Definition: oracle.apps.xxx.docs.common.lov.server.YesNoVO
    Pick List View Instance: YesNoVO3
    Pick List Display Attribute: Meaning
    Pick List Value AttributeL LookupCode
    ActionType: firePartialAction
    Event: handleNewLocationFlagChange
    Parameter Name: newLocationFlag
    Parameter Value: ${oa.CustomerInfoVO1.NewShipToLocationFlag}
    ProcessParameterForm Code:
    if ("handleNewLocationFlagChange".equals(event))
    String newLocationFlag = pageContext.getParameter("newLocationFlag");
    Serializable[] parameters = { ""+newLocationFlag};
    Class[] paramTypes = { String.class};
    am.invokeMethod("handleNewLocationFlagChange", parameters, paramTypes);
    VO definition:
    select LOOKUP_CODE,MEANING
    FROM ONLINE_DOCS_LOOKUPS
    WHERE ONLINE_DOCUMENT_CODE = 'ALL'
    AND LOOKUP_TYPE = 'YESNO'
    ORDER BY ATTRIBUTE1
    View output:
    LOOKUP_CODE     MEANING
    N     No
    Y     Yes
    I have quite a bit number of columns to change render property.
    Any help will be appreciated.
    Thanks
    Prasad

    Your question is not clear, are you saying the values in the messageChoiceBean is not displayed properly. As far as I can see from the definition the poplist picks the values from a lookup(Yes, No) values and has a PPR action associated with it. Did you check what this method handleNewLocationFlagChange is doing in the AM ?

  • Rtrim in where clause not returning correct data

    A select statement specifying
    where rtrim(field_name) &lt;&gt; ''
    is not returning any rows even though there is data on the table with field_name not blank.
    If this particular where clause is omitted the data is returned and rtrim(field_name) is populated correctly.
    This is occurring across different tables and in both 10.2.0.4 and 11.2.0.1 databases. I can't find any references to this being a bug.
    Has anyone else come across this ? Can anyone explain why this is happening please ?

    An empty VARCHAR2 is considered NULL by Oracle.
    sql> select 1 from dual where trim (' ') = '';
    no rows selected
    sql> select 1 from dual where trim (' ') != '';
    no rows selected
    sql> select 1 from dual where trim (' ') is null;
             1
             1

  • ERROR: FMS Server did not return correctly!

    We have several adobe connect HOST meeting rooms. Lately, some users have sent us their complaints arguing:
    "Unable to connect - FMS server did not return corrently"
    I asked them to send me the test's details. 
    "App-Server returned: code:ok, servers=rtmp://fmwebserversec:1935/_rtmp://localhost:8506/,rtmpt://fmwebserversec:443/_rt mp://localhost:8506/"
    I know, this threat has been post at this forum, but I don't find a solution for my users. The Adobe Connect Support is trying to give a solution, but at the moment, I haven't recieve any solution.
    I' ve tried: disconnect firewall, anti-virus,... and they keep unable to connect. (using adobe connect hosted ver 7.5)
    Thanks for your advice and help.
    Rafael

    Obviously  this topic creates controversy

  • Encoded characters in URL request string not decoded correctly

    When I make a GET request with the British Pound Symbol in one of the paramters, that parameter is either not there if the pound (%A3) sign is first, or truncated in my servlet. For Example:
              ValidateAmount.jsp?quantity=2&chargeAmount=%A312.2&chargeUnitType=R
              chargeAmount=null in above example
              ValidateAmount.jsp?quantity=2&chargeAmount=123-%A312.2&chargeUnitType=R
              chargeAmount=123- in the above example.
              When I look at the query string in the servlet, everything looks as it should, but I can't get the request parameters correctly.
              I have tried setting the Character Encoding to "UTF-8" in several places to no avail. I am using Weblogic 7.0 SP2 on a Windows 2000 machine. I am using Internet Explorer 6. How do I fix this?
              

    I cannot reproduce this using a test form I created: https://files.acrobat.com/a/preview/e6b390e1-625c-4f59-86c5-c2ca07998279
    Does the same thing happen with the form above?  If not, can you share your form with us: http://forums.adobe.com/thread/1408375

  • Servlet is not returning correct remoteAddress

    Hello,
    I'm having this problem with trying to get the proper information when I'm using the javax.servlet.ServletRequest.getRemoteAddr()
    The javadoc says that it returns the Internet Protocol (IP) address of the client that sent the request but, it just returns the ip address of the server and not the client. Does anybody have any suggestions?
    Thanks,
    Todd

    Hi,
    In addition to what Paul said, I don't really see why you need to use a cursor inside your function. An embedded static SQL does the job. Something like this:
    CREATE OR REPLACE Function CheckUserHasRole
        user_name IN varchar2,
        role_code IN varchar2
    RETURN number
    IS
    BEGIN
        <<bk>>
        DECLARE
            rowCnt NUMBER;
        BEGIN
            SELECT  count(t2.ems_user_id) has_role
            INTO    bk.rowCnt
            FROM    ems_role t1
                INNER JOIN ems_user_roles t2
                    ON (t1.ems_role_id = t2.ems_role_id)
                INNER JOIN ems_user t3
                    ON t3.ems_user_id = t2.ems_user_id
            WHERE   upper(t3.username) = upper(user_name) AND
                    upper(t1.role_code) = upper(role_code);
            RETURN rowCnt;
        END;
    END CheckUserHasRole;
    Regards,
    Dariyoosh

  • [E2007] [EWS] [PS] $PR_Folder_path not returning correct value

    Apologies if this is something obvious but I'm trying to get the full folder path from an EWS Powershell script. I call the PR_Folder_Path extended property but it always returns: {MapiType: String Tag: 26293 }
    The code is:
    Function SearchFolder( $FolderId )
    # Bind to the folder and show which one we are processing
    $folder = [Microsoft.Exchange.WebServices.Data.Folder]::Bind($service,$FolderId)
    $PR_Folder_Path = new-object Microsoft.Exchange.WebServices.Data.ExtendedPropertyDefinition(26293, [Microsoft.Exchange.WebServices.Data.MapiPropertyType]::String)
    # Search the folder for any matching items
    $pageSize = 500 # We will get details for up to 500 items at a time
    $offset = 0
    $moreItems = $true
    # Perform the search and display the results
    while ($moreItems)
    $searchFilter = New-Object Microsoft.Exchange.WebServices.Data.SearchFilter+IsEqualTo([Microsoft.Exchange.WebServices.Data.ItemSchema]::ItemClass, $MessageClass)
    $view = New-Object Microsoft.Exchange.WebServices.Data.ItemView($pageSize, $offset, [Microsoft.Exchange.WebServices.Data.OffsetBasePoint]::Beginning)
    $view.PropertySet = New-Object Microsoft.Exchange.WebServices.Data.PropertySet([Microsoft.Exchange.WebServices.Data.BasePropertySet]::IdOnly, [Microsoft.Exchange.WebServices.Data.ItemSchema]::ItemClass, [Microsoft.Exchange.WebServices.Data.ItemSchema]::Subject, [Microsoft.Exchange.WebServices.Data.ItemSchema]::DateTimeCreated)
    $view.Traversal = [Microsoft.Exchange.WebServices.Data.ItemTraversal]::Shallow
    $results = $service.FindItems( $FolderId, $searchFilter, $view )
    $lastRow = $ws.cells.Range("A1048576").End($xlup).row
    $lastRow++
    Write-Host $pr_folder_path " - " $folder.displayname " - " $folder.folderclass " - " $folder.totalcount " - " $results.totalcount " - " $folder.unreadcount
    $cells.item($lastrow,1)=$folder.displayname
    $cells.item($lastrow,2)=$folder.folderclass
    $cells.item($lastrow,3)=$folder.totalcount
    $cells.item($lastrow,4)=$results.totalcount
    $cells.item($lastrow,5)=$folder.unreadcount
    $moreItems = $results.MoreAvailable
    $offset += $pageSize
    # Now search subfolders
    $view = New-Object Microsoft.Exchange.WebServices.Data.FolderView(500)
    ForEach ($subFolder in $folder.FindFolders($view)) {
    SearchFolder $subFolder.Id
    Note: some of the code comes from the following script -
    http://blogs.msdn.com/b/emeamsgdev/archive/2013/06/25/powershell-search-mailbox-for-items-of-a-particular-message-class-itemclass.aspx

    Hi,
    for performing your task you need to declare the property before and requests it when you bind to the folder.
    Sample code is in C#, up to you to convert it in powershell...
    var folder = Microsoft.Exchange.WebServices.Data.Folder.Bind(service, folderId, new PropertySet(BasePropertySet.FirstClassProperties, PR_Folder_Path));
    string folderPath;
    folder.TryGetProperty(PR_Folder_Path, out folderPath);
    Regards,
    Désiré GOVIN Refresh IT Solutions

  • Bizzare error - datasource and getdate not returning correct day of week

    Hi,
    This is on CFMX 7.0.2,142559.
    I have a data source pointing to a MS SQL server. There is a
    simple query that access a date off the database and extract the
    values of:
    -. Current timestamp
    -. Day of week
    -. First day of week
    The query has been running for years and suddenly it gives me
    the wrong Day of week and First day of week, but the timestamp is
    correct! The result of the calculation for the Day of Week suddenly
    became one day ahead, the @@DATEFIRST switched between 6 and 7
    (being 7 as the correct value).
    Here is the code:
    <cfquery name="dte0" datasource="test123"
    SELECT getdate() dte, DATEPART(dw, getdate()) dteDW,
    @@DATEFIRST dteFirst, @@language LanguageVersion
    </cfquery>
    <cfdump expand="Yes" label="Query Dump" var="#dte0">
    I tried to delete and recreate this data source, restart CF
    and flush the cache with no success.
    The really bizarre thing is for a few minutes after I restart
    CF, it returnes the correct data, but then it suddenly moves one
    day ahead - and again, only the Day of week. The DATEFIRST
    sometimes returns 6 (instead of the correct value of 7) The
    timestamp is ALWAYS correct.
    I then created a second data source with exactly the same
    parameters and named it "test456" and it works perfectly every
    time!!
    I am baffled as how this happened and how to fix it.
    Does anyone know if somehow the datasource "test123" is
    cached somewhere? Appreciate any advice/suggestions/ideas.
    Aditya.

    > The query has been running for years and suddenly it
    gives me the wrong Day of
    > week and First day of week, but the timestamp is
    correct! The result of the
    > calculation for the Day of Week and First day of week
    suddenly became one day
    > ahead.
    >
    > Here is the code:
    >
    > <cfquery name="dte0" datasource="test123"
    > SELECT getdate() dte, DATEPART(dw, getdate()) dteDW,
    $$DATEFIRST dteFirst,
    > @@language LanguageVersion
    > </cfquery>
    > <cfdump expand="Yes" label="Query Dump"
    var="#dte0">
    When CF encouters the string within a <cfquery> tag,
    all it does is resolve
    any CF expressions (there are none in your example), and then
    passes the
    finalised string to the DB and patiently waits for the DB to
    respond, at
    which point CF converts the DB-specific result set to a CF
    recordset, and
    returns it to the calling code. There is very little
    involvement on the
    part of CF other than that: the DB does most of the work, and
    is providing
    all the data.
    All that said, it does seem weird that one DSN returns one
    thing, and
    another returns something else. Is your test rig like this:
    <cfquery name="dte0" datasource="test123"
    SELECT getdate() dte, DATEPART(dw, getdate()) dteDW,
    $$DATEFIRST dteFirst,
    @@language LanguageVersion
    </cfquery>
    <cfdump expand="Yes" label="Query Dump" var="#dte0">
    <cfquery name="dte0" datasource="test456"
    SELECT getdate() dte, DATEPART(dw, getdate()) dteDW,
    $$DATEFIRST dteFirst,
    @@language LanguageVersion
    </cfquery>
    <cfdump expand="Yes" label="Query Dump" var="#dte0">
    IE: both queries to each DSN within the same CF template,
    executed at the
    same time.
    (note: you have a syntax error in your <cfdump>
    statement, so that actually
    *isn't* the code you're running, because it would error).
    If you run the query via some other client (like Query
    Analyser, or SQL
    Studio), what do you get? Does it differ from what CF
    presents?
    Adam

  • 802.1x accounting does not reflect correct port status

    Hi,
    I've just discovered an issue when trying to use MSFT supplicant and Cisco 802.1x accounting. This makes 802.1x accounting completely unusable.
    Facts:
    1. MSFT supplicant does not send EAPOL-Logoff messages and there's no way to enable this (btw. Aegis client does not send it either, except when disabling interface).
    2. I am doing machine authentication along with domain authentication.
    3. Windows XP SP2 is used with EAP registry hacks applied.
    4. PEAP/MS-CHAPv2 method is used.
    Now when the computer is started it is logged into 802.1x with 'host/machine' account and RADIUS accounting start is sent by the switch. That's fine.
    When a user logs on with its 'domain\user' identity, then EAPOL-Start is sent from the host triggering new EAP message exchange and the user is authenticated correctly. However the switch sends Interim Accounting still using 'host/machine' credentials which is obviously wrong.
    Even more bizarre accounting happens when the user subsequently logs off from the machine. The EAPOL-Start is sent from the host triggering new authentication process for 'host/machine' identity and the host is authenticated ok. The accounting being sent is:
    - first Accounting Stop for 'host/machine' User-Name
    - then strange Interim Accounting with most attributes empty or missing
    256970: Jul 10 15:56:41.211 MET-DST: RADIUS: authenticator 68 CA 1A 46 85 4F F5 95 - 87 B4 84 61 72 85 42 F3
    256971: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Session-Id [44] 10 "013F0000"
    256972: Jul 10 15:56:41.211 MET-DST: RADIUS: Vendor, Cisco [26] 34
    256973: Jul 10 15:56:41.211 MET-DST: RADIUS: Cisco AVpair [1] 28 "connect-progress=Auth Open"
    256974: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Session-Time [46] 6 0
    256975: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Input-Octets [42] 6 0
    256976: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Output-Octets [43] 6 0
    256977: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Input-Packets [47] 6 0
    256978: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Output-Packets [48] 6 0
    256979: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Authentic [45] 6 RADIUS [1]
    256980: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Status-Type [40] 6 Watchdog [3]
    256981: Jul 10 15:56:41.211 MET-DST: RADIUS: Vendor, Cisco [26] 24
    256982: Jul 10 15:56:41.211 MET-DST: RADIUS: cisco-nas-port [2] 18 "FastEthernet0/11"
    256983: Jul 10 15:56:41.211 MET-DST: RADIUS: NAS-Port [5] 6 50011
    256984: Jul 10 15:56:41.211 MET-DST: RADIUS: NAS-Port-Type [61] 6 Eth [15]
    256985: Jul 10 15:56:41.211 MET-DST: RADIUS: Class [25] 27
    256986: Jul 10 15:56:41.215 MET-DST: RADIUS: 43 41 43 53 3A 30 2F 32 39 32 66 2F 61 38 31 38 [CACS:0/292f/a818]
    256987: Jul 10 15:56:41.215 MET-DST: RADIUS: 30 32 38 2F 35 30 30 31 31 [028/50011]
    256988: Jul 10 15:56:41.215 MET-DST: RADIUS: Service-Type [6] 6 Framed [2]
    256989: Jul 10 15:56:41.215 MET-DST: RADIUS: NAS-IP-Address [4] 6 10.129.128.40
    256990: Jul 10 15:56:41.215 MET-DST: RADIUS: Acct-Delay-Time [41] 6 0
    256991: Jul 10 15:56:41.239 MET-DST: RADIUS: Received from id 1646/238 10.129.128.38:1813, Accounting-response, len 20
    256992: Jul 10 15:56:41.239 MET-DST: RADIUS: authenticator ED 8E 8B 15 28 5F E4 37 - BF A8 F5 9E 10 43 5E A8
    So that the accounting sent from the switch does not reflect current status of the authenticated user on a given port.
    How to deal with this issue? Any ideas?
    thanks,
    robert

    Does your radius proxy-table is populated wrong for EAP- SIM users ?

Maybe you are looking for

  • How do I "check" multiple songs at same time?

    I'm trying to backup my itunes library to DVD, but itunes will only burn songs from a playlist if the box is checked. I have 900+ songs that are unchecked that I need to backup. I realize I can just re-import them from the original CD, but then I wil

  • Video Chat won't start anymore! error -8

    here's the error log. Please diagnose my problem and give me a solution pros. thanks. System Preferences>Quicktime>Streaming>Streaming speed: 1.5Mbps/T1/Intranet/LAN (don't use Automatic or Intranet/LAN iChat>Preferences>Video>Bandwidth limit: None R

  • Any word on when HTML5 will be supported for deployment of FileMaker WebDirect?

    Databases deployed through FileMaker's new WebDirect do not render properly in Firefox, apparently due to lack of support for HTML5. We deploy this on both Windows and Mac. -- Victor

  • Steve Jobs' iMac Keynote Address Video

    Is there an URL for the video of Steve Jobs unveiling the new iMac and iLife 08? I had seen it before but the link to the video is gone and is now replaced by the new iPod unveiling. I would really like to watch that video again.

  • Project wise purchse order report in company code currency (INR)

    Hello  Experts, I am trying to take out a report from MM module for project wise purchase order through report ME2J or CNB1 from PS module, but all the data is coming correct, except for the imported Purhcase orders, I am getting foreign currency val