Petals ESB Container

Add a flag to the petals launcher to print error stack trace of the launcher

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 4.1.0
  • Fix Version/s: 4.2.0
  • Component/s: Launcher
  • Security Level: Public
  • Description:
    Hide

    Add the flag '-e'/'--error' to enable the extended error message mode printing the stacktrace of the error occuring in the launcher. For example:

    ERROR: Petals server configuration error.
    
    org.ow2.petals.launcher.exception.UncompleteServerConfigurationException: Petals server configuration error.
    	at org.ow2.petals.launcher.configuration.DefaultConfiguration.getTopology(DefaultConfiguration.java:213)
    	at org.ow2.petals.launcher.PetalsLauncher.stopLocalPetalsServer(PetalsLauncher.java:164)
    	at org.ow2.petals.launcher.PetalsLauncher.main(PetalsLauncher.java:302)
    Caused by: java.io.FileNotFoundException: /home/cdeneux/workspace/rework-petals-jmx/container/petals-esb/target/petals-esb-4.2.0-SNAPSHOT/topology.xml (No such file or directory)
    	at java.io.FileInputStream.open(Native Method)
    	at java.io.FileInputStream.<init>(FileInputStream.java:120)
    	at java.io.FileInputStream.<init>(FileInputStream.java:79)
    	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
    	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
    	at java.net.URL.openStream(URL.java:1010)
    	at org.ow2.petals.launcher.configuration.DefaultConfiguration.getTopology(DefaultConfiguration.java:198)
    	... 2 more
    Show
    Add the flag '-e'/'--error' to enable the extended error message mode printing the stacktrace of the error occuring in the launcher. For example:
    ERROR: Petals server configuration error.
    
    org.ow2.petals.launcher.exception.UncompleteServerConfigurationException: Petals server configuration error.
    	at org.ow2.petals.launcher.configuration.DefaultConfiguration.getTopology(DefaultConfiguration.java:213)
    	at org.ow2.petals.launcher.PetalsLauncher.stopLocalPetalsServer(PetalsLauncher.java:164)
    	at org.ow2.petals.launcher.PetalsLauncher.main(PetalsLauncher.java:302)
    Caused by: java.io.FileNotFoundException: /home/cdeneux/workspace/rework-petals-jmx/container/petals-esb/target/petals-esb-4.2.0-SNAPSHOT/topology.xml (No such file or directory)
    	at java.io.FileInputStream.open(Native Method)
    	at java.io.FileInputStream.<init>(FileInputStream.java:120)
    	at java.io.FileInputStream.<init>(FileInputStream.java:79)
    	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
    	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
    	at java.net.URL.openStream(URL.java:1010)
    	at org.ow2.petals.launcher.configuration.DefaultConfiguration.getTopology(DefaultConfiguration.java:198)
    	... 2 more
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Fri, 8 Feb 2013 - 21:02:15 +0100

Fixed in trunk

Show
Christophe DENEUX added a comment - Fri, 8 Feb 2013 - 21:02:15 +0100 Fixed in trunk

People

Dates

  • Created:
    Fri, 8 Feb 2013 - 20:58:31 +0100
    Updated:
    Fri, 8 Feb 2013 - 21:02:38 +0100
    Resolved:
    Fri, 8 Feb 2013 - 21:02:13 +0100