XA datasource autocommit is false when no transaction context
WLS 8.1SP4
I am usign MS SQL Serevr JDBC driver.
I use the XA driver: com.microsoft.jdbcx.sqlserver.SQLServerDataSource
I have an MDB, transaction not supported.
The MDB gets a connection from an xa datasource which maps to that SQL Server XA driver.
Even thogh the txn is not supported, autocommit is set to TRUE in the connection. I want it false. I know that I can use a non-txnal DS, but why is autocommut false when I have transaction context?
Kind Regards,
Graham.
grahamh wrote:
WLS 8.1SP4
I am usign MS SQL Serevr JDBC driver.
I use the XA driver: com.microsoft.jdbcx.sqlserver.SQLServerDataSource
I have an MDB, transaction not supported.
The MDB gets a connection from an xa datasource which maps to that SQL Server XA driver.
Even thogh the txn is not supported, autocommit is set to TRUE in the connection. I want it false. I know that I can use a non-txnal DS, but why is autocommut false when I have transaction context?
Kind Regards,
Graham.Hi Graham. You are correct. This is a bug we have fixed.
Please contact support and ask for the sp4 patch for
CR212051.
Joe
Similar Messages
-
DataSource CORP_LDAP: Naming exception when trying to create principal
Using NetWeaver 6.40 SP 15.
I have configured the UME to use writable LDAP and database. Specifically, for LDAP I'm using the Sun One Directory Server. I'm able to authenticate using one of the LDAP users using a Web Dynpro app.
When I try to create a user through the NWA web app, I simply get a "Could not create user" error in the application. In the server instance "security.log" I found the following:
Date : 03/08/2006
Time : 16:22:59:248
Message : DataSource CORP_LDAP: Naming exception when trying to create principal ***************************************************************************
com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
UniqueID: USER.CORP_LDAP.testuser
Type: USER
Home data source: CORP_LDAP
Private id part: testuser
"com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
"com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
"com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
"com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
"com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
"com.sap.security.core.usermanagement"|->"company" (no time limit)=""
"com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
Severity : Error
Category : /System/Security/Usermanagement
Location : com.sap.security.core.persistence
Application : sap.com/com.sap.security.core.admin
Thread : SAPEngine_Application_Thread[impl:3]_22
Datasource : 1141856104605:C:\usr\sap\J2E\JC00\j2ee\cluster\server0\log\system\security.log
Message ID : 000D60DD8A4D00540000001C0000136000040E8333C9FD7C
Source Name : /System/Security/Usermanagement
Argument Objs : CORP_LDAP,***************************************************************************
com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
UniqueID: USER.CORP_LDAP.testuser
Type: USER
Home data source: CORP_LDAP
Private id part: testuser
"com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
"com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
"com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
"com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
"com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
"com.sap.security.core.usermanagement"|->"company" (no time limit)=""
"com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
Arguments : CORP_LDAP,***************************************************************************
com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
UniqueID: USER.CORP_LDAP.testuser
Type: USER
Home data source: CORP_LDAP
Private id part: testuser
"com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
"com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
"com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
"com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
"com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
"com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
"com.sap.security.core.usermanagement"|->"company" (no time limit)=""
"com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
Dsr Component : <masked id>_J2E_7234450
Dsr Transaction : 79521ee0aef011da9168000d60dd8a4d
Dsr User : Administrator
Indent : 0
Level : 0
Message Code :
Message Type : 1
Relatives : com.sap.security.core.persistence
Resource Bundlename :
Session : 200
Source : /System/Security/Usermanagement
ThreadObject : SAPEngine_Application_Thread[impl:3]_22
Transaction :
User : Administrator
Where can I find the initial NamingException?Hi All,
Thanks for your replies and SORRY for my late response.
Now, what I actually want is that though my UME is connected to LDAP i want to the portal admin to be able to create users in the portal DB. I checked my UME configuration and it says
Microsoft ADS (Deep Hheirarchy) + Database
and the name of the configuration file is
dataSourceConfiguration_ads_deep_writeable_db.xml
Now I could not understand why I am not able to create users in the DB?
Does the portal has any restriction like at any given point of time only one of the user stores can be active? Doesnt the portal allow both the user stores to be active at a time?
regards,
PK -
"Error occurs when loading transaction data from other model" - BW loading into BPC
Hi Experts,
I'm having a problem with my data loading from BW, using the standard Load InfoProvider Selections data manager package.
If I run for a period without data it succeeds (with warning) but if there is data to be extracted I get the following error:
Task name CONVERT:
No 1 Round:
Error occurs when loading transaction data from other model
model: AIACONS. Package status: ERROR
As it runs ok when there isn't data it appears there is something preventing the movements of data out of the cube itself, rather then a validation issue.
Has anyone encountered similar or have any ideas as to the problem?
Best,
ChrisHi Vadim,
It's not specific to the transformation file as I have tried with others for the same BW cube and get the same result.
We get a warning when we try and validate the transformation file:
"Error occurs when loading transaction data from other model".
This only appears in the validation pop up and doesn't throw up any warnings about the transformation file itself. The validation log says:
Validate and Process Transformation File Log
Log creation time
3/7/2014 16:09
The result of validation of the
conversion file
SUCCESS
The result of validation of the
conversion file with the data file
FAIL
Validation Result
Validation Option
ValidateRecords = NO
Message
Error occurs when loading transaction data from other model
Reject List
I can't find any errors anywhere else.
Best,
Chris -
Operating Unit List Of Values is Null When Entering Transaction Types
Hi,
Operating Unit List Of Values is null when entering Transaction Types in Receivables Manager responsibility. I also re-checked MO: Security Profile and MO:Operating Unit Profile options that were set correctly. Please let me know how to troubleshoot the problem and fix accordingly.
Thanks for the help.
Regards,
SriThere are some pointers in the below note
Troubleshooting Transaction Types In Oracle Receivables [ID 1090878.1]
Mahendra -
Exception when running transactions across 2 servers
I have the following scenario, all happening within one transaction:
- Session Bean is instantiated
- Session Bean gets initial context and creates entity bean home interface and
creates bean
- Session Bean hands the entity bean to client.
If I do this on one server with everything using the same initial context, everything
works fine.
But if I create the entity bean on a remote server through JNDI like I would in
a Java application, I get the following exception:
<Jul 12, 2001 3:03:42 PM EDT> <Error> <EJB> <Exception during commit of transact
ion transaction=(IdHash=2954511,Name = [EJB UserBeanImpl.registerUser()],Xid=19:
1cd29180e262f7f6,Status=Unknown,numRepliesOwedMe=0,numRepliesOwedOthers=0,second
s since begin=0,seconds left=29,ServerResourceInfo[weblogic.jdbc.jts.Connection]
=(state=new,assigned=none),SCInfo[localhost]=(state=active),SCInfo[localserver]=
(state=active),properties=({weblogic.transaction.name=[EJB UserBeanImpl.register
User()], weblogic.jdbc=t3://127.0.0.1:7001, weblogic.debug.DebugContext=weblogic
.utils.DebugContext@6dcfde})): javax.transaction.SystemException: java.lang.Null
PointerException
at weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.
java:302)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
sactionImpl.java:155)
at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
01)
at com.clearpulse.ejb.UserBeanEOImpl.registerUser(UserBeanEOImpl.java:37
at com.clearpulse.ejb.UserBeanEOImpl_WLSkel.invoke(UserBeanEOImpl_WLSkel
.java:142)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
va:373)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
ef.java:128)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
va:237)
at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestH
andler.java:118)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:17)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
I'm getting the initial context remotely through T3 using the Weblogic JNDI factory.
But I'm getting this error when the transaction is committed.
We're using Oracle's oracle.jdbc.driver.OracleDriver to connect to Oracle 8i.
Hi Suraj,
I think that the XI communication channel which i am using for my java server proxy is fine becoz after selecting XI as my adapter type then Adapter Engine contains Integration Server(by default) there i used to write the port number(in this case it is the port number of non central adapter engine where my proxy beans are deployed) as shown below:
Adapter type: XI
Adapter Engine: Integration Server.
Addressing type: URL address
Target Host: YYYY
Service number: 51000( port number pointing towards the non central adapter engine installed)
And also the message log which is coming under MDT is like this after running the scenario:
2009-10-29 11:55:01 Information The message was successfully received by the messaging system. Protocol: XI URL: http://YYYY:51000/MessagingSystem/receive/JPR/XI Credential (User): XXXX
2009-10-29 11:55:01 Information Using connection JPR. Trying to put the message into the receive queue.
2009-10-29 11:55:01 Information Message successfully put into the queue.
2009-10-29 11:55:01 Information The message was successfully retrieved from the receive queue.
2009-10-29 11:55:01 Information The message status was set to DLNG.
2009-10-29 11:55:01 Information Java Proxy Runtime (JPR) accepted the message.
2009-10-29 11:55:24 Error JPR could not process the message. Reason: Cannot locate proxy bean JavaProxy3.
2009-10-29 11:55:24 Error Delivering the message to the application using connection JPR failed, due to:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: Cannot locate proxy bean JavaProxy3.
2009-10-29 11:55:24 Information The message status was set to WAIT.
Please suggest some solution.
Thanks
Amit -
Error Message When Running Transaction F.05
When running transaction f.05 to revalue foreign currency items, I am getting an error message" Error 543 FC Valuation SAPF100" for two of the G/L accounts and showing on the report <Expen.> and <Adjust.> instead of G/L accounts shown for debit and credit entries. No document or reversal document is created for these two accounts.
Any help is appreciated.Thanks for taking the time to reply.
I have checked OB59. The foreign currency valuation method is already defined. and in OBA1, these two G/L accounts are also there. I could not find any field on the G/L master where to assign the valuation method. For some reason, other G/L accounts mentioned in OBA1 are being posted correctly and are generating the documents and reversal documents except these two G/L accounts. For the correct G/L accounts, against the Debit and Credit posting keys G/L accounts are shown while for these two accounts, <Expen.> and <Adjust.> is written at the place of G/L accounts in the report. Can you please tell me from where the system is picking these accounts that are shown for Debit(40) and Credit(50) posting? -
Error message when running Transaction Code = ME84
hi,
i am getting an error message when running Transaction Code = ME84
Error is 'No processing (error message P5 017), No data for chosen selection'
can someone please guide me on this ?Hi Mahendra,
There are several reasons for the release not happeneing.
1. The issue could be in the selection of release type
2. Scope of selection
3. Strategy profile
Please check whether the selection parameters are considered are right for release to happen.
Regards,
Harish -
Error occurs when loading transaction data from other model
Hello Experts, I am trying to validate my transformation file and I can see peculiar behaviour of the transformation file. Even though the transformation file is not complete/ complete with all the mappings, i am getting the same error as above.
I can see options, mapping and conversion sections are validating successfully and throwing the above error.
Incomplete Transformation File
*OPTIONS
FORMAT = DELIMITED
HEADER = YES
DELIMITER = ,
AMOUNTDECIMALPOINT = .
SKIP = 0
SKIPIF =
VALIDATERECORDS=YES
CREDITPOSITIVE=YES
MAXREJECTCOUNT= 10
ROUNDAMOUNT=
*MAPPING
CUSTOMER = *NEWCOL (NO_CUST)
Validating the transformation files
Validating options...
Validation of options was successful.
Validating mappings...
Validation of mappings was successful.
Validating conversions...
Validation of the conversion was successful
Creating the transformation xml file. Please wait...
Transformation xml file has been saved successfully.
Begin validate transformation file with data file...
[Start test transformation file]
Validate has successfully completed
ValidateRecords = YES
Error occurs when loading transaction data from other model
Validation with data file failed
I am getting the same error with complete transformation file also. Please let me know where I am doing the mistake or is it a system error?
Thanking you
PraveenHi,
By
*MAPPING
CUSTOMER = *NEWCOL (NO_CUST)
you want CUSTOMER to receive a fixed string "NO_CUST"?
If so use,
*MAPPING
CUSTOMER = *STR (NO_CUST) -
Error occurs when loading transaction data from other cube
Hi Gurus,
I'm currently working on a Transformation File for loading Transactional Data from BW to BPC but a error message is displayed "Error occurs when loading transaction data from other cube". I have already checked permissions for my user, double checked my transformation file and the dimensions, made all conversion files needed and the message has not changed.
Can anybody help me to solve this problem?!
Thanks a lot & Best Regards,
HHHi,
Here, the Transformation File & Conversion File. I have already tested both with another different InfoCube and they work but no for the one needed.
*OPTIONS
FORMAT = DELIMITED
HEADER = YES
DELIMITER = ,
AMOUNTDECIMALPOINT = .
SKIP = 0
SKIPIF =
VALIDATERECORDS=YES
CREDITPOSITIVE=YES
MAXREJECTCOUNT=
ROUNDAMOUNT=
*MAPPING
Category=*NEWCOL(ACTUAL)
P_0BASE_UOM=0BASE_UOM
P_0BUS_AREA=0BUS_AREA
P_0COSTCENTER=0COSTCENTER
P_0FUNDS_CTR=*NEWCOL(null)
P_0GL_ACCOUNT=0ACCOUNT
P_0LOC_CURRCY=*NEWCOL(MXN)
P_0MATL_TYPE=*NEWCOL(null)
P_0VENDOR=0VENDOR
P_DataSrc=*NEWCOL(UPLOAD)
P_ZMATERIAL1=0MATERIAL
P_ZMATERIAL2=*NEWCOL(null)
P_ZMATL_CLASS=*NEWCOL(null)
P_ZMATL_TESP=*NEWCOL(null)
P_ZRATIO=*NEWCOL(KF_inpmdInt)
Time=0CALMONTH
SIGNEDDATA=0TOTALSTCK
*CONVERSION
Time=Time_conv.xls
EXTERNAL INTERNAL
201101 2011.JAN
201102 2011.FEB
201103 2011.MAR
201104 2011.APR
201105 2011.MAY
201106 2011.JUN
201107 2011.JUL
201108 2011.AUG
201109 2011.SEP
201110 2011.OCT
201111 2011.NOV
201112 2011.DEC
Thank you for taking at glance to the files.
Best Regards,
HH -
Can we restict a transaction when another transaction is running
Hi All,
1. Is there any way to trace which particular transaction is running? say SE38, not user specific, globally? It has to be traced programmatically.
2. Is it possible to restrict another transaction when one transaction is running. For eg. I want that when ST05 will run, SE38 should not run.
3. Is there any transaction to create custom event that will run autometically to restrict other transaction from running when one particular transaction is running.
Looking for your valuable suggestion/s.
Thanks and regards,
Atanu
Message was edited by: Atanu DeyHi!
I appreciate the valuable effort you have given to analyze the problem. I will be more specific with my requirement. It says:
When we run transaction EA10 to create mass bills or invoice, the transaction is running fine even for multiple users firing lot of data in the production system.
But, but, when someone is trying to run transaction FPMA to do autometic clearing for some business partner/s the transaction EA10 is throwing error as Mass Block.
Reason: One table in EA10 transaction is getting locked during updation, more logical. But second transaction is trying to fetch data from same table just hindering the process.
Probable solution: Do not allow to run transaction FPMA when transaction EA10 is running. After total execution, allow to run the other transaction.
Both of them are creating background job runtime and processing as well. Stop other job running when previous job is active. SAP program, no change/s allowed. (
Any more suggestion please. (
Best wishes,
Atanu -
Is it normal that the DataSource field is blank when opening a master data
Is it normal that the DataSource field is blank when opening a master data which is also an InfoSouce in InfoSource page.
Just locate an InfoSource which is also a master data or data target where next to which is a green triangle picture icon in InfoSource page, open it, the top part (Commnication Structure) is automatically expended. Expend the lower part "Transfer_Structure/Transfer_Rules", find the DataSource field is blank. This only occurs for an InfoSource which is also a master data which have more than two data loads (e.g., one is attibute, and the other is text load) or there are two InfoPackage loads for this master data. We checked for master data with only one InfoPackage under it (e.g., only text load) and find it's OK that the datasource field is not blank when expending the lower section.
ThanksKevin
It's not common. If you have three Data Sources like attributes, texts and hierarchy by default attribute data source will appear on the screen and for the rest of the things we need to do dropdown and select. This is how in general it appears.
Thanks
Sat -
When executing Transaction MRLH, it says "Function not currently possible"
Hi All
When executing Transaction MRLH, it says "Function not currently possible" which is the exact scenario discussed in Note 192664. But this note is valid only for 4.X where our system is ECC5. So if we try to implement this note it says "Note cannot be implemented".
But still the error message is comming.
Any ideas regarding what we can do to over come the scenario?
BR
ThanuraHi all,
I am getting the exact same dump.
And in my case, I am not providing any input.
I have made a non-obligatory selection screen parameter, and then appended that to a table type of the local structure of select options that i made.
Then i am passing this to a fm as an importing parameter.
And it is giving dump on the first query in the fm.
If I don't use the fm, then in that case, it is working fine, and if the field is blank it fetches all records,
but why it is not working now..., any ideas??? -
Error SG 105 when executing transaction KKAK
Hi,
When executing transaction KKAK (Results Analysis) for month end processing we get the following error for a especific sales order:
"E SG105 Enter rate CAD/USD rate type P for 01/01/2010 in the system settings"
My question will be: why is the system asking to enter that rate which we never use. We use rate M but not P. Is that really necessary?
We are using release 470, level 003, Support Package SAPKH47031.
Thanks for your help.HI,
in the year-depending parameters of the controlling area version definition, the ex.rate type (P) and the valid-from-date is defined, thats why P is used.
Best regards, Christian -
What type of license should the user be assigned when passing transactions through the DI Server?
We used to assign indirect access licenses to users that were just using the DI Server. We have one add-on developer that says that the user has to be a Profession license. Current environment is SAP B1 9.0 PL10. My understanding was that you could have up to 10 users assigned to a single DI Server license.Hi,
From the license guide,
Indirect Access – has access to any SSP solutions (developed with the SAP Business One DI-API) only. The Indirect Access license is bundled with the DI server. Users who have an Indirect Access license can access a limited number of application forms, but cannot perform any functions with the SAP Business One application. Users who have an Indirect Access license can access an unlimited number of SSP solutions
Thanks & Regards,
Nagarajan -
ExecuteBatch commits even if autocommit is false ?
Hello !
Is it true that executeBatch (e.g on PreparedStatement) commits
the changes after running ? We tried using a temporary table
with on "commit delete rows" and fill this table with
executeBatch().
The following Statements seem to find this table empty.
Using normal tables or on commit preserve rows works.
OF course autocommit is false and the temporary table is used
on the same connection.
If it is true, does this violate the jdbc-spec ?
Tested with 8.1.7 Database on sparc and the classes12.zip from
9.0.1
ThanksSMB 3 in Windows Server 2012 adds the capability to make data transfers secure by encrypting data in-flight, to protect against tampering and eavesdropping attacks. The biggest benefit of using SMB Encryption over more general solutions (such as IPSec) is
that there are no deployment requirements or costs beyond changing the SMB Server settings.
http://blogs.technet.com/b/filecab/archive/2012/05/03/smb-3-security-enhancements-in-windows-server-2012.aspx
http://technet.microsoft.com/en-us/library/jj635714.aspx
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Maybe you are looking for
-
Installing CS3 upgrade on new iMac (from G5)
The serial no. for CS2 renders error message: "Serial no. does not match...".
-
Track external messages in XI and SAP
Hi XI guys. I have following question: external system wants to get application acknowledgements from SAP and XI that particular document has been posted successfully in SAP. It is going to assign Unique number to every XML message and wants response
-
Why won't my quicktime reinstall?
I accidentally deleted my QuickTime app and I'm trying to get it back. I've gone to the Apple website and tried to download it again, but after I download the installer package, which then theoretically installs QuickTime, and I restart my computer,
-
Hi, Im very new to the whole Web Serivce, SOA and BPEL technics. I read the specifications, tutorials and examples and now Im starting to get to know in these things. But I recognize that multiple sources give different answers in the case of composi
-
How to download and install ios8 in iphone 5s
I revcieved a software update ios8 and when i was looking for,to download and install,the process could not be accessed despite turning on the wifi network.kindly assisst... Dr prince