Hi..! Tom,
The Reason behind Update center Error is: Re-installation of Glassfish.
How To Reproduce?
step-1). Install Glassfish
step-2). Install Available Update
step-3). Uninstall Glassfish (But, root directory have still some files in there.)
step-4) Install Glassfish
Step-5) Open Update Center
Step-6) Error is waiting for you....
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
Steps for Re-Installation of Glassfish to avoid Update Center Error, which works well for me are:
step-1). Install Glassfish
step-2). Install Available Update
step-3). Uninstall Glassfish (But, root directory have still some files in there.)
step-4). Restart PC (without Restart you may not able to delete the root directory. or stop the process of glassfish which are currently in process)
step-5). Delete root directory of Glassfish
step-6) Install Glassfish
Step-7) Open Update Center.......no more Error
Pls. Correct me If I'm wrong. Ihave tested this under Windows VISTA and Windows 7 Beta.
Thank You,
Rahul Satasia.
________________________________
From: Tom Mueller <Tom.Mueller@Sun.COM>
To: abhi85ster@gmail.com
Cc: quality@glassfish.dev.java.net
Sent: Tuesday, 31 March, 2009 3:15:06 PM
Subject: Re: Mail regarding Error
This error message indicates that the packaging system thinks that there are two versions of the same package installed when that should never be the case.. Previous messages mentioned the possibility that what might be happening here is that the previous installation was not completely removed, and then GlassFish was installed in the same directory. Could that be happening with your install?
It would be helpful to know what steps lead to this problem.
Thanks.
Tom
abhishek jain wrote:
Hi Tom,
I encountered the same problem.
I am running glassfish on windows vista.
Here is the complete stack trace from the error dialogue box:
Application ID: [Update Tool 2.0.0 (Build 15.1269)]
Timestamp : [ Pacific Daylight Time(Pacific Daylight Time)]
wx Version : [2.8.8.0]
wx Platform : [__WXMSW__]
Python Version: [UNKNOWN]
Platform : [UNKNOWN]
Traceback (innermost last):
File "C:\glassfishv3-prelude\updatetool\vendor-packages\updatetool\mainframe.py", line 510, in update_image_view
self._list_generic(imagedir, view)
File "C:\glassfishv3-prelude\updatetool\vendor-packages\updatetool\mainframe.py", line 1502, in _list_generic
self._list_updates(imageroot)
File "C:\glassfishv3-prelude\updatetool\vendor-packages\updatetool\mainframe.py", line 1657, in _list_updates
pkg_plans = ips.get_list_of_updates(img)
File "C:\glassfishv3-prelude\updatetool\vendor-packages\updatetool\ips.py", line 433, in get_list_of_updates
verbose = False, noexecute = False)
File "C:\glassfishv3-prelude\pkg\vendor-packages\pkg\client\image.py", line 1701, in make_install_plan
ip.propose_fmri(pmatch[0])
File "C:\glassfishv3-prelude\pkg\vendor-packages\pkg\client\imageplan.py", line 114, in propose_fmri
if self.image.has_version_installed(fmri):
File "C:\glassfishv3-prelude\pkg\vendor-packages\pkg\client\image.py", line 839, in has_version_installed
v = self._get_version_installed(fmri)
File "C:\glassfishv3-prelude\pkg\vendor-packages\pkg\client\image.py", line 781, in _get_version_installed
assert len(pkgs_inst) <= 1
AssertionError
Is there a way to fix this problem.
Regards,
Abhishek Jain
On Tue, Mar 31, 2009 at 7:58 AM, Tom Mueller <Tom.Mueller@sun.com> wrote:
Hi Akshay,
Could you please cut/paste the complete stack trace from that error dialog into an email response. Since there is a scrollbar there that is scrolled to the top, I'm unable to see the complete message.
Just to confirm: you are running on Windows Vista, right?
Thanks.
Tom
Akshay Asare wrote:
hi,
When i click on available update tab on the Update tool screen i get this error massage, can anyone help me regarding how to fix the problem.
I have attached the screen shot of the error massage.
--
With Regards
Akshay Asare
________________________________
________________________________
--------------------------------------------------------------------- To unsubscribe, e-mail: quality-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: quality-help@glassfish.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: quality-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: quality-help@glassfish.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: quality-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: quality-help@glassfish.dev.java.net
Bollywood news, movie reviews, film trailers and more! Go to
http://in.movies.yahoo.com/