我正在部署一個帶有幾個bean的EJB3 Jar。該jar在其他實例上正常工作並正確部署。但是,如果我在我的機器上嘗試,我會得到DeploymentException。 我在JBoss 5.1.0上 請幫忙!!JBoss EJB 3問題DeploymentException
這裏是堆棧跟蹤:
***部署IN ERROR:名稱 - >錯誤
vfszip:/ d:/jboss-5.1.0.GA/server/default/部署/ Enhanced-QC-ejb.jar/- > org.jboss.deployers.spi.DeploymentException:org.jboss.deployers.spi.DeploymentException:部署時出錯:Factory $ org.jboss.aspects.remoting.InvokeRemoteInterceptor
部署錯誤: 部署「vfszip:/ D:/jboss-5.1.0.GA/server/default/deploy/Enh anced-QC-ejb.jar /「由於以下原因而出錯:java.lang.IllegalStateException:已經安裝了Factory $ org.jboss.aspects.remoting.InvokeRemoteInterceptor。
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
謝謝..它的工作! 現在有了Hibernate的probs ...現在就解決了:) – 2009-09-11 16:20:22