Netbeans updates failing

634 views
Skip to first unread message

Andrew

unread,
Aug 9, 2010, 3:01:20 AM8/9/10
to The Java Posse
Hi,

I was prompted today to apply updates to Netbeans which I did, however
it has completely hosed my install as all the installed modules are
now inactive, and whenever I try and activate them I get a lovely
message like this:

Activation failed: Not all requested modules can be enabled:
[StandardModule:org.netbeans.modules.ruby.kit jarFile: C:\Program Files
\NetBeans 6.9\ruby\modules\org-netbeans-modules-ruby-kit.jar,
StandardModule:org.netbeans.modules.php.kit jarFile: C:\Program Files
\NetBeans 6.9\php\modules\org-netbeans-modules-php-kit.jar,
StandardModule:org.netbeans.modules.spring.webmvc jarFile: C:\Program
Files\NetBeans 6.9\enterprise\modules\org-netbeans-modules-spring-
webmvc.jar, StandardModule:org.netbeans.modules.java.kit jarFile: C:
\Program Files\NetBeans 6.9\java\modules\org-netbeans-modules-java-
kit.jar, StandardModule:org.netbeans.modules.ant.kit jarFile: C:
\Program Files\NetBeans 6.9\java\modules\org-netbeans-modules-ant-
kit.jar, StandardModule:org.netbeans.modules.db.kit jarFile: C:
\Program Files\NetBeans 6.9\ide\modules\org-netbeans-modules-db-
kit.jar, StandardModule:org.netbeans.modules.websvc.kit jarFile: C:
\Program Files\NetBeans 6.9\enterprise\modules\org-netbeans-modules-
websvc-kit.jar, StandardModule:org.netbeans.modules.javafx.composer
jarFile: C:\Program Files\NetBeans 6.9\javafx\modules\org-netbeans-
modules-javafx-composer.jar,
StandardModule:org.netbeans.modules.javafx.kit jarFile: C:\Program
Files\NetBeans 6.9\javafx\modules\org-netbeans-modules-javafx-kit.jar,
StandardModule:org.netbeans.modules.j2ee.persistence.kit jarFile: C:
\Program Files\NetBeans 6.9\java\modules\org-netbeans-modules-j2ee-
persistence-kit.jar, StandardModule:org.netbeans.modules.web.jsf.kit
jarFile: C:\Program Files\NetBeans 6.9\enterprise\modules\org-netbeans-
modules-web-jsf-kit.jar, StandardModule:org.netbeans.modules.maven.kit
jarFile: C:\Program Files\NetBeans 6.9\java\modules\org-netbeans-
modules-maven-kit.jar, StandardModule:org.netbeans.modules.groovy.kit
jarFile: C:\Program Files\NetBeans 6.9\groovy\modules\org-netbeans-
modules-groovy-kit.jar,
StandardModule:org.netbeans.modules.javacard.kit jarFile: C:\Program
Files\NetBeans 6.9\javacard\modules\org-netbeans-modules-javacard-
kit.jar, StandardModule:org.netbeans.modules.php.symfony jarFile: C:
\Program Files\NetBeans 6.9\php\modules\org-netbeans-modules-php-
symfony.jar, StandardModule:org.netbeans.modules.spring.beans jarFile:
C:\Program Files\NetBeans 6.9\java\modules\org-netbeans-modules-spring-
beans.jar, StandardModule:org.netbeans.modules.php.zend jarFile: C:
\Program Files\NetBeans 6.9\php\modules\org-netbeans-modules-php-
zend.jar, StandardModule:org.netbeans.modules.debugger.jpda.ui
jarFile: C:\Program Files\NetBeans 6.9\java\modules\org-netbeans-
modules-debugger-jpda-ui.jar,
StandardModule:org.netbeans.modules.web.kit jarFile: C:\Program Files
\NetBeans 6.9\enterprise\modules\org-netbeans-modules-web-kit.jar,
StandardModule:org.netbeans.modules.hibernate jarFile: C:\Program Files
\NetBeans 6.9\java\modules\org-netbeans-modules-hibernate.jar,
StandardModule:org.netbeans.modules.j2ee.kit jarFile: C:\Program Files
\NetBeans 6.9\enterprise\modules\org-netbeans-modules-j2ee-kit.jar,
StandardModule:org.netbeans.modules.form.kit jarFile: C:\Program Files
\NetBeans 6.9\java\modules\org-netbeans-modules-form-kit.jar,
StandardModule:org.netbeans.modules.ide.kit jarFile: C:\Program Files
\NetBeans 6.9\ide\modules\org-netbeans-modules-ide-kit.jar,
StandardModule:org.netbeans.modules.javacard.ri.bundle jarFile: C:
\Program Files\NetBeans 6.9\javacard\modules\org-netbeans-modules-
javacard-ri-bundle.jar,
StandardModule:org.netbeans.modules.websvc.saas.kit jarFile: C:
\Program Files\NetBeans 6.9\websvccommon\modules\org-netbeans-modules-
websvc-saas-kit.jar, StandardModule:org.netbeans.modules.web.struts
jarFile: C:\Program Files\NetBeans 6.9\enterprise\modules\org-netbeans-
modules-web-struts.jar,
StandardModule:org.netbeans.modules.websvc.restkit jarFile: C:\Program
Files\NetBeans 6.9\enterprise\modules\org-netbeans-modules-websvc-
restkit.jar, StandardModule:org.netbeans.modules.javafx.weather2
jarFile: C:\Program Files\NetBeans 6.9\javafx\modules\org-netbeans-
modules-javafx-weather2.jar]

