Hi gurus,

I have developed a bean and trying to deploy it in the
Weblogic server but ejbc compiler gives error with
following message.

        ERROR: Error from ejbc: The JNDI name of bean
doRegisterBean was not set
        ERROR: ejbc found errors

and this is my XML file

        <?xml version="1.0"?>

<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems,
Inc.//DTD Enterprise JavaBeans 1.1//EN'

'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>

<ejb-jar>
    <enterprise-beans>
      <session>
        <ejb-name>doRegisterBean</ejb-name>
        <home>com.xyz.DoRegisterHome</home>
        <remote>com.xyz.DoRegister</remote>
        <ejb-class>com.xyz.DoRegisterBean</ejb-class>
        <session-type>Stateful</session-type>
        <transaction-type>Container</transaction-type>
      </session>
    </enterprise-beans>
    <assembly-descriptor>
      <container-transaction>
        <method>
          <ejb-name>doRegisterBean</ejb-name>
          <method-intf>Remote</method-intf>
          <method-name>*</method-name>
        </method>
        <trans-attribute>Required</trans-attribute>
      </container-transaction>
    </assembly-descriptor>

  </ejb-jar>


please let me know what's wrong with it?

Thanks
Naresh

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to