users@glassfish.java.net

asadmin install-jbi-component command not working

From: <glassfish_at_javadesktop.org>
Date: Thu, 26 Jul 2007 02:18:39 PDT

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>

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