users@glassfish.java.net

Re: asadmin install-jbi-component command not working

From: Sony Manuel <Sony.Manuel_at_Sun.COM>
Date: Thu, 26 Jul 2007 15:00:12 +0530

glassfish_at_javadesktop.org wrote:
> When trying to deploy a Composite Application packaged as a zip file created by NetBeans using the asadmin command line tool the install-jbi-component does not recognise the .zip file as containing a JBI component although this same application will deploy from within Netbeans
>
>
> root_at_atrcus505> ./asadmin install-jbi-component /NetBeansProjects/AlarmIRPCompositeApp2/dist/AlarmIRPCompositeApp2.zip
> ERROR:(JBIMA1800)Invalid installation descriptor in archive /opt/SUNWappserver/domains/domain2/jbi/tmp/3d5ec332113fd71b38c7fb6/AlarmIRPCompositeApp2.zip: jbi.xml file does not describe a component.
> CLI137 Command install-jbi-component failed.
> root_at_atrcus505>
>
>
install-jbi-component is for installing JBI Serivce Engines (SE) and
Binding components into the JBI runtime. For deploying composite
applications use :

asadmin deploy-jbi-service-assembly
/NetBeansProjects/AlarmIRPCompositeApp2/dist/AlarmIRPCompositeApp2.zip
Then start the composite app using :

asadmin start-jbi-service-assembly AlarmIRPCompositeApp2

- Sony
> Has anyone experienced a similar situation and if so what environment needs to be set up to solve this? Are there any properties that need to be sent with the asadmin command to duplicate what is being done from withing NetBeans?
>
> thank
>
> jarmstrong
> [Message sent by forum member 'jarmstrong001' (jarmstrong001)]
>
> http://forums.java.net/jive/thread.jspa?messageID=228305
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>