Renaming jsessionid

Does OC4J support the renaming of session cookie name from jsessionid to a custom identifer ?
thanks

I've got it working. The changes are on JBOSS side. Since JBOSS strictly adheres to Servlet Specs it does not allow manipulating session cookie name unlike WEBLOGIC. Changing the system property for JBOSS server works for such scenarios (org.apache.catalina.JSESSIONID)
- Aman

Similar Messages

  • 9.2: changed JSESSIONID to PORTAL_TAU, why?

    Searching dev2dev on PORTAL_TAU there's no doc on what I found out from an earlier thread in this newsgroup.
    Given the importance and wide spread use of JSESSIONID in nework load balancers, code etc, why did Bea change the session ID cookie name and what are the implications of changing it back to JSESSIONID?
    My deployment environment is in a cluster with cisco CSS's doing the load balancing and I think I'm seeing session affinity not working. Can someone verify that 9.2 breaks load balancer functionality?
    tnx curt

    Chances are good that the update didn't do the rename. More likely you had Finder focus, when you thought you were in another application. This could have selected the Macintosh HD folder by accident, and typing a V C and a return set the Desktop icon to what you have now.
    Slowly click twice on the V C icon name, and then re-enter: Macintosh HD

  • User1 logs out, JSESSIONID not deleted, User2 logs in and gets User1s Data

    We've searched the web for the better part of a year now to try to solve this, and are hoping someone somewhere has figured it out. We have SiteMinder in front of our Tomcat6, JBoss6 and 7, and WebLogic 10 servers. Trouble happens when a user logs into an application that generates a JSESSIONID in a location other than / in the browser, i.e. /foo/JSESSIONID<value>. When the user logs out, if the JSESSIONID cookie isn't located at /, it doesn't get removed. The next user comes along, authenticates to SiteMinder, goes into the same application, and since the JSESSIONID cookie still remains from the previous user, the second user sees the first user's data, which may be personal SAP data, Siebel, PeopleSoft, etc.
    We have hundreds of developers; getting them to all store their JSESSIONID cookies in / (with some unique name either at the front or end of their application's JSESSIONID cookie) would be an arduous undertaking; enforcing it going forward would be even more difficult.
    I've read countless posts across the Internet where other people have had this problem, but no good or usable solutions yet. "Tell the user to close the browser" isn't an option because we can't force them to do so (even though it's in their best interested to do so). The location of JSESSIONID will usually be unknown, and as far as I know, cannot be obtained from the browser, for security reasons. Each developer has the ability to store the cookie in any path the choose. (It's my understanding that they started using different paths because at one time it wasn't possible to rename the JSESSIONID (if it even is now), and having multiple applications storing JSESSIONID at / would cause the second one to cancel out the first one, the third one to cancel out the second one, etc, so a user could use only a single application at a time.
    I hope I'm explaining this well enough, and that someone, somewhere, has come up with a solution to this.
    Much oblige!
    Sam

    My apologies about the ambiguity.
    Without being able to make a picture or drawing it's not so easy, but here's the steps that happen:
    In this example I'll use an app called FOO that User1 and User2 need to login to.
    User1 goes to our intranet and attempts to access FOO.
    User1's request is intercepted by SiteMinder.
    User1 authenticates to SiteMinder, at which time an SMSESSION cookie is created in the browser.
    If User1 is authorized to use FOO, he's then forwarded onto the FOO login.
    User1 authenticates to FOO, at which time a JSESSIONID cookie is created in the browser, but not at / (root). It may be created in /FOO/JSESSIONID<value>, or it may be elsewhere.
    User1 finishes his FOO session and logs out. The logout.shtml page terminates the SMESSION (SiteMinder) session for User1. However, it's can't remove the JSESSIONID cookie because it's not in / (root) in the browser. User1 logs out, but does not close the browser.
    User2 comes along behind User1, and wants to use the FOO application, using the same PC as User1.
    User2 attempts to launch FOO. SiteMinder intercepts the call and wants User2 to first authenticate to SiteMinder, which he does. SiteMinder generates an SMSESSION cookie for User2.
    User2 now attempts to login to FOO. But because the JSESSIONID cookie is still there (leftover from User1's session because it couldn't be removed), User2 is taken directly into User1's FOO information.
    This is much easier to view conceptually with a drawing, however hopefully this will explain the process a bit better. Thank you for your reply and effort to help with this. I'm very grateful.
    Sam

  • Is there a way to create a renaming preset where the sequence starts at the number "0" zero?

    What I am trying to achieve is the following:
    Fro example, I am photographing a handbag and I need to rename the file using a barcode and a barcode scanner.
    My sequence of images goes like this:
    Image 1: Tag shot
    Image 2: Front
    Image 3: Back
    Image 4: Inside bag
    Let's say the barcode once scanned produces a code such as TRE8801AZT16-Z
    Right now my current preset is "Custom Text_Image # (1)"
    This results with the images being renamed as:
    TagShot: TRE8801AST16-Z_1
    Front: TRE8801AST16-Z_2
    Back: TRE8801AST16-Z_3
    Inside bag: TRE8801AST16-Z_4
    What I need is the sequence to start at zero so the tag shot is _0 and my images are named like this:
    TagShot: TRE8801AST16-Z_0
    Front: TRE8801AST16-Z_1
    Back: TRE8801AST16-Z_2
    Inside bag: TRE8801AST16-Z_3
    Is this possible? If yes, how?
    Thanks for the help
    Cody

    About as close as you can get is to right-click on a single clip and Make Multiclip Sequence. Hit OK to make an sequence out of the single clip. Open the sequence made and delete the multiclip and edit the clip you want back into the sequence.

  • How do I rename more than one file at a time within a folder?

    I am new to OSX. I am looking to rename a batch of .jpg files but I can't figure out how to rename all files within a folder?
    I looked for help and apple help only describes how to rename a single file?  please see the attrached link for more infomation
    http://support.apple.com/kb/PH10646
    Thankyou for your support people!
    Apple Nubee

    Use the Automator Action "Rename Finder Items"
    (Automator is in the Applications Folder)
    You have these options in rename:
    Click "Show this action when the workflow runs", then save the workflow as an App

  • Can't rename a folder in Windows 7 - receive error message

    When trying to rename a folder in Windows 7, I get a "Folder In Use" message saying that the folder or a file in it is open in another program.  This is untrue as I don't have any other programs open.  I even rebooted the computer and tried again
    and it gave me the same message.  This has occurred more than once and it's beginning to drive me crazy.  Do you have any suggestions as to how to fix this problem?

    Hi,
    Please use the
    Process Explorer to check which process keeps your file in use.
    In addition, you can try to rename the folder in
    Safe Mode to see the result.
    For more reference,
    Troubleshooting with Process Monitor
    Hope this helps
    Vincent Wang
    TechNet Community Support

  • Renaming the Physical Filename for Datafiles in SQL Server 2008

    Can anyone tell me how to change the physical filename of the datafiles? There doesn't seem to be any documentation on this, yet its quite easy to change the logical filename.

     There are several ways to make this change, however to rename the physical database files at operating system level you will have to take the database offline
    1. Use SSMS to take the database Offline (right-click on Database, select Tasks, Take Offline), change the name of the files at the OS level and then Bring it Online.
    2. You could Detach the database, rename the files and then Attach the database pointing to the renamed files to do so.
    3. You could Backup the database and then restore, changing the file location during the restore process.
    4. using T SQL
    ALTER DATABASE databaseName SET OFFLINE
    GO
    ALTER DATABASE databaseNAme MODIFY FILE (NAME =db, FILENAME = 'C:\Program
    Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\db.mdf')
    GO
    --if changing log file name
    ALTER DATABASE  databaseNAme MODIFY FILE (NAME = db_log, FILENAME =
    'C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\db.ldf')
    GO
    ALTER DATABASE databaseName SET ONLINE
    GO
    for more info http://technet.microsoft.com/en-us/library/ms174269.aspx

  • File renaming in Sender file adapter usins OS command

    Hi Guys ,
    Can anyone explain on how to use the rename command in Sender file adapter using OS command parameter.
    Thanks,
    KC.

    Hey
    run the following OS command
    mv <originalFileName> <newFileName>
    This command will copy the <originalFileName> to a new file called <newFileName> and will delete the <originalFileName>
    There is no rename command in Unix,mv is used to rename the files
    Thanx
    Aamir

  • Adobe Bridge Batch Rename Stopped Working

    ive been using bridge exclusively to rename/
    organize my files and today for some odd reason it just will not work. i select the files i wish to rename and then select batch rename and name/numer the files as ive always done before and when i click rename nothing happens at all. i cleared out my cache to no avail and im now officially stumped. any help is appreciated. thanks!

    Your problem does seem odd.  Difficult to troubleshoot by remote, so run a few tests and see if you can narrow the problem down.
    By any chance are you trying a batch re-name of files on an external drive?  If so may be permissioning problem.
    Do you have this problem in all folders or just one?  If one there may be a contaminated file or name (i.e. flower.jpeg.jpeg)
    To avoid fouling up your files copy a dozen or so and put in "test"  folder then run these tests.
    Can you do a simple rename of one file?
    Can you do a batch rename of one file?
    If the above is true can you do batch rename for all files in this folder?
    If so does the extension make any difference - jpeg, psd, etc.?

  • Adobe Bridge CC: Batch Rename using any metadata field

    How can I add certain Metadata fields to the pull down menu in the batch rename function?
    I need to do a batch rename of files, but using metadata fields that are not available as an option on the pull down menu.
    Hoping to use any or all of these:
    Audio : Artist, Album, Genre
    IPTC Core : Description, Keywords, etc..

    I don't think there is any way in which you can add to the built-in functions…
    Unless this is actually provided by one of the Adobe start-up scripts… ( I've not see it when digging about )
    You would probably need a scripted solution that can give you drop down menu of the extra options you want.

  • Rename files or folders in Windows 8 not working

    Rename a file or folder on a Windows CE device is not working from Windows 8 when connected through Windows Mobile Device Center.
    From Windows 7 it worked just fine!
    This has been a problem for a very long time now, and im not alone according to all forums.
    But no fix as far as i can find!
    Is there anyone that have found a fix on this?

    http://answers.microsoft.com/en-us/windows/forum/windows8_1-files/windows-8-unable-to-rename-files-on-pocket-pc/abae21b7-7ee1-41c7-853e-1ac7ea5b0413
    It seems a issue in window 8.x system. Maybe you can ask for a MS support ticket. 

  • Download Helper, even with paid converter upgrade, gives "Invalid Capture File" errors and will not record audio, with "File Creation Error - Unable to rename/copy audio file" Error.

    Download Helper Screen Capture worked to capture video if the default "no audio" option is active. But, no audio. The "speakers" or "microphone" audio options are confusing....the audio to be captured is from the video, so what do you choose? With either "speakers" or "microphone" selected, the captured file has poor audio and no video. Re-capture efforts (speakers) get "Invalid capture file error" and "File Creation error- Unable to rename/copy audio file"
    The paid upgrade of "Converter" doesn't work.
    Instructive documentation - not very good.
    Suggestions - Need time delay between initiation of "Record" and starting the video to be recorded.
    Could use timer tracking of the record process.
    Are there operating system limitations? (Have Windows XP Pro)

    That is an issue for the developer of that Download Helper.

  • How can I rename buttons in dialog popup ?

    Hello.
    I want rename buttons "OK", "Cancel" with my names in popups.
    I create new values in domen WDR_POPUP_BUTTON_KIND
    Next enhance interface IF_WD_WINDOW with new attributes:
    CO_BUTTON_CP type WDR_POPUP_BUTTON_KIND
    But i have problem in CL_WDR_INTERNAL_WINDOW->IF_WD_WINDOW~SET_BUTTON_KIND:
      case me->buttons-button_kind.
        when co_buttons_abortretryignore.
          wa_button-button      = co_button_abort.
          wa_button-button_text = cl_wdr_texts=>get_text( '201' ).
          wa_button-tooltip     = cl_wdr_texts=>get_text( '201' ).
          wa_button-is_enabled  = abap_true.
    This code show only predefined type of buttons can use. 
    How can I rename buttons in dialog popup ?

    When you subscribe to button event  you can rename the button
    * Popup
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window(
        window_name          = 'W_POPUP'
        message_display_mode = if_wd_window=>co_msg_display_mode_selected
        button_kind          = if_wd_window=>co_buttons_ok
        message_type         = if_wd_window=>co_msg_type_none
        default_button       = if_wd_window=>co_button_ok
      DATA:  l_api TYPE REF TO if_wd_view_controller.
      l_api = wd_this->wd_get_api( ).
    " subscribe to button event
      lo_window->subscribe_to_button_event(
                   button            = if_wd_window=>co_button_ok
                   BUTTON_TEXT       = u2018Approveu2019 " renaming the button text
                   action_name       = 'ON_OK_POPUP'
                   action_view       = l_api
                   is_default_button = abap_true ).
      lo_window->open( ).
    Radhika

  • Everytime i eject my ipod and reconnect it all my music is gone. and sometimes while i try adding music to it. itunes completely freezes. please help. and sometimes when i plug it back into my PC i have to rename my ipod and such

    Everytime i eject my ipod and reconnect it all my music is gone. and sometimes while i try adding music to it. itunes completely freezes. please help. and sometimes when i plug it back into my PC i have to rename my ipod and such

    Antivirus has a tendency to freeze iTunes sync Operation with iPod Classic, causing a timeout, which corrupt your iPod filesystem, so when iTunes can't read the iPod, it is pointing to this problem. Other causes is when your iPod hardisk is dying, or your battery is dying causing hardisk crashes.
    My suggestion.
    Connect your iPod to the PC and run chkdsk, to fix any iPod diskerror, then disconnect it, after chkdsk complete.
    Disconnect your PC from Internet. (just to make sure no nasties creep into your system while you syncing.
    Stop the Antivirus program
    Connect your Ipod to the PC
    When iTunes Open up, Restore your iPod please, this is for iTunes to map correctly, to fix the corrupted filesystem.
    When Restore complete, eject the iPod and reconnect again.
    Sync your ipod, preferably manually Manage in small batches and disconnect after every batch, to check that all is well, since you got such a huge library.
    When all sync is complete, and iPod disconnected, start back your Antivirus and connect back the Internet.
    If this doesn't resolve your problem, then let me know.
    Good Luck!

  • Rename a Jtree node directly & Popup Menu

    Pls assist with codes to rename a Jree node directly without using a dialog box or optionpane. I tried
    tree.startEditingAtPath(/* path of selected node*/);
    to go to edit mode and it does not work.
    II. Is it possible to attach different popmenu to the root, separate from the parent and child? Pls assist with code as the popupmenu i use at the moment shows up on the nodes(root, parent, leaf).
    I have benefiited greatly from questions asked and answers proferred at this forum and I use this opportunity to thank everyone greatly as I have migrated to Java based on all the materials sourced on the net.
    [email protected]

    public class AutomatedTreeMouseHandler extends MouseAdapter {
         public void mousePressed(MouseEvent e) {
              JTree tree = (JTree) (e.getSource());
              int x = e.getX();
              int y = e.getY();
              TreePath path = tree.getPathForLocation(x, y);
              if (path != null) {
                   // generate your popup here
    Dennis,
    are you saying that i have to define the popmenu for each category of node in the mouseadapter and att'd these to the tree depending on whether root, leaf or whatever type of node is selected?
    I will try this and revert.
    I can not make anything out of the reference giving with regard to renaming a node in edit mode.
    Pls provide more explanation and sample code, if necessary.
    Thanks a million.

Maybe you are looking for