karouani / javasimon

Automatically exported from code.google.com/p/javasimon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can't see anything inside simon console. #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

I have installed Java Simon for my server application. 
My problem :

I can see the simon console but there is nothing showing inside the console 
(See Snapshot in attachment)

What did I do till now:
1.) Put the two jars (javasimoncore and java simon console embed) in class.
2.) JavaSimon Console Servlet in your web.xml.

Can you please help me if I have to do something  else also to see something 
inside the console because now the console looks empty.

Original issue reported on code.google.com by hitech22saurabh@gmail.com on 13 Feb 2012 at 10:13

GoogleCodeExporter commented 8 years ago

Original comment by hitech22saurabh@gmail.com on 13 Feb 2012 at 10:15

Attachments:

GoogleCodeExporter commented 8 years ago
This is not a issue to me. There is one row in the table which is the root node 
of all Simons, this is the proof it works!

To explain why the table is empty, I think 
- either you didn't initialize any Simon (did you measure something)
- or Simons are registered in a different class loader
What is your exact deployment schema: shared or embedded?

Original comment by gerald.q...@gmail.com on 13 Feb 2012 at 11:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
My exact deployment is embedded. 
-either you didn't initialize any Simon (did you measure something)
How can i initialize any simon.This is what I wanted to know. Do I need to 
change anything in my code? If yes I thought by default simon will start 
monitoring atleast something as I don't want to change in my existing code. 
(For example JMON : where you don't make changes in your code and there are 
some default monitors.) 
- or Simons are registered in a different class loader
I didn't understood what is your point here. Where I can read more about this 
topic?

Original comment by hitech22saurabh@gmail.com on 13 Feb 2012 at 12:01

GoogleCodeExporter commented 8 years ago
Check this web.xml for Simon filter:
http://code.google.com/p/javasimon/source/browse/trunk/gwimon/gwimon.war/WEB-INF
/web.xml

After a few requests you should be able to see some Simons. Alternatively add 
simon: to you jdbc url like in: jbdc:simon:h2:something (keep the rest of the 
URL) - this means you have to put core+jdbc Jars into AS lib directory (because 
it is needed when datasource is initialized).

Original comment by virgo47 on 13 Feb 2012 at 12:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This new page help you as well http://code.google.com/p/javasimon/wiki/JavaEE

Original comment by gerald.q...@gmail.com on 14 Feb 2012 at 8:39

GoogleCodeExporter commented 8 years ago

Original comment by virgo47 on 6 Apr 2012 at 11:21