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.
1. Create a composite app 2. shutdown the JBI component 3. Deploy CA I get the following error in NB, [deploy-service-assembly] Deploying a service assembly... host=localhost port=4848 file=/Users/deepak/NetBeansProjects/BugVerification/CompositeApp1/dist/CompositeApp1.zip ERROR: Service assembly deployment failed (see error below). Cleaning up... [undeploy-service-assembly] Undeploying a service assembly... host=localhost port=4848 name=CompositeApp1 /Users/deepak/NetBeansProjects/BugVerification/CompositeApp1/nbproject/build-impl.xml:235: Failed execution of Undeploy: CompositeApp1 ERROR: (JBIMA1402) Service assembly CompositeApp1 is not registered in the domain. BUILD FAILED (total time: 1 second) I see the following error in AppSever Log, #|2008-03-30T15:18:17.963+0530|INFO|sun-appserver9.1|com.sun.jbi.management|_ThreadID=19;_ThreadName=httpWorkerThread-4848-1;|Deploying service assembly CompositeApp1 to target server.|#] [#|2008-03-30T15:18:18.039+0530|WARNING|sun-appserver9.1|com.sun.jbi.management|_ThreadID=17;_ThreadName=httpWorkerThread-4848-0;_RequestID=d11a1777-04aa-4185-b27a-46667eb97c19;|<?xml version="1.0" encoding="UTF-8" standalone="yes"?><jbi-task version="1.0" xmlns="http://java.sun.com/xml/ns/jbi/management-message"><jbi-task-result><frmwk-task-result><frmwk-task-result-details><task-result-details><task-id>undeploy</task-id><task-result>FAILED</task-result><message-type>ERROR</message-type><task-status-msg><msg-loc-info><loc-token>JBIMA1402</loc-token><loc-message>Service assembly CompositeApp1 is not registered in the domain.</loc-message><loc-param>CompositeApp1</loc-param></msg-loc-info></task-status-msg></task-result-details><locale>en_US</locale></frmwk-task-result-details></frmwk-task-result></jbi-task-result></jbi-task>|#] There is no way user can know the error is due to JBI Component Not installed.
Step 2 should be, 2. Uninstall the JBI component
Created attachment 59376 [details] deploying comp app with missing component via jbi manager
Jun, Can you add the same error indication for comp app deployment from project tree as from jbi manager. when the underlying component is not present, deployment from jbi manager gives users indication if any associated component is not present (see attached png file). Since this is better error handling ticket and functionality is available from jbi manager, reducing priority.
Fixed (in trunk) hidden deployment error message. Also no longer try to undeploy the SA if the deployment fails completely. The output tab now shows: ...... run-jbi-deploy: [deploy-service-assembly] Deploying a service assembly... host=localhost port=4848 file=C:\Documents and Settings\jqian\My Documents\NetBeansProjects\SynchronousSample6\SynchronousSample6Application/dist/SynchronousSample6Application.zip ERROR: Failed execution of Deploy: C:\Documents and Settings\jqian\My Documents\NetBeansProjects\SynchronousSample6\SynchronousSample6Application/dist/SynchronousSample6Application.zip ERROR: (JBIMA1407) Required component sun-bpel-engine is not installed on target server. C:\Documents and Settings\jqian\My Documents\NetBeansProjects\SynchronousSample6\SynchronousSample6Application\nbproject\build-impl.xml:213: Deployment failure. BUILD FAILED (total time: 1 second) Changeset in trunk: 96511d041bfc
Here is the email discussion Deepak H P wrote: > Me too. > > Venkat Chellasamy wrote: >> >> I would vote for merging into 6.1. >> >> Prashant Bhagat wrote: >>> Thanks Jun. The user will certainly get confused if the message is not there in the NB console. Not sure whether it warrants a P1 since the user can see the message when he tries to deploy using the Services tab. Nevertheless, I think this should go in. >>> >>> Venkat/Deepak, >>> What do you think? >>> >>> Thanks >>> >>> >>> >>> Jun Qian wrote: >>>> http://www.netbeans.org/issues/show_bug.cgi?id=131544 >>>> >>>> >>>> This has already been fixed in NetBeans trunk, but unfortunately it is not in the release61 branch because of NetBeans 6.1's code freeze. If you think this is a stopper, you can change the ticket's priority to P1. That way, I can merge the fix into release61 branch. >>>> >>>> Thanks, >>>> Jun
When I follow the scenario: 1. Create a valid composite application. (I used SynchronousSampleApplication in the SynchronousSample sample app.)O 2. Delete the component the implements one of the JBI modules (BPEL, in this case). 3. Deploy the composite application. ==> I see the following messages: pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init: init-deploy: deps-jar: init: Building jar: /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2/build/SEDeployment.jar dist_se: Expanding: /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2/build/SEDeployment.jar into /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/src/jbiServiceUnits/SynchronousSample2 Moving 1 file to /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/src/jbiServiceUnits/SynchronousSample2 Moving 1 file to /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/src/jbiServiceUnits/META-INF/SynchronousSample2 deps-javaee-jar: jbi-build: Copying 1 file to /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/src/jbiServiceUnits Building jar: /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/build/BCDeployment.jar Validating CompApp project... Resolving connections... Writing connections out to connections.xml... Generating Service Assembly jbi.xml... Merging component projects' catalogs... Generating Binding Component Service Units... creating sun-http-binding.jar Creating/Updating CASA... Filtering Java EE Endpoints... Deleting: /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/build/BCDeployment.jar Building jar: /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/dist/SynchronousSample2Application.zip Building jar: /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/dist/SynchronousSample2Application.zip run-jbi-deploy: [deploy-service-assembly] Deploying a service assembly... host=localhost port=4848 file=/Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/dist/SynchronousSample2Application.zip ERROR: Failed execution of Deploy: /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/dist/SynchronousSample2Application.zip ERROR: (JBIMA1407) Required component sun-bpel-engine is not installed on target server. /Users/lautz/NetBeansProjects/SynchronousSample2/SynchronousSample2Application/nbproject/build-impl.xml:213: Deployment failure. BUILD FAILED (total time: 5 seconds) Verifying that this is the expected result. Tested with NB trunk build 1530 on Solaris x86.
Fixed in release61 branch. http://hg.netbeans.org/release61-php?cmd=changeset;node=beb06e9ec46a
Verified using 20080429-0500 . got the following exception while deploying the project ERROR: Failed execution of Deploy: C:\Documents and Settings\vmapakshi\My Documents\NetBeansProjects\SynchronousSample\SynchronousSampleApplication/dist/SynchronousSampleApplication.zip ERROR: (JBIMA1407) Required component sun-bpel-engine is not installed on target server. C:\Documents and Settings\vmapakshi\My Documents\NetBeansProjects\SynchronousSample\SynchronousSampleApplication\nbproject\build-impl.xml:213: Deployment failure. BUILD FAILED (total time: 1 second)
Closing the bug, since it is already verified
*** Issue 134581 has been marked as a duplicate of this issue. ***