Oracle dequeue function is not working through different user.
I created an Oracle queue, an anonymous block to enqueue messages in it and a dequeue function. when i use the dequeue function with the same user i've created queue its working fine, but when i am executing same function with different user it is returning null.
Please see the code i've used ----
-- Create q_table
begin
DBMS_AQADM.create_queue_table (
queue_table => 'QUEUE_QTAB' , queue_payload_type => 'SYS.XMLTYPE'
,multiple_consumers => TRUE, message_grouping => DBMS_AQADM.none);
end;
--Create queue:-
begin
DBMS_AQADM.create_queue (
queue_name => 'QUEUE_Q', queue_table => 'QUEUE_QTAB');
end;
-- Start queue:-
begin
dbms_aqadm.start_queue (
queue_name => 'QUEUE_Q');
end;
--Add subscriber:-
begin
DBMS_AQADM.add_subscriber (
queue_name => 'QUEUE_Q',
subscriber => sys.aq$_agent ('B_USER', NULL, NULL));
end;
GRANT SELECT ON A_USER.QUEUE_QTAB TO DBMONITOR;
GRANT SELECT ON A_USER.QUEUE_QTAB TO IDSCORE;
GRANT SELECT ON A_USER.QUEUE_QTAB TO IDSREAD;
GRANT SELECT ON A_USER.QUEUE_QTAB TO IDS_READ;
-- View Creation:-
CREATE VIEW QUEUE_QTAB _VW
AS
SELECT * FROM QUEUE_QTAB
WHERE Q_NAME = QUEUE_Q';
Grants:-
GRANT SELECT ON A_USER.QUEUE_QTAB _VW TO B_USER;
--Enqueue
DECLARE
enqueue_options dbms_aq.enqueue_options_t;
message_properties dbms_aq.message_properties_t;
message_handle RAW(16);
message XMLTYPE;
BEGIN
message := XMLType('<?xml version="1.0"?><tns:ISO8583-87 xmlns:tns="http://www.tsys.com/prime/online/iso8583"><I000>0120</I000><I002>491693******9989</I002><I003>280000</I003><I004>000000003000</I004><I006>0000091050.23</I006><I007>0406131721</I007><I011>039622</I011><I012>094121</I012><I013>0224</I013><I018>5999</I018><I022>0000</I022><I032>06123496</I032><I033>06198745</I033><I037>123456787012</I037><I038>026446</I038><I039>00</I039><I041>A1234567</I041><I042>CARD ACCEPTER </I042><I043>ACQUIRER NAME CITY NAME UK</I043><I048>1001O</I048><I049>978</I049><I051>826</I051><I056>37120300692340000012300004800456005600</I056><I102>0890220150</I102></tns:ISO8583-87>');
dbms_aq.enqueue(queue_name => 'QUEUE_Q',
enqueue_options => enqueue_options,
message_properties => message_properties,
payload => message,
msgid => message_handle);
COMMIT;
end;
Dequeuing is actually done through two function fn_dequeue function calls fn_dequeue_payment_msg, both are under different packages
fn_dequeue---
FUNCTION fn_dequeue (p_consumer_i IN VARCHAR2 DEFAULT USER)
RETURN CLOB
AS
v_msg xmltype;
v_msg_found BOOLEAN := FALSE;
v_return clob;
c_procedure_name constant varchar2 (100) := 'FN_DEQUEUE';
v_locn idsc_globals_pck.styp_locn;
v_q_name_i varchar2(35) := 'QUEUE_Q';
begin
v_locn := '80';
idsc_lib_pck.pr_debug (
p_program_name => c_procedure_name, p_ids_req_id => NULL
,p_locn => v_locn, p_debug_message => 'Function called by ' || USER
v_msg_found :=
idsph_queues_pck.fn_dequeue_payment_msg (
p_q_name_i => v_q_name_i , p_message_o => v_msg, p_consumer_i => p_consumer_i
v_locn := '90';
if v_msg_found then
v_locn := '100';
idsc_lib_pck.pr_debug (
p_program_name => c_procedure_name, p_ids_req_id => NULL
,p_locn => v_locn, p_debug_message => 'Message found'
v_return := v_msg.getstringval ();
end if;
v_locn := '110';
idsc_lib_pck.pr_debug (
p_program_name => c_procedure_name, p_ids_req_id => NULL
,p_locn => v_locn, p_debug_message => 'Returning'
RETURN v_return;
EXCEPTION
WHEN OTHERS THEN
idsc_errors_pck.pr_raise_app_error (
p_proc_name_i => c_procedure_name, p_locn_i => v_locn, p_err_msg_i => SQLERRM
END fn_dequeue_iso8583;
fn_dequeue_payment_msg-----
FUNCTION fn_dequeue_payment_msg (
p_q_name_i IN VARCHAR2
,p_consumer_i IN VARCHAR2 DEFAULT USER
,p_message_o OUT XMLTYPE
RETURN BOOLEAN
IS
v_dequeue_options DBMS_AQ.dequeue_options_t;
v_message_properties DBMS_AQ.message_properties_t;
v_message_handle RAW (16);
v_message XMLTYPE;
e_no_messages exception;
PRAGMA EXCEPTION_INIT (e_no_messages, -25228);
c_procedure_name CONSTANT VARCHAR2 (100) := 'IDSPH_QUEUES_PCK.FN_DEQUEUE_PAYMENT_MESSAGE';
v_locn idsc_globals_pck.styp_locn;
BEGIN
v_locn := '10';
idsc_lib_pck.pr_debug (
p_program_name => c_procedure_name, p_ids_req_id => NULL
,p_locn => v_locn, p_debug_message => 'Setting dequeue options'
v_dequeue_options.wait := dbms_aq.no_wait;
v_locn := '20';
v_dequeue_options.navigation := DBMS_AQ.first_message;
v_locn := '30';
v_dequeue_options.consumer_name := p_consumer_i;
v_locn := '40';
idsc_lib_pck.pr_debug (
p_program_name => c_procedure_name, p_ids_req_id => NULL
,p_locn => v_locn, p_debug_message => 'Dequeuing next message'
idsc_lib_pck.pr_debug (
p_program_name => c_procedure_name, p_ids_req_id => NULL
,p_locn => v_locn, p_debug_message => 'p_consumer_i' || p_consumer_i
DBMS_AQ.dequeue (
queue_name => p_q_name_i, dequeue_options => v_dequeue_options, message_properties => v_message_properties
,payload => v_message, msgid => v_message_handle
v_locn := '50';
idsc_lib_pck.pr_debug (
p_program_name => c_procedure_name, p_ids_req_id => NULL
,p_locn => v_locn, p_debug_message => 'Dequeue successful'
p_message_o := v_message;
RETURN TRUE;
EXCEPTION
WHEN e_no_messages THEN
-- Not an error just no messages currently in queue so return success
v_locn := '160';
idsc_lib_pck.pr_debug (
p_program_name => c_procedure_name, p_ids_req_id => NULL
,p_locn => v_locn, p_debug_message => SQLERRM
RETURN FALSE;
WHEN OTHERS THEN
idsc_errors_pck.pr_raise_app_error (
p_proc_name_i => c_procedure_name, p_locn_i => v_locn, p_err_msg_i => SQLERRM
END fn_dequeue_payment_msg;
fn_dequeue function returns null while executing from B_USER , while same functions works fine for A_USER, please suggest
I got the error , we need append schema name where queue is created before assigning it to a variable, this problem is now resolved.
fn_dequeue---
FUNCTION fn_dequeue (p_consumer_i IN VARCHAR2 DEFAULT USER)
RETURN CLOB
AS
v_msg xmltype;
v_msg_found BOOLEAN := FALSE;
v_return clob;
c_procedure_name constant varchar2 (100) := 'FN_DEQUEUE';
v_locn idsc_globals_pck.styp_locn;
v_q_name_i varchar2(35) := 'A_USER.QUEUE_Q';
begin
v_locn := '80';
idsc_lib_pck.pr_debug (
p_program_name => c_procedure_name, p_ids_req_id => NULL
,p_locn => v_locn, p_debug_message => 'Function called by ' || USER
Similar Messages
-
Function Module not working through VC
Hi Experts
I am facing one strange issue while working on VC model with function module as data service.
This FM is to writes data to bcak end BI master data table which is working fine through BI. When i pass the values through VC, New values are not reflecting in BI table. I tried passing values through form / table but still its not working. Also we have system generated message which show success / failure of FM & the changed values as output after execution of FM. Which i am getting success message every time i pass values.
Currently i am working on VC 7.01 & SP6 with Flash compiler.
Please guide me if you have face this issue.
Thanks
SandeepHi Sandeep,
Try to put a breakpoint in your FM and check whether you are sending correct values and the values saving or not.
Thanks,
Pradeep -
Trusted RFC not working for different user , working for same user
Dear All,
I have two SAP system - One Solman (7.0) and another ECC 6.0 (SR3) on HPUX box with Oracle DB (Unicode).
I want to establish Trust relationship between these system.
I have configured the same, as per the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/8b/0010519daef443ab06d38d7ade26f4/content.htm
and note 128447.
My requirement is one user X in solman client 001,
will execute some test plan (Tcode stwb_2) which will take the control to ECC 6.0 client 200, execute the tcode as user Y and come back in Solman again.
The user X (SAP_ALL) exists in Solman - client 001 and user Y (SAP_ALL) exists in ECC 6.0 - client 200.
In ECC 6.0 client 200, I have created a role ZRFCACL with the following and assigned to the user Y (as per the above help / note):
Role : ZRFCACL
Auth. Obj: S_RFCACL
Value assigned to fields are:
RFC_SYSID : SOL
RFC_CLIENT: 001
RFC_USER : X
RFC_EQUSER: N
RFC_TCODE : *
RFC_INFO : *
ACTVT : 16
Whenever the user X is trying to execute the test from solman, he is getting the error : "No authorization to log on as trusted system (RC = 0)"
Each time the user is trying the above, in ECC 6.0, the following dump is occuring:
CALL_FUNCTION_SINGLE_LOGIN_REJ under username SAPSYS
I have assigned the role ZRFCACL to user X in Solman also.
Next, I have performed the following check:
created one user M in both system
created the role ZRFCACL2 in ECC 6.0 client 200 as follows and assigned the role to user M:
Role : ZRFCACL2
Auth. Obj: S_RFCACL
Value assigned to fields are:
RFC_SYSID : SOL
RFC_CLIENT: 001
RFC_USER : ''
RFC_EQUSER: Y
RFC_TCODE : *
RFC_INFO : *
ACTVT : 16
Assigned SAP_ALL to user M in both system (So the user M in Solman does not have ZRFCACL2).
This time, the trust relationship worked and no dump got generated.
I have also checked the thread Trusted RFC do not work
but unable to resolve the issue.
Any suggestion where the things are going wrong in this / what else I need to check or this is not possible at all?
Thanks in advance for your help.
SudipHi Valdecir,
Thanks for the reply. I am providing the detail of the generated dump below:
Please check in case any clue is there.
Runtime Errors CALL_FUNCTION_SINGLE_LOGIN_REJ
Date and Time 12.08.2008 18:59:32
Short text
No authorization to logon as trusted system (Trusted RC=0).
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPMSSY1" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An RFC call (Remote Function Call) was sent with the invalid user ID "98819 "
. Or the calling system is not registered as trusted system in the
target system.
How to correct the error
The error code of the trusted system was 0.
Meaning:
0 Correct logon as trusted system mode
1 No trusted system entry for the calling system "SOL " or the
security key entry for the system "SOL " is invalid
2 User "98819 " does not have RFC authorization (authorization object
(S_RFCACL) for user "98819 " witl client 001.
3 The timestamp of the logon data is invalid
The error code of the SAP logon procedure was 1.
Meaning:
0 Login was correct
1 Wrong password or invalid user ID
2 Locked user
3 Too many attempted logons
5 Error in the authorization buffer (internal error)
6 No external user check
7 Invalid user type
System environment
SAP-Release 700
Application server... "gcbeccd"
Network address...... "10.10.4.158"
Operating system..... "HP-UX"
Release.............. "B.11.23"
Hardware type........ "ia64"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "gcbeccd"
Database type..... "ORACLE"
Database name..... "RD3"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Apr 5 2008 00:55:24"
create on........ "HP-UX B.11.23 U ia64"
Database version. "OCI_102 (10.2.0.1.0) "
Patch level. 146
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "HP-UX B.11"
Memory consumption
Roll.... 16192
EM...... 4189840
Heap.... 0
Page.... 0
MM Used. 1194640
MM Free. 2992576
User and Transaction
Client.............. 000
User................ "SAPSYS"
Language Key........ "E"
Transaction......... " "
Transactions ID..... "489F2BD6C36D0F12E10000000A0A049E"
Program............. "SAPMSSY1"
Screen.............. "SAPMSSY1 3004"
Screen Line......... 2
Information on caller of Remote Function Call (RFC):
System.............. "SOL"
Database Release.... 700
Kernel Release...... 700
Connection Type..... 3 (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
Call Type........... "synchron and non-transactional (emode 0, imode 0)"
Inbound TID.........." "
Inbound Queue Name..." "
Outbound TID........." "
Outbound Queue Name.." "
Client.............. 001
User................ 98819
Transaction......... "SMSY"
Call Program........."SAPLSRTT"
Function Module..... "SCCR_GET_RELEASE_NR"
Call Destination.... "SM_RD3CLNT200_TRUSTED"
Source Server....... "gcbsolm_SOL_00"
Source IP Address... "10.10.4.206"
Additional information on RFC logon:
Trusted Relationship "X"
Logon Return Code... 1
Trusted Return Code. 0
Note: For releases < 4.0, information on the RFC caller are often
only partially available.
Information on where terminated
Termination occurred in the ABAP program "SAPMSSY1" - in
"REMOTE_FUNCTION_CALL".
The main program was "SAPMSSY1 ".
In the source code you have the termination point in line 67
of the (Include) program "SAPMSSY1".
Source Code Extract
Line
SourceCde
37
endmodule.
38
39
module %_rfcdia_call output.
40
"Do not display screen !
41
call 'DY_INVISIBLE_SCREEN'.
42
perform remote_function_diacall.
43
endmodule.
44
45
module %_cpic_start.
46
if sy-xprog(4) = '%RFC'.
47
perform remote_function_call using rfctype_external_cpic.
48
else.
49
call 'APPC_HD' id 'HEADER' field header id 'CONVID' field convid.
50
perform cpic_call using convid.
51
endif.
52
endmodule.
53
54
55
form cpic_call using convid type c.
56
communication send id convid buffer header.
57
if sy-subrc eq 0.
58
perform (sy-xform) in program (sy-xprog).
59
else.
60
message a800.
61
endif.
62
endform.
63
64
form remote_function_call using value(type).
65
data rc type i value 0.
66
do.
>>>>>
call 'RfcImport' id 'Type' field type.
68
if sy-xprog = 'JAVA'.
69
system-call plugin
70
id 'JAVA' value 'FORW_JAVA'
71
id 'RC' value rc.
72
if there is no rollout on the JAVA side which
73
rolls both, JAVA and ABAP, we return to the
74
C-Stack and reach this point
75
76
in case there was an rollout, the ABAP-C stack is lost
77
and we jump direkt to this point
78
79
here we trigger the rollout on this Abap side with
80
the following statement
81
system-call plugin
82
id 'JAVA' value 'ROLL_OUT'
83
id 'RC' value rc.
84
else.
85
perform (sy-xform) in program (sy-xprog).
86
rsyn >scont sysc 00011111 0.
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
1
SY-TABIX
0
SY-DBCNT
1
SY-FDPOS
0
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SY-TITLE
CPIC and RFC Control
SY-MSGTY
SY-MSGID
SY-MSGNO
000
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO
0
SY-DATUM
20080812
SY-UZEIT
185932
SY-XPROG
SAPRFCSL
SY-XFORM
READ_SINGLE_LOGIN_DATA
Active Calls/Events
No. Ty. Program Include Line
Name
2 FORM SAPMSSY1 SAPMSSY1 67
REMOTE_FUNCTION_CALL
1 MODULE (PBO) SAPMSSY1 SAPMSSY1 30
%_RFC_START
Chosen variables
Name
Val.
No. 2 Ty. FORM
Name REMOTE_FUNCTION_CALL
%_DUMMY$$
0000
0000
2222
0000
SY-REPID
SAPMSSY1
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
SYST-REPID
SAPMSSY1
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
HEADER
000000000000
000000000000
TYPE
3
0000
0003
SY-XPROG
SAPRFCSL
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5455445422222222222222222222222222222222
3102633C00000000000000000000000000000000
%_ARCHIVE
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
RC
0
0000
0000
SY-XFORM
READ_SINGLE_LOGIN_DATA
000000000000000000000000000000
000000000000000000000000000000
544455444445444445445422222222
2514F39E7C5FCF79EF414100000000
%_SPACE
0
0
2
0
No. 1 Ty. MODULE (PBO)
Name %_RFC_START
%_PRINT
000 0###
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
RFCTYPE_INTERNAL
3
0000
0003
Internal notes
The termination was triggered in function "ab_xsignon"
of the SAP kernel, in line 2491 of the module
"//bas/700_REL/src/krn/rfc/absignon.c#9".
The internal operation just processed is "CALY".
Internal mode was started at 20080812185932.
Calling system.....: "SOL "
Caller.............: "98819 "
Calling client.....: 001
RFC user ID........: "98819 "
RFC client.........: 200
Trusted return code: 0
Logon return code..: 1
Transaction code...: "SMSY "
Active state.......: "-782823270"
Note: At releases < 4.0, the information for the caller is not
available.
Active Calls in SAP Kernel
Lines of C Stack in Kernel (Structure Differs on Each Platform)
(0) 0x4000000003b2b450 CTrcStack + 0x1b0 at dptstack.c:227 [dw.sapRD3_DVEBMGS00]
(1) 0x4000000004d2c470 Z16rabaxCStackSavev + 0x1d0 [dw.sapRD3_DVEBMGS00]
(2) 0x4000000004d32160 ab_rabax + 0x3570 [dw.sapRD3_DVEBMGS00]
(3) 0x4000000002b43cb0 SignOnDumpInfo + 0x280 at absignon.c:2491 [dw.sapRD3_DVEBMGS00]
(4) 0x4000000002b3f2f0 ab_xsignon + 0xb30 at absignon.c:876 [dw.sapRD3_DVEBMGS00]
(5) 0x4000000002aa4cb0 ab_rfcimport + 0x1ad0 at abrfcfun.c:3599 [dw.sapRD3_DVEBMGS00]
(6) 0x40000000040f4a80 Z8abjcalyv + 0x500 [dw.sapRD3_DVEBMGS00]
(7) 0x400000000402f190 Z8abextriv + 0x440 [dw.sapRD3_DVEBMGS00]
(8) 0x4000000003f538b0 Z9abxeventPKt + 0xb0 at abrunt1.c:281 [dw.sapRD3_DVEBMGS00]
(9) 0x4000000003f360a0 ab_dstep + 0x280 [dw.sapRD3_DVEBMGS00]
(10) 0x4000000001cb4600 dynpmcal + 0x900 at dymainstp.c:2399 [dw.sapRD3_DVEBMGS00]
(11) 0x4000000001cab0e0 dynppbo0 + 0x280 at dymainstp.c:540 [dw.sapRD3_DVEBMGS00]
(12) 0x4000000001cb1ec0 dynprctl + 0x340 at dymainstp.c:358 [dw.sapRD3_DVEBMGS00]
(13) 0x4000000001c9dff0 dynpen00 + 0xac0 at dymain.c:1628 [dw.sapRD3_DVEBMGS00]
(14) 0x4000000001fea460 Thdynpen00 + 0x510 at thxxhead.c:4830 [dw.sapRD3_DVEBMGS00]
(15) 0x4000000001fb4de0 TskhLoop + 0x4e20 at thxxhead.c:4518 [dw.sapRD3_DVEBMGS00]
(16) 0x4000000001faae40 ThStart + 0x460 at thxxhead.c:1164 [dw.sapRD3_DVEBMGS00]
(17) 0x4000000001569ec0 DpMain + 0x5f0 at dpxxdisp.c:1088 [dw.sapRD3_DVEBMGS00]
(18) 0x4000000002c10630 nlsui_main + 0x30 [dw.sapRD3_DVEBMGS00]
(19) 0x4000000002c105c0 main + 0x60 [dw.sapRD3_DVEBMGS00]
(20) 0xc00000000002be30 main_opd_entry + 0x50 [/usr/lib/hpux64/dld.so]
List of ABAP programs affected
Index
Typ
Program
Group
Date
Time
Size
Lang.
0
Prg
SAPMSSY1
0
11.04.2005
09:27:15
22528
E
1
Prg
SAPLSCCA
1
05.07.2005
13:10:18
52224
E
2
Prg
SAPRFCSL
0
13.02.2005
17:31:45
17408
E
3
Typ
RFCSYSACL
0
13.02.2005
17:31:45
7168
4
Typ
SYST
0
09.09.2004
14:18:12
31744
Directory of Application Tables
Name Date Time Lngth
Val.
Program SAPMSSY1
SYST . . : : 00004612
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x0001\0\0\0
Program SAPRFCSL
RFCSYSACL . . : : 00001760
SOL RD3
ABAP Control Blocks (CONT)
Index
Name
Fl
PAR0
PAR1
PAR2
PAR3
PAR4
PAR5
PAR6
Source Code
Line
116
CLEA
00
0035
SAPMSSY1
60
117
CLEA
00
0036
SAPMSSY1
60
118
CLEA
00
0037
SAPMSSY1
60
119
MESS
00
001C
SAPMSSY1
60
120
ENDF
00
0000
SAPMSSY1
62
121
00
0000
SAPMSSY1
62
122
PERP
00
0001
SAPMSSY1
64
123
PERP
02
0000
SAPMSSY1
64
124
WHIL
00
0002
0000
0000
0000
0000
0000
0000
SAPMSSY1
66
128
WHIL
00
0003
0000
0000
0000
0000
0000
0000
SAPMSSY1
66
132
BRAN
05
001E
SAPMSSY1
66
133
CALY
00
0003
0038
002A
0005
002B
0000
0000
SAPMSSY1
67
>>>>>
CALY
02
0000
0039
8000
0000
0000
0000
0000
SAPMSSY1
67
141
COMP
00
0002
0010
003A
SAPMSSY1
68
143
BRAF
02
000E
SAPMSSY1
68
144
SRFC
01
0000
003A
003B
SAPMSSY1
69
146
SRFC
01
0000
003C
C000
SAPMSSY1
69
148
SRFC
02
0000
0000
0000
SAPMSSY1
69
150
SRFC
01
0000
003A
003D
SAPMSSY1
81
152
SRFC
01
0000
003C
C000
SAPMSSY1
81
Thanks & Regards
Sudip -
installed Exchange 2013, upgrade to sp1 and clean as possible start use in production. All work fine for 2 weeks, when after last weekend go back to work and see what ecp and owa login broken.
1. it broke for some users, not all users. some users coud login.
2. it always after login redirect to error 500, domain.com/owa/auth.owa
3. i get other user login password, try from differet new pc. the same error.
4. with cache cleaning and add "?ExchClientVer=15" at the end i get to work two mailboxes, but cant get other to work.
IIS log:
2014-03-25 10:56:34 10.2.8.244 GET / - 443 - 10.2.8.101 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - 200 0 0 0
2014-03-25 10:56:34 10.2.8.244 GET /owa/ &CorrelationID=<empty>;&cafeReqId=1289c5c9-fb04-4981-aa59-c3b7f30dde8a; 443 - 10.2.8.101 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko https://mail.domain.lv/
302 0 0 0
2014-03-25 10:56:34 10.2.8.244 GET /owa/auth/logon.aspx url=https%3a%2f%2fmail.domain.lv%2fowa%2f&reason=0&CorrelationID=<empty>;&cafeReqId=03257ee9-f71e-44f1-9f9b-4a7a3c688b5d; 443 - 10.2.8.101 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko
https://mail.domain.lv/ 200 0 0 15
2014-03-25 10:56:34 10.2.8.244 GET /owa/auth/logon.aspx replaceCurrent=1&url=https%3a%2f%2fmail.domain.lv%2fowa%2f&CorrelationID=<empty>;&cafeReqId=383c956b-19d9-425e-9c45-44a5a50b4bbe; 443 - 10.2.8.101 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko
- 200 0 0 0
2014-03-25 10:56:38 10.2.8.244 POST /owa/auth.owa &CorrelationID=<empty>;&cafeReqId=84bcf2b6-57cf-41df-92f9-9224b3e5a706; 443 username 10.2.8.101 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko
https://mail.domain.lv/owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fmail.domain.lv%2fowa%2f 500 0 64 0
2014-03-25 10:56:38 10.2.8.244 POST /owa/auth.owa &CorrelationID=<empty>;&cafeReqId=10cd2e1c-ecdc-4ec8-beda-4a1728a57b8f; 443 username 10.2.8.101 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko
https://mail.domain.lv/owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fmail.domain.lv%2fowa%2f 500 0 0 15
2
5. no event log errors, only about exchange performance counters.
all what i did:
*recreate owa. recreate ecp directories in default website and backend website also ecp pool, and add it back.
*check website biddings;
*remove and readd certificate.
*disable OWA cache option.
*check user language options.
*check running services.
*check owa proxy health
* check owa and ecp authentification settings
* check for correct internal external url settings for owa and ecp.
* try with ssl req checked in or checked out -not help.
* try with redirect options disabled or enabled- not help
So now im are at the start point, didn't help anything. in is not resolution for sitting and trying to clear user explorer caches to tray get work..Hi,
Generally, the error was 500 which indicates some kind of authentication errors. To resolve the issue, please try the following checks:
1. Checked IIS, ensure that all of the authentication is set correctly and "Require SSL" is checked on the root of the default website.
2. Restart IIS service by running “IISReset /NoForce”.
3. If it fails, please try to start the “Microsoft Exchange Forms-Based Authentication” service on Exchange server.
Thanks,
Winnie Liang
TechNet Community Support -
Autofill function is not working, 'window' sticks through it not functional!
autofill function is not working, 'window' sticks through it not functional!
Back up all data, then test after each of the following steps that you haven't already tried. Stop when the problem is resolved.
1. Quit and relaunch Safari.
2. Select your card in Contacts. Then select
Card ▹ Make This My Card
from the menu bar. Also select
Contacts ▹ Preferences ▹ vCard
and uncheck the box marked
Enable private me card
if it's checked.
3. In Safari, select
Safari ▹ Preferences ▹ AutoFill ▹ AutoFill web forms: Using info from my Contacts card
If the box was already checked, uncheck it and then check it again.
4. Launch the Keychain Access application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
From the menu bar, select
Keychain Access ▹ Preferences ▹ First Aid
If the box marked Keep login keychain unlocked is not checked, check it.
Select
Keychain Access ▹ Keychain First Aid
from the menu bar and repair the keychain. Quit Keychain Access. -
Mathscript all matlab functions are not working
Hello,
I am using mathscript node in my labview development. I have used right away "imfill" function to fill the holes in my edge detected image. But the "imfill" function is not working in mathscript.
How could I use this function in mathscript?
Attachments:
Candel.vi 96 KBDid you take this code directly from MATLAB and put it in the MathScript node? (I'm guessing the imfill function is a MATLAB function?)
If so, you're going to be sorely dissapointed. While MATLAB and the MathScript node both use .m files, they are not the same language. The language is very similar, but the syntax differs slightly in some cases. My guess (since I've used MATLAB but never the imfill function) is that the imfill function is part of a toolkit for MATLAB. Unless the MathScript node has a corresponding function (you'd have to search the help to see) you will not be able to use this function in the MathScript node.
If the MathScript node has no corresponding function and you must use this function in LabVIEW, I would reccommend the MATLAB Script Node. This structure actually calls MATLAB through the ActiveX interface. This means that you must have MATLAB installed on the computer you are running your VI on.
Chris
Certified LabVIEW Architect
Certified TestStand Architect -
Question
I want to save with <nowiki><alt><s></nowiki> in the program Exact Online. This function is not working. this is the first time that i use this program with firefox.
'''edit''', mod escaped the '''<nowiki><s></nowiki>''' to prevent line through questionSubmitted too soon... To change your accelerator key for accesskeys to Alt alone (or a different combination), you can change a setting using Firefox's about:config preferences page.
(1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
(2) In the filter box, type or paste '''ui.k''' and pause while the list is filtered
(3) Make sure '''ui.key.generalAccessKey''' is set to its default value of -1 (or right-click and choose Reset if it is not).
(4) Double-click '''ui.key.contentAccess''' to open a dialog box to change the value from its current default (on Windows, 5) to your choice of the following:
* 2 = '''Ctrl''' (Fx default on Mac thru Fx13)
* 3 = Ctrl + Shift
* 4 = '''Alt''' (IE/Chrome/Safari default on Win/Linux)
* 5 = '''Alt + Shift''' (Fx default on Windows & Linux)
* 6 = '''Ctrl + Alt''' (Fx default on Mac from Fx14) (Chrome/Safari default on Mac)
* 7 = Ctrl + Alt + Shift
This should take effect as soon as you OK the dialog, so you can experiment in a separate tab. Other combinations are available if you want to try them. See http://kb.mozillazine.org/Ui.key.contentAccess (inaccessible at the moment?) -
How to delete multiple songs from iPhone 5S without losing form iTunes? The unchek function has not worked. Why?
Sorry I had to reply through your profile Gail from Maine, my PC has java issues. In any event, when I delete them directly from my device everything is perfect and cool. However, in the rare instance I want to add new music that I actually buy in stores (I know, quite the unique and old-fashioned idea...but hey Im an audiophile) once I upload the tunes, everytime I sync my library it re-adds everything that I spent hours deleting. In a perfect world, I thought I could maintain a massive iTunes Library, and add or delete (remove) songs from my iPhone to save both memory or keep my iPhone selections more current/apt to my musical "tastes" at that time. I know about the whole playlist thing, but thought there might be an easier way. ie - checking/un-checking the little box next to the song name, and then doing a sync. Again, everytime I do this however, whether everything is checked or un-checked it adds the entire library! So frustrating. Any suggestions. Thank you graiously in advance for your help.
-
Palm Desk Top 6.2 Address Look Up Function Does Not Work In Windows 7
I recently upgraded my desk top computer's operating system from Windows Vista Home Premium to Windows 7 Home Premium. I synchronize with a Palm Tx PDA. HP PalmOS customer support Chat helped me work through a compatibility issue that was preventing display of Address, Calendar, Memo and To Do items on my desk top computer via the Palm Desk Top 6.2 application. I now find that the address look up function does not work (although it worked fine when I was running Vista). Without success, I tried running the repair tool as well as reloading the software (both overlay and clean reinstall). I would appreciate any help or suggestions to fix?
Post relates to: Palm TXHi,
844869 wrote:
CREATE TABLE TEST_EMPLOYEES
FIRST_NAME VARCHAR2(26 CHAR),
GRADE VARCHAR2(5 CHAR)
INSERT INTO TEST_EMPLOYEES (FIRST_NAME, GRADE) VALUES ( 'William', 45 ); ...Thanks for posting the CREATE TABLE and INSERT statements; that's very helpful.
William&45 1
Robin 43 1
Raymond 43 1
Richard 43 1
Karen 28 1
Michelle 1
Jonathan 1
Mark 1
Ann 1You may have noticed that this site normally doesn't display multiple spaces in a row.
Whenever you post formatted text (such as query results) on this site, type these 6 characters:
\(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
This is one of the many helpful things found in the forum FAQ {message:id=9360002}
Are the results above what you're getting with some existing query, or are they the results you want?
If those are your current results, post your query. In that case, what are the results you want? Do you want this?FIRST_NAME GRADE RNK
William 45 1
Robin 43 2
Raymond 43 2
Richard 43 2
Karen 28 5
Michelle 6
Jonathan 6
Mark 6
Ann 6
Edited by: Frank Kulash on Feb 21, 2013 2:39 PM
I see you've added the desired results to your original message.
Here's one way to do that:SELECT first_name
, grade
, RANK () OVER (ORDER BY grade NULLS FIRST) AS rnk
FROM test_employees
ORDER BY grade DESC NULLS LAST -
AcroPDF ActiveX print functions are not working with Reader 9.2/9.3. Tried ActiveX print functions like printPages(), printAll(), printWithDialog(), none of them is working. Tried on platforms: XP 32 bit and Win7 32 bit. These print functions all work fine with Adobe Reader 9.1.0. or 8.2.0 or 8.1.0 on XP 32 bit or Win7 32 bit.
The way I have my setup: I have created a C/C++ project with AcroPDF MFC ActiveX classes. I have created an AcroPDF object in there, and then calling it's LoadFile() function passing a pdf file in the parameter. Then calling the printPages() or printAll() function. With Adobe Reader 9.1.0. or 8.2.0 or 8.1.0, printing is starting through the default printer without any problem. As soon as I update the reader version to 9.2 or more, the same code stops working.
Is anybody noticing any similar issue? Any info on this will be highly appreciated. Thank you!Unfortunately printWithDialog() is also not working. Actually none of the print functions like Print(), printWithDialog(), printPages(), printPagesFit(), printAll(), printAllFit() are working. All of them works fine though with older reader.
BTW, what security related changes are there for printPages() and printAll()? Can you please elaborate on that? Is there any workaround? -
9iAS java functions are not working
Dear All.
Im using oracle 9iAS Release 9.2.0.1.0 and JServer Release 9.2.0.1.0. Im using java functions (eg. Array, pop, push method and trim function) in my JavaScript section.
But these functions are not working. When run the page it work up to that function and stuck. Functions are written properly.
I would be much-appreciated .if you could help me to solve this problem..
Regards,
NishAre you sure you uncommented and changed jvm.include.CLASSPATH=1
in the jvm12.conf when you added your classpath there?
The preferred way to do this would be to create a .war and deploy it instead. Then you can put your beans in the WEB-INF/classes directory and the application wont have conflict problems if you decide to create virtual servers later. -
Key functions are not working in oracle11g forms
I have migrated a oracle 10g form to oracle 11g form
1.Key function such as down arrow,up-arrow is not working in oracle11g forms though key-down etc trigger have been written.
2.Tree node function,i mean when i try to call form from a child node ,it required 4-5 click.
Can anyone help me for these issueNext_form function is not working.i have copied the .res file from 10g.So the issue like this,when i master forms calls(by using open_form in when-window-activate trigger)to a child form and the child form having (when-window-activate trigger)next_form to return the cursor in the master form,it got hang in 11g.This is problem.i have checked by creating the same.Could you help me for the same.this code is running fine in 10g.
-
Oracle date parameter query not working?
http://stackoverflow.com/questions/14539489/oracle-date-parameter-query-not-working
Trying to run the below query, but always fails even though the parameter values matches. I'm thinking there is a precision issue for :xRowVersion_prev parameter. I want too keep as much precision as possible.
Delete
from CONCURRENCYTESTITEMS
where ITEMID = :xItemId
and ROWVERSION = :xRowVersion_prev
The Oracle Rowversion is a TimestampLTZ and so is the oracle parameter type.
The same code & query works in Sql Server, but not Oracle.
Public Function CreateConnection() As IDbConnection
Dim sl As New SettingsLoader
Dim cs As String = sl.ObtainConnectionString
Dim cn As OracleConnection = New OracleConnection(cs)
cn.Open()
Return cn
End Function
Public Function CreateCommand(connection As IDbConnection) As IDbCommand
Dim cmd As OracleCommand = DirectCast(connection.CreateCommand, OracleCommand)
cmd.BindByName = True
Return cmd
End Function
<TestMethod()>
<TestCategory("Oracle")> _
Public Sub Test_POC_Delete()
Dim connection As IDbConnection = CreateConnection()
Dim rowver As DateTime = DateTime.Now
Dim id As Decimal
Using cmd As IDbCommand = CreateCommand(connection)
cmd.CommandText = "insert into CONCURRENCYTESTITEMS values(SEQ_CONCURRENCYTESTITEMS.nextval,'bla bla bla',:xRowVersion) returning ITEMID into :myOutputParameter"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.ReturnValue
p.DbType = DbType.Decimal
p.ParameterName = "myOutputParameter"
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion"
v.Value = rowver
cmd.Parameters.Add(v)
cmd.ExecuteNonQuery()
id = CType(p.Value, Decimal)
End Using
Using cmd As IDbCommand = m_DBTypesFactory.CreateCommand(connection)
cmd.CommandText = " Delete from CONCURRENCYTESTITEMS where ITEMID = :xItemId and ROWVERSION = :xRowVersion_prev"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.Input
p.DbType = DbType.Decimal
p.ParameterName = "xItemId"
p.Value = id
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion_prev"
v.Value = rowver
v.Precision = 6 '????
cmd.Parameters.Add(v)
Dim cnt As Integer = cmd.ExecuteNonQuery()
If cnt = 0 Then Assert.Fail() 'should delete
End Using
connection.Close()
End Sub
Schema:
-- ****** Object: Table SYSTEM.CONCURRENCYTESTITEMS Script Date: 1/26/2013 11:56:50 AM ******
CREATE TABLE "CONCURRENCYTESTITEMS" (
"ITEMID" NUMBER(19,0) NOT NULL,
"NOTES" NCHAR(200) NOT NULL,
"ROWVERSION" TIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL)
STORAGE (
NEXT 1048576 )
Sequence:
-- ****** Object: Sequence SYSTEM.SEQ_CONCURRENCYTESTITEMS Script Date: 1/26/2013 12:12:48 PM ******
CREATE SEQUENCE "SEQ_CONCURRENCYTESTITEMS"
START WITH 1
CACHE 20
MAXVALUE 9999999999999999999999999999still not comming...
i have one table each entry is having only one fromdata and one todate only
i am running below in sql it is showing two rows. ok.
select t1.U_frmdate,t1.U_todate ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf
from [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
on t0.DocEntry = t1.DocEntry
inner join ohem t2
on t2.empID = t0.U_empid where t0.U_empid between '830' and '850' and t1.U_frmdate ='20160801' and t1.u_todate='20160830'
in commond promt
select t1.U_frmdate,t1.U_todate ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf
from [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
on t0.DocEntry = t1.DocEntry
inner join ohem t2
on t2.empID = t0.U_empid where t0.U_empid between {?FromEmid} and {?ToEmid} and t1.U_frmdate ={?FDate} and t1.u_todate={?TDate}
still not showing any results.. -
F11 Functionality is not working
Hi,
I am working on 11.5.10.2 version.
In the Oracle Payables Invoice screen the F11 functionality is not working
For other screens like supplier entry / payment batches..etc, the F11 functionality is working.
When i enter the Invoice screen, i am pressing F11 and it comes to query mode.
I am giving the values and percentage, pressing Ctrl+F11 but its not showing the invoice data.
Error Notification given: "FRM-40301: Query caused no records to be retrieved. Re-enter."
Earlier its working fine...suddenly its giving me this trouble. I am able to query same thing in my friends system.
I know its quite silly issue but its really giving me a trouble. Could anyone give the solution for this. Is there any specific functionality am need to set for this?
Thanks,
Ram.The query is working if you are getting the message "FRM-40301: Query caused no records to be retrieved. Re-enter." You need to query for something that is in the tables which is usually case sensitive.
Or, use the Query/Find screen by clicking the Find button (flashlight icon) on the toolbar. -
Mac mail search function is not working. Any search term returns all records.
Mac mail search function is not working. Any search term returns all records.
hi eric. many thanks.
i will have to read these links closer but what i meant to say is that the hard drive space that was being taken up seemed like it suddenly jumped way up because i had just gotten through a process in the last month where i am storing all my My Documents data on my Mac Pro. i am doing this in order to decide whether i should just keep it ALL on my Mac Pro and use ChronoSync to sync /some/ of it to my MBP.
so if i look in the Documents folder on my Mac Pro i have a ton of folders that i have created with a ton of data. if i look in the Documents folder on my MBP there are NO folders that have data in them that i created. there are other folders such as folders that various software created but what i mean to point out is that there was a LOT of available space on my HD until recently.
i am wondering if there is some way that running the Mail re-index (it then ran some kind of "Importing" routine) or by syncing my Photostream to the MBP caused a huge jump in data on this drive. if it is the photostream sync i can just take this off or see if it will sync more selectively. if it is something to do with mac mail jumping in size i am not sure why this would happen or what to do about it.
does that question make sense?
i mean, before i did these two operations my recollection is that i would have had 130 GB on the hard drive (really just guessing here) and now there is like 218 GB on the hard drive and i don't know where all this came from...
Maybe you are looking for
-
Problem in refreshing html page using LinkToURL API
Hi all, I use LinkToURL in order to open a html page in a new window. My problem is that this html file is changed (the name is the same but the contents is diff) dynamically. I click on the link and the window is open, but later on when the html fil
-
PSE 7 playing incorrect music media files
I Have PSE 7 on my PC. It was upgraded from PSE 5 some time ago in 2009 and I thought it was working ok. However, because I have recently been using the Slide Show creation feature, I have found that there is no sound with the music. In trying to f
-
Orange (other) field keeps coming back
I have just recently received a brand new 30 gb ipod video. So far it has worked fine except for one thing. The orange (other) field takes up almost all of the space on the ipod (24.23 gb) I do not have pictures on the ipod, only video and music, whi
-
I am having a problem searching for the best dvd-r material to use. I keep getting problems with canon dvd-r recording captures. Can someone guide me in the recommened brands of DVD-R material? I understand most people rely on Taiyo Yuden as the leas
-
How do I resolve an unresponsive white screen with a beeping sound in a pattern of three?
How do I resolve an unresponsive white screen with a beeping sound in a pattern of 3?