Closed GoogleCodeExporter closed 8 years ago
Can you copy here the javamelody "debugging logs" for both QA and local machine?
The "debugging logs" are available at the bottom of the monitoring reports.
Original comment by evernat@free.fr
on 26 Jul 2013 at 9:44
[deleted comment]
local box - Thu Jul 25 15:10:54 PDT 2013 DEBUG JavaMelody listener init
started
Thu Jul 25 15:10:54 PDT 2013 DEBUG datasources found in JNDI: []
Thu Jul 25 15:10:54 PDT 2013 DEBUG JavaMelody listener init done in 11
ms
Thu Jul 25 15:10:54 PDT 2013 DEBUG JavaMelody filter init started
Thu Jul 25 15:10:54 PDT 2013 DEBUG OS: Mac OS X unknown, x86_64/64
Thu Jul 25 15:10:54 PDT 2013 DEBUG Java: Java(TM) SE Runtime
Environment, 1.6.0_51-b11-457-11M4509
Thu Jul 25 15:10:54 PDT 2013 DEBUG Server: Apache Tomcat/7.0.37
Thu Jul 25 15:10:54 PDT 2013 DEBUG Webapp context: /ghhg
Thu Jul 25 15:10:54 PDT 2013 DEBUG JavaMelody version: 1.45.0
Thu Jul 25 15:10:54 PDT 2013 DEBUG JavaMelody classes loaded from:
file:/usr/local/apache-tomcat-7.0.37/webapps/hjh/WEB-INF/lib/javamelody.jar
Thu Jul 25 15:10:54 PDT 2013 DEBUG Host: abc@ip
Thu Jul 25 15:10:54 PDT 2013 DEBUG parameter defined:
resolution-seconds=600
Thu Jul 25 15:10:54 PDT 2013 DEBUG parameter defined:
url-exclude-pattern=(.*(images|javascripts|stylesheets).*)
Thu Jul 25 15:10:54 PDT 2013 DEBUG parameter defined:
http-transform-pattern=\d+
Thu Jul 25 15:10:54 PDT 2013 DEBUG parameter defined:
displayed-counters=http,job,error
Thu Jul 25 15:10:54 PDT 2013 DEBUG parameter defined: no-database=true
Thu Jul 25 15:10:54 PDT 2013 DEBUG parameter defined:
quartz-default-listener-disabled=true
Thu Jul 25 15:10:54 PDT 2013 DEBUG parameter defined:
system-actions-enabled=false
Thu Jul 25 15:10:54 PDT 2013 DEBUG parameter defined:
allowed-addr-pattern=abc
Thu Jul 25 15:10:54 PDT 2013 DEBUG log listeners initialized
Thu Jul 25 15:10:54 PDT 2013 DEBUG job global listener initialized
Thu Jul 25 15:10:54 PDT 2013 DEBUG counters initialized
Thu Jul 25 15:10:54 PDT 2013 DEBUG counters data read from files in
/usr/local/apache-tomcat-7.0.37/temp/javamelody/hjh_dfg
Thu Jul 25 15:10:54 PDT 2013 DEBUG collect task scheduled every 600s
Thu Jul 25 15:10:54 PDT 2013 DEBUG first collect of data done
Thu Jul 25 15:10:54 PDT 2013 DEBUG JavaMelody filter init done in 102 ms
QA box, tried in various boxes picking debugging logs from one -
Thu Jul 25 11:54:02 PDT 2013 DEBUG JavaMelody listener init started
Thu Jul 25 11:54:02 PDT 2013 DEBUG datasources found in JNDI: []
Thu Jul 25 11:54:02 PDT 2013 DEBUG JavaMelody listener init done in 21
ms
Thu Jul 25 11:54:16 PDT 2013 DEBUG JavaMelody filter init started
Thu Jul 25 11:54:16 PDT 2013 DEBUG OS: Linux unknown, amd64/64
Thu Jul 25 11:54:16 PDT 2013 DEBUG Java: Java(TM) SE Runtime
Environment, 1.6.0_31-b04
Thu Jul 25 11:54:16 PDT 2013 DEBUG Server: Apache Tomcat/7.0.37
Thu Jul 25 11:54:16 PDT 2013 DEBUG Webapp context: /ghg
Thu Jul 25 11:54:16 PDT 2013 DEBUG JavaMelody version: 1.45.0
Thu Jul 25 11:54:16 PDT 2013 DEBUG JavaMelody classes loaded from:
file:/opt/sdf/workspace/dsf/df.df/apache-tomcat-7.0.37/webapps/sdd/WEB-INF/lib/j
avamelody.jar
Thu Jul 25 11:54:16 PDT 2013 DEBUG Host: sdf@ip
Thu Jul 25 11:54:16 PDT 2013 DEBUG parameter defined:
resolution-seconds=600
Thu Jul 25 11:54:16 PDT 2013 DEBUG parameter defined:
url-exclude-pattern=(.*(images|javascripts|stylesheets).*)
Thu Jul 25 11:54:16 PDT 2013 DEBUG parameter defined:
http-transform-pattern=\d+
Thu Jul 25 11:54:16 PDT 2013 DEBUG parameter defined:
displayed-counters=http,job,error
Thu Jul 25 11:54:16 PDT 2013 DEBUG parameter defined: no-database=true
Thu Jul 25 11:54:16 PDT 2013 DEBUG parameter defined:
quartz-default-listener-disabled=true
Thu Jul 25 11:54:16 PDT 2013 DEBUG parameter defined:
system-actions-enabled=false
Thu Jul 25 11:54:16 PDT 2013 DEBUG parameter defined:
allowed-addr-pattern=dsf
Thu Jul 25 11:54:16 PDT 2013 DEBUG log listeners initialized
Thu Jul 25 11:54:16 PDT 2013 DEBUG job global listener initialized
Thu Jul 25 11:54:16 PDT 2013 DEBUG counters initialized
Thu Jul 25 11:54:16 PDT 2013 DEBUG counters data read from files in
/opt/dsf/workspace/sdf/sdf/apache-tomcat-7.0.37/temp/javamelody/sdf
Thu Jul 25 11:54:16 PDT 2013 DEBUG collect task scheduled every 600s
Thu Jul 25 11:54:16 PDT 2013 DEBUG first collect of data done
Thu Jul 25 11:54:16 PDT 2013 DEBUG JavaMelody filter init done in 308 ms
Original comment by divya.go...@gmail.com
on 26 Jul 2013 at 4:56
What is sure is that you know well the javamelody parameters, and also that
your Mac OS X is faster than my laptop.
The debugging logs are OK: no problem.
Do you use the default scheduler in your application or your own one?
I think that there may be a difference in initialization between QA and local.
Perhaps the order is not the same. Or perhaps the quartz initialization is done
in another thread and it is after javamelody init in QA and not in local.
So, you may check when is done the quartz init (in web.xml?).
For reference, the code to add the listener is not easy to find for quartz 2:
https://code.google.com/p/javamelody/source/browse/trunk/javamelody-core/src/mai
n/quartz/net/bull/javamelody/Quartz2Adapter.java?r=2475#111
The listener is a simple instance of JobGlobalListener:
https://code.google.com/p/javamelody/source/browse/trunk/javamelody-core/src/mai
n/java/net/bull/javamelody/JobGlobalListener.java#34
Original comment by evernat@free.fr
on 26 Jul 2013 at 10:45
Thanks for your input. Quartz scheduler is initialized in the servlet that is
loaded on tomcat startup. So there might not be a difference between local and
qa box.
Do you have any other pointers?
Original comment by divya.go...@gmail.com
on 26 Jul 2013 at 11:01
Hi Divya,
Any news on this issue? Can we close this issue if it is now ok for you in QA,
or as invalid anyway?
Original comment by evernat@free.fr
on 8 Mar 2014 at 10:36
No response from the reporter, so resolving as invalid/incomplete.
Hope it works for you now.
Original comment by evernat@free.fr
on 22 Mar 2014 at 1:16
Original comment by evernat@free.fr
on 22 Mar 2014 at 1:16
Original issue reported on code.google.com by
divya.go...@gmail.com
on 25 Jul 2013 at 10:11