This is correct in fact, no jboss.xml is the default.  You use jboss.xml/jaws.xml if you are an advanced user and need to tweak container configuration or if you specify deployment things that are not in ejb-jar.xml (mappings, db sources etc).
 
The default is the ejb-jar.xml and jboss is built to work with just that (like jboss1.0 did)
 
regards
 
marc
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Pierce
Sent: Wednesday, July 26, 2000 6:54 AM
To: 'jBoss'
Subject: RE: [jBoss-User] Stateful Session Bean Support

Well I'm not useing a jboss.xml because its supposed to be optional and the system should work with the defaults I'm told. If it doesn't work with just the ejb-jar.xml (which is the case in every bean I'm using) and it does in the binary, then we have another issue altogether.
-----Original Message-----
From: Luan O'Carroll [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 26, 2000 5:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [jBoss-User] Stateful Session Bean Support

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