Skip to main content

Embedded Glassfish 4 - create-file-user

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2004-11-11

Hi all,

I'd like to use the CommandRunner to do a create-file-user command. But I cannot get it work. I do this:

CommandResult commandResult =, "--passwordfile", "d:\\Temp\\asadminpassword.txt", "Jennifer");

Is there a way to get this running? I always get:

"Cannot find userpassword in create-file-user command model, file a bug"

I googled an issue, that this was a bug but it should be fixed in ... 3.2 and 4.

Is there an (working) alternative to register some users in an embedded glassfish?

Thank you for help.