Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2044

Rpm package missing java call in startup script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Installer, Linux
    • Labels:
    • Environment:
      RPM

      Description

      A user reports that rpm based version fails to start because of a missing java call in the startup script.

      [user@workstation]:cat /usr/bin/spark
      #!/bin/bash
      SPARKDIR=/usr/share/spark
      -Dappdir=$SPARKDIR -cp $SPARKDIR/lib/log4j.jar:$SPARKDIR/lib/jdom.jar:$SPARKDIR/lib/fmj.jar:$SPARKDIR/lib/startup.jar:$SPARKDIR/lib/linux/jdic.jar:$SPARKDIR/resources org.jivesoftware.launcher.Startup
      [user@workstation]:spark
      /usr/bin/spark: line 3: -Dappdir=/usr/share/spark: No such file or directory

      modified working one:

      [user@workstation]:cat /usr/bin/spark
      #!/bin/bash
      SPARKDIR=/usr/share/spark
      java -Dappdir=$SPARKDIR -cp $SPARKDIR/lib/log4j.jar:$SPARKDIR/lib/jdom.jar:$SPARKDIR/lib/fmj.jar:$SPARKDIR/lib/startup.jar:$SPARKDIR/lib/linux/jdic.jar:$SPARKDIR/resources org.jivesoftware.launcher.Startup

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wroot wroot
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: