日期:2014-05-18  浏览次数:20676 次

jboss发布ejb报错求援助
小弟最近接触ejb,现在用ant打包后吧ejb部署到 jboss里面无法启动。求各位前辈帮忙看看下面的错误愿意
ejb-jar.xml
<?xml version="1.0" encoding="Shift_JIS"?>

<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>

<ejb-jar>
  <display-name>NC-EJB-JARs</display-name>
 <enterprise-beans>
      <session >
         <ejb-name>NCUserManagerSession</ejb-name>
         <home>jp.or.kkr.nenkin.common.util.user.ejb.session.NCUserManagerSessionHome</home>
         <remote>jp.or.kkr.nenkin.common.util.user.ejb.session.NCUserManagerSession</remote>
         <ejb-class>jp.or.kkr.nenkin.common.util.user.ejb.session.NCUserManagerSessionBean</ejb-class>
         <session-type>Stateful</session-type>
         <transaction-type>Bean</transaction-type>
      </session>

     <session >
        <ejb-name>NCCodeManagerSession</ejb-name>
         <home>jp.or.kkr.nenkin.common.util.code.ejb.session.NCCodeManagerSessionHome</home>
         <remote>jp.or.kkr.nenkin.common.util.code.ejb.session.NCCodeManagerSession</remote>
         <ejb-class>jp.or.kkr.nenkin.common.util.code.ejb.session.NCCodeManagerSessionBean</ejb-class>
         <session-type>Stateful</session-type>
         <transaction-type>Bean</transaction-type>
      </session>

     <session >
        <ejb-name>NCPrintManagerSession</ejb-name>
         <home>jp.or.kkr.nenkin.common.util.print.ejb.session.NCPrintManagerSessionHome</home>
         <remote>jp.or.kkr.nenkin.common.util.print.ejb.session.NCPrintManagerSession</remote>
         <ejb-class>jp.or.kkr.nenkin.common.util.print.ejb.session.NCPrintManagerSessionBean</ejb-class>
         <session-type>Stateful</session-type>
         <transaction-type>Bean</transaction-type>
     </session>

  </enterprise-beans>

  <assembly-descriptor>
    <container-transaction>
      <method>
        <ejb-name>NCUserManagerSession</ejb-name>
        <method-name>*</method-name>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>