This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 226912 - JNLP Warning - could not install some modules
Summary: JNLP Warning - could not install some modules
Status: RESOLVED INCOMPLETE
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
: 231663 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-01 18:43 UTC by JeffreyCoffield
Modified: 2013-08-08 14:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JeffreyCoffield 2013-03-01 18:43:14 UTC
Using NetBeans 7.3 on openSUSE 12.2 (x86_64)

I started with a new NetBeans Platform Application with no modules. I added the following to the project.properties file:

jnlp.platform.codebase=http://bits.netbeans.org/7.3/jnlp/

The JNLP build failed on not finding junit4 so I unchecked Project -> Properties -> platform -> JUnit4

Now the JNLP build and JNLP run works. (This did not work with the release candidate.)

I then created a new NetBeans module to wrap a JDBC driver (one that I wrote) which has no dependencies on anything else, added the .jar file under the Wrapped JARs and checked the appropriate boxes under the API Versioning.

Now the JNLP build still completes but when I do the JNLP run, I get the following message in an error panel.

Warning - could not install some modules:
DSI_JDBC_Driver - No module providing the capability org.openide.modules.ModuleFormat1 could be found.
Comment 1 Geertjan Wielenga 2013-03-01 18:53:56 UTC
Don't understand why you're surprised that this didn't work with the release candidate... obviously the NetBeans modules hadn't been published into the 7.3 JNLP repository at that time. Because that repository is only created when a new full version (i.e., not a release candidate or beta release) is released.
Comment 2 Quality Engineering 2013-05-17 09:51:49 UTC
Integrated into 'main-golden', will be available in build *201305170640* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6e50d7c9761f
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #226912: Now displaying error message that user should open the application and try it again.
Comment 3 Martin Kozeny 2013-06-06 13:47:46 UTC
Changeset mentioned in previous comment (http://hg.netbeans.org/main-golden/rev/6e50d7c9761f) does not relate to this bug.
Comment 4 Martin Kozeny 2013-06-24 07:01:01 UTC
*** Bug 231663 has been marked as a duplicate of this bug. ***
Comment 5 Martin Kozeny 2013-06-25 07:13:16 UTC
Hi Jeffrey,

I've reopened the bug in order to track our communication. As I've received messages from you, I can see that you're now using 7.3.1 and problem with your JDBC driver is not persist but you've still problems with loading some NB modules. List of modules to load is declared in platform.properties file, and the logic is, that all modules from clusters declared in cluster.path are loaded expect of those, which are declared in disabled.modules property. From this property file is generated during jnlp build in build/jnlp master.jnlp file declaring in resources/extension tag modules to load. Actually I don't understand what does it mean 'to recreate each module by moving the Java source over'. Could you please attach log or screen shot of the error. I hope this would help me to solve this. Thanks.
Comment 6 Martin Kozeny 2013-08-08 14:40:23 UTC
Jeff, try to use jnlp.platform.codebase=http://bits.netbeans.org/trunk/jnlp/ in platform on latest build http://bits.netbeans.org/trunk/nightly/latest/. I've try it on it and everything works fine for me.