How to obtain getLastAccessedTime session parameter via CLI?
Issue
- The kb article describes getting the
JSESSIONIDSand the respectiveLAST_ACCESS_TIMEas:
JSESSIONIDS=`./twiddle.sh -s localhost:1099 -u admin -p admin invoke "jboss.web:host=localhost,path=/webapp,type=Manager"
......
......
LAST_ACCESS_TIME=`./twiddle.sh -s localhost:1099 -u admin -p admin invoke "jboss.web:host=localhost,path=/webapp,type=Manager" getLastAccessedTime $JSESSIONID`
I was looking for getting those info like parameters JSESSIONID and LAST_ACCESS_TIME etc from jboss_cli.sh. Can you provide the corresponding commands for those ? Are there other properties for JSESSIONID other than the LAST_ACCESS_TIME ? We are trying to troubleshoot our intermittent session expiration problem but the examples in kb article were in twiddle.sh (for EAP5 only).
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.