[jboss-user] [Installation, Configuration & Deployment] - Re: javax.naming.NameNotFoundException

ccc7919 do-not-reply at jboss.com
Tue Aug 1 10:14:08 EDT 2006


I cant's show all codes because it is too many.
I just grabed some parts for you as below:


In rpc.jar

  | META-INF/ejb-jar.xml
  | META-INF/jboss.xml
  | .
  | .
  | .
  | 
  | rpc/services/promotion/interfaces/PromotionLocal.class
  | rpc/services/promotion/interfaces/PromotionLocalHome.class
  | 

Some parts in ejb-jar.xml

  |       <session >
  |          <description><![CDATA[]]></description>
  |          <ejb-name>Promotion</ejb-name>
  |          <local-home>rpc.services.promotion.interfaces.PromotionLocalHome</local-home>
  |          <local>rpc.services.promotion.interfaces.PromotionLocal</local>
  |          <ejb-class>rpc.services.promotion.ejb.PromotionSession</ejb-class>
  |          <session-type>Stateless</session-type>
  |          <transaction-type>Container</transaction-type>
  |          <ejb-local-ref >
  |           .
  |           .
  |           .
  |          </ejb-local-ref>
  |       </session >
  | 
some part in jboss.xml

  |     <session>
  |       <ejb-name>Promotion</ejb-name>
  |       <local-jndi-name>PromotionLocal</local-jndi-name>
  |       <resource-ref>
  |           .
  |           .
  |           .
  |       </resource-ref>
  |     </session>
  | 

some parts in web-xml

  | <web-app>
  |   <ejb-local-ref >
  |     <ejb-ref-name>ejb/PromotionLocal</ejb-ref-name>
  |     <ejb-ref-type>Session</ejb-ref-type>
  |     <local-home>rpc.services.promotion.interfaces.PromotionLocalHome</local-home>
  |     <local>rpc.services.promotion.interfaces.PromotionLocal</local>
  |     <ejb-link>Promotion</ejb-link>
  |   </ejb-local-ref>
  | </web-app>
  | 


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

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



More information about the jboss-user mailing list