jboss eap6.1(5)(ejb升級)
以前的項目是基於ejb2.x做的,ejb的配置文件為ejb-jar.xml和jboss.xml,現在把這個項目移到新版本服務器中的時候,報解析ejb-jar錯誤。 查閱許多資料才找到解決辦法,原來jboss7以上的版本都不支持jboss.xml文件了,需要將其換成jboss-ejb3.xml才行,如有需要參考配置文件,請去我的資源中下載。 20:17:05,047 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named ServiceInovker in deployment unit subdeployment "TopDeskEJB.jar" of deployment "tsm-5topdesk.ear" are as follows:java:global/tsm-5topdesk/TopDeskEJB/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerjava:app/TopDeskEJB/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerjava:module/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerjava:jboss/exported/tsm-5topdesk/TopDeskEJB/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerjava:global/tsm-5topdesk/TopDeskEJB/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerLocalHomejava:app/TopDeskEJB/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerLocalHomejava:module/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerLocalHomejava:global/tsm-5topdesk/TopDeskEJB/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerLocaljava:app/TopDeskEJB/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerLocaljava:module/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerLocaljava:global/tsm-5topdesk/TopDeskEJB/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerHomejava:app/TopDeskEJB/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerHomejava:module/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerHomejava:jboss/exported/tsm-5topdesk/TopDeskEJB/ServiceInovker!com.topsec.topdesk.ejb.interfaces.ServiceInovkerHome 20:17:05,047 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named UsbEjb in deployment unit subdeployment "TopDeskEJB.jar" of deployment "tsm-5topdesk.ear" are as follows:java:global/tsm-5topdesk/TopDeskEJB/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbLocalHomejava:app/TopDeskEJB/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbLocalHomejava:module/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbLocalHomejava:global/tsm-5topdesk/TopDeskEJB/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbHomejava:app/TopDeskEJB/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbHomejava:module/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbHomejava:jboss/exported/tsm-5topdesk/TopDeskEJB/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbHomejava:global/tsm-5topdesk/TopDeskEJB/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbLocaljava:app/TopDeskEJB/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbLocaljava:module/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbLocaljava:global/tsm-5topdesk/TopDeskEJB/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbjava:app/TopDeskEJB/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbjava:module/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjbjava:jboss/exported/tsm-5topdesk/TopDeskEJB/UsbEjb!com.topsec.topdesk.ejb.usb.UsbEjb
--------------------- 作者:zhanglu5116 來源:CSDN 原文:https://blog.csdn.net/zhanglu5116/article/details/16870001?utm_source=copy 版權聲明:本文為博主原創文章,轉載請附上博文鏈接!
jboss eap6.1(5)(ejb升級)