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 123852 - Error Installing IEP Module into NetBeans
Summary: Error Installing IEP Module into NetBeans
Status: VERIFIED WONTFIX
Alias: None
Product: soa
Classification: Unclassified
Component: IEP editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Ritesh Adval
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-11 22:52 UTC by davidsalter
Modified: 2008-07-22 03:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error Screen Shot (27.95 KB, image/png)
2007-12-11 22:53 UTC, davidsalter
Details
Modified nbm, with Info/info.xml and the jar's manifest pointing to org.netbeans.modules.soa.jgo/1 (515.87 KB, application/octet-stream)
2008-01-01 20:45 UTC, Karthikeyan Rajeswaran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davidsalter 2007-12-11 22:52:21 UTC
I am trying to install the IEP module (Service Engine and NetBeans support) into NetBeans 6.0 Final Release 
as per the instructions at http://www.glassfishwiki.org/jbiwiki/attach/IEPSE/InstallationGuide.zip

When I try to install the IEP Editor into NetBeans, I get an error saying that the IEP Editor plugin cannot be 
installed because of a missing required module (org.netbeans.soa.libs.jgo/1 > 1.0)

I have logged this as a bug on the Open ESB project (https://open-esb.dev.java.net/issues/show_bug.cgi?id=152) however it has been suggested to me that 
this is the correct place to log the bug rather than on the open esb project issue tracker.
Comment 1 davidsalter 2007-12-11 22:53:06 UTC
Created attachment 54171 [details]
Error Screen Shot
Comment 2 Karthikeyan Rajeswaran 2008-01-01 20:42:31 UTC
I ran into the following two issues while trying to download the latest nbms from:    
   http://download.java.net/jbi/binaries/open-esb-full-install/nbm/latest/*iep*nbm)

1. I could not figure out how to download org.netbeans.modules.soa.reportgenerator module from the above
download.java.net URL. As a workaround, i used the org-netbeans-modules-soa-reportgenerator.nbm from
http://www.glassfishwiki.org/jbiwiki/attach/IEPSE/InstallationGuide.zip . This is possibly a bug; the latest builds are
probably not generating the reportgenerator module.

2. After selecting the latest *iep* modules from download.java.net latest link and reportgenerator from the installation
guide in the plugin manager ('Downloaded' tab), i ran into the issue described in this issue
(http://www.netbeans.org/nonav/issues/showattachment.cgi/54171/iep_error.png)

The error message says org.netbeans.soa.libs.jgo/1 is missing. A file named org-netbeans-modules-soa-jgo.jar does exist
in the NetBeans 6.0 installation directory:
   <nb_install_dir>/soa1/modules/org-netbeans-modules-soa-jgo.jar
But the jar file defines the module name as:
    org.netbeans.modules.soa.jgo/1

There seems to be a bug in iep-editor's manifest file: Looks like it should refer to org.netbeans.modules.soa.jgo/1 but
instead refers to org.netbeans.soa.libs.jgo/1

As a workaround:
- I downloaded the five modules from http://www.glassfishwiki.org/jbiwiki/attach/IEPSE/InstallationGuide.zip.
- I unzipped org-netbeans-modules-iep-editor.nbm.
- changed the Info/info.xml to point to org.netbeans.modules.soa.jgo/1
- unzipped the netbeans/modules/netbeans/modules/org-netbeans-modules-iep-editor.jar and changed its MANIFEST.MF to
point to org.netbeans.modules.soa.jgo/1 and zipped it back to
netbeans/modules/netbeans/modules/org-netbeans-modules-iep-editor.jar
- zipped back org-netbeans-modules-iep-editor.nbm. (Attaching the nbm with the above two changes).
Now I was able to successfully install the 5 nbms. (I tested only if the modules could be installed in plugin manager; 
not its functionality).
Comment 3 Karthikeyan Rajeswaran 2008-01-01 20:45:19 UTC
Created attachment 54584 [details]
Modified nbm, with Info/info.xml and the jar's manifest pointing to org.netbeans.modules.soa.jgo/1
Comment 4 Yanbing Lu 2008-01-04 22:55:37 UTC
It seems a module name mismatch issue in net beans 60 final release version of jgo and what is packaged in iep 
installation zip which is from sierra branch. The cvs trunk has org.netbeans.soa.libs.jgo as lib name for JGo.
So the fixes suggested are only temporary. They won't apply if you have netbeans 6.1 release.

I uploaded a new installationGuide.zip to http://wiki.open-esb.java.net/Wiki.jsp?page=IEPSE. It contains an
additional nbm for jgo: org-netbeans-soa-libs-jgo.nbm. 
Comment 5 Ritesh Adval 2008-01-07 23:00:37 UTC
This is an issue in using IEP netbeans module from sierra branch (which were available at 
http://www.glassfishwiki.org/jbiwiki/attach/IEPSE/InstallationGuide.zip) and using netbeans 60 rather
than the full netbeans from sierra branch.

It is verified that latest trunk in netbeans has org.netbeans.soa.libs.jgo as lib name for JGo. so we 
need not make any change in IEP. it is possible that netbeans 60 have jgo lib name
as org.netbeans.modules.soa.jgo but in sierra branch the name was still used as org.netbeans.soa.libs.jgo,
so a full netbeans from sierra would have worked but not installing IEP sierra modules to nb60

As long as the official release of sierra is used you should not see this problem.


Comment 6 jlautz 2008-07-22 03:33:19 UTC
Verified that this is not reproducible with Java CAPS 6 with NB 6.1 patches applied and IEP nbms for Build080720 (july
20) installed.

This is also not reproducible with NB 6.1 FCS.