0

我正在将 seam2/hibernate ear 应用程序移植到 jboss7.1.1FINAL

我在 ear\lib 中包含了包含我需要的 sem 接口的 jar mail-ra.jar。

但看起来在部署过程中找不到 mail-ra.jar 库我收到上面的错误

有什么提示吗?

JBAS014775:    New missing/unsatisfied dependencies:
  service jboss.ra.mail-ra (missing) dependents: [service jboss.deployment.subunit."4pm_ee_services-ear.ear"."4pm_ee_services-ejb.jar".component.MailListenerMDB.CREATE] 

16:25:57,299 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.subunit.\"4pm_ee_services-ear.ear\".\"4pm_ee_services-ejb.jar\".component.MailListenerMDB.CREATEjboss.ra.mail-raMissing[jboss.deployment.subunit.\"4pm_ee_services-ear.ear\".\"4pm_ee_services-ejb.jar\".component.MailListenerMDB.CREATEjboss.ra.mail-ra]"]}}}
4

1 回答 1

0

@simonC 似乎你的standalone.xml 是jndi-name 是错误的,应该是这样的

 <datasource jta="true" jndi-name="java:/mobeeaAirtimeDatasource" pool-name="mobeeaAirtimeDatasource_pool" enabled="true" use-java-context="true">
     <connection-url>jdbc:oracle:thin:@localhost:1521:mobee</connection-url>
    <driver>com.oracle</driver>
       <security>
                 <user-name>airtimeuser</user-name>
                   <password>mobeepasswd</password>
               </security>
       </datasource>
于 2012-12-21T11:14:38.680 回答