powered by Jive Software

Problem with rpm package


#1

Hi,

there is problem with the spark-2.8.3.rpm package.
the installed /usr/bin/spark script to start the client is missing the java call in the 2nd line.
installed 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

Regards
Frank


#2

Hi, i have filed this as https://issues.igniterealtime.org/browse/SPARK-2044. Though i don’t know how to modify this as it is not in the source and maybe is generated when installers are built.