I don't know exactly how to deploy an EJB.
I get the fallowing error while deploying:
Error during deploy; - nested throwable: <javax.naming.NamingException: ejb-ref: 
ejb/cmproster/roster, no ejb-link in web.xml and no jndi-name in jboss-web.xml>

my web.xml:
<web-app>
        <display-name>RosterWAR</display-name>
        no description
  <ejb-ref>
    no description
    <ejb-ref-name>ejb/cmproster/roster</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    ejb.cmproster.roster.RosterHome
    ejb.cmproster.roster.Roster
  </ejb-ref>
</web-app>

jboss-web.xml<jboss-web>
        <!-- Uncomment this element to add security for the application -->
        <!-- <security-domain>java:/jaas/roster</security-domain> -->
        <ejb-ref>
                <ejb-ref-name>ejb/cmproster/roster</ejb-ref-name>
                <jndi-name>RosterController</jndi-name>
        </ejb-ref>
</jboss-web>


please help me, urgent...

Regards,
Mirko

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839006#3839006

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839006


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to