Help required in Streams Commit
Hi,
Can anyone please help on the scenario below?
* Our system has basically 2 databases.
* One staging database - Source
* Target - Has 2 db instances - One similar to the Staging (lets call it Duplicate Staging) and another Target database.
* LCRs from source (Staging) are applied thru custom Apply Handler codes. (*.sqls)
* Apply handler code does 2 things.
1. Duplicate/copy the staging operation (insert/update/delete) into duplicate staging in the target side.
2. Call specific OWB (oracle warehouse builder) mapping packages to apply changes in target tables.
Our query/problem is, We are NOT ABLE to segregate the commits of the 2 activities given above? ie., We want to issue seperate commits to the duplication process into staging & the mapping package execution. (on a high level, why we want to do is for better manageability of the system).
As of now, if the Apply Handler goes fine (with both activities 1& 2), it would autocommit. But, if 1 or 2 fails, then both 1&2 gets rolled back. We are not comfortable with this, given the huge number of LCRs bundled in one transaction.
Precisely, Is there a way I can customize & issue deliberate commits in my apply handler code? Pls help.
Thanks
Nataraj
You can modify the custom DML handler to spawn an autonomous transaction. But please beware that your target staging and the final target database might differ in data if there is a failure.
Similar Messages
-
Help Required with 2pc Commit (Inet Opta Xa Driver for MSSQL 2000 on Weblogic 6)
Hi,
I was trying to use the "Inet Opta" Xa driver for MSSQL 2000 with
weblogic 6.0.
I get the following Exception when i try to get a database connection
from a "Xa" Pool, in a transaction. The Pool did start up Correctly. Also,
i have given SupportsLocalTransaction="true" in the pool declaration. And
if i give EnableTwoPhaseCommit="true" in the Tx Datasource declaration,
weblogic starts up, but without starting the connection pools. (also it does
not deploy my ejbs in this case!).
Could somebody help?
Atleast, could somebody tell me when BEA is going to finish implementing
an Xa Driver for MSSQL?
Thanks,
Sajan Thomas.
javax.transaction.xa.XAException
at com.inet.tds.i.a(Unknown Source)
at com.inet.tds.i.a(Unknown Source)
at com.inet.tds.i.prepare(Unknown Source)
at weblogic.jdbc.jta.DataSource.prepare(DataSource.java:473)
at
weblogic.transaction.internal.ServerResourceInfo.prepare(ServerResourceInfo.
java:1055)
at
weblogic.transaction.internal.ServerResourceInfo.prepare(ServerResourceInfo.
java:344)
at
weblogic.transaction.internal.ServerSCInfo.startPrepare(ServerSCInfo.java:14
9)
at
weblogic.transaction.internal.ServerTransactionImpl.localPrepare(ServerTrans
actionImpl.java:1478)
at
weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTran
sactionImpl.java:1304)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
Impl.java:160)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
erImpl.java:208)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
erImpl.java:201)
at
com.harris.server.list.ListModuleBean.licenseRecords(ListModuleBean.java:182
at
com.harris.server.list.ListModuleBeanImpl.licenseRecords(ListModuleBeanImpl.
java:130)
at
com.harris.server.list.ListModuleBeanEOImpl.licenseRecords(ListModuleBeanEOI
mpl.java:66)
at
com.harris.server.list.ListModuleBeanEOImpl_WLSkel.invoke(ListModuleBeanEOIm
pl_WLSkel.java:112)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:128)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at
weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
java:103)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
7)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
weblogic.transaction.RollbackException: Could not prepare resource
'entityPool - with nested exception:
[javax.transaction.xa.XAException]
at
weblogic.transaction.internal.TransactionImpl.throwRollbackException(Transac
tionImpl.java:1248)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
Impl.java:208)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
erImpl.java:208)
at
weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
erImpl.java:201)
at
com.harris.server.list.ListModuleBean.licenseRecords(ListModuleBean.java:182
at
com.harris.server.list.ListModuleBeanImpl.licenseRecords(ListModuleBeanImpl.
java:130)
at
com.harris.server.list.ListModuleBeanEOImpl.licenseRecords(ListModuleBeanEOI
mpl.java:66)
at
com.harris.server.list.ListModuleBeanEOImpl_WLSkel.invoke(ListModuleBeanEOIm
pl_WLSkel.java:112)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:128)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at
weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
java:103)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
7)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Hi Sajan,
Certification for MS SQLServer as a XA resource is in our plan for the near future,
so hopefully we will soon find out if there are vendor bugs and also see if we can
provide corresponding workarounds.
Meanwhile, could you start the server with -Dweblogic.Debug=weblogic.JTAXA,weblogic.JTAJDBC
and post the server log file?
-- Priscilla Fung, BEA Systems, Inc.
"sajan" <[email protected]> wrote:
>Hi,
>
> I was trying to use the "Inet Opta" Xa driver for MSSQL 2000 with
>weblogic 6.0.
> I get the following Exception when i try to get a database connection
>from a "Xa" Pool, in a transaction. The Pool did start up Correctly. Also,
>i have given SupportsLocalTransaction="true" in the pool declaration.
>And
>if i give EnableTwoPhaseCommit="true" in the Tx Datasource declaration,
>weblogic starts up, but without starting the connection pools. (also it
>does
>not deploy my ejbs in this case!).
>
> Could somebody help?
>
> Atleast, could somebody tell me when BEA is going to finish implementing
>an Xa Driver for MSSQL?
>
>
>Thanks,
>Sajan Thomas.
>
>
>
>___________________________________________________________
>javax.transaction.xa.XAException
> at com.inet.tds.i.a(Unknown Source)
> at com.inet.tds.i.a(Unknown Source)
> at com.inet.tds.i.prepare(Unknown Source)
> at weblogic.jdbc.jta.DataSource.prepare(DataSource.java:473)
> at
>weblogic.transaction.internal.ServerResourceInfo.prepare(ServerResourceInfo.
>java:1055)
> at
>weblogic.transaction.internal.ServerResourceInfo.prepare(ServerResourceInfo.
>java:344)
> at
>weblogic.transaction.internal.ServerSCInfo.startPrepare(ServerSCInfo.java:14
>9)
> at
>weblogic.transaction.internal.ServerTransactionImpl.localPrepare(ServerTrans
>actionImpl.java:1478)
> at
>weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTran
>sactionImpl.java:1304)
> at
>weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
>Impl.java:160)
> at
>weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
>erImpl.java:208)
> at
>weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
>erImpl.java:201)
> at
>com.harris.server.list.ListModuleBean.licenseRecords(ListModuleBean.java:182
>)
> at
>com.harris.server.list.ListModuleBeanImpl.licenseRecords(ListModuleBeanImpl.
>java:130)
> at
>com.harris.server.list.ListModuleBeanEOImpl.licenseRecords(ListModuleBeanEOI
>mpl.java:66)
> at
>com.harris.server.list.ListModuleBeanEOImpl_WLSkel.invoke(ListModuleBeanEOIm
>pl_WLSkel.java:112)
> at
>weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
> at
>weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
>:128)
> at
>weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
> at
>weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
>java:103)
> at
>weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
>7)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>--------------- nested within: ------------------
>weblogic.transaction.RollbackException: Could not prepare resource
>'entityPool - with nested exception:
>[javax.transaction.xa.XAException]
> at
>weblogic.transaction.internal.TransactionImpl.throwRollbackException(Transac
>tionImpl.java:1248)
> at
>weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
>Impl.java:208)
> at
>weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
>erImpl.java:208)
> at
>weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManag
>erImpl.java:201)
> at
>com.harris.server.list.ListModuleBean.licenseRecords(ListModuleBean.java:182
>)
> at
>com.harris.server.list.ListModuleBeanImpl.licenseRecords(ListModuleBeanImpl.
>java:130)
> at
>com.harris.server.list.ListModuleBeanEOImpl.licenseRecords(ListModuleBeanEOI
>mpl.java:66)
> at
>com.harris.server.list.ListModuleBeanEOImpl_WLSkel.invoke(ListModuleBeanEOIm
>pl_WLSkel.java:112)
> at
>weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
> at
>weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
>:128)
> at
>weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
> at
>weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
>java:103)
> at
>weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
>7)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
>
-
Urgent Help Required for streaming video on Flash Media Server 3.5
Please follow the link for the detailed question. As im not getting any replies so that is why attaching a link
http://forums.adobe.com/thread/559567?tstart=0before running my application ( HelloWorld )
i always start FMS & FMAdministratorServer ( also checked in system services that they are running )
allow them in vista firewall
PLEASE LET ME KNOW
> is any problem with apache server ? how i figure out that it is running by FMS
> any port issues ?
package {
import flash.display.MovieClip;
import flash.net.Responder;
import flash.net.NetConnection;
import flash.events.NetStatusEvent;
import flash.events.MouseEvent;
public class HelloWorld extends MovieClip {
// Represents a network connection.
private var nc:NetConnection;
// Responder for call to server's serverHelloMsg -- see onReply() below.
private var myResponder:Responder = new Responder(onReply);
// Constructor.
public function HelloWorld() {
// Set display values.
textLbl.text = "";
connectBtn.label = "Connect";
// Register a listener for mouse clicks on the button.
connectBtn.addEventListener(MouseEvent.CLICK, connectHandler);
// When button is pressed, connect to or disconnect from the server.
public function connectHandler(event:MouseEvent):void {
if (connectBtn.label == "Connect") {
trace("Connecting...");
nc = new NetConnection();
// Connect to the server.
nc.connect("rtmp://localhost/HelloWorld");
// Call the server's client function serverHelloMsg, in HelloWorld.asc.
nc.call("serverHelloMsg", myResponder, "World");
connectBtn.label = "Disconnect";
} else {
trace("Disconnecting...");
// Close the connection.
nc.close();
connectBtn.label = "Connect";
textLbl.text = "";
// Responder function for nc.call() in connectHandler().
private function onReply(result:Object):void {
trace("onReply received value: " + result);
textLbl.text = String(result);
======================
HelloWorld.asc
application.onConnect = function( client ) {
client.serverHelloMsg = function( helloStr ) {
return "Hello, " + helloStr + "!";
application.acceptConnection( client ); -
Help on Oracle streams 11g configuration
Hi Streams experts
Can you please validate the following creation process steps ?
What is need to have streams doing is a one way replication of the AR
schema from a database to another database. Both DML and DDL shall do
the replication of the data.
Help on Oracle streams 11g configuration. I would also need your help
on the maintenance steps, controls and procedures
2 databases
1 src as source database
1 dst as destination database
replication type 1 way of the entire schema FaeterBR
Step 1. Set all databases in archivelog mode.
Step 2. Change initialization parameters for Streams. The Streams pool
size and NLS_DATE_FORMAT require a restart of the instance.
SQL> alter system set global_names=true scope=both;
SQL> alter system set undo_retention=3600 scope=both;
SQL> alter system set job_queue_processes=4 scope=both;
SQL> alter system set streams_pool_size= 20m scope=spfile;
SQL> alter system set NLS_DATE_FORMAT=
'YYYY-MM-DD HH24:MI:SS' scope=spfile;
SQL> shutdown immediate;
SQL> startup
Step 3. Create Streams administrators on the src and dst databases,
and grant required roles and privileges. Create default tablespaces so
that they are not using SYSTEM.
---at the src
SQL> create tablespace streamsdm datafile
'/u01/product/oracle/oradata/orcl/strepadm01.dbf' size 100m;
---at the replica:
SQL> create tablespace streamsdm datafile
---at both sites:
'/u02/oracle/oradata/str10/strepadm01.dbf' size 100m;
SQL> create user streams_adm
identified by streams_adm
default tablespace strepadm01
temporary tablespace temp;
SQL> grant connect, resource, dba, aq_administrator_role to
streams_adm;
SQL> BEGIN
DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE (
grantee => 'streams_adm',
grant_privileges => true);
END;
Step 4. Configure the tnsnames.ora at each site so that a connection
can be made to the other database.
Step 5. With the tnsnames.ora squared away, create a database link for
the streams_adm user at both SRC and DST. With the init parameter
global_name set to True, the db_link name must be the same as the
global_name of the database you are connecting to. Use a SELECT from
the table global_name at each site to determine the global name.
SQL> select * from global_name;
SQL> connect streams_adm/streams_adm@SRC
SQL> create database link DST
connect to streams_adm identified by streams_adm
using 'DST';
SQL> select sysdate from dual@DST;
SLQ> connect streams_adm/streams_adm@DST
SQL> create database link SRC
connect to stream_admin identified by streams_adm
using 'SRC';
SQL> select sysdate from dual@SRC;
Step 6. Control what schema shall be replicated
FaeterBR is the schema to be replicated
Step 7. Add supplemental logging to the FaeterBR schema on all the
tables?
SQL> Alter table FaeterBR.tb1 add supplemental log data
(ALL) columns;
SQL> alter table FaeterBR.tb2 add supplemental log data
(ALL) columns;
etc...
Step 8. Create Streams queues at the primary and replica database.
---at SRC (primary):
SQL> connect stream_admin/stream_admin@ORCL
SQL> BEGIN
DBMS_STREAMS_ADM.SET_UP_QUEUE(
queue_table => 'streams_adm.FaeterBR_src_queue_table',
queue_name => 'streams_adm.FaeterBR_src__queue');
END;
---At DST (replica):
SQL> connect stream_admin/stream_admin@STR10
SQL> BEGIN
DBMS_STREAMS_ADM.SET_UP_QUEUE(
queue_table => 'stream_admin.FaeterBR_dst_queue_table',
queue_name => 'stream_admin.FaeterBR_dst_queue');
END;
Step 9. Create the capture process on the source database (SRC).
SQL> BEGIN
DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
schema_name =>'FaeterBR',
streams_type =>'capture',
streams_name =>'FaeterBR_src_capture',
queue_name =>'FaeterBR_src_queue',
include_dml =>true,
include_ddl =>true,
include_tagged_lcr =>false,
source_database => NULL,
inclusion_rule => true);
END;
Step 10. Instantiate the FaeterBR schema at DST. by doing export
import : Can I use now datapump to do that ?
---AT SRC:
exp system/superman file=FaeterBR.dmp log=FaeterBR.log
object_consistent=y owner=FaeterBR
---AT DST:
---Create FaeterBR tablespaces and user:
create tablespace FaeterBR_datafile
'/u02/oracle/oradata/str10/FaeterBR_01.dbf' size 100G;
create tablespace ws_app_idx datafile
'/u02/oracle/oradata/str10/FaeterBR_01.dbf' size 100G;
create user FaeterBR identified by FaeterBR_
default tablespace FaeterBR_
temporary tablespace temp;
grant connect, resource to FaeterBR;
imp system/123db file=FaeterBR_.dmp log=FaeterBR.log fromuser=FaeterBR
touser=FaeterBR streams_instantiation=y
Step 11. Create a propagation job at the source database (SRC).
SQL> BEGIN
DBMS_STREAMS_ADM.ADD_SCHEMA_PROPAGATION_RULES(
schema_name =>'FaeterBR',
streams_name =>'FaeterBR_src_propagation',
source_queue_name =>'stream_admin.FaeterBR_src_queue',
destination_queue_name=>'stream_admin.FaeterBR_dst_queue@dst',
include_dml =>true,
include_ddl =>true,
include_tagged_lcr =>false,
source_database =>'SRC',
inclusion_rule =>true);
END;
Step 12. Create an apply process at the destination database (DST).
SQL> BEGIN
DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
schema_name =>'FaeterBR',
streams_type =>'apply',
streams_name =>'FaeterBR_Dst_apply',
queue_name =>'FaeterBR_dst_queue',
include_dml =>true,
include_ddl =>true,
include_tagged_lcr =>false,
source_database =>'SRC',
inclusion_rule =>true);
END;
Step 13. Create substitution key columns for äll the tables that
haven't a primary key of the FaeterBR schema on DST
The column combination must provide a unique value for Streams.
SQL> BEGIN
DBMS_APPLY_ADM.SET_KEY_COLUMNS(
object_name =>'FaeterBR.tb2',
column_list =>'id1,names,toys,vendor');
END;
Step 14. Configure conflict resolution at the replication db (DST).
Any easier method applicable the schema?
DECLARE
cols DBMS_UTILITY.NAME_ARRAY;
BEGIN
cols(1) := 'id';
cols(2) := 'names';
cols(3) := 'toys';
cols(4) := 'vendor';
DBMS_APPLY_ADM.SET_UPDATE_CONFLICT_HANDLER(
object_name =>'FaeterBR.tb2',
method_name =>'OVERWRITE',
resolution_column=>'FaeterBR',
column_list =>cols);
END;
Step 15. Enable the capture process on the source database (SRC).
BEGIN
DBMS_CAPTURE_ADM.START_CAPTURE(
capture_name => 'FaeterBR_src_capture');
END;
Step 16. Enable the apply process on the replication database (DST).
BEGIN
DBMS_APPLY_ADM.START_APPLY(
apply_name => 'FaeterBR_DST_apply');
END;
Step 17. Test streams propagation of rows from source (src) to
replication (DST).
AT ORCL:
insert into FaeterBR.tb2 values (
31000, 'BAMSE', 'DR', 'DR Lejetoej');
AT STR10:
connect FaeterBR/FaeterBR
select * from FaeterBR.tb2 where vendor= 'DR Lejetoej';
Any other test that can be made?Check the metalink doc 301431.1 and validate
How To Setup One-Way SCHEMA Level Streams Replication [ID 301431.1]
Oracle Server Enterprise Edition - Version: 10.1.0.2 to 11.1.0.6
Cheers. -
Starting steps required: audio streaming from UDP port
Hi,
I need help regarding audio streaming support of JMF. I want to know basic starting steps to stream audio file from UDP port. i am new to JMF so require detailed help..
Thanks[http://wiki.java.net/bin/view/Javapedia/JMFQuickstartGuide]
I'd recommend reading that. All of it. And then I'd recommend doing everything it tells you to do in the "Getting Started" article. -
XSLT mapping Help Required.
XSLT mapping Help Required.
Hi Experts,
I am New to XSLT Mapping. I am practising the below Example:
InputXML File:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="Persons111.xsl"?>
<ns0:MT_XSLT_Source xmlns:ns0="http://XYZ.com/gen">
<Person>
<FirstName>Anshul</FirstName>
<LastName>Chowdhary</LastName>
<Gender>Male</Gender>
<Address>
<Street>2nd Main</Street>
<Houseno>83/b</Houseno>
<City>Mysore</City>
</Address> </Person>
</ns0:MT_XSLT_Source>
XSL StyleSheet File:
<?xml version='1.0' encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://XYZ.com/Gen"
Xmlns:ns1=”http://XYZ.com/Test”>
<xsl:template match="/">
<ns1:MT_XSLT_Target>
<Title> <xsl:value-of select="ns0:MT_XSLT_Source/Person/Gender"/> </Title>
<Name> <xsl:value-of select="concat(concat(ns0:MT_XSLT_Source/Person/FirstName,' '), ns0:MT_XSLT_Source/Person/LastName)"/>
</Name>
<Street> <xsl:value-of select="concat(concat(ns0:Mt_XSLT_Source/Person/Address/Houseno,' '),
ns0:Mt_XSLT_Source/Person/Address/Street)"/> </Street>
<City> <xsl:value-of select="ns0:Mt_XSLT_Source/Person/Address/City"/> </City>
</ns1:MT_XSLT_Target>
</xsl:template>
</xsl:stylesheet>
The Desired Output shuold be:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:MT_XSLT_Target xmlns:ns1="http://XYZ.com/Test">
<Title>Male</Title>
<Name>Anshul Chowdhary</Name>
<Street>83/b 2nd Main</Street>
<City>Mysore</City>
</ns1:MT_XSLT_Target>
I have refered the xsl in xml and i am getting the below Oupt in a Single line like this:
Anshul Chowdhary Male 2nd Main 83/b Mysore
I am Unable to display in Target XML Fomrat as shown above. Please check and do the needful.
Regards,
GIRIDHARHi,
I have used below for testing.
Input xml:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="Persons111.xsl"?>
<ns0:MT_XSLT_Source xmlns:ns0="http://XYZ.com/gen">
<Person>
<FirstName>Anshul</FirstName>
<LastName>Chowdhary</LastName>
<Gender>Male</Gender>
<Address>
<Street>2nd Main</Street>
<Houseno>83/b</Houseno>
<City>Mysore</City>
</Address> </Person>
</ns0:MT_XSLT_Source>
xsl code:
<?xml version='1.0' encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://XYZ.com/gen"
xmlns:ns1="http://XYZ.com/Test">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<ns1:MT_XSLT_Target>
<Title> <xsl:value-of select="ns0:MT_XSLT_Source/Person/Gender"/> </Title>
<Name> <xsl:value-of select="concat(concat(ns0:MT_XSLT_Source/Person/FirstName,' '), ns0:MT_XSLT_Source/Person/LastName)"/>
</Name>
<Street> <xsl:value-of select="concat(concat(/ns0:MT_XSLT_Source/Person/Address/Houseno,' '),
/ns0:MT_XSLT_Source/Person/Address/Street)"/> </Street>
<City> <xsl:value-of select="/ns0:MT_XSLT_Source/Person/Address/City"/> </City>
</ns1:MT_XSLT_Target>
</xsl:template>
</xsl:stylesheet>
For testing in PI ,change the extension from .txt to .xsl and zip it and upload into PI as an imported archive .
Regards
Venkat -
Urgent help required: Query regarding LC Variables
Hi All
Sometime earlier I was working on a performance issue raised by a customer. It was shell script that was taking almost 8-9 hrs to complete. During my research I came across a fact that there were some variables which were not set, the LC variables were impacting the sort funnel operations because of which the script was taking a long time to execute.
I asked them to export the following commands, after which the program went on smoothly and finished in a couple of mins:
export LC_COLLATE=en_US.ISO8859-1
export LC_MESSAGES=C
export LC_MONETARY=en_US.ISO8859-1
export LC_MONETARY=en_US.ISO8859-1
export HZ=100
export LC_CTYPE=en_US.ISO8859-1
export LANG=en_US.UTF-8
Later I did recover that setting the LC_COLLATE to C, is not helping and the program was again taking a lot of time. Few questions that I want to ask are:
1. Can someone please tell me, what each of these variable mean and how these values make a difference.
2. When I exported LC_COLLATE=en_US.ISO8859-1, it worked fine, but when i tried with the defalut value LC_COLLATE=C, then why the program didnt work.
As this issue is still going on, hence I would request All to provide their valuable inputs and let me know as much as possible.
Appreciate your help in this regard.
Thanks
Amit
Hi All
A new development in this regard. The customer has send us a screen shot in which they were trying to export the locale variable using the commands which I have pasted above. I can see in the screen shot that while exporting LC_COLLATE and LC_TYPE, they get a message that ""ksh: export: couldn't set locale correctly"".
Request everyone to please give their inputs as it's a bit urgent.
Thanks for all the help in advance.
Thanks
Amit
Some help required please...
Edited by: amitsinhaengg on Jul 22, 2009 2:03 AM
Edited by: amitsinhaengg on Jul 22, 2009 2:06 AMLC_CTYPE
Controls the behavior of character handling functions.
LC_TIME
Specifies date and time formats, including month names, days of the week, and common full and abbreviated representations.
LC_MONETARY
Specifies monetary formats, including the currency symbol for the locale, thousands separator, sign position, the number of fractional digits, and so forth.
LC_NUMERIC
Specifies the decimal delimiter (or radix character), the thousands separator, and the grouping.
LC_COLLATE
Specifies a collation order and regular expression definition for the locale.
LC_MESSAGES
Specifies the language in which the localized messages are written, and affirmative and negative responses of the locale (yes and no strings and expressions).
You can use command
# locale -k LC_CTYPE
to see more detail about each type. -
Help required - Sales order item is partially delivered but the item grayed
I have a sales order 123 having say item10 with qty 1, item20 with qty 10 , item 30 qty 12
Item 1 confirmed qty 1 and delivered qty is 1
Item 2 confirmed qty 10 and delivered qty 10
Item 3 confirmed qty 1 and delivered qty is 1
Now the item3 still has open requirements of 11 to be delivered. But the item is GRAYED OUT already.
even if I do ATP the qty is not confirming for the remaining 11 pieces.
Why is that? How to make that item out from GRAY.
How to confirm the remaining 11 qty for that item.
Help required as early as possible.
Appreciate ur help guys
Radhahi Radha, how are you ?
---the partial deliveries in master data must have not been mentioned.
---the deliveries should be upto target quantity.
---check order type, item category and schedule line category.
---check unrestricted stock availability.
thank you
regards
Khera. -
Search Help with in a serach help required in SRM 4.0
Hi,
Requirement: Search help required for Product Category field in the Search help for Product(BBPH_PRODUCT) in SRM portal.
This search help is used in Create shopping Cart transaction. The hyper link on Internal Goods/Services leads to the search help BBPH_PRODUCT.
My analysis:
The field Product Category (CATEGORY_ID) has search help(COM_CAT_HIER) attached to its data element. When I single test the search help BBPH_PRODUCT in SAP GUI,I can see the search help for field product category in the selection dialogue box. However the same does not appear on the corresponding screen in HTML.
Please let me know whether I need to do some thing to make the search help appear on the HTML screen?
With Regards,
Prakash KamathHi Prakash,
I have the same problem but with another field. Unloading point. Could you please tell me how did you solve this problem with displaying F4 help on html/ SRM portal?
Thank you very much.
Best regards,
Danijela ZIvanovic -
Help required with Photoshop Elements 4.0 this has been installed on my new Toshiba laptop with windows 8.1 for some 18 months and operating well. Now it will not open, message pops up saying “attempt to access invalid address” then “application not responding” Suggestions how to access would be much appreciated. Tks. Stuart
What is the size of your hard disk? PSE 4 is a very old program and I suspect it is not able to access the entire hard disk on your machine. Just a thought here.
-
Help require with installing Adobe Acrobat onto my Macbook Pro Retina.
Help require with installing Adobe Acrobat onto my Macbook Pro Retina.
I have successfully installed all of my creative cloud apps with the exception being acrobat.
I cannot print from Indesign to PDF.
I have unistalled, reinstalled and still no Adobe Acrobat.
I now have to go back to Windows 8 and create the PDF's there.
Any one know how to get around this issue?
Thanks in advance
KelvinOSX has effectively killed the ability to print to pdf, (print to pdf eliminates most of the "Rich features" of current pdf).
Export from InDesign, always, excpet for the 1% of the time where you know why print to pdf would produce a better result. -
Help required in Weblogic 6 - Creation & Configuration of Web Application
Forum Home > Enterprise JavaBeans[tm]
Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
Duke Dollars
2 Duke Dollars assigned to this topic. Reward the best responses to your question
using the icons below, or transfer additional Duke Dollars to this topic.
Welcome moinshariff!
Watching this topic.
Previous Topic Next Topic
This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
Author: moinshariff Jan 22, 2002 4:55 AM
Hi,
I am using Weblogic 6. I have created a new Web
Application called Web (I have not used the DefaultWebApp_myserver).
And I have the following settings:
Name : Web
URI : Web
and Path : C:\Web
and placed my JSP files under c:\Web\
I am able to access the first page, but after that I am not able to access the
second page.
I get "Error 404--Not Found" on the browser. Basically the class file is not getting
created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
I tried a work around for this. I copied all my files under one more folder called
web and placed this under C:\Web
The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
copy under c:\web\web\.
If I have the files under DefaultWebApp_myserver and have the setting as
Name: DefaultWebApp_myserver
URI: DefaultWebApp_myserver
Path: .\config\mydomain\applications
everything works fine.
Can any one please let me know if there is any configuration which has to be done
so that I do not duplicate the code in 2 directories
Thanks in advance.
Regards,
MoinForum Home > Enterprise JavaBeans[tm]
Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
Duke Dollars
2 Duke Dollars assigned to this topic. Reward the best responses to your question
using the icons below, or transfer additional Duke Dollars to this topic.
Welcome moinshariff!
Watching this topic.
Previous Topic Next Topic
This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
Author: moinshariff Jan 22, 2002 4:55 AM
Hi,
I am using Weblogic 6. I have created a new Web
Application called Web (I have not used the DefaultWebApp_myserver).
And I have the following settings:
Name : Web
URI : Web
and Path : C:\Web
and placed my JSP files under c:\Web\
I am able to access the first page, but after that I am not able to access the
second page.
I get "Error 404--Not Found" on the browser. Basically the class file is not getting
created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
I tried a work around for this. I copied all my files under one more folder called
web and placed this under C:\Web
The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
copy under c:\web\web\.
If I have the files under DefaultWebApp_myserver and have the setting as
Name: DefaultWebApp_myserver
URI: DefaultWebApp_myserver
Path: .\config\mydomain\applications
everything works fine.
Can any one please let me know if there is any configuration which has to be done
so that I do not duplicate the code in 2 directories
Thanks in advance.
Regards,
Moin -
Help required network configuration - Gateway route settings get erased on reboot.
Oracle Linux 7
Linux myhostname 3.8.13-35.3.1.el7uek.x86_64 #2 SMP Wed Jun 25 15:27:43 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
#cat /etc/sysconfig/network-scripts/ifcfg-eno16780032
TYPE="Ethernet"
BOOTPROTO="none"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
NAME="eno16780032"
UUID="2d1107e3-8bd9-49b1-b726-701c56dc368b"
ONBOOT="yes"
IPADDR0="34.36.140.86"
PREFIX0="22"
GATEWAY0="34.36.143.254"
DNS1="34.36.132.1"
DNS2="34.34.132.1"
DOMAIN="corp.halliburton.com"
HWADDR="00:50:56:AC:3F:F9"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
NM_CONTROLLED="no"
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 34.36.143.254 0.0.0.0 UG 0 0 0 eno16780032
34.36.140.0 0.0.0.0 255.255.252.0 U 0 0 0 eno16780032
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eno16780032
When I reboot the machine, the first line in route table gets erased, I then run:
#route add default gw 34.36.143.254
After which network works fine.
Help required. I don't want to use NetworkManager.The following might be useful:
https://access.redhat.com/solutions/783533
"When transitioning from NetworkManager to using the network initscript, the default gateway parameter in the interface's ifcfg file will be depicted as 'GATEWAY0'. In order for the ifcfg file to be compatible with the network initscript, this parameter must be renamed to 'GATEWAY'. This limitation will be addressed in an upcoming release of RHEL7."
NetworkManager is now the default mechanism for RHEL 7. Personally I don't quite understand this, because as far as I can gather it is a program for systems to automatically detect and connect to known networks. I think such functionality can be useful when switching between wireless and wired networks, but for a server platform, I wonder. -
hello,
i have just downloaded oracle 10g softwares ...
i installed database then developer suite ... everything was fine ... until i was unable to run forms ...
a friend of mine told me that i need to install application server in order to run forms ...
1st of all i want to know that is there any way i can run forms without using Oracle AS 10g ...
2ndly i m facing problems in installation of Oracle AS 10g ...
i have studied online documentation but it ain't so helpfull for me ...
it seems like ... i have to install "Oracle AS infrastructure" first and then "Middle-tier: Business Intelligence and forms" ...
i m using P-IV (AMD Athlon XP 2100+, MMX, 1.7GHz Processor) with 512 MB DD RAM and Windows XP Professional with Service Pack 2 as Operating System.
During installation, the installer is warning dat only "Oracle Application Server (J2EE and Web Cache)" and "Oracle Application Server Developer Kits" are supported installations on dis platform ...
what should i do ... urgent help required ...
regards,
yasir ([email protected])@ brusardl and rkogelhe
thanx for replying ...
brusardl
i didn't changed da port while installing Oracle AS ...
inspite i stopped all services using/listening from dat port ...
now ... i guess there has been some conflict ... as database listner stops automatically just after starting !!!
rkogelhe
can u plz tell me what is BI version of Forms ...
and can i view forms running on web without installing Oracle AS with OC4J bundled in Forms ???
Another Problem:
I re-installed Database, Developer suite and then Oracle AS infrastructure ...
everthing went fine ...
when i installed Oracle AS Middle Tier - Business Intelligence & Forms
during installation ... some configuration assistants failed/skipped ...
da OC4J configration assistant at 5th last position failed ... so remaining 4 configuration assistants were skipped ...
at da end it said ... Installation Succesfull but with some configuration assistants failed/skipped ...
is dis a installation useless ... can i fix dis ?
regards,
yasir -
Help required from JDeveloper Development Team.
HI there,
I Download the JDeveloper 10.1.2 (1811) from OTN, But the downloaded archive file is unable to open. I did the download once again but I am facing same problem. I want to JDeveloper 10.1.2 for the installation of BI Beans 10.1.2.
Help required from JDeveloper Development Team
Thanks For Your Time,
Regards,
ViSHAL.Please use an informative Subject line, there is more chance that people will read the post.
All we can suggest is that you try the download again.
Maybe you are looking for
-
Why can't I just use my debit card for adding my child to family share?!
I want to use my child on family share but can't because I don't need or want a credit card, my bank has fraud protection, who actually just called me about fraud because I purchased the newest iPhone! I don't like credit cards. Why can't I just use
-
Usage of update-bapi and getdetail-bapi within one view
Hello, i'm a student and i'm new to webdynpro and abap. Im trying to get data through a bapi into some screens and want to update some of these inputfields back through an update-bapi. I get all the needed data by a getdetails-bapi and can show the
-
Hyperlinks are not working when I convert MS PPT with notes to PDF
I am using MS Powerpoint 2010 and have some hyperlinks throughout the presentation. When I Save as "PDF" and select the options "Notes pages" and open up the PDF, I see the slide and then the notes on the bottom of the page but the hyperlinks within
-
Inquiry regarding my subscription to Adobe.
I paid $9.99 + tax to join Adobe. Why are they saying this is a 30-day trial. Also where do I get the License # I am required to enter?
-
Firefox 15 acts as if a scroll lock is on. I just upgraded from 14 to 15.
I just upgraded from 14 to 15. Using a EVO View tablet, the OS is current. The secured part of ETADirect.com Firefox 15 acts as if a scroll lock is on. When I zoom in, I am unable to move the page.The scroll bars both move,as if the page is moving.