IP Communicator not working on different LANs
Hello All,
Really strange problem, and was wondering if anyone has cme across a similar situation...
We have a Cisco UC560 in the UK. There are remote workers who have laptops. On there laptops they have a IP Softphone running (the latest version)
The softphones have been configured appropriately.
When the remote worker is in the office, and their laptop is connected to the same physical LAN and is assigned an IP address in the same range as the UC system, the softphone registers just fine, and can be used as normal.
When the remote worker goes to a different office, which has a different LAN they get a different IP address. This is where the problem arises, the softphone no longer registers. The softphone just has a turning wheel, with the message "Registering" and doesn't actually register. The laptop has IP connectivity to the UC and we have tested it. We've tested connectivity from the UC back to the laptops. We've checked all the routing, and its all in place. There is no firewalls along the path, to block anything. We've checked the routers along the way, and there are no access-lists to stop this connection.
Does anyone have any experience of such a problem or any thing that we could check that is stopping this connection?
Thanks in advance for your thoughts.
PH
Excellent thought... thanks... but unfortunately i've checked that.
The source interface for the TFTP server is Vlan 90. Vlan 90 has an ip address of 10.1.10.2 255.255.255.252.
We can ping and traceroute to that address from the remote site laptop just fine. Again we've checked the path along the way, and no firewalls or access-lists exist to block the communication.
I'm not sure if this helps...but when you start up the IP Communicator software while on the remote site, the messages we get on the screen are :
Updating Locale
Error Updating Locale
Registering... and then its stuck there...
Could it be something to do with the updating of locale?
Thanks
PH
Similar Messages
-
Personal Communicator not working correctly through VPN
Hello Community,
I can use some help please :-)
This client uses Personal Communicator and works fine.
The problem is via IPsec VPN client, they can log in, can make calls, but everybody (all contacts) show offline.
I've been told that they have look at this problem for several weeks now but nobody knows what is going on.... I'm trying right now and having the same problem.
When the remote IPsec client connects it gets the intenal DNS server and everything else works fine (IP communicator and all other applications).
When inside the LAN, all contacts appear online using the Personal Communicator and works perfectly.
I'm sure it's something simple but I have not been able to figue it out.
Appreciate the assistance!
Federico.Are you using CUPC 7 or 8? What is the VPN concentrator; an ASA?
If 7, all of this is SIP traffic. Use a Wireshark to see what you get. You should see a SUBSCRIBE message for each contact followed by a 200 OK reply and NOTIFY when the person's status changes. Perhaps compare this against a capture from a LAN-attached client to see what's different.
Do you see the ASA's IP addresses anywhere in the layer-seven SIP headers? I sometimes run across SIP inspection occurring on the ASA which is mucking around with the headers by doing things such as replacing the internal CUPS address with the ASA's egress interface address. -
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 -
Cisco IP Communicator not working in Windows 7
Hi,
We upgraded our windows OS from XP to Windows 7. Since then Cisco IP Communicator is not working through VPN. With in office it works fine.
The IP Communicator get registered and we are able to hear the dial tone, but when the call connects no Voice.
Pls suggest.
Regards
JagadishYes, i have tried that also and also audio port range. Strange is call shows connected but no voice from both ends.
This works perfectly fine with XP Machine. Only with Windows 7 machine it doesn't work. Disabled the windows firewall also and check. But no luck. -
Multicast Does not work between different VLANS
Hi,
I have problems with multicast. On the same VLAN i can see the SAP announcement in VLC and play, but on different VLAN i can see SAP but i cant play it. The play turn to pause and the video doesn´t appear.
I have 2 Cisco 6500 switch CORE with GLBP configured but not working. In the second switch i have all interfaces in shutdown. The first core switch have L3 routing enable.
The Global configurations:
ip multicast-routing.
I have the transmitter PC on vlan 51 i transmit to 230.0.0.50 group an im trying to recive on vlan 80. The vlans configurations are:
Vlan 51
ip address x.x.31.254 255.255.255.0
ip pim sparse-dense-mode
Vlan 80
ip address x.x.80.1 255.255.255.0
ip pim sparse-dense-mode
I have 2 Cisco 2960 (L2 only) for the access.
The principal commands outputs are:
CORE1#show ip mroute | inc 230.0.0.50
(*, 230.0.0.50), 01:50:50/00:02:21, RP 0.0.0.0, flags: DC
CORE1#
CORE 1
interface Vlan1
ip address x.x.1.1 255.255.0.0
ip access-group 101 out
no ip unreachables
ip pim sparse-dense-mode
mls rp ip
interface Vlan51
ip address x.x.31.254 255.255.255.0
ip access-group 151 out
ip helper-address x.x.x.x
ip helper-address x.x.x.x
no ip unreachables
ip pim sparse-dense-mode
mls rp ip
interface Vlan80
ip address x.x.80.1 255.255.255.0
ip access-group 150 out
no ip unreachables
ip pim sparse-dense-mode
glbp 80 ip x.x.80.254
glbp 80 timers 5 18
glbp 80 timers redirect 600 7200
glbp 80 priority 254
glbp 80 preempt delay minimum 60
glbp 80 authentication text glbpkey
glbp 80 forwarder preempt delay minimum 60
CORE2
interface Vlan1
ip address x.x.1.4 255.255.0.0
ip access-group 101 out
no ip unreachables
ip pim sparse-dense-mode
mls rp ip
interface Vlan51
ip address x.x.31.2 255.255.255.0
ip access-group 151 out
ip helper-address x.x.x.x
ip helper-address x.x.x.x
no ip unreachables
ip pim sparse-dense-mode
shutdown
mls rp ip
glbp 51 ip x.x.31.254
glbp 51 timers 5 18
glbp 51 timers redirect 600 7200
glbp 51 preempt delay minimum 60
glbp 51 authentication text glbpkey
glbp 51 forwarder preempt delay minimum 60
interface Vlan80
ip address x.x.80.2 255.255.255.0
ip access-group 150 out
no ip unreachables
ip pim sparse-dense-mode
shutdown
mls rp ip
glbp 80 ip x.x.80.254
glbp 80 timers 5 18
glbp 80 timers redirect 600 7200
glbp 80 preempt delay minimum 60
glbp 80 authentication text glbpkey
glbp 80 forwarder preempt delay minimum 60
end
Someone can help?
Thanks,
AlfredoHi johnd...
Im using VLC 1.1.2 (i can not update because i have a DVDT2 card to capture the digital terrestrial television and it only work in this version). I have all the firewalls down.
This is the output for the show ip igmp snooping groups on the 2960.
80 230.0.0.50 igmp v2 Gi1/0/21, Gi1/0/24
Port G1/0/21 is where the receiver is conected and the 24port is the trunk.
Jon, i revert and this is the output. I put the ip pim rp-address the same of the lookpback that i create previously.
(*, 230.0.0.50), 00:37:46/00:02:19, RP 192.168.230.230, flags: SJC
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Vlan80, Forward/Dense, 00:09:52/00:00:00
The strange thing is that I have more than 40 vlans and it only fail in some vlans like 80. -
Timers do and communication not working on RT system on PXI chassis
I am having problems with my application when I "Install it to a real-time target". When I run the program in debug mode everything works fine.
I have two programs. One runs on a real-time OS on a PXI chassis Controller (Client). The other runs on my Windows 7 PC (host).
When I run the Client application in debug mode (Run->Debug Project) everything works fine. When I run the Client application in the release mode (Run->Install Program to Real-time execution target) things do not work.
It appears that the timers do do start. The Client application does receive communication sent from the Host application but is not able to send communication from the Client to the Host.
I have been fighting this for a while and have tried to get help through emailing the support but have not had much luck that way. I think I need a phone call with an application engineer.It is not LabView. I am developing software with LabWindows\CVI. I've seemed to narrow things down a bit. When I send a message to my application on the PXI Controller it is calling a function PostDeferredCall(...). The deferred function is never called. Not sure why it works when I am running the code in Debug Mode but not when I install it on the target. In my while loop in my RTmain() function it looks like this:
while (!RTIsShuttingDown () && !gDone)
/* Your code. */
/* Sleep for some amount of time to give the desired loop rate */
/* and to allow lower priority threads to run. */
SleepUS (1000);
ProcessSystemEvents ();
I thought the deferred function was supposed to be called in the Main thread? Not sure where it is hanging up yet. -
Application is not working in Different environments
Hi Experts,
I am working in jdev 11.1.1.3.0 with ADF BC
I have deployed my application in 1 environment it's working fine, the same application i depoyed in another environment it's not working.
in the log i am getting as
<Started WebLogic Managed Server "CardEmbosser_ms2" for domain "WLINTQA1" running in Production Mode>
<Sep 15, 2010 10:31:27 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Sep 15, 2010 10:31:27 AM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Sep 15, 2010 10:36:12 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:36:12 AM oracle.mds.internal.lcm.logging.MDSLCMLogger info
INFO: Application ID : CardEmbossNewUI#V2.0>
<Sep 15, 2010 10:36:13 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:36:13 AM oracle.mds.internal.lcm.logging.MDSLCMLogger info
INFO: "Metadata Services: Metadata archive (MAR) not found.">
<Sep 15, 2010 10:36:33 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:36:33 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra (1.2_09-20081212-SNAPSHOT) for context '/CardEmbossNewUI'>
<Sep 15, 2010 10:37:01 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:37:01 AM oracle.adf.mbean.share.connection.ConnectionsRuntimeMXBeanImpl getNonCachedConnectionsContext
INFO: Registering Connection Runtime MBean>
<Sep 15, 2010 10:37:04 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:37:04 AM oracle.adf.share.jndi.ReferenceStoreHelper getReferencesMapEx
WARNING: Incomplete connection reference object for connection:Apps>
<Sep 15, 2010 10:38:01 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:38:01 AM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
INFO: zip:/opt/oracle/domains/WLINTQA1/servers/CardEmbosser_ms2/tmp/_WL_user/CardEmbossNewUI_V2.0/jk9b9a/war/WEB-INF/lib/_wl_cls_gen.jar!/view/DataBindings.cpx>
Can any one suggest me what is wrong here.Error which i am getting while going from one page to another page is:
<Sep 16, 2010 8:58:36 AM EDT> <Notice> <StdErr>
<BEA-000000> <Sep 16, 2010 8:58:36 AM oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
SEVERE: Server Exception during PPR, #15
javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag$UIComponentTagAdapter
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.executeExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag$UIComponentTagAdapter
at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator._evaluate(FacesExpressionEvaluator.java:58)
at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator.evaluate(FacesExpressionEvaluator.java:36)
at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator._evaluate(FacesExpressionEvaluator.java:79)
at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator.evaluate(FacesExpressionEvaluator.java:36)
at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:796)
at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1452)
at oracle.adf.model.binding.DCBindingContainer.evaluateParameter(DCBindingContainer.java:1501)
at oracle.adf.model.binding.DCParameter.internalEvaluateExpresion(DCParameter.java:202)
at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:76)
at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.getCriteriaName(JUSearchBindingCustomizer.java:1956)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._getCurrentViewCriteriaName(FacesCtrlSearchBinding.java:3600)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.getQueryDescriptor(FacesCtrlSearchBinding.java:153)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.internalGet(FacesCtrlSearchBinding.java:3414)
at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1197)
at oracle.adf.view.rich.component.UIXQuery.getValue(UIXQuery.java:442)
at oracle.adf.view.rich.component.UIXQuery._setupAndStoreContextInRequest(UIXQuery.java:267)
at oracle.adf.view.rich.component.UIXQuery.invokeOnComponent(UIXQuery.java:157)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1383)
at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:544)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:141)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:161)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._fixClientIds(LifecycleImpl.java:925)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:378)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
... 34 more
Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag$UIComponentTagAdapter
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
... 106 more>
Can any one help me, it's very urgent for me, what may be the issue here. -
Same file on same server but swf not working on different domanis!?
Hello folks, I have some problems with an flash game file.
I have uploaded same file on same server, using the same FTP client(FileZilla), but at one website file not work.
Here are the link for those swf file:
http://www.gamesjocuri.ro/files/ursuletul-panda.swf
http://www.jocurios.ro/fisiere/swf/ursuletul-panda.swf
The server use nginx for serving files;
Can somebody can give me an advice?
Many thanks!Hello folks, I have some problems with an flash game file.
I have uploaded same file on same server, using the same FTP client(FileZilla), but at one website file not work.
Here are the link for those swf file:
http://www.gamesjocuri.ro/files/ursuletul-panda.swf
http://www.jocurios.ro/fisiere/swf/ursuletul-panda.swf
The server use nginx for serving files;
Can somebody can give me an advice?
Many thanks! -
3gs not working with different sim
Hi
Just upgraded my 3gs which was purchased unlocked from the apple store. It was working fine and still does with an o2 sim but will not work with a virgin sim. It says "No Service" have also tried disabling 3g, but still nothing. any ideas?Hi there,
if your Virgin SIM-card does work in another phone, have Apple doublecheck whether your iPhone 3GS's IMEI truely is flagged as unlocked. If you bought it as a brand new iPhone, it should (in most cases) indeed be factory-unlocked, else if you bought it as a replacement outside the replaced phone's warranty, there might be problem with a faulty database entry, since iOS5 update apparently changed the way the lock/unlock status is verified during the activation process.
This is causing many people to end up with locked phones after the update. Anyway, it is something Apple can change rather easily, once such error is confirmed.
Hope this helps,
Chris -
JMS bridge communication not working
Hi,
I am working on an application, Ap1, which uses Toplink as an ORM layer and also makes use of Toplink cache. The problem is that the database that this application uses
is also used by another app, Ap2. So I need somehow to refresh Toplink cache of Ap1 when a database update is triggered by Ap2, otherwhise Ap1 will work with out of date data.
The solution that I found is to use JMS for the communication between the 2 aps and it should work like this:
- when Ap2 make a database update, it will add a message in a JMS topic that a MDB deployed on Ap1 listens to. And so the MDB will remove the entity from the cache.
The thing is that A1 and A2 are deployed on different Weblogic servers so I need to have a remote JMS communication between the 2 servers.
Ap1 is deployed on WLS1 (Weblogic 12C).
Ap2 is deployed on WLS2 (Weblogic 11C).
As solutions I tried to use a JMS bridge.
on the WLS1 side I have created:
- a JMS server, JmsServer-0
- a JMS module, JmsModule
- a local topic included in JmsModule and targeted to JmsServer-0
- a ConnectionFactory included in JmsModule and targeted to JmsServer-0 (not sure if it is needed)
- a JMS bridge with source and target configured OK (Bridge is in Active state)
The outcome is that when Ap2 updates the database, I can see the message in Ap2 JMS server, but I can't see it in Ap1 JMS server even if the JMS bridge appears to be created OK, has state Active.
I don't know why the message doesn't reach A1 JMS server and I don't know how to debug this problem. I am looking in the Jms Server, monitorring tab. Is there any other place Where I can get some useful info?
I also tried using a JMS foreign server, but I had the same problem.
Thanks for any suggestion!First of all, you can configure the MDB on WLS server1 to receive messages from a JMS destination that is running on WLS server2. You just need to provide the URL of the remote server.
If you prefer using the messaging bridge, you can debug your bridge by turning on the bridge debugging flags.
-Dweblogic.Debug.DebugMessagingBridgeStartup=true
-Dweblogic.Debug.DebugMessagingBridgeRuntime=true
-Dweblogic.Debug.DebugMessagingBridgeRuntimeVerbose=true
Hope this helps.
Dongbo -
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 -
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 suggestI 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 -
Lync for mac 2011 not working in corporate LAN
Hi guys,
I have a mac client that has newest version 14.0.10 of lync installed. The Mac works on OS X Yosemite
operating system. The problem is that when you connect to corporate LAN, lync never connects and gives
following error:
Sign in to Microsoft Lync failed because the service is not available or you may not be connected to the Internet.
If you share a connection via mobile or connect via outside network, you are able to log in and lync functions properly
I have tried to update root certificate on mac via copying one from windows client, but with no luck.Hi Itseeker1,
As ErikHMac stated, the new version of Lync for Mac 14.0.11 has been released, you can install it and check if the issue is solved.
I know you have installed the root certificate on Mac, but please check it again and make sure the certificate is issued by an Enterprise Certificate Authority (Internal CA) and
also should be trusted by the Lync Server.
In addition, it looks like an Internet connectivity issue, please try to flush the DNS cache by running the following command.
dscacheutil -flushcache
Hope it can be helpful.
Best regards,
Eric
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
RMI not working through Wireless LAN
I'm customizing an application which heavily uses RMI. This works fine wired, but when the user connects from a laptop through certain wireless LAN cards, objects sent via RMI never arrived. Our network sniffer revealed that packets apparently used for RMI up to 17K in size are failing. According to our networking guy, the IEEE says packets should be under 9K. Is the packet size used by RMI configurable? Is it really violating an IEEE standard?
Thanks.At the risk of wading into an area with limited knowledge, I'd say that RMI is not the place to look. The problem sounds like it is in your TCP/IP stack somewhere, because that's where packet sizes are supposed to be negotiated. (With a sniffer you typically look at transmitted packets, not application blocks; the TCP/IP sender is supposed to packetize as appropriate, and the TCP/IP receiver is supposed to reassemble.)
-
Restrict Access To Page Not Working with Different Auth Levels
I have just started playing with the idea of using different auth levels to allow different users access to certain pages on my site.
Within my SQL database I have a authlevel table consisting of 3 possible levels (guest, user, admin)
I am using the Dreamweaver "Log in user" to log in users based on username, pass, and auth level and "Restrict access to page" set to allow user levels 'user' and 'admin'.
The problem, however, occurs when trying to log in. No matter what auth level I try I am redirected to my page where users should be redirected if they are not allowed to enter that page.
I have included below my code from my login page and the page where all authorized users (user and admin) should be directed upon entering the restricted area.
Login Page:
<?php require_once('../Connections/hondovfd.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
?>
<?php
// *** Validate request to login to this site.
if (!isset($_SESSION)) {
session_start();
$loginFormAction = $_SERVER['PHP_SELF'];
if (isset($_GET['accesscheck'])) {
$_SESSION['PrevUrl'] = $_GET['accesscheck'];
if (isset($_POST['username'])) {
$loginUsername=$_POST['username'];
$password=$_POST['password'];
$MM_fldUserAuthorization = "authlevel";
$MM_redirectLoginSuccess = "/membersonly/membersonly.php";
$MM_redirectLoginFailed = "/membersonly/loginfailed.php";
$MM_redirecttoReferrer = false;
mysql_select_db($database_hondovfd, $hondovfd);
$LoginRS__query=sprintf("SELECT username, password, authlevel FROM login WHERE username=%s AND password=%s",
GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
$LoginRS = mysql_query($LoginRS__query, $hondovfd) or die(mysql_error());
$loginFoundUser = mysql_num_rows($LoginRS);
if ($loginFoundUser) {
$loginStrGroup = mysql_result($LoginRS,0,'authlevel');
//declare two session variables and assign them
$_SESSION['MM_Username'] = $loginUsername;
$_SESSION['MM_UserGroup'] = $loginStrGroup;
if (isset($_SESSION['PrevUrl']) && false) {
$MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
header("Location: " . $MM_redirectLoginSuccess );
else {
header("Location: ". $MM_redirectLoginFailed );
?>
<!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"><!-- InstanceBegin template="/Templates/phptemplate.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="Title" -->
<title>Log In</title>
<!-- InstanceEndEditable -->
<meta name="description" content="Hondo Fire and Rescue serves the Arroyo Hondo and Canada Village areas of Santa Fe County, NM." />
<meta name="keywords" content="hondo, hondo fire, hondo vfd, hondo fire department, santa fe county fire department, santa fe county, volunteer fire department, hondo volunteer fire department" />
<link href="../stylesheet.css" type="text/css" rel="stylesheet" />
<!--[if IE]>
<style type="text/css">
#mainContent, #sidebar1 { zoom: 1;}
</style>
<![endif]-->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body class="thrColLiqHdr">
<div id="container">
<div id="header"></div>
<div id="sidebar1">
<h3>Navigation : </h3>
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="/index.php">Home</a></li>
<li><a href="/support.php">Support Hondo</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Information Menu</a>
<ul>
<li><a href="/people.php">Our People</a></li>
<li><a href="http://www.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=101620713606637979698.00045b6ead4ab4ea70b78&z=11" target="_blank">Response Area</a></li>
<li><a href="/medical.php">Medical</a></li>
<li><a href="/apparatus.php">Apparatus</a></li>
<li><a href="/training.php">Training</a></li>
<li><a href="/volunteer.php">Volunteer</a></li>
<li><a href="/statistics.php">Statistics</a></li>
<li><a href="/patchtrading.php">Patch Trading</a></li>
</ul>
</li>
<li><a href="/album.php">Photo Gallery</a></li>
<li><a href="/calendar.php">Calendar</a></li>
<li><a href="/news.php">Blog/News</a></li>
<li><a href="/links.php">Links</a></li>
<li><a href="/contact.php">Contact Us</a></li>
</ul>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<span class="lefttext">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="8567201">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</img></input></input>
</span>
</form>
<span class="lefttext"><br />
</span>
<center>
<span class="lefttext"><a href="http://www.facebook.com/pages/Santa-Fe-NM/Hondo-Volunteer-Fire-Department/74284233488" target="_blank" class="lefttext">Hondo VFD on Facebook</a></span>
</center>
<!-- end #sidebar1 --></div>
<div id="sidebar2">
<p><a href="/membersonly/login.php">Log In</a> | <a href="/membersonly/logout.php">Log Out</a></p>
<p>Call Statistics for <?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/month.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?> as of <?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/date.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></p>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%">EMS Calls</td>
<td width="40%"><?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/emscalls.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></td>
</tr>
<tr>
<td>Fire Calls</td>
<td><?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/firecalls.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></td>
</tr>
</table>
<hr />
<div id="cse" style="width:100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1');
google.setOnLoadCallback(function(){
new google.search.CustomSearchControl().draw('cse');
}, true);
</script>
<!-- End Google Search Element -->
</div>
<!-- end #sidebar2 -->
<div id="mainContent">
<div class="top"></div><div class="wrap"><!-- InstanceBeginEditable name="Main Content" -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="47" class="h2">Members Only Login</td>
</tr>
<tr>
<td><form ACTION="<?php echo $loginFormAction; ?>" id="login" name="login" method="POST">
<table width="40%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="31%">Username:</td>
<td width="69%"><input name="username" type="text" /></td>
</tr>
<tr>
<td>Password</td>
<td><input name="password" type="password" /></td>
</tr>
</table>
<input name="Submit" type="submit" />
</form></td>
</tr>
</table>
<!-- InstanceEndEditable -->
</div>
<div class="bottom"></div>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <br class="clearfloat" />
<div id="footer">
<p align="center">© Copyright 2009 Hondo Volunteer Fire Department | <a href="mailto:[email protected]">Contact Us</a><a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html"></a><br />Hosting provided by <a href="http://studiox.com/" target="_blank">Studio X</a></p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
<?php include_once("/var/home/hondovfd/hondovfd.org/www/analyticstracking.php"); ?>
</body>
<!-- InstanceEnd --></html>
Other Page:
<?php
if (!isset($_SESSION)) {
session_start();
$MM_authorizedUsers = "user,admin";
$MM_donotCheckaccess = "false";
// *** Restrict Access To Page: Grant or deny access to this page
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
// For security, start by assuming the visitor is NOT authorized.
$isValid = False;
// When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
// Therefore, we know that a user is NOT logged in if that Session variable is blank.
if (!empty($UserName)) {
// Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
// Parse the strings into arrays.
$arrUsers = Explode(",", $strUsers);
$arrGroups = Explode(",", $strGroups);
if (in_array($UserName, $arrUsers)) {
$isValid = true;
// Or, you may restrict access to only certain users based on their username.
if (in_array($UserGroup, $arrGroups)) {
$isValid = true;
if (($strUsers == "") && false) {
$isValid = true;
return $isValid;
$MM_restrictGoTo = "/membersonly/loginfailed.php";
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {
$MM_qsChar = "?";
$MM_referrer = $_SERVER['PHP_SELF'];
if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0)
$MM_referrer .= "?" . $QUERY_STRING;
$MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
header("Location: ". $MM_restrictGoTo);
exit;
?>
<!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"><!-- InstanceBegin template="/Templates/phptemplate.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="Title" -->
<title>Members Only Area</title>
<!-- InstanceEndEditable -->
<meta name="description" content="Hondo Fire and Rescue serves the Arroyo Hondo and Canada Village areas of Santa Fe County, NM." />
<meta name="keywords" content="hondo, hondo fire, hondo vfd, hondo fire department, santa fe county fire department, santa fe county, volunteer fire department, hondo volunteer fire department" />
<link href="../stylesheet.css" type="text/css" rel="stylesheet" />
<!--[if IE]>
<style type="text/css">
#mainContent, #sidebar1 { zoom: 1;}
</style>
<![endif]-->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body class="thrColLiqHdr">
<div id="container">
<div id="header"></div>
<div id="sidebar1">
<h3>Navigation : </h3>
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="/index.php">Home</a></li>
<li><a href="/support.php">Support Hondo</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Information Menu</a>
<ul>
<li><a href="/people.php">Our People</a></li>
<li><a href="http://www.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=101620713606637979698.00045b6ead4ab4ea70b78&z=11" target="_blank">Response Area</a></li>
<li><a href="/medical.php">Medical</a></li>
<li><a href="/apparatus.php">Apparatus</a></li>
<li><a href="/training.php">Training</a></li>
<li><a href="/volunteer.php">Volunteer</a></li>
<li><a href="/statistics.php">Statistics</a></li>
<li><a href="/patchtrading.php">Patch Trading</a></li>
</ul>
</li>
<li><a href="/album.php">Photo Gallery</a></li>
<li><a href="/calendar.php">Calendar</a></li>
<li><a href="/news.php">Blog/News</a></li>
<li><a href="/links.php">Links</a></li>
<li><a href="/contact.php">Contact Us</a></li>
</ul>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<span class="lefttext">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="8567201">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</img></input></input>
</span>
</form>
<span class="lefttext"><br />
</span>
<center>
<span class="lefttext"><a href="http://www.facebook.com/pages/Santa-Fe-NM/Hondo-Volunteer-Fire-Department/74284233488" target="_blank" class="lefttext">Hondo VFD on Facebook</a></span>
</center>
<!-- end #sidebar1 --></div>
<div id="sidebar2">
<p><a href="/membersonly/login.php">Log In</a> | <a href="/membersonly/logout.php">Log Out</a></p>
<p>Call Statistics for <?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/month.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?> as of <?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/date.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></p>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%">EMS Calls</td>
<td width="40%"><?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/emscalls.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></td>
</tr>
<tr>
<td>Fire Calls</td>
<td><?php
$myFile = "/var/home/hondovfd/hondovfd.org/www/membersonly/firecalls.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
?></td>
</tr>
</table>
<hr />
<div id="cse" style="width:100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1');
google.setOnLoadCallback(function(){
new google.search.CustomSearchControl().draw('cse');
}, true);
</script>
<!-- End Google Search Element -->
</div>
<!-- end #sidebar2 -->
<div id="mainContent">
<div class="top"></div><div class="wrap"><!-- InstanceBeginEditable name="Main Content" -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="47" class="h2">Members Only Area</td>
</tr>
<tr>
<td><p><a href="/membersonly/documents.php">Useful Documents</a></p>
<p><a href="/membersonly/IncidentCount01_08.pdf">Current Call Statistics</a> as of 9/3/09</p>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script><!-- InstanceEndEditable -->
</div>
<div class="bottom"></div>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <br class="clearfloat" />
<div id="footer">
<p align="center">© Copyright 2009 Hondo Volunteer Fire Department | <a href="mailto:[email protected]">Contact Us</a><a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html"></a><br />Hosting provided by <a href="http://studiox.com/" target="_blank">Studio X</a></p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
<?php include_once("/var/home/hondovfd/hondovfd.org/www/analyticstracking.php"); ?>
</body>
<!-- InstanceEnd --></html>you don't need all that bloat. set a session during login of some kind of uniquely identifying id. i.e.
$_SESSION['id'] = $row_rs['id'];
then on the pages you need to protect, check it like this....
<?php
session_start();
if (!(isset($_SESSION['id']) && $_SESSION['id'] != '')) {
die(header("Location: http://www.notinprotectedareas.com")); }
?>
you can use an include file i.e.
<?php require_once('login_check.php'); ?>
where file is name login_check.php to make your auth controls clean on your protected pages.
Maybe you are looking for
-
Mail hangs up in the Outbox in OS X 10.9 Maverick (MacbookPro, too)
The frustration is significant. I have double checked all settings, even increased priority, but it is a 2-4 minute wait while mail decides to send the message continues. I most often can't get on with other work while waiting for the mail to send. M
-
Dunning month end + 30 days
hi gurus, is it possible to configure dunning procedure based on month end + 30 days? for example if invoice is issued on 2 february / 20 february, dunning will be calculated to 28 february + 30 days to issue 1st reminder. do i have to do any configu
-
What do I need to build a minimal Cisco videoconferencing system?
I'm trying to figure out what I need to build a videoconferencing system. I already have: Main site with a Cisco 3825 w/ Adv IP 12.4, where I expect I'll have 5 - 10 users who will regularly use a videoconferencing system Remote site with a Cisco 281
-
Scheduled jobs fail to run after reboot
A couple of months back we moved our CF 8 server to a VM (VMWare). We have noticed that after the server (Windows OS) is rebooted, all scheduled jobs do not run. There are no errors in the logs. One oddity is that after the reboot in the scheduler lo
-
Apple Mail App won't work for Yahoo Mail
About two months ago I switched from using the Yahoo web interface for my Yahoo mail to using the Apple Mail App. (Yahoo changed their web interface and I didn't like the new one). The Apple mail app worked fine until 2 days ago. I couldn't get ne