ORA-02068 errors using a DB Link between source and remote db servers
I get the following error when I query a table or view on a remote database using a db link:
13:58:13 SQL> /
COUNT(*)
92862
13:58:16 SQL> /
select count(*) from rp_adm.users
ERROR at line 1:
ORA-02068: following severe error from DURS.CONDEVD1.WORLD
ORA-03113: end-of-file on communication channel
14:03:53 SQL>
As you can see, the query works sometimes and then if I wait about 5 minutes, I get the error. If I run the query immediately after the error, it works fine.
rp_adm.users is a view which within the DDL it queries a remote database using a db link.
Any one have any idea how to get rid of this ORA-02068 and ORA-03113 error????
By the way, this is running on Solaris 10 OS running Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bit databases.
Edited by: user10340463 on Nov 3, 2008 11:21 AM - Sorry for the dup. Browser screwing up.
Similar Messages
-
Our application is being plagued by an ORA-02068 error.
We have two database servers that communicate via dblink (over a frame). One is on Solaris running 8i, the other NT running 7.3.4. THere is a pl/sql procedure on the solaris instance that calls a pl/sql procedure on the NT instance. Occasionally we get the following error:
ORA-02068: following severe error from CNQA.WORLD
where CNQA is our database link.
ORacle documents the err02068, 00000, "following severe error from %s%s"
// *Cause: A severe error (disconnect, fatal Oracle error) received from
// the indicated database link. See following error text.
// *Action: Contact the remote system administrator.
or as follows:
We do have a firewall that has been configured to allow sqlnet connectivity between Unix and NT.
The problem is intermittent. We have raised the number of open links, as well as sessions.
Any suggestions? Has anyone else experienced this problem?
Thanks in advance for any help!
nullHi,
I am also facing a similar problem.
Could you find any solutions. If so pls update . Thanks
Our application is being plagued by an ORA-02068 error.
We have two database servers that communicate via dblink (over a frame). One is on Solaris running 8i, the other NT running 7.3.4. THere is a pl/sql procedure on the solaris instance that calls a pl/sql procedure on the NT instance. Occasionally we get the following error:
ORA-02068: following severe error from CNQA.WORLD
where CNQA is our database link.
ORacle documents the err02068, 00000, "following severe error from %s%s"
// *Cause: A severe error (disconnect, fatal Oracle error) received from
// the indicated database link. See following error text.
// *Action: Contact the remote system administrator.
or as follows:
We do have a firewall that has been configured to allow sqlnet connectivity between Unix and NT.
The problem is intermittent. We have raised the number of open links, as well as sessions.
Any suggestions? Has anyone else experienced this problem?
Thanks in advance for any help!
null -
Error: ORA-01847: day of month must be between 1 and last day of month
Hi,
I am getting this ORA-01847: day of month must be between 1 and last day of month type of error but I have checked my data all are correct.
I am inserting the data in the merge query. It is giving the above error.
but when i insert the data like that
insert into dt(start_date) select TO_DATE (tariff_start_date, 'DD/MM/RRRR') from ext_zpp0a871;
It does not give any error.
Please find the below code
DECLARE
l_sv_error_msg VARCHAR2 (1000);
BEGIN
FOR i IN (SELECT condition_type, sales_org, division_channel, division,
price_list, ean_upc, amount, unit_of_measure1,
tariff_start_date, tariff_end_date
FROM ext_zpp0a871--This is external table
WHERE condition_type = 'ZPP0' AND ROWNUM < 200)
LOOP
BEGIN
MERGE INTO sap_tariff st
USING (SELECT i.price_list pl, i.ean_upc upc,
TO_DATE (i.tariff_start_date, 'DD/MM/RRRR') tsd,
TO_DATE (i.tariff_end_date, 'DD/MM/RRRR') ted
FROM DUAL) du
ON (st.prod_ean_cuni = du.upc
AND st.pricelist = du.pl
AND st.tariff_start_date = du.tsd
AND st.tariff_end_date = du.ted)
WHEN MATCHED THEN
UPDATE
SET st.condition_type = i.condition_type,
st.sales_org = i.sales_org,
st.division_channel = i.division_channel,
st.division = i.division,
st.amount =
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
st.uom = i.unit_of_measure1
WHEN NOT MATCHED THEN
INSERT (condition_type, sales_org, division_channel, division,
pricelist, prod_ean_cuni, amount, uom,
tariff_start_date, tariff_end_date)
VALUES (i.condition_type, i.sales_org, i.division_channel,
i.division, i.price_list, i.ean_upc,
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
i.unit_of_measure1,
TO_DATE (i.tariff_start_date, 'DD/MM/RRRR'),
TO_DATE (i.tariff_end_date, 'DD/MM/RRRR'));
/*INSERT INTO sap_tariff
(condition_type, sales_org, division_channel,
division, pricelist, prod_ean_cuni,
amount,
uom,
tariff_start_date,
tariff_end_date
VALUES (i.condition_type, i.sales_org, i.division_channel,
i.division, i.price_list, i.ean_upc,
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
i.unit_of_measure1,
TO_DATE (i.tariff_start_date, 'DD/MM/RRRR'),
TO_DATE (i.tariff_end_date, 'DD/MM/RRRR')
EXCEPTION
WHEN DUP_VAL_ON_INDEX
THEN
UPDATE sap_tariff
SET condition_type = i.condition_type,
sales_org = i.sales_org,
division_channel = i.division_channel,
division = i.division,
amount =
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
uom = i.unit_of_measure1;
WHEN OTHERS
THEN
l_sv_error_msg := SQLERRM (SQLCODE);
INSERT INTO sap_tariff_log
(date_of_load, condition_type, sales_org,
division_channel, division, price_list,
prod_ean_cuni, amount, uom,
tariff_start_date, tariff_end_date,
rejection_reason
VALUES (SYSDATE, i.condition_type, i.sales_org,
i.division_channel, i.division, i.price_list,
i.ean_upc, i.amount, i.unit_of_measure1,
i.tariff_start_date, i.tariff_end_date,
l_sv_error_msg
END;
END LOOP;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
l_sv_error_msg := SQLERRM (SQLCODE);
neo_pro_log ('Others Error', l_sv_error_msg);
END;user13400510 wrote:
but when i insert the data like that
insert into dt(start_date) select TO_DATE (tariff_start_date, 'DD/MM/RRRR') from ext_zpp0a871;
It does not give any error.Maybe the error is on tariff_end_date instead of tariff_start_date ?
What are the datatypes of tariff_start_date and tariff_end_date ? If they are already dates, and you to_date them (and depending on what your nls_date_xxxxx params are) you can have such errors :SQL> sho parameter nls_date_format
NAME_COL_PLUS_SHOW_PARAM TYPE VALUE_COL_PLUS_SHOW_PARAM
nls_date_format string DD/MM/YYYY
SQL> select to_date(sysdate,'Day dd Mon RRRR') from dual;
select to_date(sysdate,'Day dd Mon RRRR') from dual
ERROR at line 1:
ORA-01846: not a valid day of the week
SQL> select to_date(sysdate,'hh24:mi:ss dd/mm/rrrr') from dual;
select to_date(sysdate,'hh24:mi:ss dd/mm/rrrr') from dual
ERROR at line 1:
ORA-01850: hour must be between 0 and 23 -
ORA-01847: day of month must be between 1 and last day of month error
Hi All
When i run the following code i'm getting the error:ORA-01847: day of month must be between 1 and last day of month error
SELECT t2.owner_cat,
t1.owner_id,
stock_id,
Sum(received_amount) received_amount,
Sum(curr_amount) curr_amount,
Sum(used_amount) used_amount,
To_char(Add_months(date_work,6),'YYYY') date_work
FROM (SELECT owner_id_to owner_id,
stock_id_to stock_id,
Sum(full_amount) received_amount,
0 curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_transfer
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id_to,
stock_id_to
UNION ALL
SELECT owner_id,
stock_id,
0 received_amount,
Sum(curr_amount) curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id
UNION ALL
SELECT t2.owner_id,
t1.stock_id,
0 received_amt,
0 curr_amt,
Sum(amount) used_amt,
To_char(Add_months(date_work,6),'YYYY') date_work
FROM dw_wms_wo_mat_dc t1,
(SELECT owner_id,
stock_id
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id) t2
WHERE t1.stock_id = t2.stock_id
GROUP BY t2.owner_id,
t1.stock_id,
To_char(Add_months(date_work,6),'YYYY')) t1,
dw_wms_setup_owner t2
WHERE t1.owner_id = t2.owner_id
GROUP BY t2.owner_cat,
t1.owner_id,
stock_id,
To_char(Add_months(date_work,6),'YYYY')
But when i just run the inner query:
(SELECT owner_id_to owner_id,
stock_id_to stock_id,
Sum(full_amount) received_amount,
0 curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_transfer
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id_to,
stock_id_to
UNION ALL
SELECT owner_id,
stock_id,
0 received_amount,
Sum(curr_amount) curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id
UNION ALL
SELECT t2.owner_id,
t1.stock_id,
0 received_amt,
0 curr_amt,
Sum(amount) used_amt,
To_char(Add_months(date_work,6),'YYYY') date_work
FROM dw_wms_wo_mat_dc t1,
(SELECT owner_id,
stock_id
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id) t2
WHERE t1.stock_id = t2.stock_id
GROUP BY t2.owner_id,
t1.stock_id,
To_char(Add_months(date_work,6),'YYYY'))
I'm not getting that error, any help please?Hi,
Like Anuraq already explained, you need to keep in mind that when you apply a to_char, you've turned your DATE datatype into a STRING and by doing that you've lost the ability to use the add_months function again in your outer query.
Using a simplified example, extracted from your example:
MHO%xe> select to_char(add_months(date_work, 6), 'yyyy') date_work
2 from ( select to_char(0) date_work
3 from dual
4 union all
5 select to_char(0) date_work
6 from dual
7 union all
8 select to_char(add_months(sysdate, 6), 'yyyy') date_work
9 from dual
10 );
select to_char(add_months(date_work, 6), 'yyyy') date_work
FOUT in regel 1:
.ORA-01847: day of month must be between 1 and last day of monthHowever, you should either do something like:
MHO%xe> select nvl(to_char(add_months(date_work, 12), 'yyyy'), '0') date_work
2 from ( select to_date(null) date_work
3 from dual
4 union all
5 select to_date(null) date_work
6 from dual
7 union all
8 select sysdate date_work
9 from dual
10 );
DATE
0
0
2010or (less clear, more confusing):
MHO%xe> select nvl(to_char(add_months(date_work, 6), 'yyyy'), '0') date_work
2 from ( select to_date(null) date_work
3 from dual
4 union all
5 select to_date(null) date_work
6 from dual
7 union all
8 select add_months(sysdate, 6) date_work
9 from dual
10 );
DATE
0
0
2010It's not clear to me why you're using add_months twice (inner + outer query) in your original example.
As you can see you can get the same results using it only once in your outer query. -
First install through regular update : never finishing the start after automatic restart
First install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - Used Migration Assistant to restore applications and data only - Mail crashed each 5 inutes and asked constantly for password of my 2 accounts, links between folders and files not OK and attaching a doc was complicated. I downloaded the update same problems
Second install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - Used Migration Assistant to restore applications and data only and settings : never finishing the start after automatic restart
Third install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - But no disk available in Finder
So far no Mac since 3 days ...
Any help is welcomeStill struggling to understand why copying the entire root dir to a disk image and then restoring from that image did not, as expected, yield an identical system, and why I even had to reinstall after doing this.
Because there is a lot more going on under the hood than merely copying files.
The only way to do what you want is to use cloning software like Carbon Copy Cloner.
My advice is to rescue your personal files to a regular non-TimeMachine external drive, Zero erase the ENTIRE drive and install OS X fresh and update, then your programs from original sources and files from backup.
Then, make a bootable clone and you can copy that as many times as you want and each one is bootable.
Most commonly used backup methods
How to erase and install Snow Leopard 10.6 -
Can I use Unix symbolic links between Mountain Lion and Snow Leopard Mail folders?
After upgrading to Mountain Lion, I partitioned my iMac HD to have two partitions: Macintosh HD has Mountain Lion; I reinstalled Snow Leopard on Macintosh HD 2. Best part: you can access your user-created files from EITHER disk partition. But not so OS X Mail. I wanted to revert to Snow Leopard, since I don't like the iOS-like Mountain Lion (swipe THIS!), but Mail is a problem since all my Snow Leopard Mail was successfully migrated over to Mountain Lion during upgrade.
Is there a way to use Unix symbolic links between actual OS X Mail folders in Mountain Lion and OS X Mail in Snow Leopard?
It seems the (trial) symbolic link created pointed to a blank file.It's not a matter of "letting" each maintain its own database, William. By default, I believe, I have no control over what gets written. In fact, if there were a way to set a preference that says, use this index named "spotlightindexSL' only [while in SL], that might solve my problem. Then when booting up in ML, it would just go after the index it last made.
My guess is that while I am in ML or SL and not the other, there are all sorts of changes to files and the system freaks and says "Oh, now look at what a mess I've made — there are all sorts of files unaccounted for. Now I have to rebuild the whole thing."
I have 2 had drives in my Mac, both 500GB. One (Working Disk) has no operating system and all my files, and the other drive is partitioned 470/30gb with SL on the 470 and ML in the 30. When I restart in either OS, the auto-start Indexing as if for the very first time, and do both hard drives (in total: 3 partitions of files, not counting the ML Restore partition).
I know it all uncoventionally — just wanted to see what my $20 new OS will cost me in software upgrades, in particular my $1800 Adobe Design Suite CS4 and a few others. -
JDeveloper Error: White spaces are required between publicId and systemId.
I'm using JDeveloper 10.1.3.1.0.
This error is occurring in a BPEL process project.
With one particular web service I have, adding a Partner Link to the BPEL generates the following compile error:
Error: White spaces are required between publicId and systemId.
I can add Partner links from other web services and the BPEL will compile fine. The main difference I can see is that this web service supports WS-Addressing.
I have found one other reference to a similar (but not exactly the same) problem elsewhere in these forums but the fix is not really applicable. All of the wsdl files pass the "Validate WSDL" operation, and I don't see anything wrong with them.
When the error occurs and I select "Go To Source" it points back to the first line of the bpel file.
Can anyone help me out on this?
This is the wsdl for the web service, wsademo.wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="wsademo"
targetNamespace="http://localhost:11001/wsademo.wsdl"
xmlns:tns="http://localhost:11001/wsademo.wsdl"
xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:ns="http://localhost:11001/wsademo.wsdl"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<schema targetNamespace="http://localhost:11001/wsademo.wsdl"
xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:ns="http://localhost:11001/wsademo.wsdl"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
<import namespace="http://www.w3.org/2003/05/soap-encoding"/>
<!-- operation request element -->
<element name="wsademoResult">
<complexType>
<sequence>
<element name="out" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
</element>
<!-- operation request element -->
<element name="wsademo">
<complexType>
<sequence>
<element name="in" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
</element>
<!-- operation response element -->
<element name="wsademoResult">
<complexType>
<sequence>
<element name="out" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="wsademoResult">
<part name="parameters" element="ns:wsademoResult"/>
</message>
<message name="wsademo">
<part name="parameters" element="ns:wsademo"/>
</message>
<message name="wsademoResult">
<part name="parameters" element="ns:wsademoResult"/>
</message>
<message name="wsademoHeader">
<part name="MessageID" element="wsa:MessageID"/>
<part name="RelatesTo" element="wsa:RelatesTo"/>
<part name="From" element="wsa:From"/>
<part name="ReplyTo" element="wsa:ReplyTo"/>
<part name="FaultTo" element="wsa:FaultTo"/>
<part name="To" element="wsa:To"/>
<part name="Action" element="wsa:Action"/>
</message>
<portType name="wsademoPort">
<operation name="wsademoResult">
<documentation>accepts a string value from a relayed response</documentation>
<input message="tns:wsademoResult"/>
</operation>
<operation name="wsademo">
<documentation>echos a string value and relays the response to the wsa replyTo address (if present)</documentation>
<input message="tns:wsademo"/>
<output message="tns:wsademoResult"/>
</operation>
</portType>
<binding name="wsademo" type="tns:wsademoPort">
<SOAP:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="wsademoResult">
<SOAP:operation soapAction="urn:wsademo/wsademoPort/wsademoResult"/>
<input>
<SOAP:body parts="parameters" use="literal"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="Action"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="To"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="FaultTo"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="ReplyTo"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="From"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="RelatesTo"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="MessageID"/>
</input>
</operation>
<operation name="wsademo">
<SOAP:operation soapAction="urn:wsademo/wsademoPort/wsademo"/>
<input>
<SOAP:body parts="parameters" use="literal"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="Action"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="To"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="FaultTo"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="ReplyTo"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="From"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="RelatesTo"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="MessageID"/>
</input>
<output>
<SOAP:body parts="parameters" use="literal"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="Action"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="To"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="FaultTo"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="ReplyTo"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="From"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="RelatesTo"/>
<SOAP:header use="literal" message="tns:wsademoHeader" part="MessageID"/>
</output>
</operation>
</binding>
<service name="wsademo">
<documentation>demonstrates WS-Addressing capabilities</documentation>
<port name="wsademo" binding="tns:wsademo">
<SOAP:address location="http://localhost:11001"/>
</port>
</service>
</definitions>
This is the wsdl that is generated by JDeveloper that contains the PartnerLinks and refernce back to the original wsdl file, wsademoRef.wsdl:
<definitions
name="wsademo"
targetNamespace="http://localhost:11001/wsademo.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://localhost:11001/wsademo.wsdl"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<import namespace="http://localhost:11001/wsademo.wsdl" location="wsademo.wsdl"/>
<plnk:partnerLinkType name="wsademoPort_PL">
<plnk:role name="wsademoPort_Role">
<plnk:portType name="tns:wsademoPort"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
And finally the is the BPEL, WSAtest3.bpel:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Oracle JDeveloper BPEL Designer
Created: Thu Oct 05 15:27:12 GMT-08:00 2006
Author: wstielau
Purpose: Synchronous BPEL Process
-->
<process name="WsaTest3" targetNamespace="http://xmlns.oracle.com/WsaTest3"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ns1="http://localhost:11001/wsademo.wsdl"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns2="http://localhost:80/Service.wsdl"
xmlns:client="http://xmlns.oracle.com/WsaTest3"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension/"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
<!--
PARTNERLINKS
List of services participating in this BPEL process
-->
<partnerLinks>
<!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:WsaTest3"
myRole="WsaTest3Provider"/>
<partnerLink name="wsademo" partnerLinkType="ns1:wsademoPort_PL"
myRole="wsademoPort_Role" partnerRole="wsademoPort_Role"/>
</partnerLinks>
<!--
VARIABLES
List of messages and XML documents used within this BPEL process
-->
<variables>
<!-- Reference to the message passed as input during initiation -->
<variable name="inputVariable" messageType="client:WsaTest3RequestMessage"/>
<!-- Reference to the message that will be returned to the requester-->
<variable name="outputVariable"
messageType="client:WsaTest3ResponseMessage"/>
<variable name="Invoke_1_wsademo_InputVariable" messageType="ns1:wsademo"/>
<variable name="Invoke_1_wsademo_OutputVariable"
messageType="ns1:wsademoResult"/>
</variables>
<!--
ORCHESTRATION LOGIC
Set of activities coordinating the flow of messages across the
services integrated within this business process
-->
<sequence name="main">
<!-- Receive input from requestor. (Note: This maps to operation defined in WsaTest3.wsdl) -->
<receive name="receiveInput" partnerLink="client" portType="client:WsaTest3"
operation="process" variable="inputVariable" createInstance="yes"/>
<!-- Generate reply to synchronous request -->
<assign name="Assign_1">
<copy>
<from variable="inputVariable" part="payload"
query="/client:WsaTest3ProcessRequest/client:input"/>
<to variable="Invoke_1_wsademo_InputVariable" part="parameters"/>
</copy>
</assign>
<invoke name="Invoke_1" partnerLink="wsademo" portType="ns1:wsademoPort"
operation="wsademo" inputVariable="Invoke_1_wsademo_InputVariable"
outputVariable="Invoke_1_wsademo_OutputVariable"/>
<assign name="Assign_2">
<copy>
<from variable="Invoke_1_wsademo_OutputVariable" part="parameters"/>
<to variable="outputVariable" part="payload"
query="/client:WsaTest3ProcessResponse/client:result"/>
</copy>
</assign>
<reply name="replyOutput" partnerLink="client" portType="client:WsaTest3"
operation="process" variable="outputVariable"/>
</sequence>
</process>
-Wayne Stielau
Open Text Corporation
Irvine, CAI have discovered two issues.
1. JDeveloper does not seem to like the SOAP 1.2 envelope and encoding namespaces. Is this a known limitation? Changed them to 1.1.
2. JDeveloper does not like the double definition of wsaDemoResult.
When these two items are changed, the bpel compiles clean. Now I've got to get the message header to populate correctly. There are no values assigned, only namespace definitions. This is the SOAP packet that is received at the web service.
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Header>
<MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
<From xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
<RelatesTo xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
<Action xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
<ReplyTo xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
<To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
<FaultTo xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
</env:Header>
<env:Body>
<wsademo xmlns="http://localhost:11001/wsademo.wsdl">
<in xmlns="">hello</in>
</wsademo>
</env:Body>
</env:Envelope> -
How to create database link between oracle and SQL Server
Hello Everyone,
Here i have Oracle Database 9i and SQL Server 2005 databases.
I have some tables in sql server db and i want to access from Oracle.
How to create a database link between these two servers
Thanks,Thanks for Everyone,
I was struggle with this almost 10 days....
I created Database link from Oracle to SQL Server
Now it is fine.........
Here i am giving my servers configuration and proceedure how i created the db link...@
Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
Machine (1)
DB Version : Oracle 9.2.0.7.0
Operating System : HP-UX Itanuim 64 11.23
IP : 192.168.0.31
Host : abcdbt
Machine (2)
Version : SQL Server 2005
Operating System : Windows server 2003 x86
IP : 192.168.0.175
Host : SQLDEV1
User/PW : sa/abc@123! (Connect to database)
Database : SQLTEST (exsisting)
Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
Prerequisites in Machine (2):
a) Oracle 10g software
b) User account to access SQL Server database (sa/abc@123!)
c) Existing SQL Server Database (SQLTEST)
d) Tables (testing purpose) (T)
Steps:
1) Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
2) Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
You can follow this link also.....
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
I created DSN as
DSN name : SQLTEST
User : SA/abc@123! (Existing user account)
Host : 192.168.0.175 (machine 2)
Already I have 1 database in SQL Server with the name SQLTEST
You can create DSN with different name also (not same as db name also)
3) Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
Create init<DSN NAME> file
Ex: initSQLTEST
Copy inithsodbc to initSQLTEST
And edit
initSQLTEST file
HS_FDS_CONNECT_INFO = SQLTEST <DSN NAME>*
HS_FDS_TRACE_LEVEL = OFF*
save the file....@
4) Configure Listener.ora *(Machine 2)*
LISTENER_NEW =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
SID_LIST_LISTENER_NEW =
(SID_LIST =
(SID_DESC =
(SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
(ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
(PROGRAM = hsodbc))
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
(PROGRAM = extproc) )
:> lsnrctl start LISTENER_NEW
5) Configure tnsname.ora *(Machine 2)*
SQLTEST11 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = SQLTEST))
(HS=OK)
:> tnsping SQLTEST11
If No errors then conti….
6) Configure a file *(Machine 1)*
Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
Create a file
$ vi TEST_abcdbt_ifile.ora
something=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
(CONNECT_DATA=
(SID=SQLTEST))
(HS=OK)
$ tnsping something
$ sqlplus system/manager
Your connected to Oracle database *(machine 1)*
create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
select * from t@xyz;10 rows selected.
Thanks,
Edited by: ram5424 on Feb 10, 2010 7:24 PM -
DB LINK between XE and 11g instances
Hello ,
I am facing the following problem.
I have 3 databases instances on 3 servers on is Xe,the second is 10 R2 and
the third instance is 11g.
I have create db link between Xe and 10g and vice-versa (10g and Xe)
the db links in the two senses are working fine.
But i could not create db link between xe and 11g nor between 11g and Xe.
I will give some detail
On Xe dblink pointing to 11g , when accessed give the message :
"ORA-01017 : Invalid username/password;logon denied ORA-02063 preceding db11g"
i am sure that user name and password i give in db link creation are correct and tried it many times.
From the other side
On 11g dblink pointing to Xe instance when ,accessed give the folowing result :
i could access some table (select * from t1@dbxe)
but some times i got message : "Internal server Error" for the same select on the same table.
When i try to access fonction f1 on dbxe from 11g instace , i got the message
"ORA-04052 : Error when quering remote object f1@dbxe ORA-00604.."
Does any body have some idea about the issue ?
thanks in advance.Is your 11g database configured to use case-sensitive passwords? If so, are you specifying a case-sensitive (quoted) password in the creation of your database link?
Joel -
Missing link between Itunes and Music Loaded from CDs
Somehow itunes no longer recognizes the link between itunes and music loaded from my Cds (error message in itunes indicates original file could not be found). I can establish this link manually one by one and the songs play but how can I establish this link other than manually one by one in itunes ?
Hi again!
I saved the last message by accident which caused the reply to be sent off and so I had not finished what I wanted to write. Aploogies.
I didn't find the new iMac hybrid SSD/Disk system easy to understand when it arrived over a year ago. I eventually decided that the 256 SSD section would be best suited to having the Operatin System for greater speed and I must have decided to put the music files on the 1TB internal hard drive along with photos and raw video clips. I can't honestly remember. There was a lot to take in. I wasn't even aware until this failure that iTunes had a default location.
In addition to having the iTunes folder on the internal 1TB hard drive, I used Time Machine to store the entire computer contents on a 1TB Western Digital external hard drive. I had done my last Time Machine back-up on the 13 February and so I was hoping that by opening one or two songs on the back-up, they might reactivate the 'old' interface with the original playlists on it. That didn't happen but I then realised, while I was still in the Tme Machine back-ups on the WD external hard drive, that in the iTunes Media folder contained within the iTunes folder on the default Users/Username/Music location there was only an Add automatically to iTunes folder which was empty. While still still looking through the Time Machine back-upsI saw that the music instead was stored on the 1TB of internal hard drive as outlined on the first post:
'The music files are located in folders (name of artists), within a folder (iTunes Music), within a folder (iTunes), within a folder (Music), within a folder (username) on the 1TB of internal disk drive.'
The iTunes.itl file was last modified on Monday at 21:52. Created on 17th February, 2012. Size 386KB
Regards,
DG. -
hi all,
i have a problem regarding relation or link between sales and production order. i have to fetch production order number related to sales order number. i have checked in the table AFPO that is production order item table , there is field AFPO-KDAUF and AFPO-KDPOS ie, sales order and sales item. but when i see these two fields there is no data into the field so how can i get data into the table related to production order.can anyone help me on this issue.Please refer to the below links -
https://forums.sdn.sap.com/post!reply.jspa?threadID=309885
Integration points with MM/IM and PP are some of the following -
When a Production order is created and released a reservation gets created for the materials in BOM
When the reservation is created and materials are posted against the reservation with mvt type 311 these are transferred to the respective location.
When a GR is posted with mvt type 101, the Finished or Semifinished goods are posted to the respective storage location and inventorized.
When a consumption is posted with mvt type 261 then stock will get reduced in resepective storage location.
When a batch determination is done in a production order basing on the batch search strategy and sort rule material, quantity and batch are selected.
If WM is configured an associated internal movement for all the above movement types will be posted.
During MRP, BOM which is a master data for PP is used to calculate the dependent requirements of materials.
During availabilty check of a production order basing on the availability check configured materials will be selected and checked.
Hope the above may help you. -
'Is there a link between OLM and iProcurement'
I have been asked 'Is there a link between OLM and iProcurement'? The person posing the question is wanting to create trainers as suppliers and I know that the supplier information is shared between OLM and the A/P, A/R and G/L modules and I presume that the link to iProcurement will be via one of these modules however is there a more direct vanilla link between OLM and iprocurement?
Any help would be great
Thanks
DMI am afraid there is no link between the iProc and OLM.
The closest that apps can offer you is that your learner/delegates can be of type external i.e. being an Organization or a Customer. Hence there exists a link for your delegate to be a customer(hz_parties).
However this might be a future integration i.e. Trainers being suppliers. I am saying so because in 11.5.10 there is a table named OTA_VENDOR_SUPPLIES that has reference to vendor_id. Currently this table is not being used by OLM.
You may look into the code of packages OTA_VSP_API, OTA_TEA_BUS & OTA_PLE_BUS and see if Oracle's future functionality will converge towards your business requirement.
Thanks,
Anil Passi
http://oracle.anilpassi.com -
Short dump Error during VM container communication between ABAP and JAVA.
Hello All,
Can anybody please help with resolving the following issue:
Short dump is displayed, when I try to insert CRM product (type: material) in the document (opportunity). This CRM product was created in CRM directly.
When I try to insert ECC migrated material, everything works fine.
Here is the details of dump:
Short text
Error during VM container communication between ABAP and JAVA
Information on where terminated
Termination occurred in the ABAP program "SAPLPRC_INT" - in "GET_PRICING_PROCEDURE_INFO".
The main program was "SAPMHTTP ". In the source code you have the termination point in line 100 of the (Include) program "LPRC_INTF35".
Thank you!hi Willie,
this is the dump, and i have used the t-code sm52 . the VMC is not active.
|Short Text |
| Error during VM Container communication between ABAP and JAVA. |
|What happened? |
| The current program had to be terminated because of an |
| error when installing the R/3 System. |
| Error in the RFC layer. |
|What can you do? |
| Note which actions and entries caused the error to occur. |
| |
| Consult your SAP administrator. |
| |
| Using transaction ST22 for ABAP dump analysis, you can view, manage, |
| and retain termination messages for longer periods. |
|Error analysis |
| An error has occurred in the RFC layer during communication between |
| JAVA and the ABAP stack. This prevents data from being passed correctly |
| between the two stacks. |
| |
| Message = TH_VMC_SERV_NOT_ACTIVE |
| Return code = -1007 |
| Pointer = "000007DD348F6138" |
|How to correct the error |
| Check whether the VMC is active on your application server. To do this, |
| run transaction SM52. If the VMC is not active, contact your SAP |
| administrator. |
Regards
Charles -
Linking between PP and SD tables
Hai friends,
I want one link between PP and SD tables. My requirement is i have planned order PLAF table. i want to link Sales table. Please guide me.
Thanks and Regards
visvanathHi
You can simply link the Sales order No and ITEM
VBAP-VBELN and VBAP-POSNR with the PP order item table
AFPO-KDAUF and AFPO-KDPOS and get the Pp related info
or in Sales tables there is a field called AUFNR in VBAP
use that for PP order number
SD tables
http://www.erpgenie.com/abap/tables_sd.htm
PP tables
http://www.erpgenie.com/abap/tables_pp.htm
Regards
Kiran Sure -
Link between iTunes and Library lost. Hard drive failure
Hi!
I need help with the following problem. (i7 27" iMac/256GB SSD + 1TB of internal disk hard drive. (SATA/7200rpm/3.5"))
The 1TB internal hard drive on my iMac failed the S.M.A.R.T. Utilities test so Apple called in the computer and I had to have the hard drive replaced. The technicians reloaded the system from a 1TB external Western Digital hard drive; I had backed up the everything on it using Time Machine.
Unfortunately, the iTunes application cannot now locate my iTunes library. I create a lot of slideshows on Aperture and use music from iTunes on the audio tracks. The titles on the audio tracks are now inaudible and are preceded by a yellow triangle with an exclamation mark inside. Can anyone help me on how I should re-establish the original link between iTunes and its library. The music files are located in folders (name of artists), within a folder (iTunes Music), within a folder (iTunes), within a folder (Music), within a folder (declangreaney) on the 1TB of internal disk drive.
In trying to solve the problem, I went through the folders and double clicked on one song. This opened iTunes so I highlighted and dragged all the other 'artist-named' folders on the iTunes interface and in doing so, I succeeded in accessing all the files. This is not wholly satisfactory, however, as I do not have my own playlists and more seriously, there is still no link between the Aperture audio tracks.
Sincerely,
DG.Hi again!
I saved the last message by accident which caused the reply to be sent off and so I had not finished what I wanted to write. Aploogies.
I didn't find the new iMac hybrid SSD/Disk system easy to understand when it arrived over a year ago. I eventually decided that the 256 SSD section would be best suited to having the Operatin System for greater speed and I must have decided to put the music files on the 1TB internal hard drive along with photos and raw video clips. I can't honestly remember. There was a lot to take in. I wasn't even aware until this failure that iTunes had a default location.
In addition to having the iTunes folder on the internal 1TB hard drive, I used Time Machine to store the entire computer contents on a 1TB Western Digital external hard drive. I had done my last Time Machine back-up on the 13 February and so I was hoping that by opening one or two songs on the back-up, they might reactivate the 'old' interface with the original playlists on it. That didn't happen but I then realised, while I was still in the Tme Machine back-ups on the WD external hard drive, that in the iTunes Media folder contained within the iTunes folder on the default Users/Username/Music location there was only an Add automatically to iTunes folder which was empty. While still still looking through the Time Machine back-upsI saw that the music instead was stored on the 1TB of internal hard drive as outlined on the first post:
'The music files are located in folders (name of artists), within a folder (iTunes Music), within a folder (iTunes), within a folder (Music), within a folder (username) on the 1TB of internal disk drive.'
The iTunes.itl file was last modified on Monday at 21:52. Created on 17th February, 2012. Size 386KB
Regards,
DG.
Maybe you are looking for
-
I have changed my ID and I can no longer update my apps or see my purchases. I have changed my ID in the store settings.
-
Webcam won't work with my HP Desktop XP
I have a webcam live ultra. I recently did a full restore to my HP with XP to clean up the computer. Somewhere along the line I lost the creative intall disk. I downloaded the drivers and apps from the creative website but cannot get my PC or the web
-
2.0 View PowerPoint, Not Keynote?
Why is Apple going to allow PowerPoint, Word and Excel viewing, but no mention of Keynote, Pages or Numbers? Have Mac users become the red-headed step-child? http://www.apple.com/pr/library/2008/03/06iphone.html "In addition to these new iPhone netwo
-
Hi Experts, We are dealing with Adobe forms in the enterprise portal. We have a leave application in the portal and the leave application is an ADOBE FORM. we are able to download in the same portal page,fill the form and as well as submit it during
-
Email folder not showing "new mail" alert
I have several email folders on my blackberry. When I recieve an email it only shows up on the "messages" folder. My previous BB would show the new mail indicator in both "Messages" folder and the specific email folder it belonged in. If I go to t