求救!!!在jboss下无法发布的问题

04-03-23 stone77

有两个session ejb 分别为test1和test3,现在test1bean中调用test3bean的方法test3(),在jbuilder中编译打包之后,无法发布在

jboss下

Object obj = ctx.lookup("test3");

test3Home Home=(test3Home)javax.rmi.PortableRemoteObject.narrow

(obj,test3Home.class);

test3 tt3=Home.create ();

System.out.println(tt3.test3());

tt3.remove();

错误为

15:24:47,500 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.2/server/default/deploy/test1.jar

org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.

at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)

at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)

at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy6.deploy(Unknown Source)

at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen

tScanner.java:302)

at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS

canner.java:458)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.

doScan(AbstractDeploymentScanner.java:201)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.

loop(AbstractDeploymentScanner.java:212)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.

run(AbstractDeploymentScanner.java:191)