cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring HTTP sessions

Former Member
0 Kudos

Hi all,

I'm just testing monitoring on a j2ee 6.20 pl35 and want some information on the http sessions.

All documentation I can get hold of states that after PL27 there is a HTTP_SESSIONS shell command that adds this information to monitor data.

However, as of PL35 I always get the command response: can't find command HTTP_SESSIONS, although I added the command group.

Anyone who had the same problem and got it fixed?

Regards,

Walter

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Use the Performance Reporter and Viewer (separate apps) for this purpose.

kishorg
Advisor
Advisor
0 Kudos

Hi Walter,

which command group u added there??

hope it is >add http.

**************************

> add http

> http_sessions

Regards

Kishor Gopinathan

Former Member
0 Kudos

Hi Kishor,

I tried the http group.

There is a command httpsessions in the servlet_jsp group, but this prints the session information immediately to the screen.

Regards,

Walter

Former Member
0 Kudos

Hi Walter,

I believe this is an error in the documentation. There is no HTTP_SESSIONS shell command. Instead, the only command that deals with HTTP sessions is the HTTPSESSIONS one in the SERVLET_JSP command group (as you already found out yourself). However, this command is not supposed to add http sessions to monitored data, but just prints info about the active sessions on the server.

If you need to add sessions to the monitored data, I guess you should use the INCLUDENODES shell command in the Monitor Server. The command is described in Administration Manual -> Configuration Tasks -> Using the Log System and Monitoring -> Monitoring -> Monitor Server Shell Commands section.

Regards,

Ivo

P.S. I'll now make sure your feedback about the wrong shell command gets to the right people and the documentation is updated.

Former Member
0 Kudos

Hi Ivo,

Thanks for the answer. It seems the http sessions are included in the monitor data by default. Executing the command has no effect, the report still contains no session details.

(I checked by using excludeNodes first and then re-enabling it with includeNodes.)

Regards,

Walter

Former Member
0 Kudos

Hi Walter,

no idea why this has no effect. Think you can open an OSS message and have the development support look into this issue.

Good luck!