I have installed JRat on my development environment. My purpose is to
profile an Alfresco installation.
Firstly, I have copied shiftone-jrat.jar into C:\alfresco-enterprise-tomcat
and modified catalina.bat to use JRat:
%CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%"
-classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%"
%MAINCLASS% %CMD_LINE_ARGS% %ACTION%
After first execution, JRat have created jrat.xml file automatically.
Then, I have commented include tag and modified it to include two packages
<include className="org.corporation.*" methodName="*"
<include className="org.alfresco.*" methodName="*"
Later, I have started Alfresco-Tomcat, I have executed some queries on
Finally I have stopped Alfresco and examined the generated my_code_tree.jrat
file with the console.
The problem is that JRat Desktop don’t show my any information. I have
looked into “Summary”, “Trace” and “Hierarchy” tags; and all the three the
tags are empty.
What am I doing wrong?
Thanks in advance.
Get latest updates about Open Source Projects, Conferences and News.