[izpack-dev] Fwd: [jira] Assigned: (IZPACK-501) On unix corporate install (with 30000 users), izpack hangs forever

0 views
Skip to first unread message

Julien Ponge

unread,
Dec 10, 2009, 1:56:28 AM12/10/09
to dev
Guys, this one is serious :-)

---------- Forwarded message ----------
From: Julien Ponge (JIRA) <ji...@codehaus.org>
Date: Thu, Dec 10, 2009 at 7:52 AM
Subject: [jira] Assigned: (IZPACK-501) On unix corporate install (with 30000 users), izpack hangs forever
To: julien...@gmail.com


Issue (View Online)
Key: IZPACK-501
Issue Type: Bug Bug
Status: Open Open
Priority: Blocker Blocker
Assignee: Julien Ponge
Reporter: ludovic
Environment: opensolaris 2009.06 connected to the Sun internal network with a Sun regular user login, not a local user

Operations
 View all
 View comments
 View history
On unix corporate install (with 30000 users), izpack hangs forever 
Updated: 10/Dec/09 12:52 AM   Created: 09/Dec/09 01:41 PM  

The following issue has been re-assigned.
Assignee: Julien Ponge

Project: IzPack
Components: Installer

 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

This message was automatically generated by Atlassian JIRA Enterprise Edition, Version: 4.0-466 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.



--
http://izpack.org/
http://jpz-log.info/
http://julien.ponge.info/

Dan Tran

unread,
Dec 10, 2009, 2:07:12 AM12/10/09
to d...@izpack.codehaus.org
donation is gladly accepted :-)

-D

Julien Ponge

unread,
Dec 10, 2009, 2:19:46 AM12/10/09
to d...@izpack.codehaus.org
:-)

Julien Ponge

unread,
Dec 10, 2009, 3:26:33 AM12/10/09
to d...@izpack.codehaus.org
I have attached a first patch to the issue, but I badly need fellow
developers reviews on this one!

The patch applies on the 4.3 branch.

Thanks!

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Reply all
Reply to author
Forward
0 new messages