Uploaded image for project: 'Apache Taverna'
  1. Apache Taverna
  2. TAVERNA-884

Avoid debug messages from executeworkflow

    Details

    • Type: Bug
    • Status: To Do
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      The below are debug messages that should be removed. They might come from different parts of the code of taverna-commandline and taverna-engine

       sh executeworkflow.sh  examples/helloworld.wfbundle
      OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=400m; support was removed in 8.0
      log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
      log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
      log4j:ERROR [org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@7486b455[log4j:1.2.17(id=43)]] whereas object of type 
      log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@677327b6].
      log4j:ERROR Could not instantiate appender named "CONSOLE".
      log4j:WARN No appenders could be found for logger (org.springframework.osgi.extender.internal.boot.ChainActivator).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      Bundle: /tmp/robundle2801827278992542627/robundle.zip
      Outputs will be saved to the directory: /home/stain/src/taverna/incubator-taverna-commandline/taverna-commandline-product/target/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT-dev/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT/Hello_World_output
      Workflow Run Bundle: /tmp/robundle2801827278992542627/robundle.zip
      ERROR 2016-01-19 14:43:31,071 (org.apache.jena.riot:84) - [line: 1, col: 1 ] Content is not allowed in prolog.
      Workflow completed.
      

      This should be reduced to:

       sh executeworkflow.sh  examples/helloworld.wfbundle
      Outputs will be saved to the directory: /home/stain/src/taverna/incubator-taverna-commandline/taverna-commandline-product/target/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT-dev/apache-taverna-commandline-3.1.0-incubating-SNAPSHOT/Hello_World_output
      Workflow completed.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stain Stian Soiland-Reyes
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: