My jboss.xml is below: 

<ejb-name>Account</ejb-name> 
<jndi-name>AccountBean</jndi-name> 
<local-jndi-name>AccountLocal</local-jndi-name> 
<ejb-name>AccountFacade</ejb-name> 
<jndi-name>AccountFacadeBean</jndi-name> 
<local-jndi-name>AccountFacadeLocal</local-jndi-name> 
<ejb-local-ref> 
<ejb-ref-name>ejb/AccountLocal</ejb-ref-name> 
<jndi-name>AccountLocal</jndi-name> 
</ejb-local-ref> 
</enterprise-beans> 

My web.xml is below: 

<servlet-name>accountlet</servlet-name> 
<servlet-class>server.web.Accountlet</servlet-class> 
<load-on-startup>1</load-on-startup> 

<servlet-mapping> 
<servlet-name>accountlet</servlet-name> 
<url-pattern>/servlet/*</url-pattern> 
</servlet-mapping> 
<welcome-file-list> 
<welcome-file>index.jsp</welcome-file> 
</welcome-file-list> 
<error-page> 
<error-code>404</error-code> 
/error.jsp 
</error-page> 

<ejb-ref> 
<ejb-ref-name>ejb/AccountFacade</ejb-ref-name> 
<ejb-ref-type>Session</ejb-ref-type> 
server.ejb.accountapplication.AccountFacadeHome 
server.ejb.accountapplication.AccountFacade 
</ejb-ref> 

My jboss-web.xml is below: 
<jboss-web> 
<ejb-ref> 
<ejb-ref-name>ejb/AccountFacade</ejb-ref-name> 
<jndi-name>AccountFacadeBean</jndi-name> 
</ejb-local-ref> 
</jboss-web> 


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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to