Automated Message from Oracle Files
Good Morning:
When I set a new user account in Collaboration Suite, Oracle files generated a email notification like:
"(Automated message from Oracle Files)
An account has been created for you on Oracle Files
(http://middleserver:7779/files/app) with the following
User ID: user01
In order to enable Protocol Access in Oracle Files you must go to
http://middleserver:7779/files/app/ProtocolAccess and
enter your Single Sign-On Password.
Thank you for using Oracle Files. "
But I need to change this message because the port setted is 7778 instead of 7779.
Where I can change this default port for generate the correct notification?
Thanks a lot for your help.
Hello,
I was wondering if we had the ability to handle this via the adapter?
Possible, but you need to develop adapter module for this.
It looks like a prologxmlepilog, but in your case, they are the ones sending. Where is the XML payload in the structure that you provided?
You can re-escape the characters using java mapping. For example, find %3C and replace with < . Here is the complete list of URL escape characters http://www.december.com/html/spec/esccodes.html
Hope this helps,
Mark
Similar Messages
-
How to send JMS message from oracle to weblogic
Hello,
I am facing with a problem of sending jms message from oracle to weblogic. I am using oracle 10g and weblogic server 9.1. Here is the problem. I would like to create a trigger to send JMS message to weblogic server whenever there is an update in oracle database. So I created a java class that will send a jms message to weblogic server. But in that class I use the jndi from weblogic: weblogic.jndi.WLInitialContextFactory
when I use the loadjava utility to load that class into oracle, the status of that class is invalid though this class is working fine in eclipse with the weblogic.jar included. I was thinking because the jndi from weblogic needs the weblogic.jar in order to work, then I loaded that jar file into oracle (it took about 20 minute to load everything) and everything loaded into oracle from that jar file is invalid and missing some reference.
So my question is: how do I send a jms message from oracle to weblogic using a java class with the right jndi?
Any help will be appreciated.
Thanks
TLIt should be quite straightforward to do this. As stated you need weblogic.jar in your classpath, then use 100% standard JMS calls to publish.
Ensure that you set the following properties before getting your initial context:
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://node:7001 (or whatever)
this will ensure that the correct JMS implementation classes are invoked.
You can't easily (without some mucking around) build a test implementation in an AQ environment and then deploy to WebLogic because in AQ you don't tend to use JNDI lookups (unless you've implemented oracle JNDI etc) but rather use non standard factory class to create connections etc. -
Sending message from oracle to middleware through oracle messaging gateway
Hi,
I am very new to oracle AQ and oracle messaging gateway. I am actually trying to propagate a message from oracle to middleware through oracle messaging gateway.
I have created the link between oracle messaging gateway and middleware(IBM Websphere).
1.*Created an object type with a single attribute of type sys.xmltype*.
create or replace type xpctas_type as object(payload sys.xmltype);
2.*Created a qtable with payload type as xpctas_type, a queue and started the queue.*begin
dbms_aqadm.create_queue_table(
queue_table => 'xpctas_qtab',
queue_payload_type => 'xpctas_type',
multiple_consumers => TRUE
dbms_aqadm.create_queue(queue_name =>'xpctas_q',
queue_table => 'xpctas_qtab',
max_retries => 16);
dbms_aqadm.start_queue('xpctas_q');
end;
3.*Created a transformation that converts user defined type xpctas_type to messaging gateway canonical type sys.MGW_BASIC_MSG_T.*
For this I created a function that converts xpctas_type to messaging gateway canonical type sys.MGW_BASIC_MSG_T.
CREATE OR REPLACE FUNCTION APPS.order_2_basic(my_order in xpctas_type)
RETURN sys.mgw_basic_msg_t
IS
v_xml XMLTYPE;
v_text varchar2(4000);
v_clob CLOB;
v_basic sys.mgw_basic_msg_t;
text_body sys.mgw_text_value_t;
header sys.mgw_name_value_array_t;
BEGIN
v_xml := XMLTYPE.createXML(my_order,NULL,NULL);
v_basic := sys.mgw_basic_msg_t.construct;
header := sys.mgw_name_value_array_t(sys.mgw_name_value_t.construct_integer('MGW_MQ_characterSet','1208'),
sys.mgw_name_value_t.construct_integer('MGW_MQ_priority', '7'));
IF(LENGTH(v_xml.getstringval())>0 AND LENGTH(v_xml.getstringval())<=4000) THEN
v_text := v_xml.getStringVal();
text_body := sys.mgw_text_value_t(v_text,NULL);
ELSE
dbms_lob.createtemporary(v_clob,TRUE,dbms_lob.session);
v_clob:=v_xml.getClobVal();
text_body := sys.mgw_text_value_t(NULL,v_clob);
dbms_lob.freetemporary(v_clob);
END IF;
v_basic:=sys.mgw_basic_msg_t(header,text_body,NULL);
RETURN v_basic;
END order_2_basic;
begin
dbms_transform.create_transformation(
schema => 'apps',
name => 'order_to_basic',
from_schema => 'apps',
from_type => 'xpctas_type',
to_schema => 'sys',
to_type => 'mgw_basic_msg_t',
transformation => 'Apps.order_2_basic(source.user_data)');
end;
4. Registered a foreign queue.
declare
v_options sys.mgw_properties;
gv_mq_queue_name VARCHAR2(32);
begin
gv_mq_queue_name := 'MB.O2C.SOFTWARESOLUTION';
v_options := sys.mgw_properties(
sys.mgw_property('MQ_openOptions', '2066') );
dbms_mgwadm.register_foreign_queue(
name => 'destq', -- MGW foreign queue name
linkname => 'mqlink', -- name of link to use
provider_queue => RTRIM(gv_mq_queue_name), -- name of MQSeries queue
domain => dbms_mgwadm.DOMAIN_QUEUE, -- single consumer queue
options => v_options );
end;
5. Added a subscriber with transformation.
begin
dbms_mgwadm.add_subscriber(
subscriber_id => 'sub_aq2mq', -- MGW subscriber name
propagation_type => dbms_mgwadm.outbound_propagation,
queue_name => 'apps.xpctas_q',
destination => 'destq@mqlink',
transformation => 'apps.order_to_basic');
end;
6. Added a scheduler
begin
dbms_mgwadm.schedule_propagation(
-- schedule name
schedule_id => 'sch_aq2mq',
-- outbound propagation
propagation_type => dbms_mgwadm.outbound_propagation,
-- AQ queue name
source =>'apps.xpctas_q',
-- MGW foreign queue with link
destination =>'destq@mqlink');
-- The remaining fields currently not used by MGW
end;
7. Enqueued a user defined data type into the qtable.
declare
l_xmlstring varchar2(2000);
l_payload sys.xmltype;
my_order xpctas_type;
enqueue_options DBMS_AQ.enqueue_options_t;
message_properties DBMS_AQ.message_properties_t;
msgid RAW( 16 );
v_num Number;
begin
SELECT '<?xml version="1.0" encoding="UTF-8" ?>
<Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/XXRFG_PRCS_CNCT_TO_ASSETS_STG" version="3.0.0" verb="Create" locale="en_US.UTF-8" delta="false">
<Q1:STAGING_ID>221</Q1:STAGING_ID>
<Q1:SW_INSTANCE_ID>18595755</Q1:SW_INSTANCE_ID>
<Q1:MC_INSTANCE_ID>194734</Q1:MC_INSTANCE_ID>
<Q1:OPCO>NUK</Q1:OPCO>
<Q1:RELATIONSHIP_FLAG>N</Q1:RELATIONSHIP_FLAG>
<Q1:RELATIONSHIP_TYPE>Connected To</Q1:RELATIONSHIP_TYPE>
<Q1:ObjectEventId />
</Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG>'
INTO l_xmlstring
FROM dual;
SELECT XMLTYPE(l_xmlstring)
INTO l_payload
FROM dual;
my_order:=xpctas_type(l_payload);
dbms_output.put_line(my_order.payload.getstringval());
DBMS_AQ.enqueue( queue_name => 'APPS.xpctas_q',
enqueue_options => enqueue_options,
message_properties => message_properties,
payload => my_order,
msgid => msgid
COMMIT;
END;
As soon as I enqueued the message the subscriber picked the message and sent it to middleware. I found the below message in the middleware
MD ÿÿÿÿ ¸ MQSTR AMQ HBU473QC61 PTÀ+H^ HBU473QC61 mqm 2012112109335869 ÿÿÿÿ
*<XPCTAS_TYPE><PAYLOAD><Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/XXRFG_PRCS_CNCT_TO_ASSETS_STG" version="3.0.0" verb="Create" locale="en_US.UTF-8" delta="false">*
*<Q1:STAGING_ID>221</Q1:STAGING_ID>*
*<Q1:SW_INSTANCE_ID>18595755</Q1:SW_INSTANCE_ID>*
*<Q1:MC_INSTANCE_ID>194734</Q1:MC_INSTANCE_ID>*
*<Q1:OPCO>NUK</Q1:OPCO>*
*<Q1:RELATIONSHIP_FLAG>N</Q1:RELATIONSHIP_FLAG>*
*<Q1:RELATIONSHIP_TYPE>Connected To</Q1:RELATIONSHIP_TYPE>*
*<Q1:ObjectEventId/>*
*</Q1:XXRFG_PRCS_CNCT_TO_ASSETS_STG>*
*</PAYLOAD></XPCTAS_TYPE>*
It has some junk data in the begining. How can I remove this junk data?? Any help provided on this would be of great help.
Experts on oracle mesaging gateway and AQ, Please help.
Thanks & Regards,
SachinHello,
your setup of the message gateway seems to be ok.
Did you check the corresponding versions of the client libraries (*.jar) ? These are the libraries on
db server side (e.g. aqapi.jar, based on your CLASSPATH entries in file "mgw.ora") and for the IBM MQ jars.
Kind regards,
WoG -
Help sending out long email message from ORACLE PL/SQL
Hello,
I need help sending out long email message from ORACLE PL/SQL.
My message(email body) contains about 4000 characters and comes out truncated somewhere on the middle.
My business requirements do not allow me to send it as attachment.
I am using oracle utl_smtp package and on oracle 10gR2.
Is it possible to send out long text message from Oracle?
Thanks!
IaThank you very much for your responses.
Even if I use email procedure below my message is getting truncated.
Here is how I am trying to execute the procedure from sql plus:
DECLARE
P_SENDER VARCHAR2(32767);
P_RECIPIENT VARCHAR2(32767);
P_SUBJECT VARCHAR2(32767);
P_BODY VARCHAR2(32767);
BEGIN
P_SENDER := 'xxxx@yyy';
P_RECIPIENT := 'xxxx@yyy';
P_SUBJECT := 'long text message';
P_BODY :=
'1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
7 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
8 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
9 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
10 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
11 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
12 34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
21 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789';
EMAIL ( P_SENDER, P_RECIPIENT, P_SUBJECT, P_BODY );
COMMIT;
END;
SQL> @long_sp;
PL/SQL procedure successfully completed.
The email message is:
long text message
xxx@yyyy
Sent: Tuesday, May 25, 2010 6:52 AM
To:
xxx@yyyy
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 7 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 8 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 9 12345678901234567890123456789012345678901234567890123456789012345678901234
Message is getting truncated around 1000 characters.
What am I doing wrong?
Please help!
Thanks!! -
Soap messages from Oracle 9.2
I want to send soap messages from Oracle 9.2 Database. Our requirement would involve sending multiple rows of data. Is this feasible?
Dont know much about "soap messages" but if it is a part of your database and you want to send them to some other database then you can use oracle streams for that. Streams will give you best control to transfer "multiple rows" from one server to another.
Daljit Singh -
Automated messages from Apple in a language I do not speak
Hi Everyone!
For two weeks now everytime I connect to iCloud from any of my iOS devices, I get an automated message from Apple saying that I connected to iCloud using that specific device. The problem is that the message comes in French! Who can help me have Apple use English to communicate with me again????
All my settings in my devices and iCloud have the language set for English.
Thanks a lot!
The message is as follows:
Cher(ère) User,
Votre identifiant Apple ([email protected]) a été utilisé pour ouvrir une session iCloud et iMessage à partir d’un iPhone 4S appelé « User´s iPhone ».
Si vous n’avez pas récemment configuré un iPhone avec votre identifiant Apple, il serait plus sûr de changer le mot de passe de votre identifiant Apple.Same here. Except I am English and am in Spain and everything comes in Spanish. Just because I am in a country for a while does not mean I speak that language well enough to read all the details...
APPLE PLEASE DON'T ASSUME THINGS THAT ARE NOT CORRECT! -
Automatically Deleting Users from Oracle Files
Hi,
We have written code to add/remove users in the OID.
Deleting in OID works fine but the user remains in OF.
Is there configuration setting to cascade the deletion request to Oracle Files?
Is there away to programmatically delete the user from Oracle files?
Thanks in AdvanceHi Kate
I have the same problem than you : my users also appears in the approbation paths.
Also, how did you delete a lot of users ? Manually ? Is there a way to mass delete users, instead of deleting them 1 by 1 ? -
Hi,
I am getting the below error in my system in db check .
Detail log: cefatfts.chk
command_line brconnect -u / -jid CHECK20101006090000 -c -f check
alert_log G:\ORACLE\SID\SAPTRACE\BACKGROUND\alert_SID.log
BR0286W Size 1972764672 of file H:\ORACLE\ SID \SAPDATA4\PRDUSR_2\PRDUSR.DATA2 is different from Oracle file size 482353152
BR0280I BRCONNECT time stamp: 2011-01-19 09.00.30
Googleit and found the below link
Backup Error "Return Code 0001 Success with warnings"
in this they Just Extend the datafile to update the control file
So i use ALTER DATABASE DATAFILE 'DATAFILE' RESIZE 'NEW SIZE'
Can this solve my error Please suggest and what command and precaution do I have to take.
Regards,Hi,
Sorry for that I will have closed the one post. As suggest i have cheeked the sap note and find only one note 1137346
in that
BR0286W Size of file %s is different from Oracle file size.
BR0286W Größe der Datei %s ist verschieden von Oracle-Dateigröße.
Explanation: The file size in the file system is different from the file size saved in the ORACLE dictionary (in the control file). The file may be corrupted.
Program reaction: The program tries to save the file.
User action: Check your disks, the file system (file system check), and the ORACLE ALERT file. If you discover errors, you may be able to correct the situation by performing a recovery. Contact an ORACLE specialist before you start a recovery.
Need to know the steps as suggest
in this they Just Extend the datafile to update the control file Can this solve my error
Regards, -
Send JMS message from Oracle to Weblogic topic.. How?
Hi,
I need to send messages from within Oracle Database to a topic in Weblogic. I understand that I can create a trigger that executes
a Java Stored Procedure. This trigger can be invoked upon row
addition/update or delete .
The java stored procedure itself can be be a client program that does a jndi lookup, has code to communicate with the topic on a remote Weblogic server. I can write and test this program independently using Oracle supplied jar files (jndi.jar, jar files that have jms api's etc.) then load it into the database and it should work.
Am I missing something. Is there any complication with jndi lookup, initial context, etc. The Oracle 9i and Weblogic reside on different servers.
Has anyone done this? Is there a better way of sending messages?
Should I bother with messaging gateways?
Thank You for your reply.
Samir SahuIt should be quite straightforward to do this. As stated you need weblogic.jar in your classpath, then use 100% standard JMS calls to publish.
Ensure that you set the following properties before getting your initial context:
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://node:7001 (or whatever)
this will ensure that the correct JMS implementation classes are invoked.
You can't easily (without some mucking around) build a test implementation in an AQ environment and then deploy to WebLogic because in AQ you don't tend to use JNDI lookups (unless you've implemented oracle JNDI etc) but rather use non standard factory class to create connections etc. -
I am having a problem trying to migrate some old email messages from a PC running Windows live mail.
I downloaded Thunderbird to the PC and imported the email messages and folders into Thunderbird and was able to create Mbox files for all the folders and messages. I copied these files to a usb stick and then tried to export the folders and messages to my iMac running Lion. It appeared to copy the folders to the Mac but only one message per folder was placed on the computer. Does anyone have any ideas on how I should proceed to copy these email messages over? Thanks.I am having a problem trying to migrate some old email messages from a PC running Windows live mail.
I downloaded Thunderbird to the PC and imported the email messages and folders into Thunderbird and was able to create Mbox files for all the folders and messages. I copied these files to a usb stick and then tried to export the folders and messages to my iMac running Lion. It appeared to copy the folders to the Mac but only one message per folder was placed on the computer. Does anyone have any ideas on how I should proceed to copy these email messages over? Thanks. -
Extrating messages from .edb file
Hi I have a client usinf Exchange 2007 that need to retrieve messages from the .edb. They store a copy of this file every 2 month to keep record of the mail traffic in their organization.
I have very limited experience on Exchange 2007 and have been asked to retrieve messages from the last 3 month based on spesific conditions.
Could you please help in methods availible to retrieve information from these files as well as from the current store.I would also like to know what solutions there is to Archive all mail traffic for a prolonged period to adhere to electronic communications legislation.
-
Error Message from Oracle server while a procedure calling from VB
hi,
when i am calling a procedure some time an error is comming and most of the times the program is working properly. the error showing is as folows
ORA-06550: line 1, column 7:
PLS-00306: wrong number of type of arguments in call to 'PRO_PandL_Exp1'
ORA-06550: line 1, column 7:
PL/SQL:Statement Ignored
i am expressing my extreem thanks for trying to help me and solve the problam
the procedure i written is
CREATE OR REPLACE PROCEDURE PRO_PANDL_EXP1
(companyid in number, Stdate in varchar2, enddate in varchar2, YEARID in number, p_recordset OUT SYS_REFCURSOR ) AS
sdate date;
edate date;
begin
sdate := to_date(Stdate,'dd-mon-yyyy');
edate := to_date(enddate,'dd-mon-yyyy');
open p_recordset for select NVL(sum(dr),0) AS DR , NVL(sum(cr),0) AS CR , NVL(sum(opamt),0) AS OPAMT,
NVL(sum(balamt),0) AS BALAMT, group_name, ORDER_TO_PRINT, GROUP_LEVEL,
TR_PL_BS_FLAG, ag.GROUP_ID, head_status as Head_id, Head_name,
nvl(Details.GROUP_NATURE, ag.group_nature) as GROUP_NATURE,
nvl(Details.parent_id1, ag.parent_id1) as Parent_id1
from (
(SELECT SUM(nvl(MONTHBALANCEAMTDR, 0)) AS DR,
SUM(nvl(MONTHBALANCEAMTCR, 0)) AS CR,
SUM(nvl(OPBALANCEAMT, 0)) AS OPAMT, SUM(nvl(balance,
0)) AS balAmt, group_id, DTL.head_id,
DTL.head_status, DTL.head_name,
DTL.GROUP_NATURE, parent_id1
FROM ( SELECT SUM(nvl(MONTHBALANCEAMTDR, 0))
AS MONTHBALANCEAMTDR,
SUM(nvl(MONTHBALANCEAMTCR, 0))
AS MONTHBALANCEAMTCR, SUM(nvl(OPBALANCEAMT,
0)) AS OPBALANCEAMT, SUM(nvl(balance, 0))
AS balance, groupdetails.group_name,
groupdetails.group_id AS group_id,
groupdetails.head_id AS head_id,
GROUPDETAILS.HEAD_NAME,
groupdetails.head_status, PARENT_ID1,
ORDER_TO_PRINT, GROUP_NATURE
FROM (SELECT SUM(NVL(MONTHBALANCEAMTDR, 0)) AS MONTHBALANCEAMTDR,
SUM(NVL(MONTHBALANCEAMTCR, 0)) AS MONTHBALANCEAMTCR, head_id, HEAD_NAME,
group_ID, COMPANY_ID FROM (SELECT SUM(DECODE(DRCR, 0, (AMOUNT_IN_AED+nvl(CON_RATE_DIFF,0)),
0)) AS MONTHBALANCEAMTDR,
SUM(DECODE(DRCR, 1, (AMOUNT_IN_AED+nvl(CON_RATE_DIFF,0)), 0))
AS MONTHBALANCEAMTCR, AH.head_id,
AH.HEAD_NAME, AH.group_ID,
AH.COMPANY_ID
FROM federal.TRANS_DETAILS TD,
federal.account_heads AH
WHERE VOUCHER_DATE <= edate AND
VOUCHER_DATE >= sdate AND
AH.COMPANY_ID = TD.COMPANY_ID AND
AH.head_id = TD.head_iD AND
ah.company_id = companyid
GROUP BY DRCR, AH.group_id, AH.head_id,
AH.COMPANY_ID, AH.HEAD_NAME)
GROUP BY group_id, head_id, COMPANY_ID, HEAD_NAME )
transdetails,
(SELECT SUM(nvl((AMOUNT_IN_AED+nvl(CON_RATE_DIFF,0)), 0))
AS OPBALANCEAMT, AH.head_id,
AH.HEAD_NAME, AH.group_ID,
AH.COMPANY_ID
FROM federal.TRANS_DETAILS TD,
federal.account_heads AH
WHERE VOUCHER_DATE < sdate AND
AH.COMPANY_ID = TD.COMPANY_ID AND
AH.head_id = TD.head_iD AND
ah.company_id = companyid
GROUP BY AH.group_id, AH.head_id,
AH.COMPANY_ID, AH.HEAD_NAME)
OPENINGDETAILS,
( SELECT ah.head_id, DECODE(group_level, 1,
ah.head_id, 0) AS head_status,
0 AS BALANCE, accountgroup.company_id, accountgroup.group_id, parent_id2,
group_name, DECODE(group_level, 1, ah.head_name, ' ') AS head_name, ORDER_TO_PRINT,
GROUP_NATURE, parent_id1
FROM FEDERAL.account_heads AH,
(SELECT group_id, group_name, group_level, company_id, parent_id2, parent_id1,
ORDER_TO_PRINT, GROUP_NATURE
FROM FEDERAL.account_groups AG
WHERE AG.company_id = companyid and (GROUP_NATURE='I' or GROUP_NATURE='E' or GROUP_NATURE='P') )
accountgroup
WHERE AH.group_id = accountgroup.group_id AND
AH.company_id = accountgroup.company_id AND
AH.company_id = companyid) groupdetails
WHERE transdetails.head_id (+) = groupdetails.head_id AND
transdetails.company_id (+) = groupdetails.company_id AND
OPENINGdetails.head_id (+) = GROUPDETAILS.head_id AND
OPENINGdetails.company_id (+) = GROUPDETAILS.company_id
GROUP BY groupdetails.group_name, head_status,
groupdetails.group_id, groupdetails.head_id,
GROUPDETAILS.HEAD_NAME,
GROUPDETAILS.group_id, PARENT_ID2, head_status,
ORDER_TO_PRINT, GROUP_NATURE, parent_id1) DTL
GROUP BY group_id, DTL.head_id, DTL.head_name,
DTL.head_status, DTL.GROUP_NATURE, parent_id1)
UNION ALL
(SELECT DISTINCT
0, 0, 0, 0, accountgroup.group_id, 0 AS head_id,
0 AS head_status, ' ' AS head_name, GROUP_NATURE, parent_id1
FROM FEDERAL.account_heads AH,
(SELECT group_id, group_name, group_level, company_id,
parent_id1, ORDER_TO_PRINT, GROUP_NATURE
FROM FEDERAL.account_groups AG
WHERE AG.company_id = companyid and group_level<=2 and (GROUP_NATURE='I' or GROUP_NATURE='E' or GROUP_NATURE='P') ) accountgroup
WHERE AH.group_id = accountgroup.group_id AND
AH.company_id = accountgroup.company_id AND
AH.company_id = companyid AND
accountgroup.group_id = ah.group_id ) ) Details,
account_groups AG where Details.group_id (+) = AG.Group_id and AG.GROUP_LEVEL <=2 AND
ag.company_id = companyid group by
group_name, ORDER_TO_PRINT, GROUP_LEVEL, TR_PL_BS_FLAG, ag.GROUP_ID,
head_status, Head_name, Details.GROUP_NATURE, Details.parent_id1 , ag.GROUP_NATURE, ag.parent_id2, ag.parent_id1
order by parent_id1, GROUP_ID, ORDER_TO_PRINT, head_status, head_name ;
end pro_pandl_Exp1;
Thank you
Bosemonprakash wrote:
Hi all,
DECLARE
l_conn UTL_TCP.connection;
BEGIN
l_conn := ftp.login('Destination Ip address ', '22', 'Username', 'Password');
ftp.ascii(p_conn => l_conn);
ftp.put(p_conn => l_conn,
p_from_dir => 'MID5010_DOC1TEMP', -- Oracle Directory name from where we need to copy a file
p_from_file => 'Hipaa.33KM.5093.06152011130146885.834.O.irl',
p_to_file => '/qatest1/mihipaa5010/mj5010/DevelopmentStage/working_directory/Outbound/Data/75061252/Hipaa.00AN.07262011173844778.820.O.copied.irl'); -- Directory of the destination machine where we need to paste
ftp.logout(l_conn);
exception
when others then
dbms_output.put_line(sqlcode || sqlerrm);
--dbms_output.put_line(l_conn);
END;We are getting the below error:
SSH-1.99-OpenSSH_5.1
-29260ORA-29260: network error: TNS:connection closed
Could any one please let us know why this error is raising...As sybrand correctly points out, this issue doesn't belong here.
You are using a 3rd party package "ftp" and the error it is indicating suggests the issue is a network issue of some sort.
We don't have the code of that package or know what it is doing, so please consult whoever supplied or wrote the package and/or your network administrators. -
Send Synchronous message from Oracle to BPM to CRM in RWB
Hi All,
I have a scenario like this Oracle Sender (synchronous interface)-> calling ccBPM -> CRM which is a synchronous process.
Oracle sends an external message to CRM and get the response back. This is achieved using ccBPM due to some internal calls from ccBPM to MDM also sycnhronously.
So there are three receive determination created
Oracle to ccBPM
ccBPM to MDM
ccBPM to CRM
Now, the question is I have some message to be send from RWB for testing whether this process works properly or not in staging system. How do I send the message in RWB for this kind of process. This is a syynchronous process
And sender should be oracle system, receiver shuld be what? ccBPM or CRM from RWB perspective.
Hope you all got the question.
Thanks
MikeHi,
How do I send the message in RWB for this kind of process. This is a syynchronous process
And sender should be oracle system, receiver shuld be what? ccBPM or CRM from RWB perspective.
You need to mentioned Oracle as sender & receiver would be BPM.
BTW, why do you put a receiver name, you should only supply Sender parameters (Sender Name, Interface & Namespace), Let PI , determine the receiver which is true testing.
Regards
Sushil -
Capturing error messages from Oracle EBS APIs when using Oracle Apps Adapter
We are using Oracle applications adapter to call Oracle EBS (both R11.5 and R12) APIs. I want to understand the best practice around error handling when using Oracle Apps Adapter to call Oracle EBS.
Here are some observations:
1. Most of the APIs return X_RETURN_STATUS and X_MSG_DATA containing the status and messages if any.
2. If the MSG COUNT is 1 then X_MSG_DATA contains the message, if MSG COUNT is > 1. X_MSG_DATA is empty.
We know that when calling the API directly from PL/SQL, we need to loop through FND_MSG_PUB to fetch all messages when there are more than 1. How do we achieve the same using Apps Adapter as Apps Adapter generates the PL/SQL block to call the API dynamically at runtime.
In some APIs, which have table/rec types as input or output parameters, Apps Adapter generates a wrapper package to do conversion from SQL--> PL/SQL and viceversa. In this case the adapter calls the custom package generated which internally calls the API. For these APIs we were able to put the logic to loop through FND_MSG_PUB and return a concatenated string as value of X_MSG_DATA.
But what should we do for the APIs which do NOT have a rec/table type as input or output, in which case the Apps Adapter directly calls the API and there is no intermediate custom package?
How are others handling this?Please see the section "Handling Functional Errors" in the below link
Oracle Fusion Middleware Adapter for Oracle Applications User's Guide -
How to use h:message to display HTML code in message from property file
I am using <h:message for="somecomponentid"/> to display the error message for a validator attached to a component and the error message which resides in message property file contains HTML elements like <br> and
The HTML doesnt get displayed properly and the code <br> etc is displayed instead.
Is there a method to get h:message to display HTML elements correcly.
[I know there is an h:outputFormat which has an escape parameter to allow HTML to be rendered correcly but it has no for parameter to specify the component id whose validation error message I want to display]
eg.
<h:message for="somecomponentid"/>
to display from errormessages.properties
com.somecompany.thevalidationerrormessage=You have an error<br> Please click here to return to homepageHello Ivan,
Fortunately I have just recently found a solution to my problem by using code by a developer who had already had this problem in the past and who provided a patch on the Apache MyFaces jira site.
See following link for the solution I downloaded and then used :
http://issues.apache.org/jira/browse/MYFACES-155
I believe they are intending to eventually release this in a future release of MyFaces extensions on this site.
I used the escape attribute on the tag to allow 'escaped' html code in error messages to be used.
Hope it solves your problem too..
Suhel
Maybe you are looking for
-
Yeah I would like to create a Playlist with the by me best rated songs of selected artists i know i can have playlists with multiple artists but that is only possible if i tick match any so that it takes all the songs of those artists and if i select
-
Is Satellite L300 the same as Equium L300?
Are the the same or not? I am a fan of Toshiba. 1 year ago I bought a Toshiba L30-105 which in my opinion was good enough for my work. It was only ATI X200m, 80GB and I upgraded memory to 2Gb bus 667Mhz memory which work perfectly (Ram 667Mhz, GPU 33
-
I am keeping my work files on an external drive which are backed up using Time Machine onto my computer's hard drive. I set it up this way so I can take my actual work drive with me if I need it. However, I just noticed that I can't see any of those
-
[S] Can't create another account in Thunderbird
Hi, I have been a long time user of Thunderbird. But I just ran into the weirdest problem: I can't see the main taskbar in Thunderbird and thus can't create another email account. What do? Pretty easy thing actually. That's all. Last edited by jones
-
Just got the 4S. I cannot get Siri to work. It says it cannot retrieve info from the server. What does that mean and how can I fix it to use it?