Transaction not working in 5.1 Sp 8

I am using Weblogic 5.1 Sp 8 on Windows NT.
I have two EJB's A and B. Both have transaction attribute set to
Required. However my methods are not executing in a
transaction. Method in EJB A call a few methods in EJB A which in turn
call methods in EJB B. Towards the end there is an
exception and I expect rollback to happen. This does not happen and part
of the changes are committed to the database.
I have attached my deployment descriptors and error file (cdlm.log).
Will appreciate any help...
--Vishal
[cdlm.log]
[B_ejb_jar.xml]
[B_weblogic_ejb_jar.xml]
[A_ejb_jar.xml]
[A_weblogic_ejb_jar.xml]

What kind of exception are you throwing? Application exceptions do not
cause rollbacks, but system exceptions do.
In general, I would recommend that you call EJBContext.setRollbackOnly()
when you want to mark a transaction for rollback. It is much clearer
than depending on the EJB Exception rules.
Finally, make sure that you are using a TxDataSource and not a plain
DataSource. Search this newsgroups for details.
-- Rob
Vishal Vishnoi wrote:
>
I am using Weblogic 5.1 Sp 8 on Windows NT.
I have two EJB's A and B. Both have transaction attribute set to
Required. However my methods are not executing in a
transaction. Method in EJB A call a few methods in EJB A which in turn
call methods in EJB B. Towards the end there is an
exception and I expect rollback to happen. This does not happen and part
of the changes are committed to the database.
I have attached my deployment descriptors and error file (cdlm.log).
Will appreciate any help...
--Vishal
Name: cdlm.log
cdlm.log Type: application/x-unknown-content-type-txtfile
Encoding: base64
<?xml version="1.0"?>
<!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>
<enterprise-beans>
<entity>
<ejb-name>com.averstar.cdlm.item.ejb.itemimpl.ItemImplHome</ejb-name>
<home>com.averstar.cdlm.item.ejb.itemimpl.ItemImplHome</home>
<remote>com.averstar.cdlm.item.ejb.itemimpl.ItemImplRemote</remote>
<ejb-class>com.averstar.cdlm.item.ejb.itemimpl.ItemImplBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<resource-ref>
<description/>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
<session>
<ejb-name>com.averstar.cdlm.item.ejb.item.ItemHome</ejb-name>
<home>com.averstar.cdlm.item.ejb.item.ItemHome</home>
<remote>com.averstar.cdlm.item.ejb.item.ItemRemote</remote>
<ejb-class>com.averstar.cdlm.item.ejb.item.ItemBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<resource-ref>
<description/>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</session>
<entity>
<ejb-name>com.averstar.cdlm.item.ejb.metaitem.MetaItemHome</ejb-name>
<home>com.averstar.cdlm.item.ejb.metaitem.MetaItemHome</home>
<remote>com.averstar.cdlm.item.ejb.metaitem.MetaItemRemote</remote>
<ejb-class>com.averstar.cdlm.item.ejb.metaitem.MetaItemBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<cmp-field>
<field-name>metaItemID</field-name>
</cmp-field>
<cmp-field>
<field-name>metaItemTypeID</field-name>
</cmp-field>
<cmp-field>
<field-name>itemName</field-name>
</cmp-field>
<cmp-field>
<field-name>parentItem</field-name>
</cmp-field>
<cmp-field>
<field-name>tableName</field-name>
</cmp-field>
<cmp-field>
<field-name>itemDefinition</field-name>
</cmp-field>
<primkey-field>metaItemID</primkey-field>
<resource-ref>
<description/>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
<entity>
<ejb-name>com.averstar.cdlm.item.ejb.metaattribute.MetaAttributeHome</ejb-name>
<home>com.averstar.cdlm.item.ejb.metaattribute.MetaAttributeHome</home>
<remote>com.averstar.cdlm.item.ejb.metaattribute.MetaAttributeRemote</remote>
<ejb-class>com.averstar.cdlm.item.ejb.metaattribute.MetaAttributeBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<cmp-field>
<field-name>metaAttributeID</field-name>
</cmp-field>
<cmp-field>
<field-name>metaAttributeTypeID</field-name>
</cmp-field>
<cmp-field>
<field-name>metaItemID</field-name>
</cmp-field>
<cmp-field>
<field-name>name</field-name>
</cmp-field>
<cmp-field>
<field-name>columnName</field-name>
</cmp-field>
<cmp-field>
<field-name>columnDataType</field-name>
</cmp-field>
<cmp-field>
<field-name>attributeDataType</field-name>
</cmp-field>
<cmp-field>
<field-name>attributeDataTypeHandle</field-name>
</cmp-field>
<cmp-field>
<field-name>attributeDefinition</field-name>
</cmp-field>
<cmp-field>
<field-name>nullRule</field-name>
</cmp-field>
<cmp-field>
<field-name>isPK</field-name>
</cmp-field>
<primkey-field>metaAttributeID</primkey-field>
<resource-ref>
<description/>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
<entity>
<ejb-name>com.averstar.cdlm.item.ejb.metaattributeproperties.MetaAttributePropertiesHome</ejb-name>
<home>com.averstar.cdlm.item.ejb.metaattributeproperties.MetaAttributePropertiesHome</home>
<remote>com.averstar.cdlm.item.ejb.metaattributeproperties.MetaAttributePropertiesRemote</remote>
<ejb-class>com.averstar.cdlm.item.ejb.metaattributeproperties.MetaAttributePropertiesBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<cmp-field>
<field-name>metaAttributeID</field-name>
</cmp-field>
<cmp-field>
<field-name>uiXml</field-name>
</cmp-field>
<cmp-field>
<field-name>validationXml</field-name>
</cmp-field>
<primkey-field>metaAttributeID</primkey-field>
<resource-ref>
<description/>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
<entity>
<ejb-name>com.averstar.cdlm.item.ejb.metaitemproperties.MetaItemPropertiesHome</ejb-name>
<home>com.averstar.cdlm.item.ejb.metaitemproperties.MetaItemPropertiesHome</home>
<remote>com.averstar.cdlm.item.ejb.metaitemproperties.MetaItemPropertiesRemote</remote>
<ejb-class>com.averstar.cdlm.item.ejb.metaitemproperties.MetaItemPropertiesBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<cmp-field>
<field-name>metaItemID</field-name>
</cmp-field>
<cmp-field>
<field-name>uiXml</field-name>
</cmp-field>
<cmp-field>
<field-name>validationXml</field-name>
</cmp-field>
<cmp-field>
<field-name>uiXslt</field-name>
</cmp-field>
<primkey-field>metaItemID</primkey-field>
<resource-ref>
<description/>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
<entity>
<ejb-name>com.averstar.cdlm.item.ejb.metarelationship.MetaRelationshipHome</ejb-name>
<home>com.averstar.cdlm.item.ejb.metarelationship.MetaRelationshipHome</home>
<remote>com.averstar.cdlm.item.ejb.metarelationship.MetaRelationshipRemote</remote>
<ejb-class>com.averstar.cdlm.item.ejb.metarelationship.MetaRelationshipBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<cmp-field>
<field-name>metaRelationshipID</field-name>
</cmp-field>
<cmp-field>
<field-name>associationMetaItemID</field-name>
</cmp-field>
<cmp-field>
<field-name>name</field-name>
</cmp-field>
<cmp-field>
<field-name>parentMetaItemID</field-name>
</cmp-field>
<cmp-field>
<field-name>childMetaItemID</field-name>
</cmp-field>
<cmp-field>
<field-name>parentMetaAttributeID</field-name>
</cmp-field>
<cmp-field>
<field-name>childMetaAttributeID</field-name>
</cmp-field>
<cmp-field>
<field-name>cardinality</field-name>
</cmp-field>
<cmp-field>
<field-name>nullRule</field-name>
</cmp-field>
<primkey-field>metaRelationshipID</primkey-field>
<resource-ref>
<description/>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.item.ItemHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.item.ItemHome</ejb-name>
<method-intf>Home</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.itemimpl.ItemImplHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.itemimpl.ItemImplHome</ejb-name>
<method-intf>Home</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.metaitem.MetaItemHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.metaitem.MetaItemHome</ejb-name>
<method-intf>Home</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.metaattribute.MetaAttributeHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.metaattribute.MetaAttributeHome</ejb-name>
<method-intf>Home</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.metaattributeproperties.MetaAttributePropertiesHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.metaattributeproperties.MetaAttributePropertiesHome</ejb-name>
<method-intf>Home</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.metaitemproperties.MetaItemPropertiesHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.metaitemproperties.MetaItemPropertiesHome</ejb-name>
<method-intf>Home</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.metarelationship.MetaRelationshipHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<method>
<ejb-name>com.averstar.cdlm.item.ejb.metarelationship.MetaRelationshipHome</ejb-name>
<method-intf>Home</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN' 'http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>com.averstar.cdlm.item.ejb.itemimpl.ItemImplHome</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>20</max-beans-in-free-pool>
<max-beans-in-cache>1000</max-beans-in-cache>
<idle-timeout-seconds>5</idle-timeout-seconds>
</caching-descriptor>
<persistence-descriptor>
<delay-updates-until-end-of-tx>true</delay-updates-until-end-of-tx>
</persistence-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<jndi-name>weblogic.jdbc.jts.cdlmPool</jndi-name>
</resource-description>
</reference-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>com.averstar.cdlm.item.ejb.itemimpl.ItemImplHome</jndi-name>
</weblogic-enterprise-bean>
<weblogic-enterprise-bean>
<ejb-name>com.averstar.cdlm.item.ejb.item.ItemHome</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
</caching-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<jndi-name>weblogic.jdbc.jts.cdlmPool</jndi-name>
</resource-description>
</reference-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>com.averstar.cdlm.item.ejb.item.ItemHome</jndi-name>
</weblogic-enterprise-bean>
<weblogic-enterprise-bean>
<ejb-name>com.averstar.cdlm.item.ejb.metaitem.MetaItemHome</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>20</max-beans-in-free-pool>
<max-beans-in-cache>1000</max-beans-in-cache>
<idle-timeout-seconds>5</idle-timeout-seconds>
<cache-strategy>read-only</cache-strategy>
</caching-descriptor>
<persistence-descriptor>
<delay-updates-until-end-of-tx>true</delay-updates-until-end-of-tx>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
<type-storage>META-INF/metaItem-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<db-is-shared>false</db-is-shared>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
</persistence-use>
</persistence-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<jndi-name>weblogic.jdbc.jts.cdlmPool</jndi-name>
</resource-description>
</reference-descriptor>
<enable-call-by-reference>false</enable-call-by-reference>
<jndi-name>com.averstar.cdlm.item.ejb.metaitem.MetaItemHome</jndi-name>
</weblogic-enterprise-bean>
<weblogic-enterprise-bean>
<ejb-name>com.averstar.cdlm.item.ejb.metaattribute.MetaAttributeHome</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>20</max-beans-in-free-pool>
<max-beans-in-cache>1000</max-beans-in-cache>
<idle-timeout-seconds>5</idle-timeout-seconds>
<cache-strategy>read-only</cache-strategy>
</caching-descriptor>
<persistence-descriptor>
<delay-updates-until-end-of-tx>true</delay-updates-until-end-of-tx>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
<type-storage>META-INF/metaAttribute-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<db-is-shared>false</db-is-shared>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
</persistence-use>
</persistence-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<jndi-name>weblogic.jdbc.jts.cdlmPool</jndi-name>
</resource-description>
</reference-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>com.averstar.cdlm.item.ejb.metaattribute.MetaAttributeHome</jndi-name>
</weblogic-enterprise-bean>
<weblogic-enterprise-bean>
<ejb-name>com.averstar.cdlm.item.ejb.metaattributeproperties.MetaAttributePropertiesHome</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>20</max-beans-in-free-pool>
<max-beans-in-cache>1000</max-beans-in-cache>
<idle-timeout-seconds>5</idle-timeout-seconds>
<cache-strategy>read-only</cache-strategy>
</caching-descriptor>
<persistence-descriptor>
<delay-updates-until-end-of-tx>true</delay-updates-until-end-of-tx>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
<type-storage>META-INF/metaAttributeProperties-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<db-is-shared>false</db-is-shared>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
</persistence-use>
</persistence-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<jndi-name>weblogic.jdbc.jts.cdlmPool</jndi-name>
</resource-description>
</reference-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>com.averstar.cdlm.item.ejb.metaattributeproperties.MetaAttributePropertiesHome</jndi-name>
</weblogic-enterprise-bean>
<weblogic-enterprise-bean>
<ejb-name>com.averstar.cdlm.item.ejb.metaitemproperties.MetaItemPropertiesHome</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>20</max-beans-in-free-pool>
<max-beans-in-cache>1000</max-beans-in-cache>
<idle-timeout-seconds>5</idle-timeout-seconds>
<cache-strategy>read-only</cache-strategy>
</caching-descriptor>
<persistence-descriptor>
<delay-updates-until-end-of-tx>true</delay-updates-until-end-of-tx>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
<type-storage>META-INF/metaItemProperties-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<db-is-shared>false</db-is-shared>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
</persistence-use>
</persistence-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<jndi-name>weblogic.jdbc.jts.cdlmPool</jndi-name>
</resource-description>
</reference-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>com.averstar.cdlm.item.ejb.metaitemproperties.MetaItemPropertiesHome</jndi-name>
</weblogic-enterprise-bean>
<weblogic-enterprise-bean>
<ejb-name>com.averstar.cdlm.item.ejb.metarelationship.MetaRelationshipHome</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>20</max-beans-in-free-pool>
<max-beans-in-cache>1000</max-beans-in-cache>
<idle-timeout-seconds>5</idle-timeout-seconds>
<cache-strategy>read-only</cache-strategy>
</caching-descriptor>
<persistence-descriptor>
<delay-updates-until-end-of-tx>true</delay-updates-until-end-of-tx>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
<type-storage>META-INF/metaRelationship-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<db-is-shared>false</db-is-shared>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
</persistence-use>
</persistence-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<jndi-name>weblogic.jdbc.jts.cdlmPool</jndi-name>
</resource-description>
</reference-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>com.averstar.cdlm.item.ejb.metarelationship.MetaRelationshipHome</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
<?xml version="1.0"?>
<!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>
<enterprise-beans>
<session>
<ejb-name>net/avercom/util/bank/ejb/BankHome</ejb-name>
<home>net.avercom.util.bank.ejb.BankHome</home>
<remote>net.avercom.util.bank.ejb.BankRemote</remote>
<ejb-class>net.avercom.util.bank.ejb.BankBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<resource-ref>
<description/>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>net/avercom/util/bank/ejb/BankHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN" "http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>net/avercom/util/bank/ejb/BankHome</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
</caching-descriptor>
<persistence-descriptor>
<delay-updates-until-end-of-tx>true</delay-updates-until-end-of-tx>
</persistence-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/cdlmPool</res-ref-name>
<jndi-name>weblogic.jdbc.jts.cdlmPool</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>net/avercom/util/bank/ejb/BankHome</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>--
Coming Soon: Building J2EE Applications & BEA WebLogic Server
by Michael Girdley, Rob Woollen, and Sandra Emerson
http://learnweblogic.com

