I too have stateful session beans working with the CVS dowloaded last Friday.
 
marc fleury wrote:
>
> btw the stateful beans in there work just off ejb-jar.xml (no jboss.xml with
 
My jar has a jboss.xml file as does the one posted at 
  http://www.bonevich.com/ejb/helloworld.jar
 
it contains the following sections that might be of interest?
 
     <enterprise-beans>
       <session>
       <ejb-name>ShoppingCart</ejb-name>
       <jndi-name>ShoppingCart</jndi-name>
       <configuration-name>Default Stateful SessionBean</configuration-name>
       </session>
....
     </enterprise-beans>

    <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-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-configurations>
 
When I removed the above from jboss.xml I got exceptions when deploying the JAR

Reply via email to