Thanks Rahul for finding the root cause in the step 2 Install Available
Update.
Your detailed steps is very clear. If bug is already filed, you can add
what
you have found.
Good job !
Thanks,
Judy
Rahul Satasia wrote:
> Thank You, Snjezana and Tom
>
> I have tested this under Windows Vista Business and Windows 7 Beta.
>
> Now, I found the Correct Reason for this error:
> As per Snjezana:"some of old package database files are still there at
> the time of second installation" - Which is JAVA DB and JSF 1.2_12
> implementation - Available Update I have Installed.
>
> *I did not get any error, when I have followed the steps:
> *
> step-1). Install Glassfish
> step-2). Don't Install this Available Update from update center (Java
> DB and JSF 1.2_12 implementation)
> step-3). Stop Application Server, If you have started.
> step-4). Uninstall Glassfish (But, root directory have still some
> files - don't worry about it.)
> step-5). Install Glassfish
> Step-6). Open Update Center
> Step-7). No more error....Now, U can see two Uvailable Update in
> there: (Java DB and JSF 1.2_12 implementation)
>
> *I goet error, when I have followed the steps:
> *
> step-1). Install Glassfish
> step-2). Install Available Update (Java DB and JSF 1.2_12 implementation)
> step-3). Stop Application Server, If you have started.
> step-4). Uninstall Glassfish (But, root directory have still some
> files of [Java DB and JSF 1.2_12 implementation])
> step-5). Install Glassfish
> Step-6). Open Update Center
> Step-7). Error is waiting for you.....
>
>
> *Thank You,*
>
> *Rahul Satasia.*
>
>
>
> ------------------------------------------------------------------------
> *From:* Snjezana Sevo-Zenzerovic <Snjezana.Sevo-Zenzerovic_at_Sun.COM>
> *To:* quality_at_glassfish.dev.java.net
> *Sent:* Wednesday, 1 April, 2009 10:39:28 AM
> *Subject:* Re: Fwd: some errors
>
> Please note my other comment regarding UC notifier process possibly
> still running...
>
> Rahul, did you completely clean up existing installation directory
> between the two installations? Based on the separate comment on this
> issue from Tom Mueller, it seems that this would happen if some of old
> package database files are still there at the time of second
> installation. Now, this could easily happen due to a known issue in
> uninstaller where it does not explicitly clean up all of package
> database files and it unisntalls only those which were part of the
> original install image.
>
> Thanks,
>
> Snjezana
>
>
>
> Judy Tang wrote:
>
> > Thaks Rahul for trying :-)
> >
> > May be stop server did not clean up all the resource, like process,
> port, file lock ... I wonder what all the resources server
> > cleans when stop which failed to clean up, but the restart PC did ...
> >
> > What kind OS in your PC, may be you can help us try the same step in
> different OS, just if you have more time to try :-)
> >
> > Thanks,
> > Judy
> >
> > Rahul Satasia wrote:
> >
> >> Hello!
> >> Now, I have tried "Stop Application Server". and then does the
> Un-Installation of Glassfish.
> >> Then Installed Glassfish again.
> >> Then opened Update Center.......It's still have the same Error message.
> >> *Thank You,*
> >>
> >> *Rahul Satasia.*
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >> *From:* Judy Tang <Judy..J.Tang_at_Sun.COM <mailto:Judy..J.Tang_at_Sun.COM>>
> >> *To:* quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>
> >> *Sent:* Tuesday, 31 March, 2009 9:38:11 PM
> >> *Subject:* Re: Fwd: some errors
> >>
> >> Thanks Snjezana so much for joining the quality alias to help the
> students here !
> >>
> >> Rahul, would you be able to look into Snjezana's question "Did you
> shutdown your GF server process before uninstallation? "
> >> to try to dig into a bit more to see why restart the PC is needed,
> it should not need to according to Snjezana.
> >>
> >> Thanks,
> >> Judy
> >>
> >> Snjezana Sevo-Zenzerovic wrote:
> >> > You should *not* need to restart your PC after GF uninstallation
> and we should certainly not have to advertise or recommend that. Did
> you shutdown your GF server process before uninstallation? If you did,
> it is possible that the leftover process preventing full installation
> directory cleanup is updatetool notifier. Uninstaller will currently
> "unregister" notifier but it is possible that this command does not
> stop already running notifier process - I'll check on that...
> >> >
> >> > So, instead of complete restart, in the worst case it should be
> enough to log off and back on into the user account and delete any
> leftovers in the installation directory.
> >> >
> >> > Thanks,
> >> >
> >> > Snjezana
> >> >
> >> > Rahul Satasia wrote:
> >> >
> >> >> Yes, Karen
> >> >> You should have to delete Glassfish's root directory completely.
> >> >> But, You need to restart PC after Un-Installation of Glassfish
> then only you can delete root directory(B'Coz there are some file
> still in use after un-Installation.)
> >> >> *One Enhancement for Glassfish Un-Installation feature can be:
> "Restart your PC" message box after complete Un-Installation of
> Glassfish.*
> >> >> >> *Thank You,*
> >> >>
> >> >> *Rahul Satasia.*
> >> >>
> >> >>
> >> >>
> >> >>
> ------------------------------------------------------------------------
> >> >> *From:* Karen Ho <hokar_at_hotmail.com <mailto:hokar_at_hotmail.com>
> <mailto:hokar_at_hotmail.com <mailto:hokar_at_hotmail.com>>>
> >> >> *To:* quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>
> <mailto:quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>>
> >> >> *Sent:* Sunday, 29 March, 2009 10:08:11 PM
> >> >> *Subject:* RE: Fwd: some errors
> >> >>
> >> >> Yes, thanks to Rahul and Ngendra for filing the bug. Actually I
> have this
> >> >> same problem after reinstalling GlassFish. I Would like to know
> if there is
> >> >> any workaround solution so that we can continue testing on the
> Update Center
> >> >> Tool without that error? (Can I completely remove the glassfish
> folder
> >> >> after uninstalling and then reinstall it again safely?)
> >> >>
> >> >> -----Original Message-----
> >> >> From: Judy.J.Tang_at_Sun.COM <mailto:Judy.J.Tang_at_Sun.COM>
> <mailto:Judy.J.Tang_at_Sun.COM <mailto:Judy.J.Tang_at_Sun.COM>>
> <mailto:Judy.J.Tang_at_Sun.COM <mailto:Judy.J.Tang_at_Sun.COM>
> <mailto:Judy.J.Tang_at_Sun.COM <mailto:Judy.J.Tang_at_Sun.COM>>>
> [mailto:Judy.J.Tang_at_Sun.COM <mailto:Judy.J.Tang_at_Sun.COM>
> <mailto:Judy.J.Tang_at_Sun.COM <mailto:Judy.J.Tang_at_Sun.COM>>
> <mailto:Judy.J.Tang_at_Sun..COM <mailto:Judy.J.Tang_at_Sun..COM>
> <mailto:Judy.J.Tang_at_Sun.COM <mailto:Judy.J.Tang_at_Sun.COM>>>]
> >> >> Sent: Sunday, March 29, 2009 6:11 PM
> >> >> To: quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>
> <mailto:quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>>
> <mailto:quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>
> <mailto:quality_at_glassfish.dev..java.net
> <mailto:quality_at_glassfish.dev.java.net>>>
> >> >> Subject: Re: Fwd: some errors
> >> >>
> >> >> Thanks Rahul and Ngendra for good testing of re-installation on
> >> >> GlassFish and file bug. I saw developer is evaluating the bug :-)
> >> >>
> >> >> Thanks Sankar for helping students in the weekend !
> >> >>
> >> >> Judy
> >> >>
> >> >> Nagendra wrote:
> >> >> > Rahul and Sankar, thank you for your valueble feedback
> >> >> >
> >> >> > On Sun, Mar 29, 2009 at 1:16 PM, Rahul Satasia
> <imsatasia_at_yahoo.com <mailto:imsatasia_at_yahoo.com>
> <mailto:imsatasia_at_yahoo.com <mailto:imsatasia_at_yahoo.com>>
> <mailto:imsatasia_at_yahoo.com <mailto:imsatasia_at_yahoo.com>
> <mailto:imsatasia_at_yahoo.com <mailto:imsatasia_at_yahoo.com>>>
> >> >> > <mailto:imsatasia_at_yahoo.com <mailto:imsatasia_at_yahoo.com>
> <mailto:imsatasia_at_yahoo.com <mailto:imsatasia_at_yahoo.com>>
> <mailto:imsatasia_at_yahoo.com <mailto:imsatasia_at_yahoo.com>
> <mailto:imsatasia_at_yahoo.com <mailto:imsatasia_at_yahoo.com>>>>> wrote:
> >> >> >
> >> >> > Hi..! Nagendra and Sankar,
> >> >> > > The Reason behind Update center Error is:
> Re-installation of
> >> >> > Glassfish.
> >> >> > > Nagendra may have Un-Installed the glassfish So, his root
> >> >> > directory have still some files in there .
> >> >> > Then may be he has Re-Installed Glassfish and Opened the Update
> >> >> > center, which shows the error (updateerror.jpg), if he
> >> >> > opens Available Update.
> >> >> > > The Reason behind this is Un-Installation of Glassfish
> and it's
> >> >> > root directory which was not completely deleted.
> >> >> > I have filed a bug for that:
> >> >> > https://glassfish.dev.java.net/issues/show_bug.cgi?id=7438
> >> >> > >
> >> >> > *Thank You,*
> >> >> >
> >> >> > *Rahul Satasia.*
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >>
> ------------------------------------------------------------------------
> >> >> > *From:* Sankar Neelakandan <Sankar.Neelakandan_at_Sun.COM
> <mailto:Sankar.Neelakandan_at_Sun.COM> <mailto:Sankar.Neelakandan_at_Sun.COM
> <mailto:Sankar.Neelakandan_at_Sun.COM>>
> <mailto:Sankar.Neelakandan_at_Sun.COM <mailto:Sankar.Neelakandan_at_Sun.COM>
> <mailto:Sankar.Neelakandan_at_Sun.COM <mailto:Sankar.Neelakandan_at_Sun.COM>>>>
> >> >> > *To:* quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>
> <mailto:quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>>
> <mailto:quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>
> <mailto:quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>>>
> >> >> > <mailto:quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>
> <mailto:quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>>
> <mailto:quality_at_glassfish.dev.java..net
> <mailto:quality_at_glassfish.dev.java..net>
> <mailto:quality_at_glassfish.dev.java.net
> <mailto:quality_at_glassfish.dev.java.net>>>>; donepudi84_at_gmail.com
> <mailto:donepudi84_at_gmail.com> <mailto:donepudi84_at_gmail.com
> <mailto:donepudi84_at_gmail.com>> <mailto:donepudi84_at_gmail.com
> <mailto:donepudi84_at_gmail.com> <mailto:donepudi84_at_gmail.com
> <mailto:donepudi84_at_gmail.com>>>
> >> >> > <mailto:donepudi84_at_gmail.com <mailto:donepudi84_at_gmail.com>
> <mailto:donepudi84_at_gmail.com <mailto:donepudi84_at_gmail.com>>
> <mailto:donepudi84_at_gmail.com <mailto:donepudi84_at_gmail.com>
> <mailto:donepudi84_at_gmail.com <mailto:donepudi84_at_gmail.com>>>>
> >> >> > *Sent:* Sunday, 29 March, 2009 11:12:23 AM
> >> >> > *Subject:* Re: Fwd: some errors
> >> >> >
> >> >> > Hi Nagendra,
> >> >> >
> >> >> > How did you login into the domain ?. Did you create a
> >> >> > domain using asadmin create-domain command and used
> user/password
> >> >> > ?. If yes then you need to provide the user/password to
> stop the
> >> >> > domain.
> >> >> >
> >> >> > Fro example if you have used user name as "nagendra" and
> password
> >> >> > as "mypassword" the command should be like this.
> >> >> >
> >> >> > asadmin stop-domain --user nagendra --passwordfile password.txt
> >> >> >
> >> >> > password.txt should have the following entry
> >> >> >
> >> >> > AS_ADMIN_PASSWORD=mypassword
> >> >> >
> >> >> > -Sankar
> >> >> >>
> >> >> >> 5. I logged into the domain as nagendra. My admin console
> shows
> >> >> >> "User: nagendra". Now i tried to stop the console and it
> showed
> >> >> >> me some error, can you help me with that. the error is
> given below
> >> >> >>
> >> >> >> C:\glassfishv3-prelude\bin>asadmin list-domains
> >> >> >> Name: domain1 Status: Running
> >> >> >> Command list-domains executed successfully.
> >> >> >> C:\glassfishv3-prelude\bin>asadmin stop-domain domain1
> >> >> >> com.sun.enterprise.cli.framework.CommandException:
> Authorization
> >> >> >> has been refuse
> >> >> >> d for credentials [user: nagendra] given in this request.
> >> >> >> (Usually, this means invalid user name and/or password)
> >> >> >> Command stop-domain failed.
> >> >> >> C:\glassfishv3-prelude\bin>asadmin stop-domain
> >> >> >> com.sun.enterprise.cli.framework.CommandException:
> Authorization
> >> >> >> has been refuse
> >> >> >> d for credentials [user: nagendra] given in this request.
> >> >> >> (Usually, this means invalid user name and/or password)
> >> >> >> Command stop-domain failed.
> >> >> >>
> >> >> >> 6. After completing the installation I tried to install the
> >> >> >> updates and it showed me an error. Snap shot is
> >> >> >> attached.(updateerror.jpg)
> >> >> >>
> >> >> >> Thanks,
> >> >> >>
> >> >> >> Nagendra
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> ------------------------------------------------------------------------
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> ------------------------------------------------------------------------
> >> >> >>
> >> >> >>
> >> >>
> ------------------------------------------------------------------------
> >> >> >>
> >> >>
> --------------------------------------------------------------------- To
> >> >> unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>>>
> >> >> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev.java..net
> <mailto:quality-unsubscribe_at_glassfish.dev.java..net>>>> For additional
> >> >> commands, e-mail: quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish..dev.java.net
> <mailto:quality-help_at_glassfish..dev.java.net>>>
> >> >> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>>
> <mailto:quality-help_at_glassfish..dev.java.net
> <mailto:quality-help_at_glassfish..dev.java.net>
> <mailto:quality-help_at_glassfish..dev.java.net
> <mailto:quality-help_at_glassfish..dev.java.net>>>> >
> >> >> >
> >> >>
> ------------------------------------------------------------------------
> >> >> > Unlimited freedom, unlimited storage. Get it now
> >> >> >
> >> >>
> <http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mai
>
> >> >> l/yahoomail/tools/tools-08.html/>
> >> >> >
> >> >> >
> >> >>
> >> >>
> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail:
> quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish..dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>>>
> >> >> For additional commands, e-mail:
> quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>>>
> >> >>
> >> >>
> >> >>
> >> >>
> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail:
> quality-unsubscribe_at_glassfish.dev..java.net
> <mailto:quality-unsubscribe_at_glassfish.dev..java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev..java.net
> <mailto:quality-unsubscribe_at_glassfish.dev..java.net>>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev.java..net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>>>
> >> >> For additional commands, e-mail:
> quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>>
> <mailto:quality-help_at_glassfish..dev.java.net
> <mailto:quality-help_at_glassfish..dev.java.net>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>>>
> >> >>
> >> >>
> >> >>
> ------------------------------------------------------------------------
> >> >> Add more friends to your messenger and enjoy! Invite them now.
> <http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/>
>
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail:
> quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish..dev.java.net
> <mailto:quality-unsubscribe_at_glassfish..dev.java.net>>
> >> > For additional commands, e-mail:
> quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>>
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java..net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>>
> >> For additional commands, e-mail:
> quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish..dev.java.net
> <mailto:quality-help_at_glassfish..dev.java.net>>
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >> Add more friends to your messenger and enjoy! Invite them now.
> <http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/>
>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> > For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
>
>
> ------------------------------------------------------------------------
> Connect with friends all over the world. Get Yahoo! India Messenger.
> <http://in.rd.yahoo.com/tagline_messenger_1/*http://in.messenger.yahoo.com/?wm=n/>