users@glassfish.java.net

Re: after changing keystore.jks, during startup I am asked for the keystore pwd

From: rupper <rdelafuentegarcia_at_gmail.com>
Date: Thu, 13 Oct 2011 04:06:56 -0700 (PDT)

It's a bit old, but since this is the only thread that comes up when looking
for "Unrecognized exception: invalid USER image directory", I'll leave the
solution to the problem I found here.

I had this issue after a clean installation of glassfish 3. Checking the
directory tree differences with a working version I found the only relevant
change was that a file had disappeared on the new installation: It's in the
glassfish3 root directory and it's called ".org.opensolaris,pkg".

Guess you already figured it out: it's a hidden file, so a "mv glassfish3/*
/somewhere/else" command won't work here. It will move all directories in
there but not the hidden file.

Moving back that file inside the installation directory will fix the
problem. A begginer's mistake, I know :$

Hope this helps someone.


glassfish-2 wrote:
>
> ok, new issue:
>
> ./pkg
>
> The software needed for this command (pkg) is not installed.
>
> When this tool interacts with package repositories, some system
> information
> such as your system's IP address and operating system type and version
> is sent to the repository server. For more information please see:
>
> http://wiki.updatecenter.java.net/Wiki.jsp?page=UsageMetricsUC2
>
> Once installation is complete you may re-run this command.
>
> Would you like to install this software now (y/n): y
>
> Unrecognized exception: invalid USER image directory
> java.lang.Exception: invalid USER image directory
> at com.sun.pkg.client.Image.<init>(Image.java:929)
> at com.sun.pkg.client.Image.<init>(Image.java:910)
> at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:188)
> at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:156)
> at com.sun.pkg.bootstrap.Bootstrap.main(Bootstrap.java:106)
>
> Google'd it without any luck. The manual doesn't say anything about it.
> Tried updatetool too, same error. And the admin web interface doesn't show
> existing plugins or doesn't have an option to install new. Any ideas?
> [Message sent by forum member 'ariskk']
>
> http://forums.java.net/jive/thread.jspa?messageID=484754
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://old.nabble.com/after-changing-keystore.jks%2C-during-startup-I-am-asked-for-the-keystore-pwd-tp29891766p32644452.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.