Krum Bakalsky
unread,Jul 29, 2010, 12:02:50 PM7/29/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to javamelody
Hi folks,
This really looks like a great tool ! :) Congratulations for the idea
for creating it.
I want to ask for help about enabling session monitoring in Apache
Tomcat.
I am using:
- Apache Tomcat 6.0.18
- JAVA_HOME = JDK 1.6.0_20
- I am trying to monitor a WAR file, which is a simple Sinatra
application. It runs fine on Tomcat, thanks to the JRuby-Rack adapter
which is packed inside WEB-INF/lib.
But, unfortunately, when i request http://<host>/<context>/monitoring
the URL, i see some interesting details, but it tells me that there
are no sessions. How come ?
I have downloaded the javamelody-1.18.0.zip file, packed
javamelody.jar and jrobin-x.jar inside WEB-INF/lib of my application,
and then modified the web.xml descriptor, exactly as explained in the
user guide. Then i deployed the jmelody WAR.
I tried with several different approaches to enable this session info:
with init param of the filter, with an environment variable of the OS,
with an entry in catalina.properties (every time i also made a Tomcat
restart). But though i made some 20+ requests of my applications,
jmelody tells me that there are 0 sessions. How come ?
I also deployed the LambdaProbe application on Tomcat, in it also
tells me that my app has 0 sessions!
Actually, no matter that i request everything which is deployed on my
Tomcat, LambdaProbe tells me that there are 0 sessions for all apps,
except for itself :) (it shows 1 session within the LambdaProbe app).
I would be really happy if you could give me some hint what am i
missing. I am tired of trying :)
Thanks and Kindest Regards,
Krum.