Uploaded image for project: 'JABAWS'
  1. JABAWS
  2. JWS-53

min-jaba-client-2.x needs log4j to run without errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: jaba-cli
    • Labels:
      None

      Description

      Looks like there's a reference to log4j in the code that needs scrubbing:

      java -cp Downloads/min-jaba-client-2.01.jar compbio.ws.client.Jws2Client -h=http://www.compbio.dundee.ac.uk/jabaws -list_services
      Oct 23, 2012 5:29:42 PM compbio.ws.client.Jws2Client connectToRegistry
      INFO: Connected to RegistryWS successfully!
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
      at compbio.util.FileUtil.<clinit>(FileUtil.java:33)
      at compbio.ws.client.Jws2Client.getServices(Unknown Source)
      at compbio.ws.client.Jws2Client.listServices(Unknown Source)
      at compbio.ws.client.Jws2Client.<init>(Unknown Source)
      at compbio.ws.client.Jws2Client.main(Unknown Source)
      Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 5 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asherstnev Sasha Sherstnev
              Reporter:
              jprocter James Procter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: