posting config info since i cant edit the original post:

EJB bean/home/iface are in /WEB-INF/classes/

web.xml snippet:


  |     <ejb-ref>
  |         <ejb-ref-name>ejb/DungeoneerDB</ejb-ref-name>
  |         <ejb-ref-type>Session</ejb-ref-type>
  |         <home>com.latticeware.ejb.DungeoneerDB_Home</home>
  |         <remote>com.latticeware.ejb.DungeoneerDB</remote>
  |     </ejb-ref>
  | 

ejb-jar.xml:


  | <?xml version="1.0"?>
  | 
  | <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise 
JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  | 
  | <ejb-jar>
  |      <description>Dungeoneer Application</description>
  |      <display-name>Dungeoneer EJB</display-name>
  | 
  |     <enterprise-beans>
  | 
  |         <session>
  | 
  |             <ejb-name>DungeoneerDB</ejb-name>
  | 
  |             <home>com.latticeware.ejb.DungeoneerDB_Home</home>
  |             <remote>com.latticeware.ejb.DungeoneerDB</remote>
  |             <ejb-class>com.latticeware.ejb.DungeoneerDB_Bean</ejb-class>
  |             <session-type>Stateless</session-type>
  |             <transaction-type>Container</transaction-type>
  | 
  |         </session>
  | 
  |         <assembly-descriptor>
  | 
  |             <container-transaction>
  | 
  |                 <method>
  |                     <ejb-name>DungeoneerDB</ejb-name>
  |                     <method-intf>Remote</method-intf>
  |                     <method-name>getPersona</method-name>
  |                     <method-params>
  |                         <method-param>int</method-param>
  |                     </method-params>
  |                 </method>
  | 
  |                 <trans-attribute>Required</trans-attribute>
  | 
  |             </container-transaction>
  | 
  |         </assembly-descriptor>
  | 
  |     </enterprise-beans>
  | </ejb-jar>
  | 


jboss-web.xml


  | <?xml version="1.0" encoding="UTF-8"?>
  | <jboss-web>
  |     <!-- A reference to an EJB in the same server with a custom JNDI 
binding -->
  | 
  |     <ejb-ref>
  |         <ejb-ref-name>ejb/DungeoneerDB</ejb-ref-name>
  |         <jndi-name>ejb/DungeoneerDB</jndi-name>
  |     </ejb-ref>
  | </jboss-web>
  | 

jboss.xml


  | <?xml version='1.0' encoding='UTF-8' ?>
  | 
  | <jboss>
  |         <enterprise-beans>
  |                 <session>
  |                         <ejb-name>DungeoneerDB</ejb-name>
  |                         <jndi-name>ejb/DungeoneerDB</jndi-name>
  |                         <local-jndi-name>ejb/DungeoneerDB</local-jndi-name>
  |                 </session>
  |         </enterprise-beans>
  | </jboss>
  | 

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to