Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-593

Make error handling in deployment plugin more user friendly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 1.0-M3
    • None
    • geronimo-maven-plugin
    • None

    Description

      E.G. for a "Connection reset" error, rather than dumping out approx 37 lines of stack trace, just output a message identifying the operation that failed and the cause (e.g. java.net.SocketException: Connection reset). Possibly provide a verbose option to dump whole stack trace?

      E.G. currently you get:

      java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
      java.net.SocketException: Connection reset
      org.apache.geronimo.kernel.InternalKernelException: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
      java.net.SocketException: Connection reset
      at org.apache.geronimo.kernel.jmx.KernelDelegate.invoke(KernelDelegate.java:232)
      at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:92)
      at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:71)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
      java.net.SocketException: Connection reset
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
      at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
      at mx4j.remote.rmi.ClientInvoker.invoke(ClientInvoker.java:207)
      <snip>

      Attachments

        Activity

          People

            jdillon Jason Dillon
            johnrsisson John Sisson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: