Spark on Solaris 10

Hello unix gurus,

I’m a new kid on the block when it come to unix. Does spark 2.5.8 work on solaris 10 and how do you install/configure for it to run on the same server that I have Openfire 3.4.5 install. if you have the step how to that would help a lot.

greatly appreciated

Hi,

as I did never run Spark on *nix and as you did PM me that “sh Spark/Spark” fails with “bin/unpack200: cannot execute” it looks like Spark is using the embedded JRE which will likely run on Linux but not on Solaris. Try to “chmod 700 Spark/jre/bin/unpack200” but I guess that this does not help.

So remove the Spark/jre directory and create a symlink to your Java 5 or 6 installation, then it should hopefully start.

LG

Still unable to launch the script. i got this error.

bash-3.00# ls -la

total 54

drwxr-xr-x 9 root root 512 Mar 5 14:51 .

drwxr-x— 18 root sysadmin 1024 Mar 5 14:47 …

drwxr-xr-x 2 root root 512 Feb 27 16:46 .install4j

-rwxr-xr-x 1 root root 8585 Feb 21 20:12 Spark

drwxr-xr-x 3 root root 512 Nov 15 01:54 documentation

lrwxrwxrwx 1 root root 13 Feb 27 16:46 jre -> /usr/bin/java

drwxr-xr-x 3 root root 512 Nov 15 01:54 lib

drwxr-xr-x 2 root root 512 Nov 15 01:54 logs

drwxr-xr-x 2 root root 512 Nov 15 01:54 plugins

drwxr-xr-x 3 root root 512 Nov 15 01:54 resources

-rwxr-xr-x 1 root root 7541 Nov 15 01:54 starter

drwxr-xr-x 3 root root 512 Nov 15 01:54 xtra

##Spark $ ./Spark

/home/atran/Spark/lib/windows: No such file or directory

java.io.IOException: Couldn’t get lock for /Spark/logs/errors.log

at java.util.logging.FileHandler.openFiles(FileHandler.java:372)

at java.util.logging.FileHandler.<init>(FileHandler.java:270)

at org.jivesoftware.spark.util.log.Log.<clinit>(Log.java:49)

at org.jivesoftware.sparkimpl.settings.local.SettingsManager.saveSetting

s(SettingsManager.java:76)

at org.jivesoftware.sparkimpl.settings.local.SettingsManager.getLocalPre

ferences(SettingsManager.java:54)

at org.jivesoftware.Spark.loadLanguage(Spark.java:373)

at org.jivesoftware.Spark.startup(Spark.java:105)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.jivesoftware.launcher.Startup.start(Startup.java:83)

at org.jivesoftware.launcher.Startup.main(Startup.java:33)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

Caused by: java.lang.NullPointerException

at org.jivesoftware.spark.util.log.Log.error(Log.java:74)

at org.jivesoftware.sparkimpl.settings.local.SettingsManager.saveSetting

s(SettingsManager.java:76)

at org.jivesoftware.sparkimpl.settings.local.SettingsManager.getLocalPre

ferences(SettingsManager.java:54)

at org.jivesoftware.Spark.loadLanguage(Spark.java:373)

at org.jivesoftware.Spark.startup(Spark.java:105)

have anyone successful running Spark client on Solaris 10?

thanks,

Hi Vaodoi,

I removed jre and linked to JRE 1.6 (ln -s /opt/Java/jre1.6.0 jre). I am using the Spark script.

You need to delete all lines where windows is checked or used.

Michael

PS: I am using it on Sun Sparc not on an x386 processor.
Spark (8392 Bytes)

Hey my name is jubilee, I am new to openfire, I read your posting in regards to spark client server. So i thought to ask you if you were able to start the spark client server on your solaris 10 server. if you did. if your don’t mind, could you send me the documentation for spark client server please. I was able to install the openfire server on my sparc server. But i’ve been unable to install the spark client server on my sparc server.

Hello I just wanted to ask if there is a documentation on how to install spark client server on solaris 10 sparc server