Yes! I want to deploy a ear (which contains a module which contains a CMP EJB) by MEJB
simple in java: mejb.invoke(new ObjectName("jboss.system:service=MainDeployer"), "deploy", new Object[] { new URL("file:<path-ear>") }, new String[] { String.getName() }); in jython :-))): import java, javax from javax.naming import * from javax.management import * from java.lang import * from java.lang.reflect import * mejb = InitialContext().lookup("ejb/mgmt/MEJB").create() ARGS = Array.newInstance(Object, 1) SIGN = Array.newInstance(String, 1) ARGS[0] = URL("file:<path-ear>") SIGN[0] = URL.getName() mejb.invoke(ObjectName("jboss.system:service=MainDeployer"), "deploy", ARGS, SIGN) I LOVE JYTHON :-))) :-) Claudio PS: I am vEsco Claudio, Vasco is a famous italian singer :-))) > -----Original Message----- > From: Andreas Schaefer [SMTP:[EMAIL PROTECTED]] > Sent: Friday, March 22, 2002 6:56 PM > To: Vesco Claudio > Cc: [EMAIL PROTECTED] > Subject: Re: [JBoss-dev] MEJB transactions (invoke deploy) > > Hi Vasco > > > When I try to deploy an ear (better, an CMP entity) with MEJB I have an > > exception in org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand because > this > > class try to start a new transaction. > > What does this mean ? How you are going to deploy a CMP entity bean with > MEJB ?? > > Andy > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development