|
From: Jonathan P. <jm...@ri...> - 2003-11-10 07:51:44
|
I was wondering if anyone would be able to answer a question I have regarding the Java System Tray Manger, found at: http://members.lycos.co.uk/gciubotaru/systray/ First I must say it seems you have done a very good job with developing this wrapper and I must thank you for keeping it open source. I am having an odd issue though when executing my application while utilizing the Java Service wrapper along with the Systray wrapper. My application is written in java, but for my Windows version of the system, it is required to run as an NT Service. I have no issues with the functionality when executing the systray wrapper using javaw or an executable jar file. The strange behavior occurs while running as an NT Service using the Java Service Wrapper. Essentially I am experiencing an issue which causes the systray icon to not appear when the service is first started. The second time I run the service, the icon appears. This is under the Windows XP environment. If this was the only issue, the work around would not be an issue, but when I attempt to run the application under the Windows 2k environment, the icon will not appear at all. After checking the logs, it appears that the dll is found properly (it is placed in the cwd along with the executable) so I do not believe that is the problem. The service is also allowed to interact with the environment. I have placed both dll's in the directory in which my jar file and the wrapper.exe reside. I have also added the line wrapper.java.library.path.1=./ to reflect this. The NT service is setup to allow interactions with the desktop as well. Two things concern me the most, one being the strange workaround which exists in only Windows XP and the other being that the systray does not work at all in Windows 2k, which according to the author is one of the few verified environments for the Systray Wrapper. If anyone has any suggestions on how to resolve this issue, or other possible design solutions it would be a great help. Thank you for your help and your time. Sincerely, Jonathan Peffer PeerConnect, Inc. jm...@ri... jon...@pe... |