0 Replies Latest reply on Sep 6, 2004 5:33 AM by chava

    Cannot get the list of categories: java.rmi.RemoteException:

    chava Newbie

      hi,

      I am trying to deploy RUBIS application in jboss-3.2.1 and mysql as database. I am getting this error

      Cannot get the list of categories: java.rmi.RemoteException: Cannot get JNDI InitialContext

      here are the ejb-jar.xml and jboss.xml

      <?xml version="1.0"?>
      <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by BEA demo-only (BEA demo-only) -->
      <!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>
      <enterprise-beans>

      Deployment descriptor for Rubis SB_ AboutMeBean
      <display-name>RUBiS SB_ AboutMeBean</display-name>
      <ejb-name>SB_AboutMe</ejb-name>
      edu.rice.rubis.beans.SB_AboutMeHome
      edu.rice.rubis.beans.SB_AboutMe
      <ejb-class>edu.rice.rubis.beans.SB_AboutMeBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the SB_Auth bean
      <ejb-ref-name>ejb/SB_Auth</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.SB_AuthLocalHome</local-home>
      edu.rice.rubis.beans.SB_AuthLocal
      <ejb-link>SB_Auth</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the user bean
      <ejb-ref-name>ejb/User</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.UserLocalHome</local-home>
      edu.rice.rubis.beans.UserLocal
      <ejb-link>User</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the comment bean
      <ejb-ref-name>ejb/Comment</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.CommentLocalHome</local-home>
      edu.rice.rubis.beans.CommentLocal
      <ejb-link>Comment</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the item bean
      <ejb-ref-name>ejb/Item</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-link>Item</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the buyNow bean
      <ejb-ref-name>ejb/BuyNow</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.BuyNowLocalHome</local-home>
      edu.rice.rubis.beans.BuyNowLocal
      <ejb-link>BuyNow</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the bid bean
      <ejb-ref-name>ejb/Bid</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.BidLocalHome</local-home>
      edu.rice.rubis.beans.BidLocal
      <ejb-link>Bid</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the Query bean
      <ejb-ref-name>ejb/Query</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.QueryLocalHome</local-home>
      edu.rice.rubis.beans.QueryLocal
      <ejb-link>Query</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_ViewBidHistory Bean
      <display-name>RUBiS SB_ViewBidHistory Bean</display-name>
      <ejb-name>SB_ViewBidHistory</ejb-name>
      edu.rice.rubis.beans.SB_ViewBidHistoryHome
      edu.rice.rubis.beans.SB_ViewBidHistory
      <ejb-class>edu.rice.rubis.beans.SB_ViewBidHistoryBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the item bean
      <ejb-ref-name>ejb/Item</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-link>Item</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_StoreBid Bean
      <display-name>RUBiS SB_StoreBid Bean</display-name>
      <ejb-name>SB_StoreBid</ejb-name>
      edu.rice.rubis.beans.SB_StoreBidHome
      edu.rice.rubis.beans.SB_StoreBid
      <ejb-class>edu.rice.rubis.beans.SB_StoreBidBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the bid bean
      <ejb-ref-name>ejb/Bid</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.BidLocalHome</local-home>
      edu.rice.rubis.beans.BidLocal
      <ejb-link>Bid</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_PutBid Bean
      <display-name>RUBiS SB_PutBid Bean</display-name>
      <ejb-name>SB_PutBid</ejb-name>
      edu.rice.rubis.beans.SB_PutBidHome
      edu.rice.rubis.beans.SB_PutBid
      <ejb-class>edu.rice.rubis.beans.SB_PutBidBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-ref>
      This is the reference to the SB_ViewItem bean
      <ejb-ref-name>ejb/SB_ViewItem</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      edu.rice.rubis.beans.SB_ViewItemHome
      edu.rice.rubis.beans.SB_ViewItem
      <ejb-link>SB_ViewItem</ejb-link>
      </ejb-ref>
      <ejb-local-ref>
      This is the reference to the SB_Auth bean
      <ejb-ref-name>ejb/SB_Auth</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.SB_AuthLocalHome</local-home>
      edu.rice.rubis.beans.SB_AuthLocal
      <ejb-link>SB_Auth</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_StoreBuyNow Bean
      <display-name>RUBiS SB_StoreBuyNow Bean</display-name>
      <ejb-name>SB_StoreBuyNow</ejb-name>
      edu.rice.rubis.beans.SB_StoreBuyNowHome
      edu.rice.rubis.beans.SB_StoreBuyNow
      <ejb-class>edu.rice.rubis.beans.SB_StoreBuyNowBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the item bean
      <ejb-ref-name>ejb/Item</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-link>Item</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the buyNow bean
      <ejb-ref-name>ejb/BuyNow</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.BuyNowLocalHome</local-home>
      edu.rice.rubis.beans.BuyNowLocal
      <ejb-link>BuyNow</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_BuyNow Bean
      <display-name>RUBiS SB_BuyNow Bean</display-name>
      <ejb-name>SB_BuyNow</ejb-name>
      edu.rice.rubis.beans.SB_BuyNowHome
      edu.rice.rubis.beans.SB_BuyNow
      <ejb-class>edu.rice.rubis.beans.SB_BuyNowBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the item bean
      <ejb-ref-name>ejb/Item</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-link>Item</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the SB_Auth bean
      <ejb-ref-name>ejb/SB_Auth</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.SB_AuthLocalHome</local-home>
      edu.rice.rubis.beans.SB_AuthLocal
      <ejb-link>SB_Auth</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the Query bean
      <ejb-ref-name>ejb/Query</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.QueryLocalHome</local-home>
      edu.rice.rubis.beans.QueryLocal
      <ejb-link>Query</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_RegisterUser Bean
      <display-name>RUBiS SB_RegisterUser Bean</display-name>
      <ejb-name>SB_RegisterUser</ejb-name>
      edu.rice.rubis.beans.SB_RegisterUserHome
      edu.rice.rubis.beans.SB_RegisterUser
      <ejb-class>edu.rice.rubis.beans.SB_RegisterUserBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the region bean
      <ejb-ref-name>ejb/Region</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.RegionLocalHome</local-home>
      edu.rice.rubis.beans.RegionLocal
      <ejb-link>Region</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the user bean
      <ejb-ref-name>ejb/User</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.UserLocalHome</local-home>
      edu.rice.rubis.beans.UserLocal
      <ejb-link>User</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_RegisterItem Bean
      <display-name>RUBiS SB_RegisterItem Bean</display-name>
      <ejb-name>SB_RegisterItem</ejb-name>
      edu.rice.rubis.beans.SB_RegisterItemHome
      edu.rice.rubis.beans.SB_RegisterItem
      <ejb-class>edu.rice.rubis.beans.SB_RegisterItemBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the item bean
      <ejb-ref-name>ejb/Item</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-link>Item</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_StoreComment Bean
      <display-name>RUBiS SB_StoreComment Bean</display-name>
      <ejb-name>SB_StoreComment</ejb-name>
      edu.rice.rubis.beans.SB_StoreCommentHome
      edu.rice.rubis.beans.SB_StoreComment
      <ejb-class>edu.rice.rubis.beans.SB_StoreCommentBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the user bean
      <ejb-ref-name>ejb/User</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.UserLocalHome</local-home>
      edu.rice.rubis.beans.UserLocal
      <ejb-link>User</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the comment bean
      <ejb-ref-name>ejb/Comment</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.CommentLocalHome</local-home>
      edu.rice.rubis.beans.CommentLocal
      <ejb-link>Comment</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_PutComment Bean
      <display-name>RUBiS SB_PutComment Bean</display-name>
      <ejb-name>SB_PutComment</ejb-name>
      edu.rice.rubis.beans.SB_PutCommentHome
      edu.rice.rubis.beans.SB_PutComment
      <ejb-class>edu.rice.rubis.beans.SB_PutCommentBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the user bean
      <ejb-ref-name>ejb/User</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.UserLocalHome</local-home>
      edu.rice.rubis.beans.UserLocal
      <ejb-link>User</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the item bean
      <ejb-ref-name>ejb/Item</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-link>Item</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the SB_Auth bean
      <ejb-ref-name>ejb/SB_Auth</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.SB_AuthLocalHome</local-home>
      edu.rice.rubis.beans.SB_AuthLocal
      <ejb-link>SB_Auth</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_ViewUserInfo Bean
      <display-name>RUBiS SB_ViewUserInfo Bean</display-name>
      <ejb-name>SB_ViewUserInfo</ejb-name>
      edu.rice.rubis.beans.SB_ViewUserInfoHome
      edu.rice.rubis.beans.SB_ViewUserInfo
      <ejb-class>edu.rice.rubis.beans.SB_ViewUserInfoBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the user bean
      <ejb-ref-name>ejb/User</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.UserLocalHome</local-home>
      edu.rice.rubis.beans.UserLocal
      <ejb-link>User</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the comment bean
      <ejb-ref-name>ejb/Comment</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.CommentLocalHome</local-home>
      edu.rice.rubis.beans.CommentLocal
      <ejb-link>Comment</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_ViewItem Bean
      <display-name>RUBiS SB_ViewItem Bean</display-name>
      <ejb-name>SB_ViewItem</ejb-name>
      edu.rice.rubis.beans.SB_ViewItemHome
      edu.rice.rubis.beans.SB_ViewItem
      <ejb-class>edu.rice.rubis.beans.SB_ViewItemBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the bid bean
      <ejb-ref-name>ejb/Bid</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.BidLocalHome</local-home>
      edu.rice.rubis.beans.BidLocal
      <ejb-link>Bid</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the item bean
      <ejb-ref-name>ejb/Item</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-link>Item</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the Query bean
      <ejb-ref-name>ejb/Query</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.QueryLocalHome</local-home>
      edu.rice.rubis.beans.QueryLocal
      <ejb-link>Query</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_SearchItemsByRegion Bean
      <display-name>RUBiS SB_SearchItemsByRegion Bean</display-name>
      <ejb-name>SB_SearchItemsByRegion</ejb-name>
      edu.rice.rubis.beans.SB_SearchItemsByRegionHome
      edu.rice.rubis.beans.SB_SearchItemsByRegion
      <ejb-class>edu.rice.rubis.beans.SB_SearchItemsByRegionBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the item bean
      <ejb-ref-name>ejb/Item</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-link>Item</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the Category bean
      <ejb-ref-name>ejb/Category</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.CategoryLocalHome</local-home>
      edu.rice.rubis.beans.CategoryLocal
      <ejb-link>Category</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the Query bean
      <ejb-ref-name>ejb/Query</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.QueryLocalHome</local-home>
      edu.rice.rubis.beans.QueryLocal
      <ejb-link>Query</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_SearchItemsByCategory Bean
      <display-name>RUBiS SB_SearchItemsByCategory Bean</display-name>
      <ejb-name>SB_SearchItemsByCategory</ejb-name>
      edu.rice.rubis.beans.SB_SearchItemsByCategoryHome
      edu.rice.rubis.beans.SB_SearchItemsByCategory
      <ejb-class>edu.rice.rubis.beans.SB_SearchItemsByCategoryBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the item bean
      <ejb-ref-name>ejb/Item</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-link>Item</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the Category bean
      <ejb-ref-name>ejb/Category</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.CategoryLocalHome</local-home>
      edu.rice.rubis.beans.CategoryLocal
      <ejb-link>Category</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the Query bean
      <ejb-ref-name>ejb/Query</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.QueryLocalHome</local-home>
      edu.rice.rubis.beans.QueryLocal
      <ejb-link>Query</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_BrowseRegions Bean
      <display-name>RUBiS SB_BrowseRegions Bean</display-name>
      <ejb-name>SB_BrowseRegions</ejb-name>
      edu.rice.rubis.beans.SB_BrowseRegionsHome
      edu.rice.rubis.beans.SB_BrowseRegions
      <ejb-class>edu.rice.rubis.beans.SB_BrowseRegionsBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the region bean
      <ejb-ref-name>ejb/Region</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.RegionLocalHome</local-home>
      edu.rice.rubis.beans.RegionLocal
      <ejb-link>Region</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_BrowseCategories Bean
      <display-name>RUBiS SB_BrowseCategories Bean</display-name>
      <ejb-name>SB_BrowseCategories</ejb-name>
      edu.rice.rubis.beans.SB_BrowseCategoriesHome
      edu.rice.rubis.beans.SB_BrowseCategories
      <ejb-class>edu.rice.rubis.beans.SB_BrowseCategoriesBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-local-ref>
      This is the reference to the region bean
      <ejb-ref-name>ejb/Region</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.RegionLocalHome</local-home>
      edu.rice.rubis.beans.RegionLocal
      <ejb-link>Region</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the category bean
      <ejb-ref-name>ejb/Category</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.CategoryLocalHome</local-home>
      edu.rice.rubis.beans.CategoryLocal
      <ejb-link>Category</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the SB_Auth bean
      <ejb-ref-name>ejb/SB_Auth</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.SB_AuthLocalHome</local-home>
      edu.rice.rubis.beans.SB_AuthLocal
      <ejb-link>SB_Auth</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Deployment descriptor for Rubis SB_Auth Bean
      <display-name>RUBiS SB_Auth Bean</display-name>
      <ejb-name>SB_Auth</ejb-name>
      <local-home>edu.rice.rubis.beans.SB_AuthLocalHome</local-home>
      edu.rice.rubis.beans.SB_AuthLocal
      <ejb-class>edu.rice.rubis.beans.SB_AuthBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
      <ejb-local-ref>
      This is the reference to the user bean
      <ejb-ref-name>ejb/User</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.UserLocalHome</local-home>
      edu.rice.rubis.beans.UserLocal
      <ejb-link>User</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>


      Category Bean deployment descriptor
      <display-name>Category</display-name>
      <ejb-name>Category</ejb-name>
      <local-home>edu.rice.rubis.beans.CategoryLocalHome</local-home>
      edu.rice.rubis.beans.CategoryLocal
      <ejb-class>edu.rice.rubis.beans.CategoryBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>edu.rice.rubis.beans.CategoryPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>CategoryBean</abstract-schema-name>
      <cmp-field>
      <field-name>name</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>id</field-name>
      </cmp-field>
      <ejb-local-ref>
      This is the reference to the id manager
      <ejb-ref-name>ejb/IDManager</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.IDManagerLocalHome</local-home>
      edu.rice.rubis.beans.IDManagerLocal
      <ejb-link>IDManager</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <!--<res-ref-name>jdbc/rubis</res-ref-name>-->
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      <query-method>
      <method-name>findByName</method-name>
      <method-params>
      <method-param>java.lang.String</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT DISTINCT OBJECT(c)
      FROM CategoryBean c
      WHERE c.name = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findAllCategories</method-name>
      <method-params/>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(c)
      FROM CategoryBean c
      ]]></ejb-ql>




      Region Bean deployment descriptor
      <display-name>Region</display-name>
      <ejb-name>Region</ejb-name>
      <local-home>edu.rice.rubis.beans.RegionLocalHome</local-home>
      edu.rice.rubis.beans.RegionLocal
      <ejb-class>edu.rice.rubis.beans.RegionBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>edu.rice.rubis.beans.RegionPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>RegionBean</abstract-schema-name>
      <cmp-field>
      <field-name>id</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>name</field-name>
      </cmp-field>
      <ejb-local-ref>
      This is the reference to the id manager
      <ejb-ref-name>ejb/IDManager</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.IDManagerLocalHome</local-home>
      edu.rice.rubis.beans.IDManagerLocal
      <ejb-link>IDManager</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      <query-method>
      <method-name>findByName</method-name>
      <method-params>
      <method-param>java.lang.String</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT DISTINCT OBJECT(r)
      FROM RegionBean r
      WHERE r.name = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findAllRegions</method-name>
      <method-params/>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(r)
      FROM RegionBean r
      ]]></ejb-ql>



      User Bean deployment descriptor
      <display-name>User</display-name>
      <ejb-name>User</ejb-name>
      <local-home>edu.rice.rubis.beans.UserLocalHome</local-home>
      edu.rice.rubis.beans.UserLocal
      <ejb-class>edu.rice.rubis.beans.UserBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>edu.rice.rubis.beans.UserPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>UserBean</abstract-schema-name>
      <cmp-field>
      <field-name>id</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>firstName</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>lastName</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>nickName</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>password</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>email</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>rating</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>balance</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>creationDate</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>regionId</field-name>
      </cmp-field>
      <ejb-local-ref>
      This is the reference to the id manager
      <ejb-ref-name>ejb/IDManager</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.IDManagerLocalHome</local-home>
      edu.rice.rubis.beans.IDManagerLocal
      <ejb-link>IDManager</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      <query-method>
      <method-name>findByNickName</method-name>
      <method-params>
      <method-param>java.lang.String</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT DISTINCT OBJECT(u)
      FROM UserBean u
      WHERE u.nickName = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findAllUsers</method-name>
      <method-params/>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(u)
      FROM UserBean u
      ]]></ejb-ql>




      Item Bean deployment descriptor
      <display-name>Item</display-name>
      <ejb-name>Item</ejb-name>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-class>edu.rice.rubis.beans.ItemBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>edu.rice.rubis.beans.ItemPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>ItemBean</abstract-schema-name>
      <cmp-field>
      <field-name>id</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>name</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>description</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>initialPrice</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>quantity</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>reservePrice</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>buyNow</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>nbOfBids</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>maxBid</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>startDate</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>endDate</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>sellerId</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>categoryId</field-name>
      </cmp-field>
      <ejb-local-ref>
      This is the reference to the id manager
      <ejb-ref-name>ejb/IDManager</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.IDManagerLocalHome</local-home>
      edu.rice.rubis.beans.IDManagerLocal
      <ejb-link>IDManager</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the user bean
      <ejb-ref-name>ejb/User</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.UserLocalHome</local-home>
      edu.rice.rubis.beans.UserLocal
      <ejb-link>User</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the category bean
      <ejb-ref-name>ejb/Category</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.CategoryLocalHome</local-home>
      edu.rice.rubis.beans.CategoryLocal
      <ejb-link>Category</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      <query-method>
      <method-name>findBySeller</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(i)
      FROM ItemBean i
      WHERE i.sellerId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findByCategory</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(i)
      FROM ItemBean i
      WHERE i.categoryId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findAllItems</method-name>
      <method-params/>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(i)
      FROM ItemBean i
      ]]></ejb-ql>



      Old Item Bean deployment descriptor
      <display-name>Old Item</display-name>
      <ejb-name>OldItem</ejb-name>
      <local-home>edu.rice.rubis.beans.OldItemLocalHome</local-home>
      edu.rice.rubis.beans.OldItemLocal
      <ejb-class>edu.rice.rubis.beans.OldItemBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>edu.rice.rubis.beans.OldItemPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>OldItemBean</abstract-schema-name>
      <cmp-field>
      <field-name>id</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>name</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>description</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>initialPrice</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>quantity</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>reservePrice</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>buyNow</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>nbOfBids</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>maxBid</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>startDate</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>endDate</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>sellerId</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>categoryId</field-name>
      </cmp-field>
      <ejb-local-ref>
      This is the reference to the user bean
      <ejb-ref-name>ejb/User</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.UserLocalHome</local-home>
      edu.rice.rubis.beans.UserLocal
      <ejb-link>User</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the category bean
      <ejb-ref-name>ejb/Category</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.CategoryLocalHome</local-home>
      edu.rice.rubis.beans.CategoryLocal
      <ejb-link>Category</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      <query-method>
      <method-name>findBySeller</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(o)
      FROM OldItemBean o
      WHERE o.sellerId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findByCategory</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(o)
      FROM OldItemBean o
      WHERE o.categoryId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findAllItems</method-name>
      <method-params/>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(o)
      FROM OldItemBean o
      ]]></ejb-ql>



      Bid Bean deployment descriptor
      <display-name>Bid</display-name>
      <ejb-name>Bid</ejb-name>
      <local-home>edu.rice.rubis.beans.BidLocalHome</local-home>
      edu.rice.rubis.beans.BidLocal
      <ejb-class>edu.rice.rubis.beans.BidBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>edu.rice.rubis.beans.BidPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>BidBean</abstract-schema-name>
      <cmp-field>
      <field-name>id</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>userId</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>itemId</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>quantity</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>bid</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>maxBid</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>date</field-name>
      </cmp-field>
      <ejb-local-ref>
      This is the reference to the id manager
      <ejb-ref-name>ejb/IDManager</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.IDManagerLocalHome</local-home>
      edu.rice.rubis.beans.IDManagerLocal
      <ejb-link>IDManager</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the user
      <ejb-ref-name>ejb/User</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.UserLocalHome</local-home>
      edu.rice.rubis.beans.UserLocal
      <ejb-link>User</ejb-link>
      </ejb-local-ref>
      <ejb-local-ref>
      This is the reference to the item
      <ejb-ref-name>ejb/Item</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.ItemLocalHome</local-home>
      edu.rice.rubis.beans.ItemLocal
      <ejb-link>Item</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      <query-method>
      <method-name>findByItem</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(b)
      FROM BidBean b
      WHERE b.itemId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findByUser</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(b)
      FROM BidBean b
      WHERE b.userId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findAllBids</method-name>
      <method-params/>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(b)
      FROM BidBean b
      ]]></ejb-ql>



      Comment Bean deployment descriptor
      <display-name>Comment</display-name>
      <ejb-name>Comment</ejb-name>
      <local-home>edu.rice.rubis.beans.CommentLocalHome</local-home>
      edu.rice.rubis.beans.CommentLocal
      <ejb-class>edu.rice.rubis.beans.CommentBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>edu.rice.rubis.beans.CommentPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>CommentBean</abstract-schema-name>
      <cmp-field>
      <field-name>id</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>fromUserId</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>toUserId</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>itemId</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>rating</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>date</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>comment</field-name>
      </cmp-field>
      <ejb-local-ref>
      This is the reference to the id manager
      <ejb-ref-name>ejb/IDManager</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.IDManagerLocalHome</local-home>
      edu.rice.rubis.beans.IDManagerLocal
      <ejb-link>IDManager</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      <query-method>
      <method-name>findByItem</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(c)
      FROM CommentBean c
      WHERE c.itemId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findByFromUser</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(c)
      FROM CommentBean c
      WHERE c.fromUserId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findByToUser</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(c)
      FROM CommentBean c
      WHERE c.toUserId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findAllComments</method-name>
      <method-params/>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(c)
      FROM CommentBean c
      ]]></ejb-ql>



      BuyNow Bean deployment descriptor
      <display-name>BuyNow</display-name>
      <ejb-name>BuyNow</ejb-name>
      <local-home>edu.rice.rubis.beans.BuyNowLocalHome</local-home>
      edu.rice.rubis.beans.BuyNowLocal
      <ejb-class>edu.rice.rubis.beans.BuyNowBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>edu.rice.rubis.beans.BuyNowPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>BuyNowBean</abstract-schema-name>
      <cmp-field>
      <field-name>id</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>buyerId</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>itemId</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>quantity</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>date</field-name>
      </cmp-field>
      <ejb-local-ref>
      This is the reference to the id manager
      <ejb-ref-name>ejb/IDManager</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>edu.rice.rubis.beans.IDManagerLocalHome</local-home>
      edu.rice.rubis.beans.IDManagerLocal
      <ejb-link>IDManager</ejb-link>
      </ejb-local-ref>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      <query-method>
      <method-name>findByItem</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(b)
      FROM BuyNowBean b
      WHERE b.itemId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findByUser</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(b)
      FROM BuyNowBean b
      WHERE b.buyerId = ?1
      ]]></ejb-ql>


      <query-method>
      <method-name>findAllBuyNows</method-name>
      <method-params/>
      </query-method>
      <ejb-ql><![CDATA[
      SELECT OBJECT(b)
      FROM BuyNowBean b
      ]]></ejb-ql>

      <!--
      <query-method>
      <method-name>findUserBuyNow</method-name>
      <method-params>
      <method-param>java.lang.Integer</method-param>
      </method-params>
      </query-method>
      <ejb-ql/>
      -->


      IDManager Bean deployment descriptor
      <display-name>IDManager</display-name>
      <ejb-name>IDManager</ejb-name>
      <local-home>edu.rice.rubis.beans.IDManagerLocalHome</local-home>
      edu.rice.rubis.beans.IDManagerLocal
      <ejb-class>edu.rice.rubis.beans.IDManagerBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>edu.rice.rubis.beans.IDManagerPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>IDManagerBean</abstract-schema-name>
      <cmp-field>
      <field-name>id</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>categoryCount</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>regionCount</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>userCount</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>itemCount</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>commentCount</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>bidCount</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>buyNowCount</field-name>
      </cmp-field>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      </enterprise-beans>

      <assembly-descriptor>
      <container-transaction>

      <ejb-name>SB_Auth</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      <container-transaction>

      <ejb-name>Category</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      <container-transaction>

      <ejb-name>Region</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      <!--set to required to prevent an error getting tx data map, NPE on region.getId-->
      </container-transaction>
      <container-transaction>

      <ejb-name>User</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      <container-transaction>

      <ejb-name>Item</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      <!--set to required to prevent an error getting tx data map, NPE-->
      </container-transaction>
      <container-transaction>

      <ejb-name>OldItem</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Supports</trans-attribute>
      </container-transaction>
      <container-transaction>

      <ejb-name>Bid</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      <!--set to required to prevent an error getting tx data map, NPE-->
      </container-transaction>
      <container-transaction>

      <ejb-name>Comment</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      <container-transaction>

      <ejb-name>BuyNow</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      <container-transaction>

      <ejb-name>IDManager</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      </assembly-descriptor>
      </ejb-jar>

      --
      jboss.xml

      <?xml version='1.0' encoding='UTF-8' ?>

      <!--
      This is the JBoss 3.0 EJB deployment descriptor for RUBiS.
      -->



      <enterprise-beans>


      <ejb-name>Region</ejb-name>
      <jndi-name>RegionHome</jndi-name>
      <configuration-name>Instance Per Transaction CMP 2.x EntityBean</configuration-name>
      <local-jndi-name>RegionLocalHome</local-jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>Category</ejb-name>
      <jndi-name>CategoryHome</jndi-name>
      <configuration-name>Instance Per Transaction CMP 2.x EntityBean</configuration-name>
      <local-jndi-name>CategoryLocalHome</local-jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>


      <ejb-name>User</ejb-name>
      <jndi-name>UserHome</jndi-name>
      <configuration-name>Instance Per Transaction CMP 2.x EntityBean</configuration-name>
      <local-jndi-name>UserLocalHome</local-jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>Item</ejb-name>
      <jndi-name>ItemHome</jndi-name>
      <configuration-name>Instance Per Transaction CMP 2.x EntityBean</configuration-name>
      <local-jndi-name>ItemLocalHome</local-jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>OldItem</ejb-name>
      <jndi-name>OldItemHome</jndi-name>
      <local-jndi-name>OldItemLocalHome</local-jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>Bid</ejb-name>
      <jndi-name>BidHome</jndi-name>
      <configuration-name>Instance Per Transaction CMP 2.x EntityBean</configuration-name>
      <local-jndi-name>BidLocalHome</local-jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>Comment</ejb-name>
      <jndi-name>CommentHome</jndi-name>
      <configuration-name>Instance Per Transaction CMP 2.x EntityBean</configuration-name>
      <local-jndi-name>CommentLocalHome</local-jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>BuyNow</ejb-name>
      <jndi-name>BuyNowHome</jndi-name>
      <configuration-name>Instance Per Transaction CMP 2.x EntityBean</configuration-name>
      <local-jndi-name>BuyNowLocalHome</local-jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>IDManager</ejb-name>
      <jndi-name>IDManagerHome</jndi-name>
      <local-jndi-name>IDManagerLocalHome</local-jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>




      <ejb-name>SB_AboutMe</ejb-name>
      <jndi-name>SB_AboutMeHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_ViewBidHistory</ejb-name>
      <jndi-name>SB_ViewBidHistoryHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_StoreBid</ejb-name>
      <jndi-name>SB_StoreBidHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_PutBid</ejb-name>
      <jndi-name>SB_PutBidHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_StoreBuyNow</ejb-name>
      <jndi-name>SB_StoreBuyNowHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_BuyNow</ejb-name>
      <jndi-name>SB_BuyNowHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_RegisterUser</ejb-name>
      <jndi-name>SB_RegisterUserHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_RegisterItem</ejb-name>
      <jndi-name>SB_RegisterItemHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_StoreComment</ejb-name>
      <jndi-name>SB_StoreCommentHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_PutComment</ejb-name>
      <jndi-name>SB_PutCommentHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_ViewUserInfo</ejb-name>
      <jndi-name>SB_ViewUserInfoHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_ViewItem</ejb-name>
      <jndi-name>SB_ViewItemHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_SearchItemsByRegion</ejb-name>
      <jndi-name>SB_SearchItemsByRegionHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_SearchItemsByCategory</ejb-name>
      <jndi-name>SB_SearchItemsByCategoryHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_BrowseRegions</ejb-name>
      <jndi-name>SB_BrowseRegionsHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_BrowseCategories</ejb-name>
      <jndi-name>SB_BrowseCategoriesHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>



      <ejb-name>SB_Auth</ejb-name>
      <jndi-name>SB_AuthHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>


      <!--

      <ejb-name>Query</ejb-name>
      <jndi-name>QueryHome</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DefaultDs</res-ref-name>
      <resource-name>DefaultDs</resource-name>
      </resource-ref>

      -->

      </enterprise-beans>


      <resource-managers>

      <resource-manager>
      <res-name>DefaultDs</res-name>
      <res-jndi-name>java:/DefaultDs</res-jndi-name>
      </resource-manager>

      </resource-managers>

      <!--
      <container-configurations>

      <container-configuration>
      <container-name />
      <container-invoker />
      <container-interceptors />
      <instance-pool />
      <instance-cache />
      <persistence-manager />
      <transaction-manager />
      <container-invoker-conf />
      <container-cache-conf />
      <container-pool-conf />
      <commit-option />
      <optiond-refresh-rate />
      <security-domain />
      </container-configuration>

      </container-configurations>
      -->




      thanks in advance.