I think the Plugin Portal might be down, as I continually get this
message when I click "Reload Catalog" from the "Updates" tab on the
Plugin Manager:

Unable to connect to the Plugin Portal because of Timeout while
opening connection to http://plugins.netbeans.org/nbpluginportal/updates/6.9/catalog.xml.gz

Is this likely to be recoverable when the update site is available
again, or will I need to reinstall (Eclipse :-))?

Andrew.

Fabrizio Giudici

unread,
Aug 9, 2010, 3:47:21 AM8/9/10
to java...@googlegroups.com, Andrew

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/9/10 09:01 , Andrew wrote:
>
> Is this likely to be recoverable when the update site is available
> again, or will I need to reinstall (Eclipse :-))?

You just need to erase everything under $HOME/.netbeans/6.9 (you might
want to backup it, so eventually you can later retrieve some personal
settings - be sure not to backup ../var/cache since it's usually large
and as the name says it's just a cache). It would restore NetBeans as
if it has been just installed.
If you run it over ZFS, it's just a matter of creating a snapshot /
rollbacking it ;-)

- --
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
Fabrizio...@tidalwave.it
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxfsogACgkQeDweFqgUGxdANgCgstuJOtD+9w+qpJiQn27rbXTR
WJoAoJaKtyU1KBIdwpnoxlbCFcfwDF/W
=Nugi
-----END PGP SIGNATURE-----

Wildam Martin

unread,
Aug 9, 2010, 5:13:15 AM8/9/10
to java...@googlegroups.com
I had a different error which was due to the fact that I did an
install via sudo and the updates could not update all files.

I ended up in uninstalling, downloading the full 6.9.1 package and
reinstalling using a different folder in /opt/netbeans (to which I
gave full permissions and changed owner so that I can update it also
when netbeans started with normal user permissions).

After that I tried to recheck for updates and got a connection error
so it might be really down.

BTW: If you are on Linux I found out that installing from the
repository (in Ubuntu NetBeans is in the repositories) is not a good
idea.

--
Martin Wildam

http://www.google.com/profiles/mwildam

Andrew

unread,
Aug 9, 2010, 8:12:32 AM8/9/10
to The Java Posse
Hi Fabrizio,

Thanks for the suggestion. It looks like I'm able to reinstall the
various plugins now.

Pity I don't have ZFS though...that would have been nice...

Regards,
Andrew.


On Aug 9, 5:47 pm, Fabrizio Giudici <fabrizio.giud...@tidalwave.it>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 8/9/10 09:01 , Andrew wrote:
>
> > Is this likely to be recoverable when the update site is available
> > again, or will I need to reinstall (Eclipse :-))?
>
> You just need to erase everything under $HOME/.netbeans/6.9 (you might
> want to backup it, so eventually you can later retrieve some personal
> settings - be sure not to backup ../var/cache since it's usually large
> and as the name says it's just a cache). It would restore NetBeans as
> if it has been just installed.
> If you run it over ZFS, it's just a matter of creating a snapshot /
> rollbacking it ;-)
>
> - --
> Fabrizio Giudici - Java Architect, Project Manager
> Tidalwave s.a.s. - "We make Java work. Everywhere."
> java.net/blog/fabriziogiudici -www.tidalwave.it/people
> Fabrizio.Giud...@tidalwave.it
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/
Reply all
Reply to author
Forward
0 new messages