Write Debug Output to the media under the Simulator map
I'm testing my application using the Simulator with the eclipse plugin (using the simulated device 9700). Simply, I can't open a file. Here is the code I use:
try { // filename = "file:///SDCard/debug.txt" fileConnection = (FileConnection) Connector.open(fileName); } catch (IOException e) { System.out.println("Could not create " + fileName); e.printStackTrace(); } if (fileConnection != null) { try { OutputStream out = fileConnection.openOutputStream(); } catch (IOException e) { e.printStackTrace(); } }
Are there settings specific Simulator which must be defined and who could stop me from writing on the SD card in the device? I put 'Use PC file to SD Card file system' and with the path on my PC where I want the file resides. Any help would be greatly appreciated.
The file exists in your file? If it isn't, your code does not indicate that you create a file.
So when you try to open an output stream on a file that does not exist, that would not work.
Steps to follow:
-Check if a file exists
-Yes: Open stream and write to the file
-No: fileConnection.create)
-Open the stream and write to the file
PS Don't forget to close the flow of data and file connection when you are finished.
Tags: BlackBerry Developers
Similar Questions
-
I have installed the edition of CFMX 8 Dev, enabled the debug output, but the output is not displayed. I can access the web pages, but cannot see the output of debuh.
Any ideas on how to solve this problem?Don't know why, but it is fixed. Just reinstalled CF 8, reset the debug settings and now it works.
-
I see the output in the Simulator and I want to have changes in the code. To do this, I have to close the Simulator and the fact of the change in JDE. Y at - it an option for edit in JDE when Simulator works and we see the output changed in the open Simulator?
And also how to stop the debugger's tie when the Simulator is on the way? It takes too long to launch the simulator when the debugger is attached.
Thanks for any help.
Simulator for stand-alone use.
Build the project in jde and transfer all the cod files in stand-alone Simulator folder.
And after that start the standalone trainer.
-
How to change the ID of the simulator device?
You will need to change the ID of the simulator device... anyone can guide me?
in eclipse, open the configuration to run or debug and select the simulator that you can enter the PIN to use it
-
How to write the output of the custom to xel.log adapter println
I have a few system.out.println statement inside my adapter code of java customized for debugging purposes. I see these println in weblogic console output when the adapter code is called. But the same not saved in xel.log (log4j.logger.XELLERATE.ADAPTERS is set to DEBUG).
What should I do to write these println output in file xel.log?WebLogic:
Check File Appender section in the file log.properties of the IOM/config directory and comment it as required.JBoss
Do the same thing in the file jboss - log4j.xml la */Server/all/conf * directory -
IPsec VPN Phase 2 does not. Need help with the debug output
Is someone can you please tell me why I can't establish ipsec Phase 2 negotiations. I'm trying to connect a 2651XM to a Pix 501.
Here are the isakmp debug and release of ipsec and configs. I checked the keys are the same. And sets of transformations look ok. No idea why its not working?
What is the bottom tell me?
===========================================================
01:32:37: IPSEC (validate_transform_proposal): invalid local address 1.1.1.2
01:32:37: ISAKMP:(0:2:SW:1): IPSec policy invalidated proposal
01:32:37: ISAKMP:(0:2:SW:1): politics of ITS phase 2 is not acceptable! (local 1.1.1.2 re)
Mote 1.1.1.3)
01:32:37: IPSEC (validate_transform_proposal): invalid local address 1.1.1.2
01:32:37: ISAKMP:(0:2:SW:1): IPSec policy invalidated proposal
01:32:37: ISAKMP:(0:2:SW:1): politics of ITS phase 2 is not acceptable! (local 1.1.1.2 re)
Mote 1.1.1.3)
===============================================================================
ISAKMP (0): start Quick Mode Exchange, M - ID - 1154286426:bb32fca6
crypto_isakmp_process_block: CBC 1.1.1.2 1.1.1.3 dest
ISAKMP (0): processing NOTIFY payload Protocol 14 2
SPI 2224366689, message ID = 1503891776
ISAKMP (0): removal of spi 1629787524 message ID = 3140680870
to return to the State is IKMP_NO_ERR_NO_TRANS
pixfirewall #.
pixfirewall # sh crypto is
ISAKMP (0): start Quick Mode Exchange, M - ID 400184159:17da535f
crypto_isakmp_process_block: CBC 1.1.1.2 1.1.1.3 dest
ISAKMP (0): processing NOTIFY payload Protocol 14 2
SPI 2649583861, message ID = 1778335964 a.
ISAKMP (0): removal of spi 4117818781 message ID = 400184159
status code returned is IKMP_NO_ERR_NO_TRANSkmp its
Total: 1
Embryonic: 0
Src DST in the meantime created State
1.1.1.2 1.1.1.3 QM_IDLE 0 0
pixfirewall #.
ISAKMP (0): start Quick Mode Exchange, M - ID 923039456:370476e0
crypto_isakmp_process_block: CBC 1.1.1.2 1.1.1.3 dest
ISAKMP (0): processing NOTIFY payload Protocol 14 2
SPI 2163779852, message ID = 2746774364
ISAKMP (0): removal of spi 212465792 message ID = 923039456
to return to the State is IKMP_NO_ERR_NO_TRANSexiClosure of session
CCC cryp #sh
CCC #sh crypto isakmp his
status of DST CBC State conn-id slot
1.1.1.2 1.1.1.3 QM_IDLE 1 0 ACTIVECCC #ping 192.168.1.1
Type to abort escape sequence.
Send 5, echoes ICMP 100 bytes to 192.168.1.1, time-out is 2 seconds:
.....
Success rate is 0% (0/5)CCC #ping 192.168.1.5
Type to abort escape sequence.
Send 5, echoes ICMP 100 bytes to 192.168.1.5, time-out is 2 seconds:
.....
Success rate is 0% (0/5)
CCC #debug isakmp crypto
Crypto ISAKMP debug is on
CCC #debug crypto ipsec
Crypto IPSEC debugging is on
Crypto CCC talkative #debug
detailed debug output debug is on
CCC #ping 192.168.1.5Type to abort escape sequence.
Send 5, echoes ICMP 100 bytes to 192.168.1.5, time-out is 2 seconds:
.....
Success rate is 0% (0/5)
CCC #.
00:51:24: ISAKMP (0:134217729): received packet of 1.1.1.3 dport 500 sport 500
Global (R) QM_IDLE
00:51:24: ISAKMP: node set 1268073006 to QM_IDLE
00:51:24: ISAKMP:(0:1:SW:1): HASH payload processing. Message ID = 1268073006
00:51:24: ISAKMP:(0:1:SW:1): treatment ITS payload. Message ID = 1268073006
00:51:24: ISAKMP: (0:1:SW:1): proposal of IPSec checking 1
00:51:24: ISAKMP: turn 1, AH_SHA
00:51:24: ISAKMP: attributes of transformation:
00:51:24: ISAKMP: program is 1 (Tunnel)
00:51:24: ISAKMP: type of life in seconds
00:51:24: ISAKMP: life of HIS (basic) of 28800
00:51:24: ISAKMP: type of life in kilobytes
00:51:24: ISAKMP: service life of SA (IPV) 0x0 0 x 46 0 50 x 0 x 0
00:51:24: ISAKMP: authenticator is HMAC-SHA
00:51:24: ISAKMP: (0:1:SW:1): atts are acceptable.
00:51:24: ISAKMP: (0:1:SW:1): proposal of IPSec checking 1
00:51:24: ISAKMP: turn 1, ESP_3DES
00:51:24: ISAKMP: attributes of transformation:
00:51:24: ISAKMP: program is 1 (Tunnel)
00:51:24: ISAKMP: type of life in seconds
00:51:24: ISAKMP: life of HIS (basic) of 28800
00:51:24: ISAKMP: type of life in kilobytes
00:51:24: ISAKMP: service life of SA (IPV) 0x0 0 x 46 0 50 x 0 x 0
00:51:24: ISAKMP: (0:1:SW:1): atts are acceptable.
00:51:24: IPSEC (validate_proposal_request): part #1 of the proposal
(Eng. msg key.) Local INCOMING = 1.1.1.2, distance = 1.1.1.3.
local_proxy = 10.10.10.0/255.255.255.0/0/0 (type = 4),
remote_proxy = 192.168.1.0/255.255.255.0/0/0 (type = 4),
Protocol = AH, transform = ah-sha-hmac (Tunnel),
lifedur = 0 and 0kb in
SPI = 0 x 0 (0), id_conn = 0, keysize = 0, flags = 0 x 2
00:51:24: IPSEC (validate_proposal_request): part #2 of the proposal
(Eng. msg key.) Local INCOMING = 1.1.1.2, distance = 1.1.1.3.
local_proxy = 10.10.10.0/255.255.255.0/0/0 (type = 4),
remote_proxy = 192.168.1.0/255.255.255.0/0/0 (type = 4),
Protocol = ESP, transform = esp-3des (Tunnel),
lifedur = 0 and 0kb in
SPI = 0 x 0 (0), id_conn = 0, keysize = 0, flags = 0 x 2
00:51:24: IPSEC (validate_transform_proposal): invalid local address 1.1.1.2
00:51:24: ISAKMP:(0:1:SW:1): IPSec policy invalidated proposal
00:51:24: ISAKMP:(0:1:SW:1): politics of ITS phase 2 is not acceptable! (local 1.1.1.2 re)
Mote 1.1.1.3)
00:51:24: ISAKMP: node set-429221146 to QM_IDLE
00:51:24: ISAKMP: (0:1:SW:1): Protocol to send NOTIFIER PROPOSAL_NOT_CHOSEN 2
SPI 2237255312, message ID =-429221146
00:51:24: ISAKMP:(0:1:SW:1): sending package to 1.1.1.3 my_port 500 peer_port 500
(R) QM_IDLE
00:51:24: ISAKMP: (0:1:SW:1): purge the node-429221146
00:51:24: ISAKMP: (0:1:SW:1): node 1268073006 REAL reason «QM rejec» error suppression
Ted. "
00:51:24: ISAKMP (0:134217729): unknown IKE_MESG_FROM_PEER, IKE_QM_EXCH entry:
node 1268073006: status = IKE_QM_READY
00:51:24: ISAKMP: (0:1:SW:1): entrance, node 1268073006 = IKE_MESG_FROM_PEER, IKE_QM_
EXCH
00:51:24: ISAKMP: (0:1:SW:1): former State = new State IKE_QM_READY = IKE_QM_READY
00:51:24: % CRYPTO-6-IKMP_MODE_FAILURE: fast processing mode has failed with the counterpart
with 1.1.1.3
00:51:54: ISAKMP (0:134217729): received packet of 1.1.1.3 dport 500 sport 500
Global (R) QM_IDLE
00:51:54: ISAKMP: node set-500877443 to QM_IDLE
00:51:54: ISAKMP:(0:1:SW:1): HASH payload processing. Message ID =-500877443
00:51:54: ISAKMP:(0:1:SW:1): treatment ITS payload. Message ID =-500877443
00:51:54: ISAKMP: (0:1:SW:1): proposal of IPSec checking 1
00:51:54: ISAKMP: turn 1, AH_SHA
00:51:54: ISAKMP: attributes of transformation:
00:51:54: ISAKMP: program is 1 (Tunnel)
00:51:54: ISAKMP: type of life in seconds
00:51:54: ISAKMP: life of HIS (basic) of 28800
00:51:54: ISAKMP: type of life in kilobytes
00:51:54: ISAKMP: service life of SA (IPV) 0x0 0 x 46 0 50 x 0 x 0
00:51:54: ISAKMP: authenticator is HMAC-SHA
00:51:54: ISAKMP: (0:1:SW:1): atts are acceptable.
00:51:54: ISAKMP: (0:1:SW:1): proposal of IPSec checking 1
00:51:54: ISAKMP: turn 1, ESP_3DES
00:51:54: ISAKMP: attributes of transformation:
00:51:54: ISAKMP: program is 1 (Tunnel)
00:51:54: ISAKMP: type of life in seconds
00:51:54: ISAKMP: life of HIS (basic) of 28800
00:51:54: ISAKMP: type of life in kilobytes
00:51:54: ISAKMP: service life of SA (IPV) 0x0 0 x 46 0 50 x 0 x 0
00:51:54: ISAKMP: (0:1:SW:1): atts are acceptable.
00:51:54: IPSEC (validate_proposal_request): part #1 of the proposal
(Eng. msg key.) Local INCOMING = 1.1.1.2, distance = 1.1.1.3.
local_proxy = 10.10.10.0/255.255.255.0/0/0 (type = 4),
remote_proxy = 192.168.1.0/255.255.255.0/0/0 (type = 4),
Protocol = AH, transform = ah-sha-hmac (Tunnel),
lifedur = 0 and 0kb in
SPI = 0 x 0 (0), id_conn = 0, keysize = 0, flags = 0 x 2
00:51:54: IPSEC (validate_proposal_request): part #2 of the proposal
(Eng. msg key.) Local INCOMING = 1.1.1.2, distance = 1.1.1.3.
local_proxy = 10.10.10.0/255.255.255.0/0/0 (type = 4),
remote_proxy = 192.168.1.0/255.255.255.0/0/0 (type = 4),
Protocol = ESP, transform = esp-3des (Tunnel),
lifedur = 0 and 0kb in
SPI = 0 x 0 (0), id_conn = 0, keysize = 0, flags = 0 x 2
00:51:54: IPSEC (validate_transform_proposal): invalid local address 1.1.1.2
00:51:54: ISAKMP:(0:1:SW:1): IPSec policy invalidated proposal
00:51:54: ISAKMP:(0:1:SW:1): politics of ITS phase 2 is not acceptable! (local 1.1.1.2 re)
Mote 1.1.1.3)
00:51:54: ISAKMP: node set-701693099 to QM_IDLE
00:51:54: ISAKMP: (0:1:SW:1): Protocol to send NOTIFIER PROPOSAL_NOT_CHOSEN 2
SPI 2237255312, message ID =-701693099
00:51:54: ISAKMP:(0:1:SW:1): sending package to 1.1.1.3 my_port 500 peer_port 500
(R) QM_IDLE
00:51:54: ISAKMP: (0:1:SW:1): purge the node-701693099
00:51:54: ISAKMP: (0:1:SW:1): node-500877443 error suppression REAL reason "QM rejec.
Ted. "
00:51:54: ISAKMP (0:134217729): unknown IKE_MESG_FROM_PEER, IKE_QM_EXCH entry:
node-500877443: State = IKE_QM_READY
00:51:54: ISAKMP: (0:1:SW:1): entrance, node-500877443 = IKE_MESG_FROM_PEER, IKE_QM_
EXCH
00:51:54: ISAKMP: (0:1:SW:1): former State = new State IKE_QM_READY = IKE_QM_READY
00:52:14: ISAKMP: (0:1:SW:1): purge the node 1268073006
CCC #sh crypto isakmp his
status of DST CBC State conn-id slot
1.1.1.2 1.1.1.3 QM_IDLE 1 0 ACTIVECCC #ping 192.168.1.5
Type to abort escape sequence.
Send 5, echoes ICMP 100 bytes to 192.168.1.5, time-out is 2 seconds:00:52:44: ISAKMP: (0:1:SW:1): purge node-500877443...
00:52:50: ISAKMP (0:134217729): received packet of 1.1.1.3 dport 500 sport 500
Global (R) QM_IDLE
00:52:50: ISAKMP: node set 1186613650 to QM_IDLE
00:52:50: ISAKMP:(0:1:SW:1): HASH payload processing. Message ID = 1186613650
00:52:50: ISAKMP:(0:1:SW:1): treatment ITS payload. Message ID = 1186613650
00:52:50: ISAKMP: (0:1:SW:1): proposal of IPSec checking 1
00:52:50: ISAKMP: turn 1, AH_SHA
00:52:50: ISAKMP: attributes of transformation:
00:52:50: ISAKMP: program is 1 (Tunnel)
00:52:50: ISAKMP: type of life in seconds
00:52:50: ISAKMP: life of HIS (basic) of 28800
00:52:50: ISAKMP: type of life in kilobytes
00:52:50: ISAKMP: service life of SA (IPV) 0x0 0 x 46 0 50 x 0 x 0
00:52:50: ISAKMP: authenticator is HMAC-SHA
00:52:50: ISAKMP: (0:1:SW:1): atts are acceptable.
00:52:50: ISAKMP: (0:1:SW:1): proposal of IPSec checking 1
00:52:50: ISAKMP: turn 1, ESP_3DES
00:52:50: ISAKMP: attributes of transformation:
00:52:50: ISAKMP: program is 1 (Tunnel)
00:52:50: ISAKMP: type of life in seconds
00:52:50: ISAKMP: life of HIS (basic) of 28800
00:52:50: ISAKMP: type of life in kilobytes
00:52:50: ISAKMP: service life of SA (IPV) 0x0 0 x 46 0 50 x 0 x 0
00:52:50: ISAKMP: (0:1:SW:1): atts are acceptable.
00:52:50: IPSEC (validate_proposal_request): part #1 of the proposal
(Eng. msg key.) Local INCOMING = 1.1.1.2, distance = 1.1.1.3.
local_proxy = 10.10.10.0/255.255.255.0/0/0 (type = 4),
remote_proxy = 192.168.1.0/255.255.255.0/0/0 (type = 4),
Protocol = AH, transform = ah-sha-hmac (Tunnel),
lifedur = 0 and 0kb in
SPI = 0 x 0 (0), id_conn = 0, keysize = 0, flags = 0 x 2
00:52:50: IPSEC (validate_proposal_request): part #2 of the proposal
(Eng. msg key.) Local INCOMING = 1.1.1.2, distance = 1.1.1.3.
local_proxy = 10.10.10.0/255.255.255.0/0/0 (type = 4),
remote_proxy = 192.1.68.1.0/255.255.255.0/0/0 (type = 4),
Protocol = ESP, transform = esp-3des (Tunnel),
lifedur = 0 and 0kb in
SPI = 0 x 0 (0), id_conn = 0, keysize = 0, flags = 0 x 2
00:52:50: IPSEC (validate_transform_proposal): invalid local address 1.1.1.2
00:52:50: ISAKMP:(0:1:SW:1): IPSec policy invalidated proposal
00:52:50: ISAKMP:(0:1:SW:1): politics of ITS phase 2 is not acceptable! (local 1.1.1.2 re)
Mote 1.1.1.3)
00:52:50: ISAKMP: node set-1113601414 to QM_IDLE
00:52:50: ISAKMP: (0:1:SW:1): Protocol to send NOTIFIER PROPOSAL_NOT_CHOSEN 2
SPI 2237255312, message ID =-1113601414
00:52:50: ISAKMP:(0:1:SW:1): sending package to 1.1.1.3 my_port 500 peer_port 500
(R) QM_IDLE
00:52:50: ISAKMP: (0:1:SW:1): purge the node-1113601414
00:52:50: ISAKMP: (0:1:SW:1): node 1186613650 REAL reason «QM rejec» error suppression
Ted. "
00:52:50: ISAKMP (0:134217729): unknown IKE_MESG_FROM_PEER, IKE_QM_EXCH entry:
node 1186613650: status = IKE_QM_READY
00:52:50: ISAKMP: (0:1:SW:1): entrance, node 1186613650 = IKE_MESG_FROM_PEER, IKE_QM_
EXCH
00:52:50: ISAKMP: (0:1:SW:1): former State = new State IKE_QM_READY = IKE_QM_READY
00:52:50: % CRYPTO-6-IKMP_MODE_FAILURE: fast processing mode has failed with the counterpart
with 1.1.1.3.
Success rate is 0% (0/5)
CCC #.
00:53:20: ISAKMP (0:134217729): received packet of 1.1.1.3 dport 500 sport 500
Global (R) QM_IDLE
00:53:20: ISAKMP: node set 459446741 to QM_IDLE
00:53:20: ISAKMP:(0:1:SW:1): HASH payload processing. Message ID = 459446741
00:53:20: ISAKMP:(0:1:SW:1): treatment ITS payload. Message ID = 459446741
00:53:20: ISAKMP: (0:1:SW:1): proposal of IPSec checking 1
00:53:20: ISAKMP: turn 1, AH_SHA
00:53:20: ISAKMP: attributes of transformation:
00:53:20: ISAKMP: program is 1 (Tunnel)
00:53:20: ISAKMP: type of life in seconds
00:53:20: ISAKMP: life of HIS (basic) of 28800
00:53:20: ISAKMP: type of life in kilobytes
00:53:20: ISAKMP: service life of SA (IPV) 0x0 0 x 46 0 50 x 0 x 0
00:53:20: ISAKMP: authenticator is HMAC-SHA
00:53:20: ISAKMP: (0:1:SW:1): atts are acceptable.
00:53:20: ISAKMP: (0:1:SW:1): proposal of IPSec checking 1
00:53:20: ISAKMP: turn 1, ESP_3DES
00:53:20: ISAKMP: attributes of transformation:
00:53:20: ISAKMP: program is 1 (Tunnel)
00:53:20: ISAKMP: type of life in seconds
00:53:20: ISAKMP: life of HIS (basic) of 28800
00:53:20: ISAKMP: type of life in kilobytes
00:53:20: ISAKMP: service life of SA (IPV) 0x0 0 x 46 0 50 x 0 x 0
00:53:20: ISAKMP: (0:1:SW:1): atts are acceptable.
00:53:20: IPSEC (validate_proposal_request): part #1 of the proposal
(Eng. msg key.) Local INCOMING = 1.1.1.2, distance = 1.1.1.3.
local_proxy = 10.10.10.0/255.255.255.0/0/0 (type = 4),
remote_proxy = 192.168.1.0/255.255.255.0/0/0 (type = 4),
Protocol = AH, transform = ah-sha-hmac (Tunnel),
lifedur = 0 and 0kb in
SPI = 0 x 0 (0), id_conn = 0, keysize = 0, flags = 0 x 2
00:53:20: IPSEC (validate_proposal_request): part #2 of the proposal
(Eng. msg key.) Local INCOMING = 1.1.1.2, distance = 1.1.1.3.
local_proxy = 10.10.10.0/255.255.255.0/0/0 (type = 4),
remote_proxy = 192.168.1.0/255.255.255.0/0/0 (type = 4),
Protocol = ESP, transform = esp-3des (Tunnel),
lifedur = 0 and 0kb in
SPI = 0 x 0 (0), id_conn = 0, keysize = 0, flags = 0 x 2
00:53:20: IPSEC (validate_transform_proposal): invalid local address 1.1.1.2
00:53:20: ISAKMP:(0:1:SW:1): IPSec policy invalidated proposal
00:53:20: ISAKMP:(0:1:SW:1): politics of ITS phase 2 is not acceptable! (local 1.1.1.2 re)
Mote 1.1.1.3)
00:53:20: ISAKMP: node set-1692074376 to QM_IDLE
00:53:20: ISAKMP: (0:1:SW:1): Protocol to send NOTIFIER PROPOSAL_NOT_CHOSEN 2
SPI 2237255312, message ID =-1692074376
00:53:20: ISAKMP:(0:1:SW:1): sending package to 1.1.1.3 my_port 500 peer_port 500
(R) QM_IDLE
00:53:20: ISAKMP: (0:1:SW:1): purge the node-1692074376
00:53:20: ISAKMP: (0:1:SW:1): REAL reason for node deletion 459446741 error "reject QM.
Ed ".
00:53:20: ISAKMP (0:134217729): unknown IKE_MESG_FROM_PEER, IKE_QM_EXCH entry:
node 459446741: status = IKE_QM_READY
00:53:20: ISAKMP: (0:1:SW:1): entrance, node 459446741 = IKE_MESG_FROM_PEER, IKE_QM_E
XCH
00:53:20: ISAKMP: (0:1:SW:1): former State = new State IKE_QM_READY = IKE_QM_READY
00:53:40: ISAKMP: (0:1:SW:1): purge the node 1186613650
00:53:42: % LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, chang
State of Ed down
00:54:10: ISAKMP: (0:1:SW:1): purge the node 459446741===============================================================================
6.2 (2) version PIX
ethernet0 nameif outside security0
nameif ethernet1 inside the security100
activate 8Ry2YjIyt7RRXU24 encrypted password
2KFQnbNIdI.2KYOU encrypted passwd
pixfirewall hostname
domain ciscopix.com
fixup protocol ftp 21
fixup protocol http 80
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol they 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol sip 5060
fixup protocol 2000 skinny
names of
permit 192.168.1.0 ip access list outside_cryptomap_20 255.255.255.0 10.10.10.0
255.255.255.0
permit 192.168.1.0 ip access list inside_outbound_nat0_acl 255.255.255.0 10.10.1
255.255.255.0 0.0
pager lines 24
interface ethernet0 10baset
interface ethernet1 10full
Outside 1500 MTU
Within 1500 MTU
1.1.1.3 outside IP address 255.255.255.0
IP address inside 192.168.1.1 255.255.255.0
alarm action IP verification of information
alarm action attack IP audit
location of PDM 10.10.10.0 255.255.255.0 inside
location of PDM 10.10.10.0 255.255.255.0 outside
PDM logging 100 information
history of PDM activate
ARP timeout 14400
Global 1 interface (outside)
NAT (inside) 0-list of access inside_outbound_nat0_acl
NAT (inside) 1 0.0.0.0 0.0.0.0 0 0
Route outside 0.0.0.0 0.0.0.0 1.1.1.2 1
Timeout xlate 0:05:00
Timeout conn 0 half-closed 01:00:10: 00 udp 0:02:00 CPP 0: h323 from 10:00 0:05:00 TR
p 0:30:00 sip_media 0:02:00
Timeout, uauth 0:05:00 absolute
GANYMEDE + Protocol Ganymede + AAA-server
RADIUS Protocol RADIUS AAA server
AAA-server local LOCAL Protocol
Enable http server
http 192.168.1.0 255.255.255.0 inside
No snmp server location
No snmp Server contact
SNMP-Server Community public
No trap to activate snmp Server
enable floodguard
Permitted connection ipsec sysopt
No sysopt route dnat
Crypto ipsec transform-set Petaluma_VPN ah-sha-hmac esp-3des
outside_map 20 ipsec-isakmp crypto map
card crypto outside_map 20 match address outside_cryptomap_20
card crypto outside_map 20 peers set 1.1.1.2
card crypto outside_map 20 game of transformation-Petaluma_VPN
outside_map interface card crypto outside
ISAKMP allows outside
ISAKMP key * 1.1.1.2 address netmask 255.255.255.255 No.-xauth No.-config-m
Ode
part of pre authentication ISAKMP policy 20
ISAKMP policy 20 3des encryption
ISAKMP policy 20 md5 hash
20 2 ISAKMP policy group
ISAKMP duration strategy of life 20 86400
Telnet timeout 5
SSH timeout 5
dhcpd address 192.168.1.5 - 192.168.1.33 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd outside auto_config
dhcpd allow inside
Terminal width 80
Cryptochecksum:8c0d4948407071d3515f1546cf8bc147
: end
pixfirewall #.
=========================================================================
CCC #sh run
Building configuration...Current configuration: 1328 bytes
!
version 12.4
horodateurs service debug uptime
Log service timestamps uptime
no password encryption service
!
CCC host name
!
boot-start-marker
start the system flash c2600-adventerprisek9 - mz.124 - 25d.bin
boot-end-marker
!
!
No aaa new-model
no location network-clock-participate 1
No network-clock-participate wic 0
IP cef
!
!
!
!!
!
!
crypto ISAKMP policy 2
BA 3des
md5 hash
preshared authentication
Group 2
address key crypto isakmp 1.1.1.3 cisco123
!
!
Crypto ipsec transform-set Petaluma_VPN ah-sha-hmac esp-3des
!
map Petaluma_1 1 ipsec-isakmp crypto
defined peer 1.1.1.3
game of transformation-Petaluma_VPN
match address 100
!
!
!
!
interface FastEthernet0/0
1.1.1.2 IP 255.255.255.0
automatic speed
Half duplex
!
interface Serial0/0
no ip address
Shutdown
clock speed of 56000
!
interface FastEthernet0/1
10.10.10.2 IP address 255.255.255.0
automatic duplex
automatic speed
card crypto Petaluma_1
!
IP forward-Protocol ND
IP route 192.168.1.0 255.255.255.0 1.1.1.3
!
!
no ip address of the http server
no ip http secure server
!
access-list 100 permit ip 10.10.10.0 0.0.0.255 192.168.1.0 0.0.0.255
control plan
!
!
!
!
!
!
!
!
!
!
Line con 0
line to 0
line vty 0 4
opening of session
!
!
endCCC #.
!
!
!
crypto ISAKMP policy 2
BA 3des
md5 hash
preshared authentication
Group 2
address key crypto isakmp 1.1.1.3 cisco123
!
!
Crypto ipsec transform-set Petaluma_VPN ah-sha-hmac esp-3des
!
map Petaluma_1 1 ipsec-isakmp crypto
defined peer 1.1.1.3
game of transformation-Petaluma_VPN
match address 100
!
!
!
!
interface FastEthernet0/01.1.1.2 IP 255.255.255.0
automatic speed
Half duplex
!
interface Serial0/0
no ip address
Shutdown
clock speed of 56000
!
interface FastEthernet0/1
10.10.10.2 IP address 255.255.255.0
automatic duplex
automatic speed
card crypto Petaluma_1
!
IP forward-Protocol ND
IP route 192.168.1.0 255.255.255.0 1.1.1.3
!
!
no ip address of the http server
no ip http secure server
!
access-list 100 permit ip 10.10.10.0 0.0.0.255 192.168.1.0 0.0.0.255Hi David,
Overlooking the configuration of the router, it seems that you have applied the encryption card to the wrong interface.
interface FastEthernet0/0
1.1.1.2 IP 255.255.255.0
automatic speed
Half duplex
!
interface FastEthernet0/1
10.10.10.2 IP address 255.255.255.0
automatic duplex
automatic speed
card crypto Petaluma_1
Given that the pix will attempt to build a VPN tunnel to 1.1.1.2 map encryption Petaluma_1 must be applied to FastEthernet0/0, not FastEthernet 0/1.
Let me know if it helps.
Thank you
Loren
-
After using IMAQ RT Video Out, how to return to the string of rt debugging output?
After having used the video on VI IMAQ RT, the screen image as expected. Then, I want to return to the display console where I can see the RT Debug channels and the processor. Is this possible?
Infinite,.
The previous answer is incorrect. It is possible to change the mode back to text video. Just use the "IMAQ out video display Mode" VI for the parameter "Text Mode". This should restore the display of text.
-Eric
-
Get the output of the console on Simulator BB10
Is it possible to access the console (or at least the stderr) output a basic NDK application deployed to the simulator of th? I tried telnet in the Simulator to run it, but the devuser does not have permissions on the files of the app.
Or maybe is there a log of debugging as for Android?
I would like if possible, avoid using the IDE for this.
You don't actually run the console application, but you can use command line tools to look at the output of the application log.
Basically SSH into it (it is not really Telnet) and navigate to the folder of the application under the/accounts/1000/appdata /... then run "tail-f newspaper/journal" after the launch of the app, or just "cat/journal of newspapers". If the output you are interested is no longer attend balls/journal because of the new substance slogger2, you would use a variant of 'slog2info w' instead.
You are quite correct that attempting to run the application from the console did not give him the same environment and except in a very few cases, it serves no real purpose.
-
OMB + sending output to the log file (no script)?
Hello
When you run the script OMB + below, the syntax rather than the output is sent to the log file.
I'm a bit of an OMB + newb - is it possible to remove the code and just see the results in the newspaper? It seems like it should be obvious, but I can't get out.
Any help gratefully received!
Thank you
Charlie
Set OMBLOG C:/DOCUME~1/User1/Desktop/OWB11/OMBSCR~1/get_deployable.log
OMBCC "DWH_DEVELOPMENT".
the value of mods [OMBLIST ORACLE_MODULES]
foreach $mods {} mod
OMBCC ' / DWH_DEVELOPMENT / $mod.
define tabs [OMBLIST TABLES]
foreach $tabs {} tab
puts "$mod $tab [OMBRETRIEVE TABLE '$tab' (DEPLOYABLE) GET PROPERTIES]"
}
}
OMBCC ' / '.
OMBCC "DWH_DEVELOPMENT".
the value of mods [OMBLIST ORACLE_MODULES]
foreach $mods {} mod
OMBCC ' / DWH_DEVELOPMENT / $mod.
define tabs [OMBLIST VIEWS]
foreach $tabs {} tab
puts "$mod $tab [PROPERTIES of OMBRETRIEVE VIEW '$tab' (DEPLOYABLE) GET]."
}
}
OMBDISCONNECT
Hello
I don't know if I understand what you want to achieve. If by just seeing the results in the paper mean you saw that puts the output of the order, you can use another file to write the output (I wouldn't leave out the OMBLOG file, it can be handy when you are trying to debug an error). You can use this piece of code:
Set p_logfile "C:\\my directory\\my file.log.
Set v_usefile [open "$p_logfile" +]
puts $v_usefile 'your message '.
close $v_usefile
I like to use double quotas in case the file has spaces in its path or name, if there is no space, quotas are not necessary. You can bring order to open at the beginning of your script and the file close to the end, although if your script fails, you will need a new log file, because the one you were using will get blocked until you restart your computer. For complex scripts, I have a procedure that I give the word to write my messages in a file that I keep in a global variable, this procedure opens the file, write the message, and then closes the file. Once get you it working, you don't get the locked log file because the script that you run fails.
Concerning
Ana GH
-
How to debug and find the exact constraint violation error
{14:22:36:ErrorCode 122712 - 1 with ErrorMessage as ORA-00001: unique constraint (OPS$ CMS.)} {PK_TB_ML_EXER_UPLOAD) violated appeared [SSO16063259009], pk_xop_subsales.pr_process_exer [CMSCOST_USER]}
{Pr_process_exer (PROCEDURE)
p_voucher_num tb_xop_order_manager_t.voucher_num%TYPE,
p_status_type tb_xop_order_manager_t.status_type%type,
p_dest tb_xop_order_manager_t.dest%type,
p_reference_key tb_xop_order_manager_t.reference_key%type,
p_seq_num tb_xop_order_manager_t.seq_num%type,
p_return_code tb_xop_order_manager_t.return_code%type,
p_reason_desc tb_xop_order_manager_t.reason_desc%type,
p_activity_qty tb_xop_order_manager_t.activity_qty%type,
p_leaves_qty tb_xop_order_manager_t.leaves_qty%type,
p_exec_price tb_xop_order_manager_t.exec_price%type,
p_current_status tb_xop_order_manager_t.current_status%type,
p_err_cur ON ref_cursor)
IS
CURSOR get_order_dtls (v_voucher_num tb_xop_order_manager_t.voucher_num%type)
IS
SELECT *.
OF tb_xop_order_manager_t
WHERE voucher_num = v_voucher_num;
CURSOR get_mail_cd (v_opt_num OPTIONEE.opt_num%TYPE) IS
SELECT mail_cd, sp_mail_cd
OF XOP_OPTIONEE
WHERE opt_num = v_opt_num;
cursor get_opt_dtls (v_opt_num OPTIONEE.opt_num%TYPE) IS
Select
SUBSTR (Trim (O.name_first) |) ' ' || Trim (O.name_mi) | ' ' ||
Trim (O.name_last), 1: 35) p_name,.
SUBSTR (O.address1, 1, 35) opt_addr1,.
SUBSTR (O.address2, 1, 35) opt_addr2,.
SUBSTR (O.address3, 1, 35) opt_addr3,.
SUBSTR (O.address4, 1, 35) opt_addr4,.
SUBSTR (O.address5, 1, 35) opt_addr5,.
SUBSTR (O.address6, 1, 35) opt_addr6,.
SUBSTR (Trim (O.City) |) ' ' || Trim (O.State) | ' ' ||
Trim (O.zip) | ' ' || Trim (O.Country), 1: 35) city_state_zip_country,.
Trim town (O.City),
Trim (O.State) State,
Trim (O.zip) zip,
Trim (O.Country) countries
of the option o holder
where o.opt_num = v_opt_num;
-CQ: PCTUP00210726 - added wire instructions audit for info thread deleted.
CURSOR (c_wire_instruction)
in_wire_seq_no TB_XOP_WIRE_INSTRUCTIONS.wire_seq_no%TYPE) IS
SELECT ml_brok_acct_num,
SSN,
plan_num,
instr_type,
aba_routing_num,
swift_routing_code,
bank_name,
bank_acct_num,
name_on_account,
bank_addr_1,
bank_addr_2,
bank_addr_3,
City,
State,
countries,
zip,
bank_ident_num,
addtl_info
OF TB_XOP_WIRE_INSTRUCTIONS
WHERE wire_seq_no = in_wire_seq_no
UNION
SELECT ml_brok_acct_num,
SSN,
plan_num,
instr_type,
aba_routing_num,
swift_routing_code,
bank_name,
bank_acct_num,
name_on_account,
bank_addr_1,
bank_addr_2,
bank_addr_3,
City,
State,
countries,
zip,
bank_ident_num,
addtl_info
OF TB_XOP_WIRE_INSTRUCTIONS_AUDIT
WHERE wire_seq_no = in_wire_seq_no;
CURSOR c_order_qty IS
SELECT order_qty
OF tb_xop_order_manager
WHERE voucher_num = p_voucher_num;
v_order_qty tb_xop_order_manager.order_qty%TYPE;
v_wire_instruction c_wire_instruction % ROWTYPE;
v_order_dtls get_order_dtls % rowtype;
v_opt_dtls get_opt_dtls % rowtype;
v_settle_dt tb_ml_exer_upload.settle_dt%type;
v_cusip_num corp.cusip_num%type;
number of v_err_cd (12): = 0;
v_err_msg varchar2 (4000);
v_compy_nme tb_fc_Compy.compy_nme%type;
v_ml_sec_num tb_fc_compy.ml_sec_num%type;
v_mail_cd xop_optionee.mail_cd%type;
v_count1 PLS_INTEGER: = 0;
v_sum_activity_qty tb_xop_order_manager_t.activity_qty%TYPE;
v_transact_no PLS_INTEGER;
v_ivr_plan_num tb_fc_compy.ivr_plan_num%TYPE;
wait_for_more EXCEPTION;
exceeds_order_qty EXCEPTION;
-Added CQ # PCTUP00481233
number of v_sub_totfee;
number of v_sub_fixedfee1;
number of v_sub_fixedfee2;
number of v_sub_fixedfee3;
number of v_sub_secfee;
number of v_sub_feenum;
-Added CQ # PCTUP00481233
v_fixedfee1 tb_xop_order_manager_t.fixed_fee1%TYPE; -SPIF # 43161 - variable to contain the fixed mensuels1
BEGIN
OPEN c_order_qty.
SEEK c_order_qty INTO v_order_qty;
CLOSE C_order_qty;
DBMS.output.put_line ('completed1');
IF v_order_qty <>p_activity_qty THEN
DBMS.output.put_line ('completed2');
IF p_status_type = "EO" AND v_order_qty < p_activity_qty THEN
RAISE exceeds_order_qty;
DBMS.output.put_line ('completed3');
ELSIF p_status_type = 'EO' AND v_order_qty > p_activity_qty THEN
-Partial enforcement
INSERT INTO tb_xop_hold_multi_orders
(voucher_num
reference_key
seq_num
return_code
reason_desc
status_type
activity_qty
leaves_qty
exec_price
current_status
waiting
activ_dt)
VALUES
(p_voucher_num
p_reference_key
p_seq_num
p_return_code
p_reason_desc
p_status_type
p_activity_qty
p_leaves_qty
p_exec_price
p_current_status
, 'Y'
SYSTIMESTAMP);
DBMS.output.put_line ('completed4');
ON THE OTHER
IF p_status_type = "BE" THEN
SELECT COUNT (1) IN v_count1
OF tb_xop_hold_multi_orders
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed5');
IF v_count1 > 0 THEN
INSERT INTO tb_xop_hold_multi_orders
(voucher_num
reference_key
seq_num
return_code
reason_desc
status_type
activity_qty
leaves_qty
exec_price
current_status
waiting
activ_dt)
VALUES
(p_voucher_num
p_reference_key
p_seq_num
p_return_code
p_reason_desc
p_status_type
, (-1) * p_activity_qty
p_leaves_qty
p_exec_price
p_current_status
, 'Y'
SYSTIMESTAMP);
UPDATE tb_xop_hold_multi_orders
QUEUE = 'Y '.
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed6');
END IF;
END IF;
END IF;
DBMS.output.put_line ('completed7');
SELECT SUM (NVL(activity_qty,0)) IN the v_sum_activity_qty
OF tb_xop_hold_multi_orders
When pending = 'Y '.
AND voucher_num = p_voucher_num;
IF v_sum_activity_qty > 0 THEN
IF v_sum_activity_qty <>v_order_qty THEN
RAISE wait_for_more;
ON THE OTHER
-final order in the case of partial performance; complete the process
UPDATE tb_xop_hold_multi_orders
PUT on hold = ' don't
process_dt = SYSDATE
WHERE voucher_num = p_voucher_num;
END IF;
END IF;
END IF;
UPDATE tb_xop_order_manager_t
SET activ_dt = TO_CHAR (SYSDATE, "YYYY-MM-DD HH24:MI:SS") | '. 000'
dest = p_dest
reference_key = p_reference_key,
seq_num = p_seq_num
return_code = p_return_code
reason_desc = p_reason_desc,
status_type = p_status_type
, activity_qty = v_order_qty - p_activity_qty
, leaves_qty = 0 - p_leaves_qty
exec_price = p_exec_price,
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed8');
/*
* SPIF # 43161 - update of the current situation to the PO moved to the end, even in works of the PROD.
*/
IF (p_status_type = "EO") THEN
BEGIN
Select cusip_num
in v_cusip_num
Corp;
EXCEPTION
WHEN NO_DATA_FOUND THEN
SELECT cusip_num
IN v_cusip_num
OF tb_xop_espp_compy
WHERE compy_acronym = replace (replace(user,'CMS'), '_USER');
WHILE OTHERS THEN
NULL;
END;
Select compy_nme, ml_sec_num, ivr_plan_num
in v_compy_nme, v_ml_sec_num, v_ivr_plan_num
of tb_fc_compy
where compy_acronym = replace (replace(user,'CMS'), '_USER')
UNION ALL
Select compy_nme, je_ml_security_number, ivr_plan_num
of tb_xop_espp_compy
where compy_acronym = replace (replace(user,'CMS'), '_USER');
-where ivr_plan_num = replace (substr(p_voucher_num,1,7), 'NORTH', 'XOP');
Open get_order_dtls (p_voucher_num);
SEEK get_order_dtls INTO v_order_dtls;
v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_order_dtls.exer_date + 1));
v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_settle_dt + 1));
v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_settle_dt + 1));
FOR c_mail_cd IN get_mail_cd (v_order_dtls.opt_num)
LOOP
v_mail_cd: = c_mail_cd.mail_cd;
-We need get sp_mail_cd and overlay with the sp_mail_cd in order_manager_t?
END LOOP;
OPEN get_opt_dtls (v_order_dtls.opt_num);
SEEK get_opt_dtls INTO v_opt_dtls;
CLOSE Get_opt_dtls;
v_fixedfee1: = nvl (v_order_dtls.fixed_fee1, 0);
/*
* SPIF # 43161 - at least one transaction per day fees
*/
v_fixedfee1: = pk_xop_enh_exerupdate.chrg_tranxfixed_fee (v_fixedfee1,
v_order_dtls. Symbol,
v_order_dtls.corp_acronym,
v_order_dtls.opt_num);
-Insert in tb_ml_exer_upload
-Added CQ # PCTUP00481233
Pk_Xop_Transactmodel.GET_FEE (v_order_dtls. GROUP_ID, v_order_dtls. SVC_ID, 'SQ', v_order_dtls.opts_exer,
round (v_order_dtls.exec_price, 4), v_sub_totfee, v_sub_fixedfee2, v_sub_fixedfee1,.
v_sub_fixedfee3, v_sub_secfee, v_sub_feenum, LPAD (v_order_dtls. SSN, 9, 0));
v_order_dtls.sec_fee: = v_sub_secfee;
UPDATE tb_xop_order_manager_t
SET sec_fee = v_sub_secfee
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed8');
-End CQ # PCTUP00481233
INSERT INTO tb_ml_exer_upload
(exer_num, exer_seq,
exer_dt, written_flag, backout_flag, output_line,
je_flag, opts_exer,
tot_tax, shrs_sold, comm_value, tot_fee,
mkt_prc, exer_type, soc_sec,
name_first, name_mi,
name_last, check_addr_1, check_addr_2, check_addr_3,
check_addr_4, check_addr_5, city, state, zip, country,.
city_state_zip_country,
p_name, opt_addr1, opt_addr2, opt_addr3, opt_addr4,
opt_addr5, opt_addr6,
settle_dt, send_to_citibank_flag,
dom_chek_distr, foreign_currency_code,
distribution_method, wire_seq_no,
cusip_num, ml_retail_account, multi_curr_handling_fee,
ml_sec_num, corp_name, upd_optionee_addr,
outbound_flag,-there are N
corp_symbol, taxwire_approve,-not make applicaplabe
exersource,
mail_cd, sp_mail_cd,
backup_withholding,
user_id,
acct_num_othr)
VALUES (v_order_dtls.exer_num, 0, v_order_dtls.exer_date, 'No', not, NULL,)
-Would be PG 12/12/05 Changed to fill the resulting je_flag of dom_chek_distr',.
-PG 16/12/05 I should not be generated for international controls... If 'Y' always
'Y',-je_flag
v_order_dtls.opts_exer, 0,-total tax will be 0.
v_order_dtls.opts_exer, shrs_sold,
v_order_dtls.comm_value,
-SPIF # 43161 - replaced nvl (v_order_dtls.fixed_fee1, 0), with v_fixedfee1
v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), - v_order_dtls.fees_amt,
round (v_order_dtls.exec_price, 4), v_order_dtls.exer_type.
LPAD (v_order_dtls. SSN, 9, '0'),-v_order_dtls.ssn, modified by Suresh on 08/02/07 for SPIF # 37210
v_order_dtls.name_first, v_order_dtls.name_mi, v_order_dtls.name_last,
v_order_dtls.check_addr_1, v_order_dtls.check_addr_2, v_order_dtls.check_addr_3,
v_order_dtls.check_addr_4, v_order_dtls.check_addr_5, NVL (v_order_dtls. City, v_opt_dtls. (City),
NVL (v_order_dtls. State, v_opt_dtls. State), NVL (v_order_dtls.zip, v_opt_dtls.zip).
NVL (v_order_dtls. Country, v_opt_dtls. (Country),
SUBSTR (nvl (v_order_dtls.city | v_order_dtls.)) State | v_order_dtls.zip | v_order_dtls. Country,
v_opt_dtls.city_state_zip_country), 1: 34),-COLUMN LENGTH MAX IS 35
v_opt_dtls.p_name, v_opt_dtls.opt_addr1, v_opt_dtls.opt_addr2, v_opt_dtls.opt_addr3,
v_opt_dtls.opt_addr4, v_opt_dtls.opt_addr5, v_opt_dtls.opt_addr6,
v_settle_dt, Decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'),
v_order_dtls.dom_chek_distr, v_order_dtls.foreign_currency_code,
v_order_dtls.distribution_method, v_order_dtls.wire_seq_no,
v_cusip_num, v_order_dtls.acct_num, v_order_dtls.multi_curr_handling_fee,
-nvl (fn_get_sec_num (replace (substr (p_voucher_num, 1, 7), 'NORTH', 'XOP'), v_order_dtls.symbol), v_ml_sec_num).
NVL (fn_get_sec_num (v_ivr_plan_num, v_order_dtls.symbol), v_ml_sec_num).
v_compy_nme, v_order_dtls.upd_optionee_addr,
'N'-' is for outgoing flag.
v_order_dtls. Symbol, 'd', --a ' for disabled taxwires
The of ', - the of ' source being a subsequent sale.
v_mail_cd, need to get mail_Cd?
v_order_dtls.sp_mail_cd, v_order_dtls.backup_withholding,
(User, v_order_dtls.acct_num_othr);
IF (NVL(v_order_dtls.wire_seq_no,0) > 0) THEN
OPEN c_wire_instruction (v_order_dtls.wire_seq_no);
SEEK c_wire_instruction INTO v_wire_instruction;
CLOSE C_wire_instruction;
INSERT INTO TB_XOP_TRANSACT_WIRE_INSTR
(user_id, exer_num, wire_seq_no, ml_brok_acct_num, ssn,
plan_num, instr_type, aba_routing_num,
swift_routing_code, bank_name, bank_acct_num,
name_on_account, bank_addr_1, bank_addr_2, bank_addr_3,
City, State, country, zip, bank_ident_num, addtl_info)
VALUES
(USER, v_order_dtls.exer_num, v_order_dtls.wire_seq_no,
v_wire_instruction.ml_brok_acct_num, v_wire_instruction.ssn,
v_wire_instruction.plan_num, v_wire_instruction.instr_type, v_wire_instruction.aba_routing_num,
v_wire_instruction.swift_routing_code, v_wire_instruction.bank_name, v_wire_instruction.bank_acct_num,
v_wire_instruction.name_on_account, v_wire_instruction.bank_addr_1, v_wire_instruction.bank_addr_2,
v_wire_instruction.bank_addr_3, v_wire_instruction.city, v_wire_instruction.state, v_wire_instruction.country, v_wire_instruction.zip,
(v_wire_instruction.bank_ident_num, v_wire_instruction.addtl_info);
DBMS.output.put_line ('completed10');
END IF;
/ * PG 05/01/06 call conversion check only for international controls and son * /.
IF = v_order_dtls.dom_chek_distr ' n AND v_order_dtls.distribution_method IN ('W' ' d ","C"" ") THEN
/ * PG 20/12/05 to treat the subsequent sales with the wire or the distribution of currency * /.
v_transact_no: = 88;
pk_xop_citibank_forex.pr_cashconversion_ins_request (v_order_dtls.acct_num
LPAD(v_order_dtls.ssn,9,'0') - v_order_dtls.ssn, modified by Suresh on 15/02/07 for SPIF # 37210
v_order_dtls.distribution_method
v_order_dtls.foreign_currency_code
v_order_dtls.wire_seq_no
, TOWER ((v_order_dtls.opts_exer * ronds (v_order_dtls.exec_price, 4)), 2)
-ROUND(v_order_dtls.comm_value,2)
-ROUND (nvl(v_order_dtls.fixed_fee1,0) + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), 2)
-nvl(v_order_dtls.multi_curr_handling_fee,0)
-product net nvl(v_order_dtls.backup_withholding,0)-
, v_order_dtls.multi_curr_handling_fee - handling fee
-Modified by Billon/Suresh on 03/02/2006-, v_order_dtls.login_name
, CASE v_order_dtls.login_name WHEN ' CUSTOMER /' THEN v_order_dtls.login_name |' SSO' ELSE v_order_dtls.login_name |' / SSO' END
, v_transact_no - transact_no as a placeholder for the 88 exer_type
v_order_dtls.check_addr_1
v_order_dtls.check_addr_2
v_order_dtls.check_addr_3
v_order_dtls.check_addr_4
v_order_dtls.upd_optionee_addr
v_order_dtls.city
v_order_dtls.state
v_order_dtls.zip
v_order_dtls.country
v_order_dtls.login_ipaddress
v_order_dtls.fcnum
v_order_dtls.opt_num
v_settle_dt,
p_exer_num = > v_order_dtls.exer_num
);
END IF;
COMMIT;
close get_order_dtls;
END IF;
/*
* SPIF # 43161 - update of current status in IN. is moved to this part, even PROD.
*/
UPDATE tb_xop_order_manager_t
SET exec_dttime = decode (p_status_type, "EO", to_char (sysdate, 'DD-MON-YYYY HH24:mi:ss'), null)
exer_date = trunc (sysdate)
, cancel_dttime = decode (p_status_type, 'CX', to_char (sysdate, 'DD-MON-YYYY HH24:mi:ss'), 'UR', to_char (sysdate, "MON-DD-YYYY HH24:mi:ss), null)
, current_status = "PO."
sum_status = decode(p_status_type,'EO','X','C'),
sum_stat_dttime = SYSDATE
WHERE voucher_num = p_voucher_num;
v_err_cd: = sqlcode;
v_err_msg: = sqlerrm;
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
EXCEPTION
DBMS.output.put_line ('completed200');
/ * PG 02/10 managed 'order of partial fill' exception * /.
When wait_for_more then
v_err_cd: = 0;
v_err_msg: = ' ORA-0000: normal completion, successfully ';
pr_xop_log_errors (' partially filled;) Pending-activity qty:' | TO_CHAR (v_sum_activity_qty) | "pk_xop_subsales.pr_process_exer");
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
When exceeds_order_qty then
v_err_cd: = sqlcode;
v_err_msg: = sqlerrm;
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
pr_xop_log_errors ("exceeded the amount of activity Order_qty - activity qty: ' | ') TO_CHAR (p_activity_qty) | "pk_xop_subsales.pr_process_exer");
while others then
v_err_cd: = sqlcode;
v_err_msg: = sqlerrm;
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
pr_xop_log_errors (' error code ' | ') SQLCODE |' with ErrorMessage like ' | SQLERRM |' occurred '. the user | (' pk_xop_subsales.pr_process_exer');
DBMS.output.put_line ('completed125');
END pr_process_exer;
}
Hi friends, any1 help me how set ref-cursor in the declaration section and how to find the constraint error situation has occurred...956684 wrote:
Hello.Friends please help... How to debug and find the exact position of the constraint violation... Thank you for the help...
It's not a way to track it unless you have taken the exception raised.
As a way to start debugging, you will need to monitor
1. all DML against the Table on which you have constraint. Specifically, the DML that Act on the column you will be forced.
2. use the exception handling, to record the error and the data that causes the constraint to fail.
3. don't forget to monitor triggers, if used, could write data in the column you have forced on.Or
Another track is to:
select * from user_source where lower(text) like '%your_table_name%'; order by type, name, line;
Look at the lines, exclude that are in the statement or in the SELECT statements and targets of the DML.
Looking at the unformatted code, that you have published, this statement looks like a culprit.
INSERT INTO tb_ml_exer_upload (exer_num,exer_seq, exer_dt, written_flag, backout_flag, output_line, je_flag, opts_exer, tot_tax,shrs_sold,comm_value,tot_fee, mkt_prc,exer_type, soc_sec, name_first, name_mi, name_last,check_addr_1,check_addr_2,check_addr_3, check_addr_4,check_addr_5,city,state,zip,country, city_state_zip_country, p_name,opt_addr1,opt_addr2,opt_addr3,opt_addr4, opt_addr5,opt_addr6, settle_dt,send_to_citibank_flag, dom_chek_distr,foreign_currency_code, distribution_method,wire_seq_no, cusip_num, ml_retail_account,multi_curr_handling_fee, ml_sec_num, corp_name,upd_optionee_addr, outbound_flag, -- make it N corp_symbol,taxwire_approve, -- make it not applicaplabe exersource, mail_cd, sp_mail_cd, backup_withholding, user_id, acct_num_othr) VALUES(v_order_dtls.exer_num,0,v_order_dtls.exer_date,'N','N',NULL, -- PG 12/12/05 Changed to populate the je_flag based on dom_chek_distr 'D', -- PG 12/16/05 JE should not be generated for international checks.. So 'Y' always 'Y', --je_flag v_order_dtls.opts_exer,0,--total tax will be 0. v_order_dtls.opts_exer, --shrs_sold, v_order_dtls.comm_value, --SPIF# 43161- replaced nvl(v_order_dtls.fixed_fee1, 0) with v_fixedfee1 v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), --v_order_dtls.fees_amt, round(v_order_dtls.exec_price, 4),v_order_dtls.exer_type, LPAD(v_order_dtls.ssn,9,'0'), --v_order_dtls.ssn, Modified by Suresh on 02/08/07 for SPIF # 37210 v_order_dtls.name_first,v_order_dtls.name_mi,v_order_dtls.name_last, v_order_dtls.check_addr_1,v_order_dtls.check_addr_2,v_order_dtls.check_addr_3, v_order_dtls.check_addr_4,v_order_dtls.check_addr_5,nvl(v_order_dtls.city,v_opt_dtls.city), nvl(v_order_dtls.state,v_opt_dtls.state),nvl(v_order_dtls.zip,v_opt_dtls.zip), nvl(v_order_dtls.country,v_opt_dtls.country), SUBSTR(nvl(v_order_dtls.city||v_order_dtls.state||v_order_dtls.zip||v_order_dtls.country, v_opt_dtls.city_state_zip_country),1,34), -- COLUMN LENGTH MAX IS 35 v_opt_dtls.p_name,v_opt_dtls.opt_addr1,v_opt_dtls.opt_addr2,v_opt_dtls.opt_addr3, v_opt_dtls.opt_addr4,v_opt_dtls.opt_addr5,v_opt_dtls.opt_addr6, v_settle_dt,decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'), v_order_dtls.dom_chek_distr,v_order_dtls.foreign_currency_code, v_order_dtls.distribution_method,v_order_dtls.wire_seq_no, v_cusip_num,v_order_dtls.acct_num,v_order_dtls.multi_curr_handling_fee, -- nvl(fn_get_sec_num(replace(substr(p_voucher_num,1,7),'SSO','XOP'),v_order_dtls.symbol),v_ml_sec_num), nvl(fn_get_sec_num(v_ivr_plan_num, v_order_dtls.symbol),v_ml_sec_num), v_compy_nme,v_order_dtls.upd_optionee_addr, 'N', --'N' is for outbound flag. v_order_dtls.symbol,'D', --'D' for taxwires disabled 'S', -- 'S' for source being subsequent sale. v_mail_cd, --need to get mail_Cd?? v_order_dtls.sp_mail_cd,v_order_dtls.backup_withholding, user,v_order_dtls.acct_num_othr);
What is the structure of the tb_ml_exer_upload Table and the columns do you have constraints?
Which column of the tb_ml_exer_upload table is your primary key (because the constraint name mentions pk_tb_ml_exer_upload)?Published by: Jen K on January 4, 2013 12:57
-
Output of the front speaker left is almost a whisper
Hello
I had a Pavilion m9300t for over 3 years and I have always used a set of two simple speakers, attached to the headphone output on the front panels until recently when it is installed a system of 5.1 rear speakers using 3 ports on the Panel to find that the release of the "out front" seems to be the reason for all my troubles. I tried to go around the speakers and even checked the speakers on a machine and all seems to work well. "So I thought that all output ports provide stereo output, except the lime' out front speaker" on the rear panel. I have checked the drivers and all settings in Realtek HD Audio Manager and ran the tests of speaker and even used disseminators of media, but the front speaker will provide only a weak sound. Does this mean that his is a hardware problem and if she makes a bad port what are my options?
Thank you
MODI
Hi Modi,
Is the speaker that branch to the green port 'active '? I mean,'s done it this speaker has its own power supply plug or is connected to other stakeholders who have their own energy source? The green port on the PC is not "powered" so it only will provide a weak signal and expect the speakers to control the overall volume.
Something else to try, if you unplug all the other actors and simply plug the speakers into the green port, is the change in sound level? Alternatively, if you connect the headphones to the green port, you get audio normal?
This will help you determine whether or not the hardware works.
Another thing to try if you don't have it already: when you updated the audio driver, do you have the driver directly from Realtek, or did you use the HP driver? If you haven't tried the latest driver from Realtek, you can do it. Here is a link to download Realtek: http://www.realtek.com.tw/downloads/
Just select "High Definition Audio Codecs", accept the agreement and then download and install the driver for your operating system.
I hope this helps. Let us know how it goes.
-
No output on the e/S of NI5761
Trying to get an output on the connector of the PFI (to the e/s) of a 5761, but it does not work.
The NI5761 is connected to a high-7975R.
The four bits higher IO to the are defined to the outputs by sending 0xF0 'IO Module\PFI write enable' and 'IO Module\PFI connector activate' is set to true.
When I send 0xF0 'Output IO Module\PFI' the four upper bits should go up, I guess.
Nothing happens (I don't see any change on my oscilloscope).
I can read data from the four lower bits.
What I am doing wrong?
Hi Kees_D
Take a look through this post on the forum - it may be useful:
Please try to set all 8 lines DIO as outputs and see if you can write them that way.
If this does not help, please include screenshots or your code.
Thank you
Amy
-
Output analog, the USB-6009 case - can I use DAQmxWriteAnalogScalarF64?
I just got a NI USB-6009 and I try to use the outputs analog simple.
I'm running on a Mac, so I'll try to use the API OR-DAQmx Base 3.2 C (downloaded from here: http://joule.ni.com/nidu/cds/view/p/id/1078/lang/en). This is the most recent version of NOR-DAQmxBase, I could find.
I try to do continuous analog output on the 6009, which does not have a built-in clock. I was hoping to do the sync software and just new output values when I want to.
I can't get an output of database to work. Other messages and the example of Windows files, (e.g., National Instruments/NOR-DAQmx Base/examples/ao/MultVoltUpates-SWTimed.c) it seems that the best thing to do would be to use the DAQmxWriteAnalogScalarF64 function.
However, this is not in the Mac version of the C API of NIDAQmxBase. There is actually an entry for this in the NIDAQmxBase.h file, but it is commented out. Anyone know why? Is it possible to use this function for the analog output on request on Mac?
Thank you.
Clement
I have NEITHER-DAQmx Base installed 3.2 on a 10.4.11 system. One of the examples files 'genVoltage.c' calls DAQmxBaseWriteAnalogF64. I was able to compile and run this example with a USB-6009.
The DAQmxBaseWriteAnalogF64 function would work for you?
My guess is that, since you can write a scalar value with DAQmxBaseWriteAnalogF64, DAQmxBaseWriteAnalogScalarF64 becomes superfluous. The example provided with the installation shows how to write a unique value (i.e. scalar.). I pasted the code of OR below.
int main (int argc, char * argv [])
{
Task settings
Int32 error = 0;
TaskHandle taskHandle = 0;
char errBuff [2048] = {'\0'};
Channel settings
Char [] = "Dev1/ao0" chan
float64 min = 0.0;
float64 max = 5.0;
Sync settings
uInt64 samplesPerChan = 1;
Writing data parameters
float64 data = 3.25;
pointsWritten of Int32;
float64 timeout = 10.0;
DAQmxErrChk (DAQmxBaseCreateTask("",&taskHandle));
DAQmxErrChk (DAQmxBaseCreateAOVoltageChan(taskHandle,chan,"",min,max,DAQmx_Val_Volts,));
DAQmxErrChk (DAQmxBaseStartTask (taskHandle));
DAQmxErrChk (DAQmxBaseWriteAnalogF64(taskHandle,samplesPerChan,0,timeout,DAQmx_Val_GroupByChannel,&data,&pointsWritten,));
Error:
If (DAQmxFailed (error))
DAQmxBaseGetExtendedErrorInfo (errBuff, 2048);
If (taskHandle! = 0) {}
DAQmxBaseStopTask (taskHandle);
DAQmxBaseClearTask (taskHandle);
}
If (DAQmxFailed (error))
printf ("error in DAQmxBase: %s\n",errBuff); ")
return 0;
}
Hope this helps!
-
I have a generator of two impulses. I need to write to a file the three intervals Ao0
I have a two train pulses a 6009. They are Ao0 Ao1. Ao0 output will produce the total time on my meter. The façade shows 3,1,3. I can run the relay very well. I need to write about my 'Write to file - LVM' the same 3 intervals in time. Write after 3 seconds, the overall data. After 1 second, then after 3 seconds more.
Thank you
Philippe
wrong file
-
My application switches between two documents qml is a home page, and the other is actually a video player. Whenever I press the button to go to the video page, it crashes on my z10 and generates the error «terminated code SIGSEGV = 1 fltno = 11 781722ec = ip...» ". But on the Simulator, it works (without of course plays video). When I use the race version and the debug mode, it works perfectly on my z10.
This problem occurs frequently when I add a new code element. First of all, it happened when I added a scrollview and container, and it's happening now again when a defined a struct in the header file. It would be nice to ignore this problem? or y at - it some deeper underlying problem which is the cause
Just tried, I received the SIGSEGV error too, it looks like parent to AbstractPane fixed it.
void ApplicationUI::changeScene(const QString& newQmlFileName) { // Create root object for the UI QmlDocument *qml = QmlDocument::create("asset:///" + newQmlFileName).parent(this); qml->setContextProperty("_app", this); AbstractPane *root = qml->createRootObject
(); root->setParent(this); // Set created root object as the application scene Application::instance()->setScene(root); } My test project is also attached to this message.
Maybe you are looking for
-
After removing all snapshots, cannot access shares
Recently, I noticed that my SIN was not always full despite regularly delete data to free up space. I discovered that the snapshot took all the space, I consiquently delete all snapshots, but the assosiated folder is now gone. I can see the NAS shows
-
LaunchExecutableEx returns error - 43
I use LaunchExecutableEx in a GUI application to launch telnet.exe. Since the beginning of this application running on Windows 7, we started having a few problems. The LaunchExecutableEx returns error User Interface-43 (the text shows that "the attem
-
Lost password so can not access my email account
I'm unable to access my email account I lost the password (don't know how I put it). How can I delete account so I can put upp new account without password. Thanks jackie
-
Cannot open the downloads folder, gives access denied error
When I try and open the download folder (C:\Documents and Settings\elliott\My Documents\) it won't let me. If I try to open it, it comes up with a window saying C:\Documents and Settings\elliott\My Documents\Downloads is not accsessible.Access is dei
-
I'm unable to install all the updates of windows - getting error code 80070020. Have tried the suggested steps and they didn't work.Also can't get with my computer freeze.