-
1. Re: Migration - Taking Very Long Time
tomjenkinson Oct 3, 2011 5:49 AM (in response to rajababu)Hi Raja,
You should be using the following tag: https://svn.jboss.org/repos/mass/MAT/tags/1.0
Please can you confirm that you are using that version?
Thanks,
Tom
-
2. Re: Migration - Taking Very Long Time
rajababu Oct 3, 2011 6:04 AM (in response to tomjenkinson)Thanks for your reply Tom.
The above reports are taken from trunk. I will be working on tags/1.0 from now onwards as per your reply.
But, I had initially tested this on Tag 1.0 and the issue still remain same.
Regards,
Raja
-
3. Re: Migration - Taking Very Long Time
tomjenkinson Oct 3, 2011 6:18 AM (in response to rajababu)Hi Raja,
In the reports directory, is there a file ending: dependencyGraph.html If so, what does the content of this look like?
Also, I would suggest trying to run the contents of the DependentsToHTML.cmd file directly:
You will need to:
set JAVA_HOME=<JAVA_HOME>
set DEPENDENCYFINDER_HOME=<MAT_HOME>\tools\depfinder
set DEPENDENCYFINDER_OPTS=-Xms512m -Xmx1024m
"%JAVA_HOME%\bin\java" %DEPENDENCYFINDER_OPTS% -classpath "%DEPENDENCYFINDER_HOME%\classes;%DEPENDENCYFINDER_HOME%\lib\DependencyFinder.jar;%DEPENDENCYFINDER_HOME%\lib\log4j.jar;%DEPENDENCYFINDER_HOME%\lib\jakarta-oro.jar" com.jeantessier.dependencyfinder.cli.XSLTProcess -xsl %DEPENDENCYFINDER_HOME%/etc/DependentsToHTML.xsl -in "D:\StateStreet\migration\MAT\trunk\data\MedRec.DependencyExtractor.xml"
Please let me know how you get on with that,
Tom
-
4. Re: Migration - Taking Very Long Time
rajababu Oct 3, 2011 7:37 AM (in response to tomjenkinson)Thanks for the suggestion Tom. Running the DependentsToHTML.cmd directly helped me to narrow down the issue. I got the below exception during the execution.
Exception in thread "main" java.lang.RuntimeException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: depfind.sourceforge.net
at com.sun.org.apache.xalan.internal.xslt.Process.doExit(Process.java:1185)
at com.sun.org.apache.xalan.internal.xslt.Process._main(Process.java:1158)
at com.jeantessier.dependencyfinder.cli.XSLTProcess.main(XSLTProcess.java:37)
I believe, the application was trying to access some contents over the INTERNET and got blocked by firewall. I applied some proxy settings to by-pass this issue and the MAT tool was working fine for me.. It would be very much helpful if the exception handling was smart enough to report this issue during the initial run itself.
The following changes should be applied to run.cmd, for those who are getting similar firewall issue. Please get the proxy details from your System Admin.
"-Dhttp.proxyHost=<proxy host> -Dhttp.proxyPort=<proxy port>"
set DEPENDENCYFINDER_OPTS=-Xms512m -Xmx1024m -Dhttp.proxyHost=<proxy host> -Dhttp.proxyPort=<proxy port>
java -Xms512m -Xmx1024m -Dhttp.proxyHost=<proxy host> -Dhttp.proxyPort=<proxy port> -cp "%CP%" -Dredhatlogdir="%LOGDIR%" -Dconfig.xml="%CONFIG_XML%" com.mwc.mat.ToolMain
Regards,
Raja
-
5. Re: Migration - Taking Very Long Time
tomjenkinson Oct 3, 2011 7:51 AM (in response to rajababu)Thanks for confirming the issue Raja, I have Jirad this: https://issues.jboss.org/browse/MASS-7