Ian Stewart created DIRSTUDIO-1178:
--------------------------------------
Summary: Studio hangs when starting with a nautilus launcher
Key: DIRSTUDIO-1178
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1178
Project: Directory Studio
Issue Type: Bug
Affects Versions: 2.0.0-M12
Environment: Ubuntu 16.04 LTS
Reporter: Ian Stewart
Attachments: .log, apache_directory_studio.desktop
I have been debugging the directory studio hanging while
searching/authenticating etc and I believe I have narrowed it down to starting
the application using a nautilus launcher.
If I open directory studio by going to the install folder in the files browser
and double clicking the application executable the application runs as expected.
After I have opened the application, I use the "Lock to Launcher" option on the
Ubuntu task bar. When I re-open directory studio using this launcher the
application consistently hangs doing any operation.
I have attached ~/.ApacheDirectoryStudio/.metadata/.log file that is produced
when I close the application after starting using the launcher.
I also attached the desktop entry that is being created for apache directory
studio.
I am able to work around this by editting the created .desktop file and
replacing:
Exec=/usr/bin/java -Dosgi.requiredJavaVersion=1.7 -jar
/home/ians/ApacheDirectoryStudio//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
-os linux -ws gtk -arch x86_64 -showsplash -launcher
/home/ians/ApacheDirectoryStudio/ApacheDirectoryStudio -name
ApacheDirectoryStudio --launcher.library
/home/ians/ApacheDirectoryStudio//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417/eclipse_1612.so
-startup
/home/ians/ApacheDirectoryStudio//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.overrideVmargs -exitdata 7708006
/studio-rcp/resources/icons/linux/studio.xpm -vm /usr/bin/java -vmargs
-Dosgi.requiredJavaVersion=1.7 -jar
/home/ians/ApacheDirectoryStudio//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
with:
Exec=/home/ians/ApacheDirectoryStudio/ApacheDirectoryStudio
I am not sure if this is an issue with Apache Directory Studio or Ubuntu or
both, but I thought I would report here because without looking into this
deeply, it just felt like Apache Directory Studio was buggy and unresponsive
and it feels like a very common use case to install the application and then
created a launcher for easy access.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)