Git Product home page Git Product logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Yes, you are right: "servlet activation is not showed in user guide".
Because servlet is not needed to install javamelody in a webapp.

Please install MonitoringFilter and SessionListener as said in the user guide.
Start your server.
You will see that the report is available at http://localhost/suviSC/monitoring

Can you confirm that it works and say if I can close this issue ?
Thanks

Original comment by [email protected] on 25 Jan 2010 at 8:10

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Thanks for your inmediatly reponse.

I try the user guide and i don´t see the http://localhost/suviSC/monitoring
 working, please explain me how to resolve the servlet container this url to
javamelody servlet without servlet config?

This issue is composed of two parts, the first part is related with config of
servlet, and second part its the "Used Memory" link this link doesn´t show any 
data,
please see the attached image on previous post.

thanks

Original comment by [email protected] on 25 Jan 2010 at 8:28

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
In fact, I should have said http://localhost:8080/suviSC/monitoring (with the 
port).
And for your question, it is the MonitoringFilter that gives the response to 
this url.

So you don't have to and you must not add CollectorServlet in the web.xml file 
of
your webapp.
So if you don't add other parameters for the moment, you just add the following 
in
your web.xml file:

        <filter>
                <filter-name>monitoring</filter-name>
                <filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
        </filter>
        <filter-mapping>
                <filter-name>monitoring</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>
        <listener>
                <listener-class>net.bull.javamelody.SessionListener</listener-class>
        </listener>

Original comment by [email protected] on 25 Jan 2010 at 8:48

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Ok,

I fix the problem with your instructions, i remove the servlet configuration, 
and i
add the filter and listener.

Related with the "Used Memory" i don´t see the response, i only see the result
included in attached jpeg file.

Original comment by [email protected] on 25 Jan 2010 at 9:04

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Perhaps there are some invalid files left with the problem before.
I think you can:
- stop your server
- delete all the directory D:\Apache\Tomcat 6.0\temp\javamelody\suviSC_sjegpm\
- restart your server

Original comment by [email protected] on 25 Jan 2010 at 9:11

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Thanks

The problem its resolved.

I can see the charts.

You can close this issue.

Thank you, regards

Original comment by [email protected] on 25 Jan 2010 at 9:21

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Thanks

Original comment by [email protected] on 25 Jan 2010 at 9:30

  • Changed state: Invalid

from javamelody.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 14, 2024
Hi I too get:

WARNING: exception while collecting data
java.io.FileNotFoundException: Could not open T:\apache-tomcat-6.0.14\temp\javam
elody\_company-5335462\usedMemory.rrd [non existent]
        at org.jrobin.core.RrdDb.<init>(Unknown Source)
        at org.jrobin.core.RrdDb.<init>(Unknown Source)
        at org.jrobin.core.RrdDb.<init>(Unknown Source)
        at org.jrobin.core.RrdDbPool.requestRrdDb(Unknown Source)
        at net.bull.javamelody.JRobin.addValue(JRobin.java:294)
        at net.bull.javamelody.Collector.collectJRobinValues(Collector.java:393)

        at net.bull.javamelody.Collector.collectJavaInformations(Collector.java:
335)
        at net.bull.javamelody.Collector.collect(Collector.java:255)
        at net.bull.javamelody.Collector.collectWithoutErrors(Collector.java:242
)
        at net.bull.javamelody.Collector.collectLocalContextWithoutErrors(Collec
tor.java:232)
        at net.bull.javamelody.FilterContext$CollectTimerTask.run(FilterContext.
java:52)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)


Can you please help me out with this?

Original comment by [email protected] on 8 Mar 2011 at 2:28

from javamelody.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.