Hi,

It seems that I have lost the ability to have a transaction context for my
EJB's
Background:

EJX won't load the default settings for jboss.jar (I have standardjboss.xml
in the conf dir).
I created 2 new container configurations using EJX, here is the output (Note
the absence of value <transaction-manager>)



<?xml version="1.0" encoding="Cp1252"?>

<jboss>
     <secure>true</secure>
     <container-configurations>
       <container-configuration
configuration-class="org.jboss.ejb.deployment.EntityContainerConfiguration">
         <container-name>entity</container-name>
         <call-logging>true</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.EntityInstanceCache</instance-cache>
        
<persistence-manager>org.jboss.ejb.plugins.BMPPersistenceManager</persistenc
e-manager>
         <transaction-manager></transaction-manager>
         <authentication-module></authentication-module>
         <role-mapping-manager></role-mapping-manager>
         <container-invoker-conf>
           <Optimized>true</Optimized>
         </container-invoker-conf>
         <container-cache-conf>
        
<cache-policy>org.jboss.ejb.plugins.NoPassivationCachePolicy</cache-policy>
         </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.StatefulSessionContainerConfig
uration">
         <container-name>stateful</container-name>
         <call-logging>true</call-logging>
        
<container-invoker>org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker<
/container-invoker>
        
<instance-pool>org.jboss.ejb.plugins.StatefulSessionInstancePool</instance-p
ool>
        
<instance-cache>org.jboss.ejb.plugins.StatefulSessionInstanceCache</instance
-cache>
        
<persistence-manager>org.jboss.ejb.plugins.StatefulSessionFilePersistenceMan
ager</persistence-manager>
         <transaction-manager></transaction-manager>
         <authentication-module></authentication-module>
         <role-mapping-manager></role-mapping-manager>
         <container-invoker-conf>
           <Optimized>true</Optimized>
         </container-invoker-conf>
         <container-cache-conf>
        
<cache-policy>org.jboss.ejb.plugins.NoPassivationCachePolicy</cache-policy>
         </container-cache-conf>
       </container-configuration>
     </container-configurations>
     <resource-managers>
       <resource-manager res-class="org.jboss.ejb.deployment.JDBCResource">
         <res-name>Oracle</res-name>
         <res-jndi-name>Oracle</res-jndi-name>
       </resource-manager>
     </resource-managers>
     <enterprise-beans>
       <session>
         <ejb-name>InventoryEJBBean</ejb-name>
         <jndi-name>InventoryEJBBean</jndi-name>
         <configuration-name>stateful</configuration-name>
         <ejb-ref>
           <ejb-ref-name>ejb/CarEjbBean</ejb-ref-name>
           <jndi-name></jndi-name>
         </ejb-ref>
         <ejb-ref>
           <ejb-ref-name>ejb/DealershipEJB</ejb-ref-name>
           <jndi-name></jndi-name>
         </ejb-ref>
         <resource-ref>
           <res-ref-name>Oracle</res-ref-name>
           <resource-name>Oracle</resource-name>
         </resource-ref>
       </session>
       <entity>
         <ejb-name>DealershipEJB</ejb-name>
         <jndi-name>DealershipEJB</jndi-name>
         <configuration-name>entity</configuration-name>
         <resource-ref>
           <res-ref-name>Oracle</res-ref-name>
           <resource-name>Oracle</resource-name>
         </resource-ref>
       </entity>
       <entity>
         <ejb-name>CarEjbBean</ejb-name>
         <jndi-name>CarEjbBean</jndi-name>
         <configuration-name>entity</configuration-name>
         <resource-ref>
           <res-ref-name>Oracle</res-ref-name>
           <resource-name>Oracle</resource-name>
         </resource-ref>
       </entity>
     </enterprise-beans>
   </jboss>

After looking at standardjboss.xml Added the value for
<transaction-manager> 
org.jboss.tm.TxManager and <RMIObjectPort>4444</RMIObjectPort> for the tag
<container-invoker-conf> still... no transactions.



How do I see there are no transactions?? I have a session bean (Inventory)
updating the values for an Entity bean (Car) inside one method, the log
shows that the Container calls store for every attribute set to the Entity.


What am I missing ????


Thanks,


Miguel
-----Original Message-----
From: Serrano, Miguel (AT-Atlanta)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 8:32 AM
To: jBoss
Subject: [jBoss-User] EJX oddities


Hi,

I've noticed two oddities while using EJX (from yesterday's CVS ):

1) The pluggins won't load if there is a classes12.jar in
[JBOSS_HOME]/lib/ext  (Oracle jdbc jar)
2) The default container configurations are not longer there (jboss.xml
pluggin).


I can get around the first one by moving the jar while editing, now I have
no clue about #2. Any ideas??

Thanks,

Miguel



--
--------------------------------------------------------------
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