Similar Messages

  • ME21n transaction not working in IDES

    Hi All,
    ME21n transaction not working in IDES. when i try to enter a purchase order and display the header data its giving dump.
    thanks,
    Poonam

    when i enter the transaction and press enter its giving dump. how will i debug?
    i am getting this dump:
    Short text
        Inconsistency in the Dictionary for the structure "WB2_MSEG".
    What happened?
        Error in the SAP kernel.
        The current ABAP "SAPLWB2B_HANDLE_WORKAREA" program had to be terminated
         because the
        ABAP processor detected an internal system error.
    Edited by: Poonam Naik on Mar 10, 2009 4:43 AM

  • F-47 transaction not working in ME2DP T.code

    Hi All,
    I have created a created PO for down payment request. When go to transaction ME2DP and enter the PO and hit enter I will go next screen from where I can create down payment request or I can do down payment. When I select the PO and click on create button to create down payment request I am able to go to F-47 screen but unable to create down payment request.
    Please let me know any configuration settings or any SAP note needs to be implemented
    Thanks & Regards,
    Chand

    if downpayment works fine with F-47 then that means issue is with ME2DP report.
    have you checked above two points:
    ----Prerequisites
    Down payment data has been recorded at header or item level in the purchase order.
    You have specified at least one due date or period as a parameter for down payments.----
    i do not have access to ME2DP so could not explore more but found a relevant OSS note, have a look at that also
    Note 1610785 - ME2DP/FPDP_START: Various problems
    Note 1404413 - PO number cleared in down payments transaction ME2DP (for both OSS note take help of a technical guy to see if relevant things are in place)
    one more thing - is this PO for a country(like US) where tax juridcition is there? if yes, then ME2DP will not work
    yogesh
    Edited by: Yogesh Lohiya on Jan 26, 2012 7:40 PM
    Edited by: Yogesh Lohiya on Jan 26, 2012 7:42 PM

  • LQ02 Transaction not work in Back ground processing

    Hi
    LQ02 transaction working well in forground process but not working for background process. I did the bdc and use call transaction to post WM-IM transaction.
    screen input as follows :
    Warehouse number
    Storage type
    Storage bin
    WM movement type
    Storage Unit
    batch job shows sucessfully completed but category stock status remain unchanged (ie quality to unrestricted.)
    Any body know the alternative function module or bapi to post LQ02 transaction.
    Appriciate your help.
    Best regards
    Pravin

    when you run LQ02 in foreground, do you select anything manually or can you just hit save an everything is done?
    What does job log and spool file tell you?
    Did you flag the box for create mail in case of an error?
    check OSS note 489286

  • SPROXY transaction not working

    Hi,
    We are facing a problem while executing transaction SPROXY.
    since a recent patch implementation at SAP-HR Box. Basically, the test tool for sproxy transaction is resulting into dump. Furthermore report "SPRX_INBOUND_TEST" has been deleted from system as well.
    Can anybody sugggest what acould be the possible reason and probable solution for it.
    Regards,
    Sanjib Basu

    Hi,
    After adding the patch, it will be never expected but try to reset the SPROXY configuration.
    Execute report SPROX_CHECK_IFR_ADDRESS
    and try to see the Communication test report in SE 38
    Press SPROX* and run it it will give trace the exact problem
    Refer
    SPROXY not working:
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83deb90-0201-0010-189c-8d3ff87572f8
    Thanks
    Swarup
    Edited by: Swarup Sawant on Feb 20, 2008 7:38 PM

  • Added Transaction- Not working!

    Hi,
    Can some one figure this out:
    1. I added a new transaction to VL_Complete to the role ZX_DECRA_KU_COST_ACCOUNTING.
    This new role is not working. Can you please suggest solutions ?
    Thanks

    User not authorised for this transaction.  I solved it ..did nothing but once again added the TCODE!!

  • Declarative transaction not working  for oracle 10g as.

    Hi Friends,
    While migrating from sun app server to oracle 10g as, i have problem in declarative transactions.
    I created stateless and stateful beans with declarative transactions. Transactions were working fine till they were in sun app server environment, but they fail in oracle 10g as environment.
    I build the ear through sun IDE and deployed the ear on oracle 10g as. Things worked fine till transactions come onto picture.Declarative transaction get failed in case of oracle 10g as.
    Please if you have faced such problem or have any way to solve this problem, Pls revert back.
    rgds,
    m_khanduri

    sb92075 thank you for reply. Please see the command outputs.
    $ hostname
    LONDAN
    $ id
    uid=503(oaprod) gid=5002(dba) groups=5002(dba)
    $ uname -a
    Linux LONDAN 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
    $ ps -ef | grep -i pmon | grep -v grep
    oaprod    3810     1  0 May11 ?        00:02:24 ora_pmon_OID
    jgarry thank u also. please see the response.
    $ ls -rl $ORACLE_HOME/dbs
    total 2848
    -rw-rw---- 1 oaprod dba    3584 May  8 14:33 spfileOID.ora
    -rw-r----- 1 oaprod dba 2867200 Sep 10 10:17 snapcf_OID.f
    -rwSr----- 1 oaprod dba    1536 May  5 06:17 orapwOID
    -rw-rw---- 1 oaprod dba      24 May 11 17:24 lkOID
    -rw------- 1 oaprod dba    8385 May  5 05:18 init.ora
    -rw------- 1 oaprod dba   12920 May  5 05:18 initdw.ora
    -rw-rw---- 1 oaprod dba    1544 May 11 17:24 hc_OID.dat
    ok. previously I set TNS_ADMIN. Now I set TWO_TASK, while connecting now am getting different error "insufficient privilege". Please check following.
    $ export TWO_TASK=OID
    $sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.5.0 - Production on Wed Sep 11 05:22:28 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    But, now while connecting with "sys", I don't need to supply "@OID" it's connecting directly with "sqlplus sys as sysdba" command.

  • OB52 AND OB08 transactions not working in QAS

    Hi All,
    My client is upgrading from 4.7 to ECC 6.0
    Due to not modifiable status two transaction could't be done in the new QUALITY System.
    This is IMG activity under the following.
    1. OB52 :- Open and Close Posting periods (FA -> FA Global Setting -> Document ->Posting -> Open and Close Postinfg periods
    2. OB08 :- Enter Foriegn exchange rate. (Gen Settings) Enter foriegn exchange rate
    These transaction are to be executed regularly and directly in the 4.7 but in the present new ECC6.0 system the same is not possible due to non modifiable status. Now for testing in the new system we have to execute the same directly.
    Please suggest

    Hello,
    As your ABAPer to change the V_T001B in SOBJ transaction to Automatically Adjustable and the category would be CUST (client specific)
    Hope this will resolve this issue.
    Regards,
    Ravi

  • Container Managed Transactions not working

              We are using weblogic5.1 and mssql2000. We are using jts to get connections to the dbase connection pool.
              I have a stateless session ejb with a method called "createUserProfile". This method is deployed with a descriptor indicating container managed with a setting of "Required" on this method:
              here's the relevant part of the descriptor.......
              - <assembly-descriptor>
              - <container-transaction>
              - <method>
              <ejb-name>com.nps.csi.profile.ejb.ProfileSession</ejb-name>
              <method-intf>Remote</method-intf>
              <method-name>createUserProfile</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
              </container-transaction>
              </assembly-descriptor>
              This method does multiple create() calls on various entity beans and I want it to roll back should any exception occur during on any bean processed in this method.
              The remote interface signature for the method looks as follows:
              public void createUserProfile(ProfileBean signUp)
              throws RemoteException, CreateProfileException;
              I have a try/catch block around most of the code in this method which catches "Exception". If an Exception occurs it then re-throws my custom exception, CreateProfileException.
              Problem: the transaction is not rolling back when an Exception occurs. I did a sql trace on the output and it appears that there is an "implicit" transaction being set and commits are occuring after I do a create on an entity bean, even though no commits are being issued by the entity beans (or any other code). This "implicit" transaction is being turned on and off, seemingly independent of the container.
              Has anyone encountered this? What am I doing wrong?
              Thanks,
              Traci
              

              We are using weblogic5.1 and mssql2000. We are using jts to get connections to the dbase connection pool.
              I have a stateless session ejb with a method called "createUserProfile". This method is deployed with a descriptor indicating container managed with a setting of "Required" on this method:
              here's the relevant part of the descriptor.......
              - <assembly-descriptor>
              - <container-transaction>
              - <method>
              <ejb-name>com.nps.csi.profile.ejb.ProfileSession</ejb-name>
              <method-intf>Remote</method-intf>
              <method-name>createUserProfile</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
              </container-transaction>
              </assembly-descriptor>
              This method does multiple create() calls on various entity beans and I want it to roll back should any exception occur during on any bean processed in this method.
              The remote interface signature for the method looks as follows:
              public void createUserProfile(ProfileBean signUp)
              throws RemoteException, CreateProfileException;
              I have a try/catch block around most of the code in this method which catches "Exception". If an Exception occurs it then re-throws my custom exception, CreateProfileException.
              Problem: the transaction is not rolling back when an Exception occurs. I did a sql trace on the output and it appears that there is an "implicit" transaction being set and commits are occuring after I do a create on an entity bean, even though no commits are being issued by the entity beans (or any other code). This "implicit" transaction is being turned on and off, seemingly independent of the container.
              Has anyone encountered this? What am I doing wrong?
              Thanks,
              Traci
              

  • Urgent:Transaction  not working.

    Hi all,
    I have developed a report program.The report has a selection screen.It displays the report in ALV grid using "REUSEALVGRID" function.The program runs successfully from ABAP editor.But when i created a transaction for the program and tried to run the same using the created transaction code,the program returns to
    SAP easy access screen after the selection screen display.
    I tried in debugging mode,The program does not enter the
    START-OF-SELECTION event block.
    It is urgent.Can anyone throw more light into this problem.
    Thanks,
    G.Jayaprakash

    Hi,
    I think I may have discovered the problem. In SE93 when you define the transaction code, you must create it as a report transaction. ( choose the option <i><b>Program and Selection Screen (report transaction)</b></i> ).
    I suspect that you would have defined it as a dialog transaction ( the <i><b>Program and Screen (dialog transaction)</b></i> option ) and given the screen number as 1000.
    Hope I have identified the problem correctly.
    Regards,
    Anand Mandalika.

  • IOS In App Purchases restore transactions not working properly with Milkman Games ANE for Adobe AIR

    I am experiencing the following problems with Milkman Games in-app-purchases ANE dor Adobe AIR:
    PROBLEM 1
    0) StoreKit is created and correctly returns all the product IDs via StoreKit.storeKit.loadProductDetails()
    1) I purchase item A, the item is correctly purchased
    2) I purchase item B, the item is correctly purchased
    3) I uninstall and re-install the app
    4) I restore transactions via StoreKit.storeKit.restoreTransactions()
    5) Only item B is restored ( onPurchaseSuccess() is only triggered once for item B)
    EXPECTED BEHAVIOUR: I would expect that restoreTransactions() would trigger onPurchaseSuccess() for each of the items previously restored.
    PROBLEM 2
    6) I close the app
    7) When I restart the app, onPurchaseSuccess() for product B is fired without any of the app code calling it.
    Is StoreKit attempting to restore transactions by default everytime StoreKit is created? (i.e. StoreKit.create(); )
    Testing device: iPad2, iPhone4
    Operating System: iOS 7 and iOS 6
    Compiling for: AIR 3.8
    Type of item purchased: all items tested are non-consumable
    Did anyone ever experienced such a behaviour with iOS in-app-purchases in an AIR mobile app? Any ideas or pointer in the right direction are appreciated, thanks!

    Shared Objects aren't working for me after the last update Adobe Flash Pro 13.1.0.217 and Air 3.9.0.1380. After exporting to the iPad the apps I get an erro when using Flush command:
    Error: Error #2130: Unable to flush SharedObject.
              at Error$/throwError()
              at flash.net::SharedObject/flush()
              at CleverClimbers_fla::MainTimeline/frame1()[MyFile_fla.MainTimeline::fr ame1:133]
              at CleverClimbers_fla::MainTimeline/frame1()
    Cannot display source code at this location.
    Debug session terminated.
    Any ideas for this?

  • After new installing Solman 4.0 , the DSWP transaction not work

    hi gurut there,
    We did two new installing of solman 4.0 ( SQL Server database), after installing ,start up SAP and other  post-install steps... it seems ready,then I start to setup RFC with satellite systems ,and added server ,database,logical components,but when I goto trans DSWP to set up nenw solution : I wrote the new solution name,and choose the language (EN), then click to continue , but it just stay and not continue...anything wrong about this,how can I configure this problem issue.
    the same problem also in our another installation.
    Waiting for your kind help !
    Wei

    Thank you all , I&#12288;&#65353;&#65357;&#65360;&#65356;&#65349;&#65357;&#65349;&#65358;&#65364;&#12288;&#65364;&#65352;&#65349;&#12288;&#65358;&#65359;&#65364;&#65349;&#12288;&#65297;&#65296;&#65296;&#65304;&#65303;&#65297;&#65303;&#12288;&#65292;&#65353;&#65364;&#12288;&#65353;&#65363;&#12288;&#65367;&#65359;&#65362;&#65355;&#12288;&#65358;&#65359;&#65367;&#65294;
    &#65364;&#65352;&#65345;&#65358;&#65355;&#12288;&#65369;&#65359;&#65365;&#12288;&#65345;&#65351;&#65345;&#65353;&#65358;&#12288;&#65281;
    &#65346;&#65349;&#65363;&#65364;&#12288;&#65362;&#65349;&#65351;&#65345;&#65362;&#65348;&#65363;&#65292;
    &#65335;&#65349;&#65353;

  • SOLMAN_SETUP transaction not working

    Hello Guru,
    For 6 weeks I installed the SOLMAN 7.0 EHP 1 and I upgrated it to the latest Package 20.
    I also configured everything alone and connected myERP system with the solman system.
    I upgraded both systems to the highest level using maintenance optimizer.
    Now, I'm wondering how and why should I use the SOLMAN_SETUP.
    So, one day I decided to started the transaction but unfortunately I get "500 connection time out" on the SAP Web Application Server.
    How can I resolve the issue.
    I'm also aware that I need to do this, to get an automactic maintenance certificat from SAP, which will be propagated to all other system without having the need to do it manually.
    Thanks for your Respond.
    Best Regards,
    Kais

    The first time you run SOLMAN_SETUP it has to compile all the web dynpros, which takes a lot of time.
    In Solution Manager run transaction SMICM and choose Goto -> Services.
    Choose the HTTP service and then choose Service -> Change from the menu.
    Change the Max Processing Time setting from the current value (default = 60) to 6000 and save.
    Then run SOLMAN_SETUP.
    When you're done, you can reset the HTTP service timeout, and when your restart the Solution Manager system it will also reset.
    Rich

  • Banking / Online Transactions not working on Safari ?

    Hi,
    Is there a separate browser to open secure baking / online trading websites on the iPhone 3G ?
    Unable to log in to my banking website from safari.
    Can you help ?

    Registry change required is different for 64 bit machines:
    save the following to a text file called HelpEnable.Reg and run on clients
    REGEDIT4
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
    "MaxAllowedZone"=dword:00000002
    FOR 64 BIT MACHINES:
    REGEDIT4
    [HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\Microsoft\HTMLHelp]
    [HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\Microsoft\HTMLHelp\1.x\ItssRestrictions]
    "MaxAllowedZone"=dword:00000001

  • Container-Managed Transaction Type Attributes not working as expected

    I am having a problem with the container-managed transactions not working as expected. I have 2 methods that work as follows:
    MethodA{
    for(a lot)
    call MethodB;
    @Transaction Type = RequiresNew
    MethodB{
    EntityManager Persist to database
    I want the code in MethodB to be committed to the database when methodB returns. The problem is that I am running out of memory and MethodA is failing. When methodA fails after numerous calls to MethodB nothing is persisted to the database.
    It is my understanding that when using requires new transactions that a new transaction is started for each call to the method and ends when the method returns while the calling method transaction is suspended.
    How am I misunderstanding the requiresNew transaction attribute. What can I do to make a batch insert into my database that will not run out of memory (commit when a methodB returns)?
    Thanks in advance.

    The problem is that EJB invocation semantics for security, container-managed transactions, etc.
    only apply when an invocation is made through an EJB reference. In your case, you are directly
    invoking the implementation method from within the bean. The EJB container has no idea that's
    happening. It's no different than invoking a utility method.
    In order to get the behavior you'd like, you need to retrieve a reference to your own bean and invoke
    through that. You can use SessionContext.getBusinessObject() to get the EJB reference for the
    business interface through which the method in question is exposed.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Enhancement Fields missing in the Inbound XML payload

    We are using XI3.0. We need to send some Purchase Order data from R/3 to SRM(SUS), in addition to what is available in the standard content. We have created the required datatype enhnacement. we have mapped these additional fields in the message mapp

  • Expdp full=y shows 'fatal error '

    Hi all,        any body, please help, I tried to take a full database export using expdp, with the schema name 'x' and password 'x', it is showing error  as follows, [oracle@oracleoel5 ~]$ expdp x/x directory=dpumpdir dumpfile=ramu.dmp full=y  parall

  • System preferences icon bug?

    Hey, Look at this: http://tagus.ist.utl.pt/~pedro.nogueira/hum.jpg You'll surely notice two icons that are wrong! Those on/off switches in place of the Software Update and Startup Disk icons... I made a clean install a few days ago... and I dont thin

  • Gutted

    Dropped my C7 yesterday. About a 30cm drop onto a hard surface. Until this happened, it was in immaculate condition because I've always kept it inside a protective wallet, but unfortunately it landed right on the top corner where the phone isn't prot

  • Regarding Credit Date in QA32.

    Dear All,                I am creating a daily credit  report , for this is am giving input as i.e. selection-options as credit date, my data is comming properly for certain date span but for 1 day date the data is nothig , i.e. : blank.