Transactions accross iFS and 'normal' database
I want to do a combined transaction where file operations are combined with normal table data transactions - for instance I would like to delete a file and at the same time insert a row in my log-table (this is just an example :-)).
The documentation is quite unhelpful here as it gives me no description on how to do this. Has anybody out there tries this ?
Thanks in advance
Jacob
Hi,
Is there a way to do something like this? I need to update a field in another schema on the same database as IFS, based on a action that happens in IFS.
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Jacob Due (jcd@ramboll:
Tkanks for the input but I really want a more general approach :-) - using a trigger will make something happen allways (I might have application functionality that should not trigger any action other than the iFS action), and I really do not like having my application code in database triggers. So what I whish for is that I can somehow have a shared transaction spanning across the iFS and the normal database with full two phase commit.
<HR></BLOCKQUOTE>
null
Similar Messages
-
Transaction accross multiple SQL Server 7.0 databases
Does any body know which driver to use to perform distributed transaction accross mutiple SQL Server 7.0 databases invloving CMPs .
Any help appreciated.
[att1.html]
Hi,
You can perform this action with the Oracle Migration Workbench. Just install the Workbench on the same machine as your SQL Server database.
You can then configure the workbench to point to the oracle database on your Sun machine.
You can use the Oracle database on your Sun machine for both your destination database (the database to which you migrate your SQL Server schema and data) and workbench repository.
In order to do this you will need to configure a tnsnames.ora entry. The tool that will do this configuration for you should be started up at the end of the workbench installation. It is a fairly straightfoward process.
You then need to create a user in your oracle database that will store the workbench repository.
Once you have comleted these steps you will be able to migrate SQL Server on NT to Oracle on Sun.
It is exactly the same process as migrating to Oracle on NT except you are pointing the Workbench to Oracle on a Sun box.
Regards
John -
What is difference between enjoy transactions and Normal transactions
What is difference between enjoy transactions and Normal transactions
Ex:- ME22 & ME22N
What is difference between these two.hi ,
the transaction code with 'N' are created with help of object concept.
In your case ME22 is obsolete one and ME22N is the tcode created with object concept.
pls Reward helpful points
Thanks
Siva -
Lookup-table and query-database do not use global transaction
Hi,
following problem:
DbAdapter inserts data into DB (i.e. an invoice).
Process takes part in global transaction.
After the insert there is a transformation which uses query-database and / or lookup-table.
It seems these XPath / XSLT functions are NOT taking part in the transaction and so we can not access information from the current db transaction.
I know workarounds like using DbAdapter for every query needed, etc. but this will cost a lot of time to change.
Is there any way to share transaction in both DbAdapter insert AND lookup-table and query-database?
Thanks, Best Regards,
MartinOne dba contacted me and made this statement:
Import & export utilities are not independent from characterset. All
user data in text related datatypes is exported using the character set
of the source database. If the character sets of the source and target
databases do not match a single conversion is performed.So far, that does not appear to be correct.
nls_characterset = AL32UTF8
nls_nchar_characterset = UTF8
Running on Windows.
EXP produces a backup in WE8MSWIN1252.
I found that if I change the setting of the NLS_LANG registry setting for my oracle home, the exp utility exports to that character set.
I changed the nls_lang
from AMERICAN_AMERICA.WE8MSWIN1252
to AMERICAN_AMERICA.UTF8
Unfortunately , the export isn't working right, although it did change character sets.
I get a warning on a possible character set conversion issue from AL32UTF8 to UTF8.
Plus, I get an EXP_00056 Oracle error 932 encountered
ORA-00932: inconsistent datatypes: expected BLOB, CLOB, get CHAR.
EXP-00000: export terminated unsuccessfully.
The schema I'm exporting with has exactly one procedure in it. Nothing else.
I guess getting a new error message is progress. :)
Still can't store multi-lingual characters in data tables. -
Transactions involving multiple caches and a database
Hi all,
I'm curious if the following is possible with the transaction support in Coherence.
I have the need to write data to two caches and a database from within my Tomcat container, and the whole operation must be atomic.
Example:
Write to database (this is NOT via a CacheStore)
Write to cache 1 (uses write-through to database)
Write to cache 2 (uses write-through to database)
If any operation fails, the whole transaction needs to rollback. This feels like an XA transaction, but it looks like it won't work like I expect because the cache must be the last resource, but I have two caches. The ordering of operations is not important.
Thanks,
RobMagnusE wrote:
When using write-through there is (as far as I know) no way to get a fully transactional behaviour (assuming you have more than one cache node) since each node is responsible for persisting its own data items (they will each use a separate connection to the database).
If you on the other hand uses a "cache beside" pattern this can be made transactional using XA. As long as both caches belong to the same cache service they count as a single "last resource"....
/MagnusYou also need to use the same transaction isolation and concurrency setting for it being the same last resource. Practically you should only have a single CacheAdapter instance enrolled in the same transaction.
Best regards,
Robert -
Is "sp_purge_data" available only to datawarehouses or can it be used with both a normal database and Azure storage as well ?
Thank you for the reply Qiuyun , the article was really helpful!
I do have couple of other questions for you :
How do we execute our SQL queries on Windows Azure tables and create horizontal partitions ? (I know that we have our SQL Server management Studio to execute normal queries on a SQL database , do we have a similar platform for Azure or do we have to get a local
copy of the database to execute our queries and the publish everything back to Azure)? I am looking to partition data on one of our databases and would like to know if it can be done in Azure directly or if we have to bring a local copy down ,write the
partition function and
and partition scheme or create a partition key and a row key - do the needful and publish it back to Azure?
Also, how do I create a partition key and row key in Windows Azure?
I am in the process of designing data archiving strategy for my team and would like to know more about the questions I just mentioned.
Hoping to hear back from you soon.
Thanks in advance for all the help!
-Lalitha. -
Transaction Help ? JMS and db2 database without appserver
We have a Queue and db2 database.
need to read the message from queue and write it to the database in a standalone application without appserver. Now question is how to have a single transaction for both the jobs?
Please advice!!!If you want to receive a JMS message and write to a database in the same transaction, then it sounds as if you are asking for the ability to enlist both transactional resources within the same XA transaction and then perform a two-phase commit of the two resources. If you use an application server then this is easy to configure.
Even if you don't want to use an application server (or some other container offering similar services), you will still need a transaction manager, but will need to enlist the transactional resources yourself. Possible but not easy. If an application server is too heavyweight, then look for lighter-weight alternatives.
Nigel -
Difference between Transaction database and relational database
Whats the Difference between Transaction database and relational database ??
'Transaction' refers to the usage of a database. 'Relational' refers to the way in which a given database stores data.
A 'transaction database' (or operational database) could be relational, hierarchical, et al. A transaction database supports business process flows and is typically an online, real-time system. The way in which that data is stored is typically
based on the application(s). Companies often have multiple 'transaction databases'.
An 'operational data store' (ODS) is an integrated view or compilation of transaction data.
The you get into data warehouse databases, where the transaction data is optimized for querying, reporting, and analysis activities. -
Errorlog filling with changed language setting and changed database context messages
On one of my servers, the ERRORLOG is filling with messages for "Changed language setting to..." and "Changed database context..." for every single connection. They are generated for any kind of connection--such as Management Studio.
How did this get turned on? How do I suppress the messages in the errorlog? This is the only server that's having the problem.
Example at the bottom.
SQL is: SQL 2008 R2 SP2
Trace flags set on this server are 3226, 1118, 1117
Date,Source,Severity,Message
01/24/2014 11:23:14,spid65,Unknown,Changed language setting to us_english.
01/24/2014 11:23:14,spid65,Unknown,Changed database context to 'master'.
01/24/2014 11:23:14,spid64,Unknown,Changed language setting to us_english.
01/24/2014 11:23:14,spid64,Unknown,Changed database context to 'master'.
01/24/2014 11:23:13,spid64,Unknown,Changed language setting to us_english.
01/24/2014 11:23:13,spid64,Unknown,Changed database context to 'master'.
01/24/2014 11:23:13,spid55,Unknown,Changed language setting to us_english.
01/24/2014 11:23:13,spid55,Unknown,Changed database context to 'master'.
01/24/2014 11:23:11,spid55,Unknown,Changed language setting to us_english.
01/24/2014 11:23:11,spid55,Unknown,Changed database context to 'master'.
01/24/2014 11:23:05,spid61,Unknown,DBCC execution completed. If DBCC printed error messages<c/> contact your system administrator.
01/24/2014 11:23:05,spid61,Unknown,The error log has been reinitialized. See the previous log for older entries.
01/24/2014 11:23:05,spid61,Unknown,Logging SQL Server messages in file 'F:\SysDB\Program Files\Microsoft SQL Server\MSSQL10_50.ETL\MSSQL\Log\ERRORLOG'.
01/24/2014 11:23:05,spid61,Unknown,Authentication mode is MIXED.
01/24/2014 11:23:05,spid61,Unknown,System Manufacturer: 'HP'<c/> System Model: 'ProLiant DL580 G5'.
01/24/2014 11:23:05,spid61,Unknown,Server process ID is 20096.
01/24/2014 11:23:05,spid61,Unknown,All rights reserved.
01/24/2014 11:23:05,spid61,Unknown,(c) Microsoft Corporation.
01/24/2014 11:23:05,spid61,Unknown,Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64) <nl/>
Jun 28 2012 08:36:30 <nl/> Copyright (c) Microsoft Corporation<nl/>
Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)Here's the relevant parts of the startup from today. I snipped out some specific database info (noted with ...), but the main events are still there.
... [Several lines of changed database context/changed language]
01/24/2014 10:03:33,spid52,Unknown,Changed database context to 'master'.
01/24/2014 10:03:33,spid51,Unknown,Changed language setting to us_english.
01/24/2014 10:03:33,spid51,Unknown,Changed database context to 'master'.
01/24/2014 09:59:44,spid6s,Unknown,Recovery is complete. This is an informational message only. No user action is required.
01/24/2014 09:59:40,spid11s,Unknown,Service Broker manager has started.
01/24/2014 09:59:39,spid11s,Unknown,The Database Mirroring protocol transport is disabled or not configured.
01/24/2014 09:59:39,spid11s,Unknown,The Service Broker protocol transport is disabled or not configured.
01/24/2014 09:59:35,spid28s,Unknown,CHECKDB for database 'userdb' finished without errors on 2014-01-19 12:19:29.640 (local time). This is an informational message only; no user action is required.
01/24/2014 09:59:25,spid10s,Unknown,Starting up database 'tempdb'.
01/24/2014 09:59:25,spid14s,Unknown,CHECKDB for database 'msdb' finished without errors on 2014-01-19 12:20:23.410 (local time). This is an informational message only; no user action is required.
01/24/2014 09:59:25,spid16s,Unknown,CHECKDB for database 'userdb' finished without errors on 2014-01-19 12:21:44.847 (local time). This is an informational message only; no user action is required.
01/24/2014 09:59:23,Server,Unknown,SQL Server is now ready for client connections. This is an informational message; no user action is required.
01/24/2014 09:59:23,Server,Unknown,The SQL Server Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x2098<c/> state: 15. Failure to register an SPN may cause integrated authentication to
fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.
01/24/2014 09:59:23,spid10s,Unknown,Clearing tempdb database.
01/24/2014 09:59:23,spid31s,Unknown,Starting up database 'userdb'.
01/24/2014 09:59:23,spid14s,Unknown,Starting up database 'msdb'.
01/24/2014 09:59:23,spid10s,Unknown,CHECKDB for database 'model' finished without errors on 2014-01-19 12:20:20.393 (local time). This is an informational message only; no user action is required.
01/24/2014 09:59:23,spid11s,Unknown,A new instance of the full-text filter daemon host process has been successfully started.
01/24/2014 09:59:23,Server,Unknown,Dedicated admin connection support was established for listening locally on port 53067.
01/24/2014 09:59:23,Server,Unknown,Server is listening on [ 127.0.0.1 <ipv4> 53067].
01/24/2014 09:59:23,Server,Unknown,Server is listening on [ ::1 <ipv6> 53067].
01/24/2014 09:59:23,Server,Unknown,Server named pipe provider is ready to accept connection on [ \\.\pipe\MSSQL$ETL\sql\query ].
01/24/2014 09:59:23,Server,Unknown,Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\ETL ].
01/24/2014 09:59:23,Server,Unknown,Server is listening on [ 'any' <ipv4> 50537].
01/24/2014 09:59:23,Server,Unknown,Server is listening on [ 'any' <ipv6> 50537].
01/24/2014 09:59:23,Server,Unknown,Server is listening on [ 'any' <ipv4> 5427].
01/24/2014 09:59:23,Server,Unknown,Server is listening on [ 'any' <ipv6> 5427].
01/24/2014 09:59:23,Server,Unknown,A self-generated certificate was successfully loaded for encryption.
01/24/2014 09:59:22,spid6s,Unknown,Server name is 'MYSRV\ETL'. This is an informational message only. No user action is required.
01/24/2014 09:59:22,spid10s,Unknown,Starting up database 'model'.
01/24/2014 09:59:22,spid6s,Unknown,The resource database build version is 10.50.4000. This is an informational message only. No user action is required.
01/24/2014 09:59:22,spid6s,Unknown,Starting up database 'mssqlsystemresource'.
01/24/2014 09:59:22,spid6s,Unknown,SQL Trace ID 1 was started by login "sa".
01/24/2014 09:59:21,spid6s,Unknown,FILESTREAM: effective level = 0<c/> configured level = 0<c/> file system access share name = 'ETL'.
01/24/2014 09:59:21,spid6s,Unknown,SQL Server Audit has started the audits. This is an informational message. No user action is required.
01/24/2014 09:59:21,spid6s,Unknown,SQL Server Audit is starting the audits. This is an informational message. No user action is required.
01/24/2014 09:59:21,spid6s,Unknown,Resource governor reconfiguration succeeded.
01/24/2014 09:59:21,spid6s,Unknown,CHECKDB for database 'master' finished without errors on 2014-01-19 12:20:10.410 (local time). This is an informational message only; no user action is required.
01/24/2014 09:59:21,spid6s,Unknown,Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
01/24/2014 09:59:21,spid6s,Unknown,1 transactions rolled back in database 'master' (1). This is an informational message only. No user action is required.
01/24/2014 09:59:20,spid6s,Unknown,Starting up database 'master'.
01/24/2014 09:59:20,Server,Unknown,Node configuration: node 0: CPU mask: 0x000000000000ffff:0 Active CPU mask: 0x000000000000ffff:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user
action is required.
01/24/2014 09:59:20,Server,Unknown,Lock partitioning is enabled. This is an informational message only. No user action is required.
01/24/2014 09:59:20,Server,Unknown,Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
01/24/2014 09:59:20,Server,Unknown,Using locked pages for buffer pool.
01/24/2014 09:59:19,Server,Unknown,Large Page Allocated: 32MB
01/24/2014 09:59:19,Server,Unknown,Large Page Granularity: 2097152
01/24/2014 09:59:19,Server,Unknown,Large Page Extensions enabled.
01/24/2014 09:59:19,Server,Unknown,Detected 16 CPUs. This is an informational message; no user action is required.
01/24/2014 09:59:19,Server,Unknown,SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
01/24/2014 09:59:19,Server,Unknown,Registry startup parameters: <nl/>
-d F:\SysDB\Program Files\Microsoft SQL Server\MSSQL10_50.ETL\MSSQL\DATA\master.mdf<nl/>
-e F:\SysDB\Program Files\Microsoft SQL Server\MSSQL10_50.ETL\MSSQL\Log\ERRORLOG<nl/>
-l F:\SysDB\Program Files\Microsoft SQL Server\MSSQL10_50.ETL\MSSQL\DATA\mastlog.ldf<nl/>
-T 3226<nl/> -T 1118<nl/>
-T 1117
01/24/2014 09:59:19,Server,Unknown,This instance of SQL Server last reported using a process ID of 1060 at 1/24/2014 9:57:16 AM (local) 1/24/2014 3:57:16 PM (UTC). This is an informational message only; no user action is required.
01/24/2014 09:59:19,Server,Unknown,Logging SQL Server messages in file 'F:\SysDB\Program Files\Microsoft SQL Server\MSSQL10_50.ETL\MSSQL\Log\ERRORLOG'.
01/24/2014 09:59:19,Server,Unknown,Authentication mode is MIXED.
01/24/2014 09:59:19,Server,Unknown,System Manufacturer: 'HP'<c/> System Model: 'ProLiant DL580 G5'.
01/24/2014 09:59:19,Server,Unknown,Server process ID is 20096.
01/24/2014 09:59:19,Server,Unknown,All rights reserved.
01/24/2014 09:59:19,Server,Unknown,(c) Microsoft Corporation.
01/24/2014 09:59:19,Server,Unknown,Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64) <nl/>
Jun 28 2012 08:36:30 <nl/> Copyright (c) Microsoft Corporation<nl/>
Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) -
Log on to remote server and start database -error while installing CI in HA
Hello All,
We are installing ECC 6.0 with High Availability using HP-UX. We have completed installation in ASCS and Database Instance. Now when were trying to install in Central Instance, we encountered an error at Start Instance which informed us to Log on to remote server and start database. However the database is already running in DB node. Please find the log below.
TRACE 2011-06-10 16:31:45.825 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25742
INFO 2011-06-10 16:31:45.835
CJSlibModule::writeInfo_impl()
Output of /usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001 is written to the logfile start_PE2_DVEBMGS01.log.
WARNING 2011-06-10 16:31:46.345
CJSlibModule::writeWarning_impl()
Execution of the command "/usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001" finished with return code 6. Output:
Database PE2 must be started on remote server
Log on to remote server and start database
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:408]
handleException<ESAPinstJSError>()
Converting exception into JS Exception EJSException.
TRACE 2011-06-10 16:31:46.355
Function setMessageIdOfExceptionMessage: ind-rel.ind-os.ind-db.webas.startInstanceFailed
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:483]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown unknown exception. Rethrowing.
TRACE 2011-06-10 16:31:46.405 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25793
ERROR 2011-06-10 16:31:46.525 [sixxcstepexecute.cpp:950]
FCO-00011 The step start with step key |NW_ABAP_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|10|0|NW_CI_Instance_Start|ind|ind|ind|ind|2|0|start was executed with status ERROR .
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:752]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing option SAP ERP 6.0 EHP4 Ready - Support Release 1 > SAP Application Server ABAP > Oracle > High-Availability System > Central Instance . You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>View Log</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/HA/CI. </p> </body></html>
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:1255]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
Kindly let us know how to rectify the error and prroceed further with the instalaltion.
Thanks
RishiDear Guys,
we didnt change the date and time but i m very sure it is same trans.log file.
for your kind information please note SID and Nodes details
Sid (PE2)
DB Node : DBMDB001
CI Node : DBMCI001
also i am attaching starting part of the file.
4 ETW000 R3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 07.11.2010 - 03:44:06
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Sun Nov 7 03:44:06 2010 295 0.000295
4 ETW000 [dev trc ,00000] db_con_init called 22 0.000317
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 116 0.000433
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' ...
4 ETW000 64 0.000497
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/PC1/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000 32161 0.032658
4 ETW000 [dev trc ,00000] Library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' loaded
4 ETW000 39 0.032697
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 111 0.032808
4 ETW000 [dev trc ,00000] Version of '/usr/sap/PC1/SYS/exe/run/dboraslib.so' is "700.08",
patchlevel (0.25)
4 ETW000 265 0.033073
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 41 0.033114
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 82 0.033196
4 ETW000 [dev trc ,00000] New connection 0 created 52 0.033248
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 41 0.033289
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 84 0.033373
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 31 0.033404
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 37 0.033441
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.4.0' 601 0.034042
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 25 0.034067
4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 35674 0.069741
4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): 'AMERICAN_AMERICA.UTF8'
4 ETW000 57 0.069798
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 55 0.069853
4 ETW000 [dev trc ,00000] Connecting as /@PC1 on connection 0 (nls_hdl 0) ... (dbsl 700
151208)
4 ETW000 34 0.069887
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 52 0.069939
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 58 0.069997
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 40 0.070037
4 ETW000 [dev trc ,00000] Allocating server context handle 27 0.070064
4 ETW000 [dev trc ,00000] Attaching to DB Server PC1
(con_hdl=0,svchp=0x600000000106aa68,srvhp=0x600000000106de78)
4 ETW000 63 0.070127
4 ETW000 [dev trc ,00000] Assigning server context 0x600000000106de78 to service context
0x600000000106aa68
4 ETW000 60612 0.130739
4 ETW000 [dev trc ,00000] Allocating user session handle 97 0.130836
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0,
usr='/',svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 64 0.130900
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 9302 0.140202
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=53, stmth_p=0x6000000001077608)
4 ETW000 198 0.140400
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_MODULE(:A0,:A1); END;
4 ETW000 38 0.140438
4 ETW000 [dev trc ,00000] CbApplInfoGet() failed! Ignore, but uninstall callback to avoid more
erroneous calls
4 ETW000 291 0.140729
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001078660)
4 ETW000 33 0.140762
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 35 0.140797
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 937 0.141734
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.141770
4 ETW000 [dev trc ,00000] Connected to session 297. 639 0.142409
4 ETW000 [dev trc ,00000] Now '/@PC1' is connected: con_hdl=0, nls_hdl=0, session_id=297.
4 ETW000 38 0.142447
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 37 0.142484
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 36 0.142520
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 327 0.142847
4 ETW000 [dev trc ,00000] SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)
4 ETW000 36 0.142883
4 ETW000 [dev trc ,00000] Got SAPSR3's password from OPS$-user 728 0.143611
4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ... 38 0.143649
4 ETW000 [dev trc ,00000] Rolling back transaction ... 31 0.143680
4 ETW000 [dev trc ,00000] Closing user session
(con_hdl=0,svchp=0x600000000106aa68,usrhp=0x60000000010fc940)
4 ETW000 210 0.143890
4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE 721 0.144611
4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@PC1 on connection 0 (nls_hdl 0) ... (dbsl
700 151208)
4 ETW000 40 0.144651
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 37 0.144688
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 37 0.144725
4 ETW000 [dev trc ,00000] Assigning username to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 35 0.144760
4 ETW000 [dev trc ,00000] Assigning password to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 40 0.144800
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>,
svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 337 0.145137
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 4085 0.149222
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001077608)
4 ETW000 63 0.149285
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 37 0.149322
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 585 0.149907
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.149943
4 ETW000 [dev trc ,00000] Connected to session 297. 350 0.150293
4 ETW000 [dev trc ,00000] Now 'SAPSR3/<pwd>@PC1' is connected: con_hdl=0, nls_hdl=0,
session_id=297.
4 ETW000 38 0.150331
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.150369
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 34 0.150403
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 294 0.150697
4 ETW000 [dev trc ,00000] SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER IN
('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET') ORDER BY PARAM
4 ETW000 66 0.150763
4 ETW000 [dev trc ,00000] ETER
4 ETW000 34 0.150797
4 ETW000 [dev trc ,00000] Database NLS settings: AMERICAN_AMERICA.UTF8 329 0.151126
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 856 0.151982
4 ETW000 [dev trc ,00000] SELECT UPPER(INSTANCE_NAME),HOST_NAME,VERSION,TO_CHAR
(STARTUP_TIME,'MON DD, YYYY, HH24:MI:SS') FROM V$INSTANCE
4 ETW000 36 0.152018
4 ETW000 [dev trc ,00000] DB instance PC1 is running on scmdb001 with ORACLE version
10.2.0.4.0 since NOV 07, 2010, 03:23:10
4 ETW000 349 0.152367
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.152405
4 ETW000 [dev trc ,00000] SELECT SUBSTR(NAME,1,3), TO_CHAR(CREATED,'YYYYMMDDHHMMSS')
FROM V$DATABASE -
Oracle ifs and BEA weblogic
We have one application server with weblogic and and ifs 1.0.9 , and one db server with Oracle 8.1.7.
with the following configuration:
Web server
appl server with weblogic 6.0 and ifs 1.1.9
Oracle 8i Enterprise with interMedia text
We need to use the iFS API call for our application.
As I know, weblogic 6.0 support JDK1.3 but ifs 1.1.9 supports up to JDK1.2.
Is this configuration possible?
Any conflict if two version JDK co-exist inside same machine?
Any suggestion?
If I separate the appl. server into two machines, that is,
one server installed with weblogic, the other one installed with ifs.
How could I make use the ifs API call from appl. server?
Is there any configuration guides for this setting?
Thanks a lot.
null<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Luis:
The iFS API is 100% pure Java. You can use it from any other Java application, be it JSP, EJB, or a standalone application.
So it really comes down to the CLASSPATH. The iFS API is split among a set of .jar files, and some of the configuration information is stored in .properties files that are outside of these .jar files. All of this stuff needs to be in the CLASSPATH of whatever JVM is calling the iFS API.
The iFS API uses the Oracle JDBC driver to communicate with the Oracle database. This is another requirement. You can't use another JDBC driver; you have to use ours.
So again, it's all about configuration.<HR></BLOCKQUOTE>
Would you mind to share more detail on configurating weblogic to integrate the iFS API?
null -
Using Coherence and Oracle Database as the CacheStore
We are working on implementing a solution using Coherence and Oracle Database as the CacheStore. We initially implemented the Cache as a distributed-scheme which in turn uses the backing-map-scheme. We are trying to introduce transaction management and I used a scheme-ref in a transactional-scheme to point to an already existing distributed-scheme. However when I bring up the server, my custom coherence-cache-config.xml file is not recognized and Coherence comes up with the default setting. Given below is the snippet of my configuration file.
1) I would like to understand why the below configuration doesn’t work and am I doing it the right way? If not, what is the correct way of doing it?
2) There are a multiple transaction management options given in the documentation. Which are the ones that will work with a distributed-scheme and read-write-backing-map-scheme?
3) If transactional-schemes cannot work with distributed-scheme, what is the best way to have a distributed cache with a oracle database as a cache store?
<caching-scheme-mapping>
<cache-mapping>
<cache-name>id<cache-name>
<scheme-name>example-transactional<scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<transactional-scheme>
<scheme-name>example-transactional</scheme-name>
<scheme-ref>distributedcustomcache</scheme-ref>
<thread-count>10</thread-count>
</transactional-scheme>
<distributed-scheme>
<scheme-name>distributedcustomcache</scheme-name>
<service-name>DistributedCache</service-name>
<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
<local-scheme>
<!--scheme-ref>categories-eviction</scheme-ref-->
<scheme-name>inMemory</scheme-name>
</local-scheme>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>spring-bean:coherenceCacheStore</class-name>
<init-params>
<init-param>
<param-name>setEntityName</param-name>
<param-value>{cache-name}</param-value>
</init-param>
</init-params>
</class-scheme>
</cachestore-scheme>
<!--refresh-ahead-factor>0.5</refresh-ahead-factor-->
</read-write-backing-map-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>Hi,
If you look at the documentation for transactional-scheme here: http://docs.oracle.com/cd/E24290_01/coh.371/e22837/appendix_cacheconfig.htm#BHCIABHA
you will see that it says The transactional-scheme element defines a transactional cache, which is a specialized distributed cache. That means that a transactional-scheme is already a distributed-scheme.
You will see from the same documentation above that there is no way in a transactional-scheme to configure things like cache-stores or listeners or even the backing-map-scheme as these are not supported on a transactional-scheme - so you cannot use a cache store.
Personally I would not use transactional-scheme unless you have some really big reason to do so - the restrictions far outweigh any perceived advantage of having a transaction. There are better ways to build applications so they do not require transactions, that is what we have been doing for years with Coherence so far, and there is no real reason to change that.
JK -
How to update transaction data automatically into MySQL database using PI
Dear All,
With reference to subject matter I want a sincere advice regarding how to update transaction data automatically into MySQL database using PI. Is there any link available where I can get step-by-step process.
Ex: I have a MYSQL database in my organization. Whenever a delivery created in SAP some fields like DO Number, DO quantity, SO/STO number should get updated in MYSQL database automatically.
This scenario is related to updation of transactional data into MYSQL DB and I want your suggestions pertaining to same issue.
Thanks and Regards,
Chandra SekharHi .
Develop a sceanrio between SAP to Database system,When the data updates in SAP Tables read the data and update it in DATA Base using JDBC adapter,but there will be some delay in updating data in MySQL.
serach in sdn for IDOC-TOJDBC sceannario,many documents available for the same.
Regards,
Raja Sekhar -
You want to know the amount of space the transaction log for the Customer database is using. Which T-SQL command would you use?
Forced me to do a little research.
DBCC SQLPERF(logspace)
See also
http://stackoverflow.com/questions/198343/how-can-i-get-the-size-of-the-transaction-log-in-sql-2005-programmatically
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Oracle form is slow when first login and normal after that
My Query is that one screen when queried is very slow on first login and normal with same query afterwards.What can be the cause.Forms 10g on Linux,Database 10g
I had raised this issue to Oracle. It is now considered as bug:
BUG 13005659 - PSR:PERF:BIP:POOR PERF ACCESSING CATALOG FOLDER IN BIP 11G WITH SECURITY ENABLED
The notes:
1373204.1: BI Publisher: Navigation in catalog folders is slow after enabling catalog file system security
And the fix is now included in one-off patch for October 2011:
Patch 13042018
Maybe you are looking for
-
ASA 5505 - Cannot ping outside natted interface
Hello, I have a Cisco ASA 5505, the problem is I am not able to ping to outside natted interface (ip: 172.88.188.123 and 124 and 125) from inside network Could someone help me to resolve this? I have looked for ASA documentation through the internet
-
Time machine restarts instead of pausing when I stop backing up
I am using time machine for the first time on my new imac 2012. When I am doing something computer intensive like video editing, I want to pause the time machine. It is on its first backup which will take 3 days. Apple says that if you click stop
-
Data not replicated with partition and dynamic calc
HI I am using Essbase 11.1.2.1. I want to use a replicated pratition wetween two Essbase BSO applications. But in my source application, I have to send an account ACCOUNT (level 1) with several stored members and 1 dynamic calc member with formula. D
-
I was using a report template in the new Pages and I noticed at least 2 missing features that used to make things really easy. There is no longer a way to select multiple objects:Say you create a diagram with several shapes, arrows & text boxes, if y
-
What's going on with my fonts?
Does anyone know what is going on with my fonts?!?! When italicised text is shown in Safari (seemingly coded with [em] tags), it gives the following: !http://i78.photobucket.com/albums/j84/tony_barnes/Picture2.png! and when I tried to look at the use