ok, here are all the relevant deployment descriptors - updated:

part of ejb-jar.xml

  |  <session>
  |    <ejb-name>WiseSessionBean</ejb-name>
  |    <local-home>beans.session.WiseSessionHomeLocal</local-home>
  |    <local>beans.session.WiseSessionLocal</local>
  |    <ejb-class>beans.session.WiseSessionBean</ejb-class>
  |    <session-type>Stateful</session-type>
  |    <transaction-type>Container</transaction-type>
  |    <security-identity><use-caller-identity/></security-identity>
  |   </session>
  | 

jboss.xml:

  |   <jboss>
  |    <enterprise-beans>
  | 
  |    <session>
  |     <ejb-name>WiseSessionBean</ejb-name>
  |     <local-jndi-name>WiseSessionHomeLocal</local-jndi-name>
  |     </session>
  | 
  |   </enterprise-beans>
  | 
  |  </jboss>
  | 

part of web.xml:

  |  <ejb-local-ref>
  |    <ejb-ref-name>WiseSessionHomeLocal</ejb-ref-name>
  |    <ejb-ref-type>Session</ejb-ref-type>
  |    <local-home>beans.session.WiseSessionHomeLocal</local-home>
  |    <local>beans.session.WiseSessionLocal</local>
  |    <ejb-link>WiseSessionBean</ejb-link>
  |   </ejb-local-ref>
  | 

Deployment works fine, but as soon as my servlet runs, trying to call up the 
bean it tells me again:
javax.naming.NameNotFoundException: WiseSessionHomeLocal not bound.




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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to