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 99960

Summary: Compapp can't be renamed: Cannot deploy the Synchronous Sample with name not SynchronousSample
Product: usersguide Reporter: Victoria Zhukovskaya <victoriaz>
Component: SOAAssignee: Vladimir Yaroslavskiy <yaroslavskiy>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Victoria Zhukovskaya 2007-04-04 12:58:12 UTC
1. Create Synchronouse Sample - enter name MyFirst f.e. in New Project Wizard  
2.  Deploy project


there is run-jbi-deploy:
[deploy-service-assembly]
    Deploying a service assembly...
        host=localhost
        port=4848
        file=D:\Documents and Settings\vz153235.OLYMP\My
Documents\NetBeansProjects\MyFirst\MyFirstApplication/dist/SynchronousSampleApplication.zip
[start-service-assembly]
    Starting a service assembly...
        host=localhost
        port=4848
        name=SynchronousSampleApplication
Failed execution of Start
ERROR: (JBIMA1406) Service assembly SynchronousSampleApplication is not deployed
on target server.
D:\Documents and Settings\vz153235.OLYMP\My
Documents\NetBeansProjects\MyFirst\MyFirstApplication\nbproject\build-impl.xml:238:
Service assembly deployment failed.
BUILD FAILED (total time: 3 seconds)


Project is deployed but not executed.  There is no another deployed Synchronouse
Samples.
Comment 1 Victoria Zhukovskaya 2007-04-04 16:03:20 UTC
NetBeans IDE Dev (Build 200704021800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_US (nb); Cp1252
Comment 2 Jun Qian 2007-04-06 21:36:15 UTC
Renaming of sample project during sample project creation is broken.

This problem also applies to the second (and beyond) instance of the same sample
project, say SynchronousSample1. This is very inconvenient for dev. 
Comment 3 Jun Qian 2007-04-06 22:02:21 UTC
*** Issue 100085 has been marked as a duplicate of this issue. ***
Comment 4 Vladimir Yaroslavskiy 2007-04-09 09:55:49 UTC
Renaming of compapp project doesn't work (ide-hula-070408_1.zip, Windows XP):
1. Create Composite Application, let default name CompositeApp1
2. Select project node CompositeApp1 and open popup menu
3. Invoke Rename Project action, set new name, CompositeApp2
4. Press Rename button

See appeared dialog with message "Cannot rename project, reason: null".
Please fix the renaming of comapp project.
Comment 5 Jun Qian 2007-04-10 01:13:04 UTC
The compapp renaming problem is fixed now (Hula build 070409_22).

Sample project renaming is still broken. Specifically,
"org.netbeans.modules.compapp.projects.jbi.descriptor.uuid.assembly-unit" in
compapp's project.properties file is not set up properly when sample project is
created, which causes start-service-assembly to fail.

Reassigning back to samples.
Comment 6 Vladimir Yaroslavskiy 2007-04-10 14:31:02 UTC
fixed in 070410_9.
Comment 7 Victoria Zhukovskaya 2007-04-19 15:11:12 UTC
verified
NetBeans IDE Dev (Build 070418)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_US (nb); Cp1252