How to know transaction manager performance
how to know what is the screen / form i can use to perfrom any transaction and monitor the performance from there
Hi;
Please see below
http://www.scribd.com/doc/54151230/EBS-Concurrent-Manager-Performance-Best-Practices
http://blogs.oracle.com/ebs/2011/01/concurrent_manager_performance_-bestpractices_-_us.html
Regard
Helios
Similar Messages
-
How to know Warehouse Management is active or not in the system ?
Hi Guys,
How to know Warehouse Management is active in the system ?
I have found Table TCURM and Field LVS_CUS to know WM is active or not. If thsi field LVS_CUS is 1 means WM is active and other than 1 means WM is not active. I have tried to run scenarios in WM by making this field is in active but all scenarios are running properly.
So, what is the use of this and how to control this ?
Give your valuable answers for this.Hello Narsimha..
Just go to Transaction:EC01
Go to Structure ,then Navigation,
select your Co.Cd(eg:1000) ,open it by double clicking it..
drill down to you plant and storage location,
check wether Warehouse is assigned.
If assigned WH is active ,if not not active..
Hope this helps
Arshad -
How I know which manageability tools(Oracle Change Management Pack,Oracle C
Dear all,
How I know which manageability tools(Oracle Change Management Pack,Oracle Configuration Management Pack,Oracle Diagnostic Pack,Oracle Tuning Pack, etc.) are installed on my oracle databases? Is there v$view to look at? Thank you in advance for your help.The usual method is described in http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#CIHGFIAF
-
How to know as5300 standard performance
HI
i am having problem in access server that the users get disconnected so i want to know the standard performance of the AS5300 access servers so that i can compare my as5300 performance with the standard access server performance. is there any command that can tell me. can you please tell me the commands or any URL from where i can get help in this regard.hi
I prefer to check the data sheet of the access server to get to more about the same..
do refer this link for more info..
http://cisco.com/en/US/products/hw/univgate/ps501/products_data_sheet09186a0080091ef2.html
regds -
How to Know Transaction Code from whcih the Document is Created?
Hi,
How to know which T Code is used to create documents. For few documents say material document (MBLNR), I can find the T code from MKPF table from which it is created as T Code field is available.
If the table doesn't contain a T Code field, then how to find the T Code from which document is created?
Regards,
Hari.CDHDR, if change documents are written. DBTABLOG, if table logging is active.
Otherwise...some knowledge of the SAP application components required.
Thomas -
How to know the CPU performance of Worker Role & Web Role
Hi,
We found out the CPU percentage for both Worker Role is less than 1% (0.77).
Any idea why it is very less?
Please help!
Thank you!
Regards,
KrishnaHi,
We can collect our CPU utilization information, and the article below give us the detailed steps to do this.
#http://azure.microsoft.com/en-gb/documentation/articles/cloud-services-dotnet-diagnostics/
there are many factors that affect CPU, I would suggest you analysis of
the information we received to find out the detailed information.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
@TransactionAttribute annotation being ignored by Transaction Manager
I am currently running jboss-4.0.4GA. I believe I must have something configured incorrectly, or I misunderstand transaction management performed by the container. Though I have my datasource declared as local-tx, which I believe allows transactions, it appears that my a call to a remote function in a stateless session bean is completely executed in one single transaction, regardless of the @TransactionAttribute tags.
In my example, I call a function with @TransactionAttribute = REQUIRED. This is the OUTER FUNCTION. This function inserts a record into the cust table of our database. Then this function calls a second function with @TransactionAttribute = REQUIRES_NEW. This is the INNER FUNCTION.
This function should, according to spec, start up a new transaction independant of the first function. However, the INNER function can select the (un-committed) cust record from the OUTER function. The INNER function then proceeds to add a cust record of its own to the database.
Control then returns to the OUTER function, which can succesfully read the cust record inserted by the INNER function, which is to be expected because the INNER function should have had its transaction committed. However, my program then throws a RuntimeException in order to force a rollback, and this rollback removes both the cust record inserted by the OUTER function and the cust record inserted by the INNER function.
To further my belief that the transaction manager is ignoring my @TransactionAttribute annotations, I change the TransactionAttributeType of the INNER function to "NEVER". According to spec, the code should throw an exception when this function is called within a managed transaction. However, when I run the code I get the exact same behavior as when the INNER function is "REQUIRES_NEW".
I would greatly appreciate if anyone has any insight into what I am doing wrong. Thanks!
Client Program that Invokes TestTransImpl Stateless Session Bean
public class Client{
public static void main(String[] args) throws Exception {
try{
Properties env = new Properties();
env.setProperty(Context.SECURITY_PRINCIPAL, "guest");
env.setProperty(Context.SECURITY_CREDENTIALS, "guest123");
env.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
env.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory");
InitialContext ctx = new InitialContext(env);
TestTransRemote ttr = (TestTransRemote)ctx.lookup("TestTransImpl/remote");
ttr.testTransactions();
}catch(Exception e){
e.printStackTrace();
throw e;
}Remote Interface for TestTransImpl Stateless Session Bean
public interface TestTransRemote extends Serializable {
public void testTransactions() throws Exception;
}TestTransImpl Stateless Session Bean
@Stateless
@Remote(TestTransRemote.class)
public class TestTransImpl implements TestTransRemote {
private static final long serialVersionUID = 1L;
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public void testTransactions() throws Exception{
java.sql.Connection conn = getConnection();
java.sql.PreparedStatement ps;
ps = conn.prepareCall("insert into cust(loc,cust_no) values ('001',20)");
ps.execute();
System.out.println("OUTSIDE FUNCTION - Customer 20 created");
requiredNewFunction();
ps = conn.prepareCall("Select cust_no from cust where loc = '001' and cust_no = 24");
java.sql.ResultSet results = ps.executeQuery();
results.next();
System.out.println("OUTSIDE FUNCTION - Customer Read - Cust No = " + results.getLong("cust_no"));
throw new RuntimeException();
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
private void requiredNewFunction() throws Exception{
java.sql.Connection conn = getConnection();
java.sql.PreparedStatement ps;
ps = conn.prepareCall("Select cust_no from cust where loc = '001' and cust_no = 20");
java.sql.ResultSet results = ps.executeQuery();
results.next();
System.out.println("INSIDE FUNCTION - Customer Read - Cust No = " + results.getLong("cust_no"));
ps = conn.prepareCall("insert into cust(loc,cust_no) values ('001',24)");
ps.execute();
System.out.println("INSIDE FUNCTION - Customer 24 created");
private java.sql.Connection getConnection() throws Exception{
javax.sql.DataSource ds;
javax.naming.InitialContext ic = new javax.naming.InitialContext();
ds = (javax.sql.DataSource)ic.lookup("java:MyOracleDS");
java.sql.Connection conn = ds.getConnection();
return conn;
}Datasource XML File
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>MyOracleDS</jndi-name>
<connection-url>jdbc:oracle:thin:XXXXX(DB Host):1521:XXXXX(DB Sid)</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>XXXXX(username)</user-name>
<password>XXXXX(password)</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>100</max-pool-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
<metadata>
<type-mapping>Oracle10g</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>Program Output
08:43:41,093 INFO [STDOUT] OUTSIDE FUNCTION - Customer 20 created
08:43:41,125 INFO [STDOUT] INSIDE FUNCTION - Customer Read - Cust No = 20
08:43:41,140 INFO [STDOUT] INSIDE FUNCTION - Customer 24 created
08:43:41,140 INFO [STDOUT] OUTSIDE FUNCTION - Customer Read - Cust No = 24All ejb invocation behavior, including authorization, container-managed transactions, etc. only applies when the call is made through one of the appropriate ejb client objects. If
TestTransImpl.testTransactions() directly invokes requiredNewFunction() it's just a normal java
method call -- the ejb container has no idea it's happening and is not interposing. If you want
the full ejb invocation behavior when you invoke requiredNewFunction() you'll need to
make sure requiredNewFunction is part of a business interface, is public, and is invoked through
the corresponding ejb reference :
@Resource private SessionContext ctx;
public void testTransactions() throws Exception {
TestTransRemote testTrans = ctx.getBusinessObject(TestTransRemote.class);
testTrans.requiredNewFunction();
} -
Using datasources: How to manage transactions when perform. update/insert?
I've been trying to find information on how datasources manage transacctions but I've been unable to find much information. I've read that for XA datasources you dont have to commit, save and rollback manually, but how are transactions managed for non-XA datasouces?+ I've only seen examples with select statements, such as in the example on this page [this page|http://developers.sun.com/jscreator/reference/techart/2/jdbc.html], but I've never seen a working example with insert and updates.
Can anyone point me to some examples?*
Also, when I use the DriverManager instead of the DataSource for doing updates/inserts I use the setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE) method. Can that be used with datasources?+
Thank you <img class="emoticon" src="images/emoticons/laugh.gif" border="0" alt="" />If you are using a connection pool, how are you guaranteeing that you are using the same connection throughout the same application? Look at the following:
1) You grab a connection from the pool
2) You call procedure A
3) You call procedure B and issue rollback in procedure
4) You call procedure C
5) You close your connection
Are you saying you made changes in procedure A and when you issued a hard rollback in procedure B, the changes in A were not rolled back?
I'm guessing the problem is that you are not issuing your statements using the same connection. -
How Transaction Manager work with Resource Manager, like Connection pool?
hi,
I'm using BEA Webloigc8.1 Stateless Session Bean/DAO/Oracle stored proc.
but I'm not quite clear how Transaction Manager work with Resource Manager, like Connection pool.
my understanding is that, in a weblogic transaction, a stateless session bean interact with several DAOs, and for each method of DAO a connection is acquired from connection pool. I've heard that the connection will not return to pool until the transaction commits.
My question is that, does it mean that for a weblogic transaction, multiple connections might be allocated to it? and if multiple connections are allocated, then how many oracle transactions would be started? or multiple connections share the same oracle transaction?
I didn't feel it make sense to start multiple oracle transactions, cause deadlock might be incurred in a single weblogic transaction.
any help appreciated!Xin Zhuang wrote:
hi,
I'm using BEA Webloigc8.1 Stateless Session Bean/DAO/Oracle stored proc.
but I'm not quite clear how Transaction Manager work with Resource Manager, like Connection pool.
my understanding is that, in a weblogic transaction, a stateless session bean interact with several DAOs, and for each method of DAO a connection is acquired from connection pool. I've heard that the connection will not return to pool until the transaction commits.
My question is that, does it mean that for a weblogic transaction, multiple connections might be allocated to it? and if multiple connections are allocated, then how many oracle transactions would be started? or multiple connections share the same oracle transaction?
I didn't feel it make sense to start multiple oracle transactions, cause deadlock might be incurred in a single weblogic transaction.
any help appreciated!Hi. If you configure your WLS DataSource to use keep a connection for
the duration of a tx, it will do that, and in any case there can be
no deadlock however many connections operate for a given XA transaction.
Here is the best coding form for DAOs or any other user-written code
for using WebLogic DataSources. This is important for two reasons:
1 - Thread-safety is maintained as long as the connection is a
method-level object.
2 - It is crucial to notify WebLogic that you are done with a connection
ASAP, by your calling close() on it. We will then put it back in the
pool, or keep it under the covers for your next request if it's in a
transaction etc. The pool is optimized for quick get-use-close scenarios.
public void one_of_my_main_JDBC_Methods()
Connection con=null; // Must be a method level object for thread-safety
// It will be closed by the end of the method.
try {
con = myDataSource.getConnection(); // Get the connection in the try
// block, directly from the WebLogic
// datasource
// do all the JDBC within this try block. You can pass the
// connection to subordinate methods, but not to anywhere
// that thinks it can use the connection later.
rs.close(); // close any result set asap
stmt.close(); // then close any statement asap
// When you're done with JDBC
con.close(); // close the connection asap
con = null; // nullify it so the finally knows it's done
catch (Exception e) {
// do whatever catch stuff you want. You don't
// need a catch block if you don't want one...
finally {
// It is important to close a JDBC connection ASAP when it's not needed.
// without fail, and regardless of exit path. Do everything in your
// finally block in it's own try-catch-ignore so everything is done.
try { if (con != null) con.close();} catch (Exception ignore){}
return ret;
} -
Improving performance:How to know selected rows in af:table through chk box
Hi,
I've a VO which has 3 transient variables. 2 of these transient variables getting the values from a view accessor. Using the other transient variable in the Ui to select the rows in the af:table.
In my UI, I've a table and a Check Box to select the rows. I want to get the selected rows through the check box, in the backing bean for my business requirements.
I've used below logic to get the selected rows. Here, I am iterating through the entire viewobject rows, so it is impacting the performance of the UI. How can I know the selected rows in the bean? or How can I improve the performance?
I also applied below view criteria, but still its not performant.
// ViewCriteria vc = vo.createViewCriteria();
// //.getViewCriteriaManager().getViewCriteria("SelectedMerchantCriteria");
// ViewCriteriaRow vcr = vc.createViewCriteriaRow();
// vc.setCriteriaMode(ViewCriteria.CRITERIA_MODE_CACHE | ViewCriteria.CRITERIA_MODE_QUERY);//MerchantName1
// //vcr.setAttribute("MerchantName1", "1017 CAFE");
// vcr.setAttribute("SelectToMap", "true");
// vc.addRow(vcr);
// vo.applyViewCriteria(vc);
// vo.executeQuery();
public void mapSupplierMerchant2(ActionEvent actionEvent) {
// Add event code here...
OperationBinding method = null;
AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
Map pageFlowScope = adfFacesContext.getPageFlowScope();
ArrayList merchantMappingList = new ArrayList();
Long primaryVendorId = null, groupId = null;
CollectionModel tableModel = (CollectionModel) this.getMerchantTable().getValue();
JUCtrlHierBinding tableBinding = (JUCtrlHierBinding) tableModel.getWrappedData();
ViewObject vo = tableBinding.getViewObject();
// ViewCriteria vc = vo.createViewCriteria();
// //.getViewCriteriaManager().getViewCriteria("SelectedMerchantCriteria");
// ViewCriteriaRow vcr = vc.createViewCriteriaRow();
// vc.setCriteriaMode(ViewCriteria.CRITERIA_MODE_CACHE | ViewCriteria.CRITERIA_MODE_QUERY);//MerchantName1
// //vcr.setAttribute("MerchantName1", "1017 CAFE");
// vcr.setAttribute("SelectToMap", "true");
// vc.addRow(vcr);
// vo.applyViewCriteria(vc);
// vo.executeQuery();
List<JUCtrlHierNodeBinding> merchantList = (List<JUCtrlHierNodeBinding>)tableBinding.getChildren();
JUCtrlHierNodeBinding merchantNode = null;
List supToMap = new ArrayList();
boolean isMerchantSelected = false, isMasterSup = false;
Long merchantIdToMap = null, masterSupId = null;
Row r = vo.first();
while(r!=null) {
System.out.println("================================ " + r.getAttribute("MerchantName1") + " " + r.getAttribute("SelectToMap") );
if(r.getAttribute("SelectToMap")!=null) {
isMerchantSelected = (Boolean) r.getAttribute("SelectToMap");
if(isMerchantSelected) {
merchantIdToMap = (Long) r.getAttribute("MerchantMapId");
if(merchantIdToMap!=null) merchantMappingList.add(merchantIdToMap);
r = vo.next();
if(merchantMappingList.size()>0) {
primaryVendorId = (Long) pageFlowScope.get("primaryVendorId");
groupId = (Long) pageFlowScope.get("groupId");
method = (OperationBinding) ADFUtil.findOperation("mapSupplierMerchant");
if(method!=null) {
Map paramMap = method.getParamsMap();
paramMap.put("vendorId", primaryVendorId);
paramMap.put("groupId", groupId);
paramMap.put("merchantList", merchantMappingList);
Boolean result = (Boolean) method.execute();
List errors = method.getErrors();
if(result!=null && result) {
this.getMerchantMappedFlag().setValue(true);
AdfFacesContext.getCurrentInstance().addPartialTarget(this.getMerchantMappedFlag());
AdfFacesContext.getCurrentInstance().addPartialTarget(this.getMerchantTable());
tableBinding.getViewObject().setRangeSize(25);
FacesMessage message = new FacesMessage("The selected merchants have been mapped to the group. Please save the changes. " );//+ adfFacesContext.getPageFlowScope().get("merchantGroupName") );
message.setSeverity(FacesMessage.SEVERITY_INFO);
FacesContext.getCurrentInstance().addMessage(null, message);
} else {
FacesMessage message = new FacesMessage("No merchants have been selected for mapping. Please select atleast one merchant." );//+ adfFacesContext.getPageFlowScope().get("merchantGroupName") );
message.setSeverity(FacesMessage.SEVERITY_ERROR);
FacesContext.getCurrentInstance().addMessage(null, message);
}Hi
Please check this post [http://adfwithejb.blogspot.in/2012/08/hi-i-came-across-one-common-use-case.html].
It has clear explanation of how to provide a checkbox for selection of rows. You can also go through my comments at the end of the post. That should solve your problem of iterating through the entire VO.
Thanks,
Rakesh -
How to know if system is running in 40W low performance mode ?
I experienced the same problem than described in this topic: lower performance with charger than with battery!
(But I had set everything on Maximum Performance both in BIOS and in Windows's Power settings, so I think everything was done on software-side).
How to know if the system runs with lower performance (is it a 40W max mode? btw how did you know it is called "40W mode" ? I saw this figure nowhere else than in the mentioned-above topic) , except using a soft to do some benchmarking? Is there a place in BIOS (I didn't find!) ?Benoit34 wrote:
Hi,
I have a mac book pro & a friend has an Imac, how to know if we are both running Leopard under 32 or 64 bit.
I see that Leopard support 64, but didn't find if it was actually running in 64.
Regards,
Benoit
Welcome to Apple Discussions:
if your computer is 64-bit, Leopard is running in the 64-bit mode. There are a few caveats about this but basically this is the case. -
How I know if there notification for each transaction in each module
dear Consultant's
How I know if there notification for each transaction in each module and if it's enabled or need to enable
For example:
In AP:
When I create, transaction is there any notification send
When I create payment term is there any notification send
How I know what the standard oracle notification create for each module
thanks for caringI can't believe there's still no proper answers for this question . I'm now struggling with the same issue as the original asker. It seems that at least with the newest version of Nokia Drive you can delete the maps saved (without the need to remove the whole application). You can do that even one by one. But the question is: "If I delete a particular map and load it again, will that be the newest version of the map? Or is there still a need to delete the whole Nokia Drive application, as said in the instructions linked earlier in this thread?"
Anyway, even deleting one map and loading it again sounds very frustrating without knowing if there actually is a new update or not. We should know exactly which is the current version of each map and wheter there is a newer version.
Many things are gone worse after Symbian. On Symbian phones, you could easily update all the maps with Ovi Suite. Now, with Zune, you can update the firmware, but not the maps which was a disappointment to me. I don't have WiFi connection, so, for me, it would be cheaper to download huge amounts of data with my computer's wired connection (with my phone connected to it via USB). Don't want to waste my monthly data limit to download again possibly the same map versions just to be sure...
But please, moderators and others, give us some comments and answers...
Loyal Nokia owner -
How to use transaction SOST & SCOT for checking Email performance ?
How to use transaction SOST & SCOT for checking Email performance ?
what exactly as CRM Functional we have to do in above transaction .
Please guide me . what is significance of these transaction ?
Regards,
Anup RecheHi Anup,
Transaction SOST is used to view the status of the sent mails from SAP.
You cna filter the mails sent by a particular user, on a specified date range and time.
You can list the mails in the status Waiting, Error, Sent or Transmitted.
You can also go to the log of the mail and see its details and can also open the mail sent by the user.
You can add the filters as per your requirement.
Transaction SCOT is SAP Connect used to make connections from SAP to external applications.
You cna configure sending of external mails in SCOT by specifying the SMTP host and port to be used.
Hope this gives you a basic idea of the 2 transactions.
Regards,
Saumya -
How to know what CBO programs uses transaction codes
Hello Everyone,
How to know what CBO programs uses transaction codes?
Thanks for the help!Hi,
Please clarify your question ....
for e.g. give program name -
How to know the forms associated with a specific transaction
Hi..
Can anyone please suggest me how to know the forms associated with a specific transaction.
For Example In Finance module.
I came to know from SDN the form associated with F.64 as F140_acc_stat_01.
But i need the steps how to track the form name.
Regards..
VinodhHi,
1.We cann't find the forms associated with a specific transaction.
2.But,based on requirement we can go for the form selection.
3.Suppose in account payable and receivable , we have different forms like customer statement, Dunning and Chek form etc.
4.The functional people can find the form name in SPRO and give the details of the requirement.
5.If u have the output type or formname u can go for the TNAPR and TTXFP tables and u can search for the respect object.
6.For FI u can directly find in the SPRO, by searching it with the form name.
Regards,
If helpful reward with points(Don't forget).
Maybe you are looking for
-
Macbook Pro 15" won't boot from ANYTHING :( Can't mount internal drive
Hi there, I'm new to these forums so please bear with me if I make a faux pas. A few days ago while watching a movie on my MBP Intel Core 2 Duo 2.5 the beach ball of death appeared and the computer became unresponsive. I restarted to the flashing fol
-
Data Pump - How Can I to use in Oracle 8i
Hi How can I to use Data Pump in Oracle 8 i ? is there other way for to export an import data ? I have to Export data from Database Oracle to Other Database Oracel only a table , some data
-
Which is the pratical limit on how many rows compose a report ?
Hi guys, I've a report which could contain a very big number of rows (probably 500k). When I work with "normal" number (10 - 20000) it works correctly (of course it's not very fast in the last case :-) but when the number of rows goes more up (200k/5
-
Error when compiling bean in Jdeveloper
Hi , I downloaded a bean who read data from excel file and put it in database, to implements in forms. when the bean try to read number from xls, it's stops with message indicating mismatch in type. i read source of the bean, i find that method used
-
HP Officejet 4500 Wireless with 10.9.1 - Problem is not the printer, just the scanner. The scanner seems to be working but the saved files are not good images, just a bunch of scanned lines. My printer shows up under Preferences>printers and Scanners