Need help to debug the ACL
Hi Folks,
I am trying to implement an Access Control List. While I can successfully access the network service as sys user, but not as the test1 user.
I was wondering, if somebody might be able to take a look at my code and point out my mistake.
DB Version: *11.2.0.1.0*
Platform: Windows 7 (64 bit)
ACL Creation Code:
# Create a user
CREATE USER test1 IDENTIFIED BY xxxxxx;
GRANT CONNECT TO test1;
# Create the ACL
BEGIN
dbms_network_acl_admin.create_acl (
acl => 'test_acl_file.xml',
description => 'A test of the ACL functionality',
principal => 'TEST1',
is_grant => TRUE,
PRIVILEGE => 'connect',
start_date => SYSTIMESTAMP,
end_date => NULL);
COMMIT;
END;
BEGIN
dbms_network_acl_admin.assign_acl (
acl => 'test_acl_file.xml',
host => 'dbaexpert.com',
lower_port => NULL,
upper_port => NULL);
END;
Test Results:
User: sys
SELECT utl_http.request('http://www.dbaexpert.com')
from DUAL;
Output:
UTL_HTTP.REQUEST('HTTP://WWW.DBAEXPERT.COM') --------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head> ......
</head>
User: test1
Executing the above statement as "test1" user
Output:
Error starting at line 1 in command:
SELECT utl_http.request('http://www.dbaexpert.com')
from DUAL
Error report:
SQL Error: ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1722
ORA-24247: network access denied by access control list (ACL)
ORA-06512: at line 1
29273. 00000 - "HTTP request failed"
*Cause: The UTL_HTTP package failed to execute the HTTP request.
*Action: Use get_detailed_sqlerrm to check the detailed error message.
Fix the error and retry the HTTP request.
Sanity Check:
select ACL,
PRINCIPAL,
privilege,
IS_GRANT
from DBA_NETWORK_ACL_PRIVILEGES;
Output:
ACL||','||PRINCIPAL||','||PRIVILEGE||','||IS_GRANT
/sys/acls/test_acl_file.xml,TEST1,connect,true Thanks in advance
rogers42
Do you use a proxy to connect to the external http server ? If so, you will also need to add the proxy to the ACL
UTL_HTTP.REQUEST Fails with ORA-24247 Even if the Called HTTP Server is Associated to the ACL [ID 972052.1]
Understanding DBMS_NETWORK_ACL_ADMIN With Example [ID 1080105.1]
HTH
Srini
Similar Messages
-
Oracle Instance Failuer Need help to fix the problem
Hi
I am running Oracle9.2 on AIX. The data base got filed due to the following error and I am not getting where to start to dig into the error. The following are the mesg I found in alert log file. But i restarted it its now running But I dont want the same problem to repeat that's why I need assistance to debug the problem. Thanks
Sat Oct 1 21:11:06 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_65536.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:10 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_64730.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:13 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_29256.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:16 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74036.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:18 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_24036.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:20 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_58880.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:22 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_24038.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:25 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_65544.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:28 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74044.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:31 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_24050.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:34 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_55086.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:37 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_59506.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:40 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_58894.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:43 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_59508.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:46 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_65552.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:49 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_24056.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:52 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_65556.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:55 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_64746.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:11:58 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74056.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:12:01 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_55098.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:12:04 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74058.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Sat Oct 1 21:12:07 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_59520.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Mon Oct 3 10:25:56 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_23834.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Mon Oct 3 10:27:32 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_38114.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Mon Oct 3 10:28:29 2005
Starting ORACLE instance (normal)
Mon Oct 3 10:29:03 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_65696.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Mon Oct 3 10:29:24 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_54902.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Mon Oct 3 10:31:32 2005
Starting ORACLE instance (normal)
Mon Oct 3 10:31:33 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_55050.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
Mon Oct 3 10:32:07 2005
Shutting down instance: further logons disabled
Shutting down instance (immediate)
License high water mark = 26
All dispatchers and shared servers shutdown
Mon Oct 3 10:32:11 2005
ALTER DATABASE CLOSE NORMAL
Mon Oct 3 10:32:11 2005
SMON: disabling tx recovery
SMON: disabling cache recovery
Mon Oct 3 10:32:11 2005
Shutting down archive processes
Archiving is disabled
Mon Oct 3 10:32:11 2005
ARCH shutting down
ARC0: Archival stopped
Mon Oct 3 10:32:11 2005
ARCH shutting down
ARC1: Archival stopped
Mon Oct 3 10:32:12 2005
Thread 1 closed at log sequence 4026
Successful close of redo thread 1
Mon Oct 3 10:32:18 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74172.trc:
ORA-00600: internal error code, arguments: [17175], [255], [], [], [], [], [], []
Mon Oct 3 10:32:19 2005
Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74172.trc:
ORA-07445: exception encountered: core dump [] [] [] [] [] []
ORA-00600: internal error code, arguments: [17175], [255], [], [], [], [], [], []
Mon Oct 3 10:32:29 2005
Errors in file /oracle/ABBA1/system/dump/bdump/ABBA1_pmon_32534.trc:
ORA-00600: internal error code, arguments: [17175], [255], [], [], [], [], [], []
Mon Oct 3 10:32:29 2005
Errors in file /oracle/ABBA1/system/dump/bdump/ABBA1_pmon_32534.trc:
ORA-00600: internal error code, arguments: [17175], [255], [], [], [], [], [], []
Mon Oct 3 10:32:29 2005
PMON: terminating instance due to error 600
Instance terminated by PMON, pid = 32534
Mon Oct 3 10:33:46 2005
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 3
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.5.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 117440512
large_pool_size = 16777216
java_pool_size = 117440512
control_files = /oracle/ABBA1/system/control01.ctl, /oracle/ABBA1/system/control02.ctl, /oracle/ABBA1/system/control03.ctl
db_block_size = 16384
db_cache_size = 318767104
compatible = 9.2.0.0.0
log_archive_start = TRUE
log_archive_dest_1 = LOCATION=/oracle/ABBA1/archive
log_archive_format = ABBA1_%T_%S.ARC
db_file_multiblock_read_count= 32
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = oracle/ABBA1
dispatchers = (PROTOCOL=TCP) (SERVICE=oracle/ABBA1XDB)
job_queue_processes = 10
hash_join_enabled = TRUE
hash_area_size = 1048576
background_dump_dest = /oracle/ABBA1/system/dump/bdump
user_dump_dest = /oracle/ABBA1/system/dump/udump
core_dump_dest = /oracle/ABBA1/system/dump/cdump
sort_area_size = 1048576
db_name = ABBA1
open_cursors = 300
star_transformation_enabled= TRUE
query_rewrite_enabled = TRUE
pga_aggregate_target = 314572800
aq_tm_processes = 1
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
CJQ0 started with pid=8
QMN0 started with pid=9
Mon Oct 3 10:33:48 2005
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
ARCH: STARTING ARCH PROCESSES
ARC0 started with pid=12
ARC0: Archival started
ARC1 started with pid=13
ARC1: Archival started
Mon Oct 3 10:33:49 2005
ARCH: STARTING ARCH PROCESSES COMPLETE
Mon Oct 3 10:33:49 2005
ARC0: Thread not mounted
Mon Oct 3 10:33:49 2005
ARC1: Thread not mounted
Mon Oct 3 10:33:49 2005
/* OracleOEM */ ALTER DATABASE MOUNT
Mon Oct 3 10:33:53 2005
Successful mount of redo thread 1, with mount id 1053693133
Mon Oct 3 10:33:53 2005
Database mounted in Exclusive Mode.
Completed: /* OracleOEM */ ALTER DATABASE MOUNT
Mon Oct 3 10:33:53 2005
/* OracleOEM */ ALTER DATABASE OPEN
Mon Oct 3 10:33:53 2005
LGWR: Primary database is in CLUSTER CONSISTENT mode
Thread 1 opened at log sequence 4026
Current log# 2 seq# 4026 mem# 0: /oracle/ABBA1/redo2/redo2_A.dbf
Current log# 2 seq# 4026 mem# 1: /oracle/ABBA1/redocopy/redo2_B.dbf
Successful open of redo thread 1
Mon Oct 3 10:33:54 2005
SMON: enabling cache recovery
Mon Oct 3 10:33:54 2005
Undo Segment 1 Onlined
Undo Segment 2 Onlined
Undo Segment 3 Onlined
Undo Segment 4 Onlined
Undo Segment 5 Onlined
Undo Segment 6 Onlined
Undo Segment 7 Onlined
Undo Segment 8 Onlined
Undo Segment 9 Onlined
Undo Segment 10 Onlined
Successfully onlined Undo Tablespace 1.
Mon Oct 3 10:33:54 2005
SMON: enabling tx recovery
Mon Oct 3 10:33:54 2005
Database Characterset is WE8ISO8859P1
replication_dependency_tracking turned off (no async multimaster replication found)
Completed: /* OracleOEM */ ALTER DATABASE OPEN
Mon Oct 3 10:34:17 2005
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=plpar00)(PORT=1521))'
Mon Oct 3 10:34:35 2005
Shutting down instance: further logons disabled
Shutting down instance (immediate)
License high water mark = 5
Waiting for dispatcher 'D000' to shutdown
All dispatchers and shared servers shutdown
Mon Oct 3 10:34:38 2005
ALTER DATABASE CLOSE NORMAL
Mon Oct 3 10:34:39 2005
SMON: disabling tx recovery
SMON: disabling cache recovery
Mon Oct 3 10:34:39 2005
Shutting down archive processes
Archiving is disabled
Mon Oct 3 10:34:39 2005
ARCH shutting down
ARC0: Archival stopped
Mon Oct 3 10:34:39 2005
ARCH shutting down
ARC1: Archival stopped
Mon Oct 3 10:34:39 2005
Thread 1 closed at log sequence 4026
Successful close of redo thread 1
Mon Oct 3 10:34:39 2005
Completed: ALTER DATABASE CLOSE NORMAL
Mon Oct 3 10:34:39 2005
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archiving is disabled
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archiving is disabled
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Mon Oct 3 10:34:49 2005
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 3
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.5.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 117440512
large_pool_size = 16777216
java_pool_size = 117440512
control_files = /oracle/ABBA1/system/control01.ctl, /oracle/ABBA1/system/control02.ctl, /oracle/ABBA1/system/control03.ctl
db_block_size = 16384
db_cache_size = 318767104
compatible = 9.2.0.0.0
log_archive_start = TRUE
log_archive_dest = /oracle/ABBA1/archive
log_archive_format = ABBA1_%T_%S.ARC
db_file_multiblock_read_count= 32
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = oracle/ABBA1
dispatchers = (PROTOCOL=TCP) (SERVICE=oracle/ABBA1XDB)
job_queue_processes = 10
hash_join_enabled = TRUE
hash_area_size = 1048576
background_dump_dest = /oracle/ABBA1/system/dump/bdump
user_dump_dest = /oracle/ABBA1/system/dump/udump
core_dump_dest = /oracle/ABBA1/system/dump/cdump
sort_area_size = 1048576
db_name = ABBA1
open_cursors = 300
star_transformation_enabled= TRUE
query_rewrite_enabled = TRUE
pga_aggregate_target = 314572800
aq_tm_processes = 1
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
CJQ0 started with pid=8
QMN0 started with pid=9
Mon Oct 3 10:34:49 2005
I need assistance in this regard
ThanksIt will help if you have a look at Note:211909.1 in Metalink to understand why ORA-07445
Then have a look at the content of the trace files. e.g /oracle/ABBA1/system/dump/udump/ABBA1_ora_65536.trc to see if you can pick anything from the 'Current SQL statement' you will see in it (get help from Note:154170.1). This will at least give you an idea what SQL is causing the problem.
If they are your own application SQLs, then try to see if your team can fix the code. If they are System related or you cannot figure out what it is (even if it is from your own SQLs), I would suggest log a TAR with Oracle Support. -
Hi,
i need your help in debugging the vf03 tcode. the senariou is as follows.
in vf03 when i enter the billing document no. and press enter and then when i click on parter push button on the application toolbar and then click on ship-to-party item then under the field tax juridiction cde which is refering to txjcd field of vbadr table im getting the value as TAXUSX instead of a 10 digit value which is present in txjcd field of kna1 table for that particular customer.
and this is happening only for few invoice no's not for all.
i think that some where the data is getting changed or not properly communicated for some invoice numbers.
i need help for where to start tracing and how to debug this error out and the flow logic of debugging.
waiting for ur reply
regards,
maqsoodHi kahan,
frist you have check with your function consultant is there are mataing the TAX for that countary .
and come to debug.
easyt way is take that screen field name(patha pres F1 and technical attributes ) and program name screen name .
then seach that field in that program screen put break-point at that level and run tranction.
stil you facing any problem send more details i will try to help you.
Do Reward points..if found helpful
thaks,
saleem -
I need help understanding how the Apple components connect to create a whole system across all my devices?
Is there a resource that describes current system and associated functionality?
For example:
Buy A, B, C to achieve "X"
You will need:
an internet provider which supports <specs>
add D to achieve "Y"
You will need:
an internet provider which supports <specs>
add "E" to achieve "Z"
You will need:
an internet provider which supports <specs>
For example, I am looking at the Gen 6 Airport extreme. For intended performance do I need broadband? if so what are the specs, or will basic internet service suffice? Do I need the internet provider's modem or does the Airport extreme replace that? And then I think, if I am doing this, I should also look at Apple TV....What do I need and Why? Then I look at the New Desk top coming out in the fall, and I think well, if I wait and get this, what does this component do for the system, and what becomes redundant? What does this awesome desktop do for my ability to sit and use a new macbook air when I travel or sit on the couch in my PJs?
If there was a place that plainly stated "if you buy the new dektop you can configure a system including only these components and achieve <this result> and by adding <additional components> you will achieve this result.
I have been to the genius store a few times, but I come out of there more confused unless I have SPECIFIC questions or already know what to buy.
A "System Configuration App" would be a really great sales tool--Just saying.I have no idea what "fully optimized" means.
No Apple device will let you watch broadcast TV. The Apple TV is a good option for watching streaming TV from iTunes, NetFlix and Hulu. If you want to watch from other sources, you may need to look at other devices.
Any Mac computer or iPad will allow you to surf the web.
What business software?
Time Capsule is a good option for back ups.
Update what across all devices?
For accessing documents from all devices, a service like Dropbox is your best bet.
I have no idea what "step as far away from an internet provider as possible" means. If you want Internet access, you need an Internet provider.
Lighting fast speed for what? Processor? The specs are listed for all devices in the Online Store. Internet? We're back to the service provider.
Technology changes. The only way to keep pace with it beyond a couple of years is to buy new stuff.
The bottom line is you need to look at the specs for devices availble and at your budget and decide what best meets your needs. If you are unable to do that on your own, there are lot of technology consultants out there who will, for a fee, look at your exact situation, make recommendations and even handle the purchase and set up. Perhaps that would be the best route for you.
Best of luck. -
I need help to remove the wrong email on my Iphone. the represnter who set up my phone put in the wrong email, and now I can't down loand apps on my phone because the apple ID does not match
So sign out of the Apple ID under Settings > iTunes & App Store, then sign in with your own.
-
Need help to trace the place where error occuring in Web UI of type System
Hi All,
Need help to trace the place where error occurring in Web UI of type System error,
this error coming while saving the corporate account creation,
error message description : - System error: Interruption in Routine READ TABLE GT_CHAR_VAL, CHAR_NAME = PVTLTD_CLEAN_SEGMENT
System error: Interruption in Routine READ TABLE GT_CHAR_VAL, CHAR_NAME = PVTLTD_CLEAN_CLASS-CP
thanking you.
Best Regards,
VijHydHi Nagaraj,
See that the mandatory SICF setting are enabled or Active in the SICF Services. Follow the steps as below:-
Enter the TCode SICF
Execute the same for Hierarchy Type SICF.
Check the following SAP Note 1295006.
If every thing is Active then, the IC Agent role will open.
Still if it is not opening Let me know.
regards,
Sarangamath -
Need help in formatting the Date - Date does not
Need help in formatting the Date - Date does not formats and give Not a valid month error in the below scenario.
select oc.ST_PGM_MGR, r.ag_dnum, get_major_work_type(r.perf_eval_rtng_id) "v_work_code", r.ag_dnum_supp "supp", r.intfinal, to_char(r.formdate,'MM/DD/YYYY') "formdate", to_char(r.servfrom,'MM/DD/YYYY') "srv_from", to_char(r.servto,'MM/DD/YYYY') "srv_to", descript, add_months(to_char
--- Bellow line of Code on trying to format it to mm/dd/yyyy gives the error
(r.formdate, 'DD-MON-YYYY'),12) "formdate2"
from table REdited by: Lucy Discover on Jul 7, 2011 11:34 AM
Edited by: Lucy Discover on Jul 7, 2011 1:05 PMYour syntax is wrong - look at the post above where this syntax is given:
to_char (add_months(r.formdate,12), 'MM/DD/YYYY') "formdate2"Look at the formula from a logical perspective - "inside out" to read what is happening -
take formdate, add 12 months
add_months(r.formdate, 12)then apply the to_char format mask - basic syntax
to_char(date, 'MM/DD/YYYY')Compare to your syntax:
to_char(add_months(r.formdate, 'MM/DD/YYYY'),12) "formdate2"You will see your format string inside the call to add_months, and your 12 inside the call to to_char.
Good luck! -
Need help in understanding the error ORA-01843: not a valid month - ECX_ACT
Hello All,
We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
And how to enable the log for Transaction Monitor -> Processing Logfile.
Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
thanks
muthu.Hello All,
We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
And how to enable the log for Transaction Monitor -> Processing Logfile.
Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
thanks
muthu. -
I Need Help to Access The Source Code From A Form to Know the Calculation Formula
Hi,
I Need Help to Access The Source Code From A Form to Know the Calculation Formula. The application is a windows form application that is linked to SQL Server 2008. In one of the application forms it generates an invoice and does some calculations. I just
need to know where behind that form is the code that's doing the calculations to generate the invoice, I just need to get into the formula that's doing these calculations.
Thank you so much.Hi,
Thanks for the reply. This is a view and [AmountDue] is supposed to be [CurrentDueAmount] + [PastDueAmount] - [PaidAmount]. The view is not calculating [PaidAmount] right . Below is the complete code of the view. Do you see anything wrong in the code ?
Thanks.
SELECT [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
[iff].[FacilityFeeID], [LoanID] = NULL, [isi].[PortfolioID], [isi].[Portfolio],
[PaymentType] = [isis_fee].[SectionType], [Name]
= [iff].[Name], [ReceivedAmount], [dates].[CurrentDueAmount],
[PastDueAmount] = CASE WHEN ISNULL([ReceivedAmount],
0) > 0 THEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0)
WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply reset to current. */ CASE WHEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN 0 ELSE [pastdue].[PastDueFeeAmount]
+ ISNULL([ReceivedAmount], 0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[pastdue].[PastDueFeeAmount] < 0 THEN 0 ELSE
[pastdue].[PastDueFeeAmount] END, [PaidAmount] = CASE WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN - ([pastdue].[PastDueFeeAmount]
+ ISNULL([ReceivedAmount], 0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[pastdue].[PastDueFeeAmount] < 0 THEN - [pastdue].[PastDueFeeAmount]
ELSE 0 END, [AmountDue] = [unpaid].[UnpaidFeeAmount], [ID] = [iff].[FacilityFeeID]
FROM [dbo].[INV_SubInvoice] isi JOIN
[dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
= [ii].[ID] JOIN
[dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
JOIN
[dbo].[INV_FacilityFee] iff ON [if].[ID] = [iff].[INV_FacilityID]
JOIN
(SELECT [sis_fee].[ID],
[sis_fee].[SectionTypeCode], [SectionType] = [st_fee].[Name], [sis_fee].[INV_FacilityFeeID]
FROM
[dbo].[INV_SubInvoiceSection] sis_fee JOIN
[dbo].[INV_SectionType] st_fee ON [sis_fee].[SectionTypeCode] = [st_fee].[Code]
WHERE [INV_FacilityFeeID]
IS NOT NULL AND [StatusCode] = 'BILL') isis_fee ON [iff].[ID] = [isis_fee].[INV_FacilityFeeID] JOIN
(SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedFeeAmount]),
[ReceivedAmount] = SUM([iffa].[ReceivedFeeAmount])
FROM
[dbo].[INV_FacilityFeeAccrual] iffa
GROUP BY [iffa].[SectionID])
dates ON [isis_fee].[ID] = [dates].[SectionID] LEFT JOIN
(SELECT *
FROM
[dbo].[INV_FacilityFeeAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND
[dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
LEFT JOIN
(SELECT [SectionID],
[PastDueFeeAmount] = SUM([PastDueFeeAmount])
FROM
[dbo].[INV_FacilityFeeAccrual]
GROUP BY [SectionID]) pastdue
ON [dates].[SectionID] = [pastdue].[SectionID]
UNION
SELECT [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
[FacilityFeeID] = NULL, [il].[LoanID], [isi].[PortfolioID], [isi].[Portfolio],
[PaymentType] = [isis_loan].[SectionType], [Name]
= [il].[Name], [ReceivedAmount], [CurrentDueAmount], [PastDueAmount] = CASE WHEN ISNULL([ReceivedAmount],
0) > 0 THEN [PastDueAmount] + ISNULL([ReceivedAmount],
0) WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN 0 ELSE [PastDueAmount] + ISNULL([ReceivedAmount],
0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN 0 ELSE [PastDueAmount]
END,
[PaidAmount] = CASE WHEN [isis_loan].[SectionTypeCode]
= 'LOAN_PRIN' THEN 0 ELSE CASE WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN - ([PastDueAmount] + ISNULL([ReceivedAmount],
0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN - [PastDueAmount]
ELSE 0 END END,
[AmountDue] = CASE WHEN [isis_loan].[SectionTypeCode]
= 'LOAN_PRIN' THEN [CurrentDueAmount] ELSE [unpaid].[AmountDue] END, [ID] = [il].[LoanID]
FROM [dbo].[INV_SubInvoice] isi JOIN
[dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
= [ii].[ID] JOIN
[dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
JOIN
[dbo].[INV_Loan] il ON [if].[ID] = [il].[INV_FacilityID]
JOIN
(SELECT [sis_loan].[ID],
[sis_loan].[SectionTypeCode], [SectionType] = [st_loan].[Name], [sis_loan].[INV_LoanID]
FROM
[dbo].[INV_SubInvoiceSection] sis_loan JOIN
[dbo].[INV_SectionType] st_loan ON [sis_loan].[SectionTypeCode] = [st_loan].[Code]
WHERE [INV_LoanID]
IS NOT NULL AND [StatusCode] = 'BILL') isis_loan ON [il].[ID] = [isis_loan].[INV_LoanID] JOIN
(SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[ExpectedPrincipalAmount]),
[ReceivedAmount] = SUM([ReceivedPrincipalAmount])
FROM
[dbo].[INV_LoanPrincipalAmortization] iffa
GROUP BY [iffa].[SectionID]
UNION
SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]),
[ReceivedAmount] = SUM([ReceivedInterestAmount])
FROM
[dbo].[INV_LoanCashInterestAccrual] iffa
GROUP BY [iffa].[SectionID]
UNION
SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]),
[ReceivedAmount] = SUM([ReceivedInterestAmount])
FROM
[dbo].[INV_LoanPIKInterestAccrual] iffa
GROUP BY [iffa].[SectionID])
dates ON [isis_loan].[ID] = [dates].[SectionID] LEFT JOIN
(SELECT [AmountDue]
= [UnpaidPrincipalAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanPrincipalAmortization]
UNION
SELECT [AmountDue]
= [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanCashInterestAccrual]
UNION
SELECT [AmountDue]
= [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanPIKInterestAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND
[dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
LEFT JOIN
(SELECT [PastDueAmount]
= SUM([PastDuePrincipalAmount]), [SectionID]
FROM
[dbo].[INV_LoanPrincipalAmortization]
GROUP BY [SectionID]
UNION
SELECT [PastDueAmount]
= SUM([PastDueInterestAmount]), [SectionID]
FROM
[dbo].[INV_LoanCashInterestAccrual]
GROUP BY [SectionID]
UNION
SELECT [PastDueAmount]
= SUM([PastDueInterestAmount]), [SectionID]
FROM
[dbo].[INV_LoanPIKInterestAccrual]
GROUP BY [SectionID]) pastdue
ON [dates].[SectionID] = [pastdue].[SectionID]
UNION
SELECT [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
[FacilityFeeID] = NULL, [il].[LoanID], [isi].[PortfolioID], [isi].[Portfolio],
[PaymentType] = 'PIK Interest Applied', [Name]
= [il].[Name], [ReceivedAmount], [CurrentDueAmount] = - [dates].[CurrentDueAmount],
[PastDueAmount] = - CASE WHEN ISNULL([ReceivedAmount],
0) > 0 THEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN 0 ELSE [PastDueAmount] + ISNULL([ReceivedAmount],
0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN 0 ELSE [PastDueAmount]
END, [PaidAmount] = - CASE WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN - ([PastDueAmount] + ISNULL([ReceivedAmount],
0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN - [PastDueAmount]
ELSE 0 END, [AmountDue] = - [AmountDue], [ID] = [il].[LoanID]
FROM [dbo].[INV_SubInvoice] isi JOIN
[dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
= [ii].[ID] JOIN
[dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
JOIN
[dbo].[INV_Loan] il ON [if].[ID] = [il].[INV_FacilityID]
JOIN
(SELECT [sis_loan].[ID],
[sis_loan].[SectionTypeCode], [SectionType] = [st_loan].[Name], [sis_loan].[INV_LoanID]
FROM
[dbo].[INV_SubInvoiceSection] sis_loan JOIN
[dbo].[INV_SectionType] st_loan ON [sis_loan].[SectionTypeCode] = [st_loan].[Code]
WHERE [INV_LoanID]
IS NOT NULL AND [StatusCode] = 'BILL' AND [sis_loan].[SectionTypeCode] = 'LOAN_INT_PIK') isis_loan ON
[il].[ID] = [isis_loan].[INV_LoanID] JOIN
(SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]),
[ReceivedAmount] = SUM([ReceivedInterestAmount])
FROM
[dbo].[INV_LoanPIKInterestAccrual] iffa
GROUP BY [iffa].[SectionID])
dates ON [isis_loan].[ID] = [dates].[SectionID] LEFT JOIN
(SELECT [AmountDue]
= [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanPIKInterestAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND
[dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
LEFT JOIN
(SELECT [PastDueAmount]
= SUM([PastDueInterestAmount]), [SectionID]
FROM
[dbo].[INV_LoanPIKInterestAccrual]
GROUP BY [SectionID]) pastdue
ON [dates].[SectionID] = [pastdue].[SectionID] -
I have tried everything I know to retrieve the iPhoto Library app. I detest this new Photo app, which obviously wasn't designed with photographers in mind. I desperately need help in retrieving the old app and have not been able to do it so far. I have gone to my app folder and tried to update my iPhoto Library. I have gone to my trash and brought it over to my desktop and still cannot use it. Please help!
Try this fix discovered by User photosb189:
From Finder, hold down the option key on your keyboard and click on the Go menu at the top of the screen
Select Library from the drop down menu
Then navigate to Application Support > iLifeAssetManagement > assets
Right click on the 'sub' folder and choose Compress
Drag the resulting zip file to your Desktop (as a backup)
Go to your System Preferences and choose iCloud
Turn OFF the iCloud Photos option
Go back to Library > Application Support and DELETE the iLifeAssetManagement folder
Now, in System Preferences, turn the iCloud Photos option ON
iPhoto should now be able to launch. Give it enough time to re-download your Photo Stream content. if you are missing any of your My Photo Stream photos (more than 30 days old), unzip the sub folder on your desktop and drag that into iPhoto. -
Need help in finding the number of occurrences of a pattern.
Hi All,
I need help in finding the number of occurrences of a pattern in a table's column's data.
Consider sample data - one row's column from a table:
"S-S-S-A-S-S-P-S-S-B-S-A-P-S-S-C"
My requirement is:
I should get the count of S's which are immediately preceded by A or P.
for the above data i should get count as 3+2+1=6 (S-S-S-A, S-S-P, S-A)
The pattern data is stored as VARCHAR2 type.
Thanks in advance,
Girish G
Edited by: Girish G on Jul 21, 2011 11:22 PMI am sure there exists a better way then this one:
SQL> with dt as
2 (select 'S-S-S-A-S-S-P-S-S-B-S-A-P-S-S-C' str from dual)
3 SELECT SUM(Regexp_count(Regexp_substr(str, '(S\-?)+(A|P)+', 1,
4 Regexp_count(str, '(S\-?)+(A|P)+') - (
5 LEVEL - 1 )), 'S')) len
6 FROM dt
7 CONNECT BY LEVEL <= Regexp_count(str, '(S\-?)+(A|P)+')
8 /
LEN
6 -
Need help in optimising the performance of a query
Need help in optimising the performance of a query. Below is the query that is executed on TABLE_A, TABLE_B and TABLE_C with record counts as 10M, 10m and 42 (only) respectively and it takes around 5-7 minutes to get 40 records:
SELECT DISTINCT a.T_ID_, a.FIRSTNAME, b.T_CODE, b.PRODUCT,
CASE WHEN TRUNC(b.DATE) +90 = TRUNC(SYSDATE) THEN -90 WHEN TRUNC(b.DATE) +30 = TRUNC(SYSDATE) THEN -30 ELSE 0 END AS T_DATE FROM TABLE_B b
INNER JOIN TABLE_A a ON (a.T_ID_ = b.T_ID_) LEFT JOIN TABLE_C c ON b.PRODUCT = c.PRODUCT
WHERE b.STATUS = 'T' AND (b.TYPE = 'ACTION'
AND ( TRUNC(b.DATE) + 1 = TRUNC(SYSDATE) ) ) AND b.PRODUCT = 2;
Note: Indices on the join columns are available in the respective tables
Please let me know if there is any better way to write it.
Edited by: 862944 on Aug 18, 2011 9:52 AM862944 wrote:
Need help in optimising the performance of a query. Below is the query that is executed on TABLE_A, TABLE_B and TABLE_C with record counts as 10M, 10m and 42 (only) respectively and it takes around 5-7 minutes to get 40 records:
SELECT DISTINCT a.T_ID_, a.FIRSTNAME, b.T_CODE, b.PRODUCT,
CASE WHEN TRUNC(b.DATE) +90 = TRUNC(SYSDATE) THEN -90 WHEN TRUNC(b.DATE) +30 = TRUNC(SYSDATE) THEN -30 ELSE 0 END AS T_DATE FROM TABLE_B b
INNER JOIN TABLE_A a ON (a.T_ID_ = b.T_ID_) LEFT JOIN TABLE_C c ON b.PRODUCT = c.PRODUCT
WHERE b.STATUS = 'T' AND (b.TYPE = 'ACTION'
AND ( TRUNC(b.DATE) + 1 = TRUNC(SYSDATE) ) ) AND b.PRODUCT = 2;
Note: Indices on the join columns are available in the respective tables
Please let me know if there is any better way to write it.
Edited by: 862944 on Aug 18, 2011 9:52 AM[When Your Query Takes Too Long|https://forums.oracle.com/forums/thread.jspa?messageID=1812597] -
In installation process of Acrobat Professional 7 , its showing that Adobe Pdf printer is not Installed...need help to install the software completely
If it is Win 7 or later, the Adobe PDF printer for AA 7 will not install and AcroTray will not function. You will have to install a PS driver from Adobe or maybe an HP color PS printer driver. Then edit the driver properties and change the name to Adobe PDF and the port to FILE. You will always have to do an extra step in creating PDFs by opening the file that is created in Distiller to get the PDF.
If you are talking about Win 8, you may not be successful at all. If you got Acrobat and Distiller to install, then there is a chance. -
Need help to fit the records of a table into a particular region
Hi All,
Need help in getting the records of table to be fitted into a particular region provided for it. But in my case as the records increases the textbox below are moving down accordingly into next page that i dont want.
As shown in the below image i have to fit 22 no. of records in that given area only not disturbing the below textbox alignments.
Thank in advance...
Sreekanth Note: Please vote/mark the post as answered if it answers your question/helps to solve your problem.*****Hello,
In SSRS, Report items within a report can be
kept together on a single page implicitly or explicitly by setting the keep with group or keep together properties.
In your case, you can try to specify the "KeepTogether" property to True on the Table properties windows.
If there are other report items under or above the Table and you want keep all items on the single page, you can try to add a Rectangle and put all items into the Rectangle.
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
I need help in booting the microsoft operating system
i need help in booting the microsoft operating system from startup.
Which version of OS X are you running? All you need to do is to purchase a retail copy of whichever flavor of Windows you like (I prefer Windows 7 Professional to Win 8.1) and use Boot Camp to install same. Then you'll be able to boot into either Mac OS or Windows by holding down the option key.
Boot Camp -> http://support.apple.com/kb/ht1461.
Good luck,
Clinton
Maybe you are looking for
-
Web cam is working , but wont connect to messenger
I have a HP TouchSmart desktop. I know the cam is working ,and it works on Skype , but will not work on Yahoo messenger .Iwould appreciate if some one knows how to solve this problem . Thanks ! Oh and I'm not real savy on computers .
-
Material cost with Excise Duty and VAT
Dear All, Please can you suggest how to capture cost of the material with Excise Duty and VAT during GR. Also kindly let me know the settings required to maintain for caputring the same. We are using TAXINN for tax calculation purpose. best regards
-
Saving 3 sets of data in 3 seperate arraylist and passing them to next view
Hai all, I am using tree.The user has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arra
-
Need Oracle DataBase For XI Installation????????
Hi Experts, Should we Install ORACLE DataBase While Xi Installation???????? With Oracle also Can We do the Installation???????? Here What is the Use of ORACLE Installation?????????????/ Please Let Me Know All the Details............ Regards Khanna
-
Prevent pencil tool from closing paths in illustrator cc
How do I prevent for the pencil tool from closing my path when I'm drawing. It used to be that you hold the option key to make it close a path. But now it closes the path automatically and it's very annoying because I don't want all the paths to clos