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.
netbeans-ent_pack-5_5-main-060919-windows.exe -install EntPack and use glassfish as app server -create New | Samples | Identity Blueprints | Stock Service unresolved reference dialog appears Problem: The project uses the file/folder called "appserv-rt.jar", but this file/folder was not found. Solution: Click Resolve and locate the missing file/folder. message from console: Cannot identify version of target application server. Defaulting to 'Sun Java System Application Server 9.0' for descriptor files.
Since the tutorial sample depends on sone security apis from appserver, instead of bundling the needed jars we designed the tutorial to get them from the configured runtime. The tutorial documentation documents this step for the user to follow. This is a feature in the IDE to let the user resolve the env. specific references. So, I dont think this is actually a bug.
this bug isn't about bundling the jar with the sample. IMO, it is bad usability when user creates new Sample and the project doesn't work out of box. He has to resolve broken reference instead. The appserv-rt.jar is still in the same place in glassfish(appserv) IMO, it shouldn't be so difficult to resolve this reference from Nb setting during project creation. It definitelly happens for other project.
The behaviour in other BPEL samples is the same. For example for the BPEl sample TravelReservation Service which includes other ejb J2EE modules, the included modules complain if there is no registered App Server in the IDE. This behaviour is exactly similar. The samples will be created in the IDE whether you have an app server or not registered. I think it is not the correct behavior to force the user to have the app server registered before letting them to create the sample. The library reference resolution is also done the same way. I think this sampleis designed to use the proper IDE functionality to let the user resolve any broken server or library references. I dont see any usability issue here. Degrading it to P4 again and marking it as INVALID per discussion with Manish.
I do have appserver registered in my IDE. WHY am I pushed to resolve a "unresolved reference" when all is in its place? Marking with keyword usability. To make it clear : 1, user should have opportunity to create samples even when appserv isn't registered 2, samples should work out-of-box (no other action needed if not necessary)
Fixed in release55: Checking in util/SoaSampleUtils.java; /cvs/identity/samples/src/org/netbeans/modules/identity/samples/util/Attic/SoaSampleUtils.java,v <-- SoaSampleUtils.java new revision: 1.1.2.4; previous revision: 1.1.2.3 done Checking in util/SoaSampleProjectProperties.java; /cvs/identity/samples/src/org/netbeans/modules/identity/samples/util/Attic/SoaSampleProjectProperties.java,v <-- SoaSampleProjectProperties.java new revision: 1.1.2.3; previous revision: 1.1.2.2 done Checking in ui/SampleWizardIterator.java; /cvs/identity/samples/src/org/netbeans/modules/identity/samples/ui/Attic/SampleWizardIterator.java,v <-- SampleWizardIterator.java new revision: 1.1.2.5; previous revision: 1.1.2.4 done