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 118132 - JNLP problems with already signed external libraries
Summary: JNLP problems with already signed external libraries
Status: RESOLVED DUPLICATE of bug 96630
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-08 17:54 UTC by pzajac
Modified: 2007-10-10 01:58 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 pzajac 2007-10-08 17:54:17 UTC
[071005]
Steps to repproduce:
1) Create library wrapper for already signed external library
2) Add the library to module suite
3) Build JNLP distribution for the suite. Distribution is built without error. Execution from IDE works fine. 
4) Deploy the application on tomcat and execute it. The execution fails because the signed jar was not found.

Extra jnlp file is created for the external library at :
app/${codenamebase}/${library-name}.jnlp

The jar is referenced :
<resources>
    <jar href='${codenamebase}/${library-name}.jar'/>
</resources> 

The servlet in generated war file replaces :
 <jnlp spec='1.0+' codebase='$$codebase' >

with 
 <jnlp spec='1.0+' codebase='${host-name}/.../app/${codenamebase}' >

Therefore the jar resource is not located. Please fix the 'href' value for already signed jar file:

<resources>
    <jar href='${library-name}.jar'/>
</resources>
Comment 1 Jesse Glick 2007-10-10 01:58:20 UTC
Use newer builds.

*** This issue has been marked as a duplicate of 96630 ***