History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SPARK-782
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Derek DeMoro
Reporter: Derek DeMoro
Votes: 4
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Spark

System tray not appearing on certain users computers.

Created: 06/30/07 04:56 PM   Updated: 08/28/07 12:21 PM
Component/s: General
Affects Version/s: 2.5.4
Fix Version/s: 2.5.7

Time Tracking:
Not Specified

Support Plan Customer Issue: No
Resolution Date: 08/28/07 12:21 PM
Acceptance Test - Add?: No


 Description  « Hide
Some users have reported that the system tray no longer shows up on their system. The only change was a move to the JNIWrapper, so I'm guessing that is the culprit. Will need to find and fix.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Aaron D Johnson - 08/13/07 11:20 AM
I cannot find a re-open button, but this is not fixed on my system where 2.5.5 was just installed. After installing 2.5.4 and not having a system tray icon, I found the issue already reported and downgraded to 2.5.3. Now that 2.5.5 has been released, the system tray icon is still missing.

Installed versions:

  • Java J2SE Runtime Environment 5.0 Update 11
  • Java SE Runtime Environment 6 Update 1
  • Spark 2.5.5
  • Windows XP Professional SP 1

Anselm McClain - 08/20/07 03:20 PM
I am also not seeing the system tray icon in 2.5.5. Similar configuration. We have seen this with several users in our environment. Agreed that there seems to still be a problem with the icon.

Alex Kelly - 08/22/07 12:28 PM
I rebuilt our skinned version using 2.5.5 and the systray icon is NOT working in either windows or linux. I have downloaded the non-skinned version for linux and it also is NOT working.

Anselm McClain - 08/24/07 12:37 PM
For me it turned out to be a permissions issue in the spark application directory - users run as non-admins, and so couldn't create new directories underneath c:\program files\spark. When Spark went to expand the plugin JARs, it couldn't, so the JNI wrapper jar never blew up and didn't work.

Adding a post install step to open up the ACLs on this directory before Spark is launched for the first time solved it.

Cheers - ATM


R. van Zantvoort - 08/27/07 05:09 AM
I agree with Anselm.

The issue (
java.lang.NoClassDefFoundError: java/awt/TrayIcon
at com.jivesoftware.plugin.jniwrapper.NativeSystemTray.<init>(NativeSystemTray.java:102)
at com.jivesoftware.plugin.jniwrapper.JNIWrapperPlugin.initialize(JNIWrapperPlugin.java:40)
at org.jivesoftware.spark.PluginManager$1.run(PluginManager.java:398)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
)

Was resolved when running Spark once with full write rights on the plugin directory. This is because the jniwrapper.jar apparently needs to unpack there.
Once it's unpacked, you don't even need the write rights on the plugins directory anymore, and Spark runs fine.

On Linux, the problem should be the same, as the solution.