Ok, the bug seems to be that jboss does not like it if you specify more
than one resource reference which has a different name in ejb-jar.xml.
Once I had my one stateless session bean working I added one of my bmp
entity beans. Then jboss would report that it could not find the jdbc
datasource. When I changed the resource references for both beans to be
the same name in ejb-jar.xml eg. "jdbc/db", the stateless session bean
started to work again.

Also bmp is definitely not working right now as my bmp entity bean gave
me exceptions. I guess I'll have to wait until the next update to cvs
which is supposed to include the full bmp support.

Richard Backhouse
Oak Grove Software

Richard Backhouse wrote:
> 
> I now know its not the jboss configuration as I created an ejb-jar.xml
> with just my stateless session bean using ejx and this found the
> datasource ok. This indicates that jboss does not like my ejb-jar.xml
> that I created using suns j2ee ri.
> 
> Also
> >From reading the dev mail archive it seems that bmp is still in progress
> with something available very soon now.
> 
> Richard Backhouse wrote:
> >
> > Well I still can't get it working so here are my configuration files :
> >
> > jboss.conf :
> >
> > MLET CODE = "org.jboss.logging.Logger" ARCHIVE="jboss.jar"
> > CODEBASE="../lib/ext/">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.logging.ConsoleLogging" ARCHIVE="jboss.jar"
> > CODEBASE="../lib/ext/">
> >    <ARG TYPE="java.lang.String" VALUE="Information,Debug,Warning,Error">
> >    <ARG TYPE="java.lang.String" VALUE="[{2}] {4}">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar"
> > CODEBASE="../lib/ext/">
> >    <ARG TYPE="java.lang.String" VALUE="../../log/">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.util.Info" ARCHIVE="jboss.jar"
> > CODEBASE="../lib/ext/">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar"
> > CODEBASE="../lib/ext/">
> >    <ARG TYPE="java.lang.String" VALUE="../../db/">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar"
> > CODEBASE="../lib/ext/">
> >    <ARG TYPE="java.lang.String" VALUE="./">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.jdbc.JdbcProvider"
> > ARCHIVE="jboss.jar,classes111.zip" CODEBASE="../lib/ext/">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.web.WebService"
> > ARCHIVE="jboss.jar,dynaserver.jar" CODEBASE="../lib/ext/">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.naming.NamingService" ARCHIVE="jnpserver.jar"
> > CODEBASE="../lib/ext/">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.tm.TransactionManagerService"
> > ARCHIVE="jboss.jar,jta-spec1_0_1.jar" CODEBASE="../lib/ext/">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.jdbc.DataSourceImpl"
> > ARCHIVE="jboss.jar,jdbc2_0-stdext.jar" CODEBASE="../lib/ext/">
> >    <ARG TYPE="java.lang.String"
> > VALUE="jdbc:oracle:thin:@localhost:1521:ORCL">
> >    <ARG TYPE="java.lang.String" VALUE="Oracle">
> >    <ARG TYPE="java.lang.String" VALUE="oracle.jdbc.driver.OracleDriver">
> >    <ARG TYPE="java.lang.String" VALUE="tsuser">
> >    <ARG TYPE="java.lang.String" VALUE="tsuser">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.ejb.ContainerFactory"
> > ARCHIVE="jboss.jar,ejb.jar,jnp-client.jar,ejxeditor.jar,ejxjboss.jar"
> > CODEBASE="../lib/ext/">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.ejb.AutoDeployer" ARCHIVE="jboss.jar">
> >   <ARG TYPE="java.lang.String" VALUE="../deploy/">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.jmx.server.JMXAdaptorService"
> > ARCHIVE="jboss.jar" CODEBASE="../lib/ext/">
> > </MLET>
> >
> > <MLET CODE = "com.sun.jdmk.comm.HtmlAdaptorServer"
> > ARCHIVE="jmxtools.jar" CODEBASE="../lib/ext/" NAME="Adaptor:name=html">
> > </MLET>
> >
> > <MLET CODE = "org.jboss.configuration.ConfigurationService"
> > ARCHIVE="jboss.jar,xml.jar" CODEBASE="../lib/ext/">
> > </MLET>
> >
> > jboss.jcml :
> >
> > <?xml version="1.0"?>
> >
> > <server>
> >      <mbean name="Adaptor:name=html">
> >        <attribute name="MaxActiveClientCount">10</attribute>
> >        <attribute name="Parser" />
> >        <attribute name="Port">8082</attribute>
> >      </mbean>
> >      <mbean name="DefaultDomain:service=MLet">
> >        <attribute
> > name="LibraryDirectory">/home/rbackhouse/dev/jboss/dist/bin</attribute>
> >      </mbean>
> >      <mbean name="DefaultDomain:service=Logging,type=Console">
> >        <attribute name="Format">[{2}] {4}</attribute>
> >      </mbean>
> >      <mbean name="DefaultDomain:service=Webserver">
> >        <attribute name="Port">8083</attribute>
> >      </mbean>
> >      <mbean name="EJB:service=ContainerFactory">
> >        <attribute name="VerifyDeployments">false</attribute>
> >      </mbean>
> >    </server>
> >
> > jboss.xml :
> >
> > <?xml version="1.0" encoding="ISO-8859-1"?>
> >
> > <jboss>
> >      <secure>false</secure>
> >      <container-configurations>
> >        <container-configuration
> > 
>configuration-class="org.jboss.ejb.deployment.StatefulSessionContainerConfiguration">
> >          <container-name>Default Stateful SessionBean</container-name>
> >          <call-logging>false</call-logging>
> >
> > 
><container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker</container-invoker>
> >
> > <instance-pool>org.jboss.ejb.plugins.StatefulSessionInstancePool</instance-pool>
> >
> > 
><instance-cache>org.jboss.ejb.plugins.NoPassivationStatefulSessionInstanceCache</instance-cache>
> >
> > 
><persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager</persistence-manager>
> >          <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
> >          <container-invoker-conf>
> >            <Optimized>false</Optimized>
> >          </container-invoker-conf>
> >        </container-configuration>
> >        <container-configuration
> > configuration-class="org.jboss.ejb.deployment.EntityContainerConfiguration">
> >          <container-name>Default CMP EntityBean</container-name>
> >          <call-logging>false</call-logging>
> >
> > 
><container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker</container-invoker>
> >
> > <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
> >
> > 
><instance-cache>org.jboss.ejb.plugins.NoPassivationEntityInstanceCache</instance-cache>
> >
> > 
><persistence-manager>org.jboss.ejb.plugins.jaws.JAWSPersistenceManager</persistence-manager>
> >          <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
> >          <container-invoker-conf>
> >            <Optimized>false</Optimized>
> >          </container-invoker-conf>
> >          <container-cache-conf />
> >          <container-pool-conf>
> >            <MaximumSize>100</MaximumSize>
> >            <MinimumSize>10</MinimumSize>
> >          </container-pool-conf>
> >          <commit-option>A</commit-option>
> >        </container-configuration>
> >        <container-configuration
> > 
>configuration-class="org.jboss.ejb.deployment.StatelessSessionContainerConfiguration">
> >          <container-name>Default Stateless SessionBean</container-name>
> >          <call-logging>false</call-logging>
> >
> > 
><container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker</container-invoker>
> >
> > <instance-pool>org.jboss.ejb.plugins.StatelessSessionInstancePool</instance-pool>
> >          <instance-cache></instance-cache>
> >          <persistence-manager></persistence-manager>
> >          <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
> >          <container-invoker-conf>
> >            <Optimized>false</Optimized>
> >          </container-invoker-conf>
> >          <container-pool-conf>
> >            <MaximumSize>100</MaximumSize>
> >            <MinimumSize>10</MinimumSize>
> >          </container-pool-conf>
> >        </container-configuration>
> >        <container-configuration
> > configuration-class="org.jboss.ejb.deployment.EntityContainerConfiguration">
> >          <container-name>Default BMP EntityBean</container-name>
> >          <call-logging>false</call-logging>
> >
> > 
><container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker</container-invoker>
> >
> > <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
> >
> > 
><instance-cache>org.jboss.ejb.plugins.NoPassivationEntityInstanceCache</instance-cache>
> >
> > 
><persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistence-manager>
> >          <transaction-manager>org.jboss.tm.TxManager</transaction-manager>
> >          <container-invoker-conf>
> >            <Optimized>false</Optimized>
> >          </container-invoker-conf>
> >          <container-cache-conf />
> >          <container-pool-conf>
> >            <MaximumSize>100</MaximumSize>
> >            <MinimumSize>10</MinimumSize>
> >          </container-pool-conf>
> >          <commit-option>A</commit-option>
> >        </container-configuration>
> >      </container-configurations>
> >      <resource-managers>
> >        <resource-manager
> > res-class="org.jboss.ejb.deployment.JDBCResource">
> >          <res-name>TimesheetDB</res-name>
> >          <res-jndi-name>Oracle</res-jndi-name>
> >        </resource-manager>
> >      </resource-managers>
> >      <enterprise-beans>
> >        <session>
> >          <ejb-name>TSSession</ejb-name>
> >          <jndi-name>TSSession</jndi-name>
> >          <configuration-name>Default Stateful SessionBean</configuration-name>
> >          <ejb-ref>
> >            <ejb-ref-name>ejb/Timesheet</ejb-ref-name>
> >            <jndi-name>Timesheet</jndi-name>
> >          </ejb-ref>
> >          <ejb-ref>
> >            <ejb-ref-name>ejb/User</ejb-ref-name>
> >            <jndi-name>User</jndi-name>
> >          </ejb-ref>
> >        </session>
> >        <session>
> >          <ejb-name>TSLookup</ejb-name>
> >          <jndi-name>TSLookup</jndi-name>
> >          <configuration-name>Default Stateless SessionBean</configuration-name>
> >          <resource-ref>
> >            <res-ref-name>jdbc/timesheetdb</res-ref-name>
> >            <resource-name>TimesheetDB</resource-name>
> >          </resource-ref>
> >        </session>
> >        <entity>
> >          <ejb-name>TimesheetDay</ejb-name>
> >          <jndi-name>TimesheetDay</jndi-name>
> >          <configuration-name>Default BMP EntityBean</configuration-name>
> >          <ejb-ref>
> >            <ejb-ref-name>ejb/ChargeEntry</ejb-ref-name>
> >            <jndi-name>ChargeEntry</jndi-name>
> >          </ejb-ref>
> >          <resource-ref>
> >            <res-ref-name>jdbc/timesheetdaydb</res-ref-name>
> >            <resource-name>TimesheetDB</resource-name>
> >          </resource-ref>
> >        </entity>
> >        <entity>
> >          <ejb-name>Employee</ejb-name>
> >          <jndi-name>Employee</jndi-name>
> >          <configuration-name>Default BMP EntityBean</configuration-name>
> >          <resource-ref>
> >            <res-ref-name>jdbc/employeedb</res-ref-name>
> >            <resource-name>TimesheetDB</resource-name>
> >          </resource-ref>
> >        </entity>
> >        <entity>
> >          <ejb-name>Project</ejb-name>
> >          <jndi-name>Project</jndi-name>
> >          <configuration-name>Default BMP EntityBean</configuration-name>
> >          <ejb-ref>
> >            <ejb-ref-name>ejb/CustomerCompany</ejb-ref-name>
> >            <jndi-name>CustomerCompany</jndi-name>
> >          </ejb-ref>
> >          <resource-ref>
> >            <res-ref-name>jdbc/projectdb</res-ref-name>
> >            <resource-name>TimesheetDB</resource-name>
> >          </resource-ref>
> >        </entity>
> >        <entity>
> >          <ejb-name>CustomerCompany</ejb-name>
> >          <jndi-name>CustomerCompany</jndi-name>
> >          <configuration-name>Default BMP EntityBean</configuration-name>
> >          <resource-ref>
> >            <res-ref-name>jdbc/customercompanydb</res-ref-name>
> >            <resource-name>TimesheetDB</resource-name>
> >          </resource-ref>
> >        </entity>
> >        <entity>
> >          <ejb-name>User</ejb-name>
> >          <jndi-name>User</jndi-name>
> >          <configuration-name>Default BMP EntityBean</configuration-name>
> >          <ejb-ref>
> >            <ejb-ref-name>ejb/Employee</ejb-ref-name>
> >            <jndi-name>Employee</jndi-name>
> >          </ejb-ref>
> >          <resource-ref>
> >            <res-ref-name>jdbc/userdb</res-ref-name>
> >            <resource-name>TimesheetDB</resource-name>
> >          </resource-ref>
> >        </entity>
> >        <entity>
> >          <ejb-name>Timesheet</ejb-name>
> >          <jndi-name>Timesheet</jndi-name>
> >          <configuration-name>Default BMP EntityBean</configuration-name>
> >          <ejb-ref>
> >            <ejb-ref-name>ejb/TimesheetDay</ejb-ref-name>
> >            <jndi-name>TimesheetDay</jndi-name>
> >          </ejb-ref>
> >          <ejb-ref>
> >            <ejb-ref-name>ejb/Employee</ejb-ref-name>
> >            <jndi-name>Employee</jndi-name>
> >          </ejb-ref>
> >          <resource-ref>
> >            <res-ref-name>jdbc/timesheetdb</res-ref-name>
> >            <resource-name>TimesheetDB</resource-name>
> >          </resource-ref>
> >        </entity>
> >        <entity>
> >          <ejb-name>ChargeEntry</ejb-name>
> >          <jndi-name>ChargeEntry</jndi-name>
> >          <configuration-name>Default BMP EntityBean</configuration-name>
> >          <ejb-ref>
> >            <ejb-ref-name>ejb/Project</ejb-ref-name>
> >            <jndi-name>Project</jndi-name>
> >          </ejb-ref>
> >          <resource-ref>
> >            <res-ref-name>jdbc/chargeentrydb</res-ref-name>
> >            <resource-name>TimesheetDB</resource-name>
> >          </resource-ref>
> >        </entity>
> >      </enterprise-beans>
> >    </jboss>
> >
> > ejb-jar.xml :
> >
> > <?xml version="1.0" encoding="ISO8859_1"?>
> >
> > <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
> > JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
> >
> > <ejb-jar>
> >   <description>no description</description>
> >   <display-name>ejbs</display-name>
> >   <enterprise-beans>
> >     <entity>
> >       <description>no description</description>
> >       <display-name>TimesheetDay</display-name>
> >       <ejb-name>TimesheetDay</ejb-name>
> >       <home>com.ogs.timesheet.entity.TimesheetDayHome</home>
> >       <remote>com.ogs.timesheet.entity.TimesheetDay</remote>
> >       <ejb-class>com.ogs.timesheet.entity.TimesheetDayBean</ejb-class>
> >       <persistence-type>Bean</persistence-type>
> >       <prim-key-class>com.ogs.util.ejb.EntityPK</prim-key-class>
> >       <reentrant>False</reentrant>
> >       <ejb-ref>
> >         <ejb-ref-name>ejb/ChargeEntry</ejb-ref-name>
> >         <ejb-ref-type>Entity</ejb-ref-type>
> >         <home>com.ogs.timesheet.entity.ChargeEntryHome</home>
> >         <remote>com.ogs.timesheet.entity.ChargeEntry</remote>
> >       </ejb-ref>
> >       <resource-ref>
> >         <res-ref-name>jdbc/timesheetdaydb</res-ref-name>
> >         <res-type>javax.sql.DataSource</res-type>
> >         <res-auth>Container</res-auth>
> >       </resource-ref>
> >     </entity>
> >     <entity>
> >       <description>no description</description>
> >       <display-name>CustomerCompany</display-name>
> >       <ejb-name>CustomerCompany</ejb-name>
> >       <home>com.ogs.customercompany.entity.CustomerCompanyHome</home>
> >       <remote>com.ogs.customercompany.entity.CustomerCompany</remote>
> >
> > <ejb-class>com.ogs.customercompany.entity.CustomerCompanyBean</ejb-class>
> >       <persistence-type>Bean</persistence-type>
> >       <prim-key-class>com.ogs.util.ejb.EntityPK</prim-key-class>
> >       <reentrant>False</reentrant>
> >       <resource-ref>
> >         <res-ref-name>jdbc/customercompanydb</res-ref-name>
> >         <res-type>javax.sql.DataSource</res-type>
> >         <res-auth>Container</res-auth>
> >       </resource-ref>
> >     </entity>
> >     <entity>
> >       <description>no description</description>
> >       <display-name>Project</display-name>
> >       <ejb-name>Project</ejb-name>
> >       <home>com.ogs.project.entity.ProjectHome</home>
> >       <remote>com.ogs.project.entity.Project</remote>
> >       <ejb-class>com.ogs.project.entity.ProjectBean</ejb-class>
> >       <persistence-type>Bean</persistence-type>
> >       <prim-key-class>com.ogs.util.ejb.EntityPK</prim-key-class>
> >       <reentrant>False</reentrant>
> >       <ejb-ref>
> >         <ejb-ref-name>ejb/CustomerCompany</ejb-ref-name>
> >         <ejb-ref-type>Entity</ejb-ref-type>
> >         <home>com.ogs.customercompany.entity.CustomerCompanyHome</home>
> >         <remote>com.ogs.customercompany.entity.CustomerCompany</remote>
> >       </ejb-ref>
> >       <resource-ref>
> >         <res-ref-name>jdbc/projectdb</res-ref-name>
> >         <res-type>javax.sql.DataSource</res-type>
> >         <res-auth>Container</res-auth>
> >       </resource-ref>
> >     </entity>
> >     <entity>
> >       <description>no description</description>
> >       <display-name>User</display-name>
> >       <ejb-name>User</ejb-name>
> >       <home>com.ogs.timesheet.entity.UserHome</home>
> >       <remote>com.ogs.timesheet.entity.User</remote>
> >       <ejb-class>com.ogs.timesheet.entity.UserBean</ejb-class>
> >       <persistence-type>Bean</persistence-type>
> >       <prim-key-class>com.ogs.timesheet.entity.UserPK</prim-key-class>
> >       <reentrant>False</reentrant>
> >       <ejb-ref>
> >         <ejb-ref-name>ejb/Employee</ejb-ref-name>
> >         <ejb-ref-type>Entity</ejb-ref-type>
> >         <home>com.ogs.employee.entity.EmployeeHome</home>
> >         <remote>com.ogs.employee.entity.Employee</remote>
> >       </ejb-ref>
> >       <resource-ref>
> >         <res-ref-name>jdbc/userdb</res-ref-name>
> >         <res-type>javax.sql.DataSource</res-type>
> >         <res-auth>Container</res-auth>
> >       </resource-ref>
> >     </entity>
> >     <entity>
> >       <description>no description</description>
> >       <display-name>Employee</display-name>
> >       <ejb-name>Employee</ejb-name>
> >       <home>com.ogs.employee.entity.EmployeeHome</home>
> >       <remote>com.ogs.employee.entity.Employee</remote>
> >       <ejb-class>com.ogs.employee.entity.EmployeeBean</ejb-class>
> >       <persistence-type>Bean</persistence-type>
> >       <prim-key-class>com.ogs.util.ejb.EntityPK</prim-key-class>
> >       <reentrant>False</reentrant>
> >       <resource-ref>
> >         <res-ref-name>jdbc/employeedb</res-ref-name>
> >         <res-type>javax.sql.DataSource</res-type>
> >         <res-auth>Container</res-auth>
> >       </resource-ref>
> >     </entity>
> >     <session>
> >       <description>no description</description>
> >       <display-name>TSLookup</display-name>
> >       <ejb-name>TSLookup</ejb-name>
> >       <home>com.ogs.timesheet.session.TSLookupHome</home>
> >       <remote>com.ogs.timesheet.session.TSLookup</remote>
> >       <ejb-class>com.ogs.timesheet.session.TSLookupBean</ejb-class>
> >       <session-type>Stateless</session-type>
> >       <transaction-type>Bean</transaction-type>
> >       <resource-ref>
> >         <res-ref-name>jdbc/timesheetdb</res-ref-name>
> >         <res-type>javax.sql.DataSource</res-type>
> >         <res-auth>Container</res-auth>
> >       </resource-ref>
> >     </session>
> >     <entity>
> >       <description>no description</description>
> >       <display-name>ChargeEntry</display-name>
> >       <ejb-name>ChargeEntry</ejb-name>
> >       <home>com.ogs.timesheet.entity.ChargeEntryHome</home>
> >       <remote>com.ogs.timesheet.entity.ChargeEntry</remote>
> >       <ejb-class>com.ogs.timesheet.entity.ChargeEntryBean</ejb-class>
> >       <persistence-type>Bean</persistence-type>
> >       <prim-key-class>com.ogs.util.ejb.EntityPK</prim-key-class>
> >       <reentrant>False</reentrant>
> >       <ejb-ref>
> >         <ejb-ref-name>ejb/Project</ejb-ref-name>
> >         <ejb-ref-type>Entity</ejb-ref-type>
> >         <home>com.ogs.project.entity.ProjectHome</home>
> >         <remote>com.ogs.project.entity.Project</remote>
> >       </ejb-ref>
> >       <resource-ref>
> >         <res-ref-name>jdbc/chargeentrydb</res-ref-name>
> >         <res-type>javax.sql.DataSource</res-type>
> >         <res-auth>Container</res-auth>
> >       </resource-ref>
> >     </entity>
> >     <entity>
> >       <description>no description</description>
> >       <display-name>Timesheet</display-name>
> >       <ejb-name>Timesheet</ejb-name>
> >       <home>com.ogs.timesheet.entity.TimesheetHome</home>
> >       <remote>com.ogs.timesheet.entity.Timesheet</remote>
> >       <ejb-class>com.ogs.timesheet.entity.TimesheetBean</ejb-class>
> >       <persistence-type>Bean</persistence-type>
> >       <prim-key-class>com.ogs.util.ejb.EntityPK</prim-key-class>
> >       <reentrant>False</reentrant>
> >       <env-entry>
> >         <env-entry-name>numberofdays</env-entry-name>
> >         <env-entry-type>java.lang.Integer</env-entry-type>
> >         <env-entry-value>7</env-entry-value>
> >       </env-entry>
> >       <env-entry>
> >         <env-entry-name>weekendingday</env-entry-name>
> >         <env-entry-type>java.lang.Integer</env-entry-type>
> >         <env-entry-value>1</env-entry-value>
> >       </env-entry>
> >       <ejb-ref>
> >         <ejb-ref-name>ejb/TimesheetDay</ejb-ref-name>
> >         <ejb-ref-type>Entity</ejb-ref-type>
> >         <home>com.ogs.timesheet.entity.TimesheetDayHome</home>
> >         <remote>com.ogs.timesheet.entity.TimesheetDay</remote>
> >       </ejb-ref>
> >       <ejb-ref>
> >         <ejb-ref-name>ejb/Employee</ejb-ref-name>
> >         <ejb-ref-type>Entity</ejb-ref-type>
> >         <home>com.ogs.employee.entity.EmployeeHome</home>
> >         <remote>com.ogs.employee.entity.Employee</remote>
> >       </ejb-ref>
> >       <resource-ref>
> >         <res-ref-name>jdbc/timesheetdb</res-ref-name>
> >         <res-type>javax.sql.DataSource</res-type>
> >         <res-auth>Container</res-auth>
> >       </resource-ref>
> >     </entity>
> >     <session>
> >       <description>no description</description>
> >       <display-name>TSSession</display-name>
> >       <ejb-name>TSSession</ejb-name>
> >       <home>com.ogs.timesheet.session.TSSessionHome</home>
> >       <remote>com.ogs.timesheet.session.TSSession</remote>
> >       <ejb-class>com.ogs.timesheet.session.TSSessionBean</ejb-class>
> >       <session-type>Stateful</session-type>
> >       <transaction-type>Container</transaction-type>
> >       <ejb-ref>
> >         <ejb-ref-name>ejb/Timesheet</ejb-ref-name>
> >         <ejb-ref-type>Entity</ejb-ref-type>
> >         <home>com.ogs.timesheet.entity.TimesheetHome</home>
> >         <remote>com.ogs.timesheet.entity.Timesheet</remote>
> >       </ejb-ref>
> >       <ejb-ref>
> >         <ejb-ref-name>ejb/User</ejb-ref-name>
> >         <ejb-ref-type>Entity</ejb-ref-type>
> >         <home>com.ogs.timesheet.entity.UserHome</home>
> >         <remote>com.ogs.timesheet.entity.User</remote>
> >       </ejb-ref>
> >     </session>
> >   </enterprise-beans>
> >   <assembly-descriptor>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>java.lang.Object</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>addChargeEntry</method-name>
> >         <method-params>
> >           <method-param>com.ogs.timesheet.model.ChargeEntryModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getDayDate</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByTimesheet</method-name>
> >         <method-params>
> >           <method-param>com.ogs.util.ejb.EntityPK</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>javax.ejb.Handle</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getChargeEntries</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByDate</method-name>
> >         <method-params>
> >           <method-param>java.sql.Date</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>updateChargeEntry</method-name>
> >         <method-params>
> >           <method-param>com.ogs.timesheet.model.ChargeEntryModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>deleteChargeEntry</method-name>
> >         <method-params>
> >           <method-param>com.ogs.timesheet.model.ChargeEntryModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>create</method-name>
> >         <method-params>
> >           <method-param>com.ogs.util.ejb.EntityPK</method-param>
> >           <method-param>java.sql.Date</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TimesheetDay</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByPrimaryKey</method-name>
> >         <method-params>
> >           <method-param>com.ogs.util.ejb.EntityPK</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>CustomerCompany</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByPrimaryKey</method-name>
> >         <method-params>
> >           <method-param>com.ogs.util.ejb.EntityPK</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>CustomerCompany</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>javax.ejb.Handle</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>CustomerCompany</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getCompanyName</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>CustomerCompany</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByCompanyName</method-name>
> >         <method-params>
> >           <method-param>java.lang.String</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>CustomerCompany</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>java.lang.Object</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>CustomerCompany</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>CustomerCompany</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>create</method-name>
> >         <method-params>
> >           <method-param>java.lang.String</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getProjectType</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>java.lang.Object</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getProjectCodePrefix</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>create</method-name>
> >         <method-params>
> >           <method-param>java.lang.String</method-param>
> >           <method-param>java.lang.String</method-param>
> >
> > <method-param>com.ogs.customercompany.entity.CustomerCompany</method-param>
> >           <method-param>com.ogs.project.model.ProjectTypeModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getProjectName</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>javax.ejb.Handle</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getCustomerCompany</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByProjectName</method-name>
> >         <method-params>
> >           <method-param>java.lang.String</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByPrimaryKey</method-name>
> >         <method-params>
> >           <method-param>com.ogs.util.ejb.EntityPK</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Project</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getState</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>java.lang.Object</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByPrimaryKey</method-name>
> >         <method-params>
> >           <method-param>com.ogs.timesheet.entity.UserPK</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getUserId</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>javax.ejb.Handle</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getPassword</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getLastName</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getFirstName</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByUserId</method-name>
> >         <method-params>
> >           <method-param>java.lang.String</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getState</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>User</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>create</method-name>
> >         <method-params>
> >           <method-param>com.ogs.employee.entity.Employee</method-param>
> >           <method-param>java.lang.String</method-param>
> >           <method-param>java.lang.String</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Employee</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>java.lang.Object</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Employee</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByLastName</method-name>
> >         <method-params>
> >           <method-param>java.lang.String</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Employee</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>javax.ejb.Handle</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Employee</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getLastName</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Employee</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getFirstName</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Employee</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Employee</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByFirstNameLastName</method-name>
> >         <method-params>
> >           <method-param>java.lang.String</method-param>
> >           <method-param>java.lang.String</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Employee</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>create</method-name>
> >         <method-params>
> >           <method-param>java.lang.String</method-param>
> >           <method-param>java.lang.String</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Employee</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByPrimaryKey</method-name>
> >         <method-params>
> >           <method-param>com.ogs.util.ejb.EntityPK</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Employee</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getState</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>java.lang.Object</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>setLaborCode</method-name>
> >         <method-params>
> >           <method-param>com.ogs.timesheet.model.LaborCodeModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>setChargeType</method-name>
> >         <method-params>
> >           <method-param>com.ogs.timesheet.model.ChargeTypeModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByDay</method-name>
> >         <method-params>
> >           <method-param>com.ogs.util.ejb.EntityPK</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>javax.ejb.Handle</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>setHours</method-name>
> >         <method-params>
> >           <method-param>double</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>create</method-name>
> >         <method-params>
> >           <method-param>com.ogs.timesheet.entity.TimesheetDay</method-param>
> >           <method-param>com.ogs.timesheet.model.ChargeEntryModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByPrimaryKey</method-name>
> >         <method-params>
> >           <method-param>com.ogs.util.ejb.EntityPK</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>setProject</method-name>
> >         <method-params>
> >           <method-param>com.ogs.project.model.ProjectModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getState</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>ChargeEntry</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>setChargeCategory</method-name>
> >         <method-params>
> >
> > <method-param>com.ogs.timesheet.model.ChargeCategoryModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>create</method-name>
> >         <method-params>
> >           <method-param>com.ogs.employee.entity.Employee</method-param>
> >           <method-param>java.sql.Date</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>java.lang.Object</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getWeekEndingDate</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getNumberOfDays</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByEmployeeAndWeek</method-name>
> >         <method-params>
> >           <method-param>com.ogs.employee.entity.Employee</method-param>
> >           <method-param>java.sql.Date</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params>
> >           <method-param>javax.ejb.Handle</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getEmployee</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>remove</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getFirstDay</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Home</method-intf>
> >         <method-name>findByPrimaryKey</method-name>
> >         <method-params>
> >           <method-param>com.ogs.util.ejb.EntityPK</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getDay</method-name>
> >         <method-params>
> >           <method-param>java.sql.Date</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getTotalHours</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>Timesheet</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getLastDay</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>createTimesheet</method-name>
> >         <method-params>
> >           <method-param>java.sql.Date</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getCurrentDayDate</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getFirstDayDate</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getNumberOfDays</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>changeCurrentDay</method-name>
> >         <method-params>
> >           <method-param>java.sql.Date</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>lookupCurrentChargeEntry</method-name>
> >         <method-params>
> >           <method-param>java.lang.Integer</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>deleteCurrentTimesheet</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getTotalHoursForCurrentTimesheet</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>loadTimesheet</method-name>
> >         <method-params>
> >           <method-param>java.sql.Date</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>deleteChargeEntryForCurrentDay</method-name>
> >         <method-params>
> >           <method-param>com.ogs.timesheet.model.ChargeEntryModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getUser</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>addChargeEntryToCurrentDay</method-name>
> >         <method-params>
> >           <method-param>com.ogs.timesheet.model.ChargeEntryModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>updateChargeEntryForCurrentDay</method-name>
> >         <method-params>
> >           <method-param>com.ogs.timesheet.model.ChargeEntryModel</method-param>
> >         </method-params>
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >     <container-transaction>
> >       <method>
> >         <ejb-name>TSSession</ejb-name>
> >         <method-intf>Remote</method-intf>
> >         <method-name>getCurrentChargeEntries</method-name>
> >         <method-params />
> >       </method>
> >       <trans-attribute>Required</trans-attribute>
> >     </container-transaction>
> >   </assembly-descriptor>
> > </ejb-jar>
> >
> > Richard Backhouse
> > Oak Grove Software
> >
> > Aaron Mulder wrote:
> > >
> > >         You do need to add the oracle driver to the line in
> > > jboss.properties.  The JdbcProvider simply loads the drivers in
> > > jboss.properties, and you probably will not need to change the imports
> > > there since everything in lib/ext gets loaded into the classpath at an
> > > earlier step, but it can't hurt.  Then you must add either a
> > > DataSourceImpl or the Minerva pool equivalent in order to start a data
> > > source that uses your Oracle driver.
> > >         Once all that is done you should see a line in the JdbcProvider
> > > output stating that your driver was loaded, and then a line in the
> > > DataSourceImpl or Minerva pool output saying the specific data source was
> > > loaded.  Then you need to make sure that the jboss.xml has a resource
> > > manager entry referring to the JNDI name of the data source, and a
> > > resource entry that links the ejb-jar.xml name of the resource to the
> > > resource manager name of the resource (and it's easier if you make some of
> > > these names the same!).
> > >         If those are all hooked up correctly, your bean should be able to
> > > reference the name as java:comp/env/<ejb-jar.xml name>, so you'd have to
> > > make the ejb-jar.xml name "jdbc/employeedb" if you want it to appear to
> > > the bean as java:comp/env/jdbc/employeedb.  If that is set correctly but
> > > nothing is in JNDI, double check the resource/resource manager settings in
> > > jboss.xml.
> > >         If you still can't get it to work, send an e-mail with your
> > > ejb-jar.xml, jboss.xml, jboss.conf, and jboss.jcml.
> > >
> > > Aaron
> > >
> > > On Fri, 7 Jul 2000, Richard Backhouse wrote:
> > > > Hi,
> > > >
> > > > I've just started playing with jboss and I have a couple of questions :
> > > >
> > > > 1. Is BMP working yet ? I have read through alot of the mail archivesand
> > > > I can't find a definitive answer.
> > > >
> > > > 2. I'm trying to set up a new Oracle datasource in jboss.conf. Do I need
> > > > to add the oracle zip file name to the JdbcProvider MLET tag as :
> > > >
> > > > <MLET CODE = "org.jboss.jdbc.JdbcProvider"
> > > > ARCHIVE="jboss.jar,classes111.zip" CODEBASE="../lib/ext/">
> > > > </MLET>
> > > >
> > > > or add it to  the DataSourceImpl MLET tag as :
> > > >
> > > > <MLET CODE = "org.jboss.jdbc.DataSourceImpl"
> > > > ARCHIVE="jboss.jar,classes111.zip" CODEBASE="../lib/ext/">
> > > >
> > > > 3. Do I need to add the oracle driver name to jboss.properties.
> > > >
> > > > 4. I tried deploying some ejb's that I have already written and have
> > > > running with suns j2ee ri. They seem to deploy ok but I don't see any
> > > > references to the jdbc/db names being bound. I do see that the EJBs
> > > > themselves are being bound ok. When I try and run a test against any of
> > > > the ejbs I get the following exception :
> > > >
> > > > java.rmi.ServerException: Exception occurred; nested exception is:
> > > >  javax.ejb.EJBException: Cannot lookup
> > > > java:comp/env/jdbc/employeedb[javax.naming.NameNotFoundException: jdbc
> > > > not bound
> > > >
> > > > I have setup a Resource Manager in my jboss.xml to point to the Oracle
> > > > datasource. I have also setup each of the datasource references for each
> > > >
> > > > bean to point to the named resource manager.
> > > > Any Ideas ?
> > > >
> > > > Thanks
> > > > Richard Backhouse
> > > > Oak Grove Software
> > > >
> > > >
> > > >
> > > > --
> > > > --------------------------------------------------------------
> > > > To subscribe:        [EMAIL PROTECTED]
> > > > To unsubscribe:      [EMAIL PROTECTED]
> > > > Problems?:           [EMAIL PROTECTED]
> > > >
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Problems?:           [EMAIL PROTECTED]
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Problems?:           [EMAIL PROTECTED]
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to