Details
Description
On unix corporate install (with 30000 users), izpack hangs forever.
Doing a dump of the threads, we see:
"AWT-EventQueue-0" prio=3 tid=0x08b7b400 nid=0x12 runnable [0xb138d000..0xb138eb60]
java.lang.Thread.State: RUNNABLE
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
at java.io.File.exists(File.java:733)
at
com.izforge.izpack.util.os.unix.UnixUsers.getUsersWithValidShellsAndExistingHomes(Unknown
Source)
at
com.izforge.izpack.util.os.unix.UnixUsers._getUsersWithValidShellsExistingHomesAndDesktops(Unknown
Source)
at
com.izforge.izpack.util.os.unix.UnixUsers.getUsersWithValidShellsExistingHomesAndDesktops(Unknown
Source)
at com.izforge.izpack.util.os.Unix_Shortcut.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.izforge.izpack.util.TargetFactory.makeObject(Unknown Source)
at com.izforge.izpack.panels.ShortcutPanel.panelActivate(Unknown Source)
at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown Source)
...
which is on the AWT thread and is taking forever.
Not sure why we need to get this list of all users to do a local installation of a product using ispack. It definitely does not scale and block AWT UI.
See https://glassfishplugins.dev.java.net/issues/show_bug.cgi?id=282
Attachments
Issue Links
| This issue is related to: | ||||
| IZPACK-392 | installer hangs when ShortcutPanel is opened |
|
|
|
Thanks for reporting it, we are investigating this.
One small note of the GF bug report: yes the code is ugly there, but please keep in mind that nobody's paid for developing IzPack... we are not funded.