Uploaded image for project: 'JBoss Mass'
  1. JBoss Mass
  2. MASS-7

Make the MAT tool more sensitive to proxy issues particulary with DependentsToHTML

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bensonfungjava Benson Fung
                Reporter:
                tomjenkinson Thomas Jenkinson
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: