WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Modifying SessionTimeout with Scripting Jython

    Posted Wed August 11, 2010 10:39 AM
    Modifying SessionTimeout with Scripting Jython

    --------------------------------

    Hello folks,

    How are you doing? I am hardly trying to figure out how i can save alot of time by modifying the SessionTimeout with Scripting in Jython.
    I already read that i have to use the AdminConfig Object with the modify method. But what is the next step?
    Does anyone know how i can do this? I am thankful for any clue.

    Many thanks in advance :-)

    Was_N00b

    --------------------------------

    Posted By: was_n00b at Jan 27 2010 10:06AM


  • 2.  Modifying SessionTimeout with Scripting Jython

    Posted Wed August 11, 2010 10:47 AM
    SessionTimeout - JVM level (both web/sip container)

    --------------------------------

    You may work with these:

    AdminConfig.modify('(cells//nodes//servers/|server.xml#SessionManager_1263507310486)', '[[enableSecurityIntegration /"false/"] [maxWaitTime /"5/"] [allowSerializedSessionAccess /"false/"] [enableProtocolSwitchRewriting /"false/"] [enableUrlRewriting /"false/"] [enable /"true/"] [accessSessionOnTimeout /"true/"] [enableSSLTracking /"false/"] [enableCookies /"true/"]]')

    AdminConfig.modify('(cells//nodes//servers/|server.xml#TuningParams_1263507310486)', '[[allowOverflow /"true/"] [invalidationTimeout /"45/"] [maxInMemorySessionCount /"1000/"]]')

    --------------------------------

    Posted By: heyamigo at Feb 3 2010 4:57PM


  • 3.  Modifying SessionTimeout with Scripting Jython

    Posted Wed August 11, 2010 11:00 AM
    Does anyone have an answer?

    --------------------------------

    Posted By: was_n00b at Mar 3 2010 8:39AM


  • 4.  Modifying SessionTimeout with Scripting Jython

    Posted Wed August 11, 2010 11:00 AM
    Hello and thank you for your reply.

    But would you please be kind and add some Coments on this code, because I dont get the idea behind this somehow :-)

    Thanks :)

    --------------------------------

    Posted By: was_n00b at Feb 4 2010 12:32PM


  • 5.  Modifying SessionTimeout with Scripting Jython

    Posted Wed August 11, 2010 11:02 AM
    I am still hardly trying to figure out how i can save alot of time by modifying the SessionTimeout of an application with Scripting in Jython.

    --------------------------------

    Posted By: was_n00b at Mar 4 2010 11:55AM


  • 6.  Modifying SessionTimeout with Scripting Jython

    Posted Wed August 11, 2010 11:04 AM
    Hello? Does anybody have an Idea ... ? mmmm

    --------------------------------

    Posted By: was_n00b at Mar 15 2010 10:25AM