Problem with Enter key on Aluminum Keyboard
Just upgraded to an Aluminum iMac with the thin keyboard. We have a terminal application that communicates with our mainframe. The application looks for the 0x03 character, along with the NSNumericPadKeyMask flag, to determine that the Enter key was pressed, and then changes the character to a 0x0d (Return). This is because the 0x03 character is recognized as a Break key on the mainframe. However, when using the Aluminum Keyboard, the Enter key goes straight through as a 0x03, meaning the flag is not being set. To make things more interesting, if I use the Keyboard Viewer and click on the Enter key, the flag is set and the 0x0d is sent.
Is there something else I should be looking for to recognize the Enter key? Perhaps something with the KeyCode? Is there some way to remap the Enter key to emulate the Return?
I don't think you'll be able to control a Button symbol in the way you desire. You probably need to create it as a MovieClip so that you can control what frame it is in.
To utilize the ENTER key to take action, the following should work...
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
if (Key.isDown(Key.ENTER)) {
// do your button_mc control here
Key.addListener(keyListener);
Similar Messages
-
Problem with Enter key and JOptionPane in 1.4
Hi,
I had a problem with an application I was working on.
In this application, pressing [Enter] anywhere within the focused window would submit the information entered into the form that was contained within the frame.
The application would then try to validate the data. If it was found to be invalid, it would pop up a JOptionPane informing the user of that fact.
By default, pressing [Enter] when a JOptionPane is up will activate the focused button (in most cases, the [OK] button) thus dismissing the dialog.
In JDK 1.3 this worked fine. But in JDK 1.4, this has the result of dismissing the dialog and opping it up again. This is because the [Enter] key still works on the frame behind the JOptionPane and thus tries to validate it again, which results in another invalid dialog msg popping up.
The only way to get out is to use the mouse or the Esc key.
Now, in the application I put in a workaround that I was not very happy with. So, to make sure it wasn't the application itself, I created a test which demonstrates that it still misbehaves.
Here it is.
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.AbstractAction;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import javax.swing.KeyStroke;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import javax.swing.WindowConstants;
* @author avromf
public class FocusProblemTest extends AbstractAction
private static JFrame frame;
public FocusProblemTest()
super();
putValue(NAME, "Test");
public void actionPerformed(ActionEvent e)
JOptionPane.showMessageDialog(frame, "This is a test.");
public static void main(String[] args)
FocusProblemTest action= new FocusProblemTest();
try
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
catch (Exception e)
e.printStackTrace();
frame= new JFrame("Test");
frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
Container contents= frame.getContentPane();
contents.setLayout(new FlowLayout());
JTextField field= new JTextField("Test");
field.setColumns(30);
JButton button= new JButton(action);
KeyStroke enterKey = KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0, true);
button.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(enterKey, "test");
button.getActionMap().put("test", action);
contents.add(field);
contents.add(button);
frame.pack();
frame.setVisible(true);
}Does anyone have any solution to this problem?I know that focus management has changed alot.
Based on my experimentation a while back, in 1.4 it still believes that the JFrame is the window in focus, even though a JOptionPane is currently in front of it (unless I misinterpreted what was going on). Thus, the frame seems to get the keyboard event and re-invoke the action.
A.F. -
Problem with enter key in the quiz templates
hi,
I need some i am using quiz templates and my problem is when
i make the swf file and test the quiz it works good , but when i
press the enter key , the quiz doesn't work and repeat and go to
the first screen , i don't know if i have to block the enter key or
how i can resolve this ?
Thanks a lotI know that focus management has changed alot.
Based on my experimentation a while back, in 1.4 it still believes that the JFrame is the window in focus, even though a JOptionPane is currently in front of it (unless I misinterpreted what was going on). Thus, the frame seems to get the keyboard event and re-invoke the action.
A.F. -
Problems with mac mini recognizing aluminum keyboard
I have a Mac Mini 1.4ghz dual core and I have problems with it recognizing the apple aluminum keyboard. The keyboard works fine with my macbook. The keyboard actually works fine if I do a restart but if I shut it down and then open it, the keyboard was not recognized. I spent hours with Apple support trying various combinations of connecting and reconnecting to the usb ports. I did my own research and found that I could get the keyboard to work if I connected it through an external 4 slot usb hub, although it showed that it was connected through aa a usb 2 hub rather than the usb 3 hub which is standard on the mac mini. Shutting down and starting up with the external 4 slot usb hub (it does not have its own power source) always works. All of my other devices work flawlessly with all the usb ports on the mac mini. I finally (although I doubt that this is final) was able to get the keyboard recognized on the mac mini by plugging the keyboard into my macbook and then plugging my iPhone into one of the usb ports on the side of my keyboard. I unplugged the iPhone from the keyboard and I then plugged the keyboard directly into the mac mini and it was recognized and worked fine. I did a restart and the keyboard worked fine but I am a little reluctant to shut it down for fear that on start up it will be lost again. The only thing I can think of is that I had the iphone plugged into the keyboard before this all happened and unplugged it without removing the iphone from the desk top and that screwed things up. It is the only conclusion I can come to. I would appreciate any thought or ideas people might have. As I said I spent two days and may hours with apple support and they could not help me other than to tell me to take everything to the genius bar which I am reluctant to do.
Thanks for the response but I think maybe you missed part of my post. The keyboard works fine with my mac book and with my son's macbook. The keyboard is actually working right now. It has been a problem with shut down and then strart up. I think that I went through all those other SMC and PRAM efforts with Apple support and actually many others and they were completely stumped. I think that this is a complicated problem for which there may only be a work around but I am hopeful that the next time I shut down, it will work. I appreciate ideas but if my 4 or 5 hours with Apple support cannot help, I do not believe this is going to be a simple solution but if someone has encountered this or something similar, I would welcome their ideas. I have gone to the Apple Store in Madison, WI on several occasions and unfortunately I often know more than the people that help me so I am reluctant to go there and to trust the staff at the genius bar. For example, I recently purchased and Apple watch and the first person that helped me did not know how to turn it on and the second person did not know it came with two different length bands, and I once bought a case for my iphone and the person who helped me was more interested in the color than in the functionality of the case. I could go on but I am not confident in the competence of the staff there so I am hoping that someone in the support community can help me.
-
Multi line field Navigation problem with ENTER key
No trigger on the field. Multi line Property is set to true.
The probleb is, when the cursor reaches in the multi line field. the contents of the field are hilighted/selected. So as it happens in Notepad or Word, if you select some already written text and press ENTER key the selected text will be replaced by carriage return so the selected data will be lost. Same is the case with multi line field. When field gets focus it selects the contents of field and when ENTER is pressed all the contents are deleted and a carriage return is placed.
any solution?
nullHi Nadeem,
One work around is that you have store content of that multi-line field in to some other variable thru PRE-TEXT-ITEM and once again assign (based on some conditon) in POST-TEXT-ITEM.
null -
Problem with entering integer numbers from keyboard
I have written this simple code:
import java.io.*;
public class Simple{
public static void main(String[] args)throws Exception{
System.out.println("Enter two integer numbers: ");
BufferedReader enter=new BufferedReader(new InputStreamReader(System.in));
int first=Integer.parseInt(enter.readLine());
int second=Integer.parseInt(enter.readLine());
System.out.println("Result is: "+(first+second));
and it works fine if I type first number, press Enter, then type
second number and press Enter.
But if I type in one line: 2 3 (with space between) I get run-time error:
Exception in thread "main"...bla...bla at java.lang.Integer.parseInt(Integer.java)...
I know that error is coming from Integer.parseInt(string) in my code, but I
don't know how can I avoid it.
In C that is rather simple scanf("%d %d",&first,&second), but in Java it's much more
complicated.
Do you have any suggestions how to solve this problem?store the user input in a string
use a StringTokenizer st
then
while(st.hasNext())
int first=Integer.parseInt(st.nextToken());
but you should really catch a NumberFormatException
walker -
Keyboard problems with Enter, delete, backspace, and right/left arrows
In some applications, such as Yahoo and this message block right now !!, when composing a message, the arrow keys and delete, backspace keys become non responsive. Various ones will work on a random basis.
I am getting double "carriage returns" also. Maybe this is why in Omegle when I press ENTER, it will not post a chat message; it will bring up a scroll box and for me to post the comment, I have to use the mouse to click ENTER.
I have changed batteries in my keyboard, uninstalled /reinstalled Firefox. I have checked the above websites in Chrome and other browsers, and there are no problems.
This has happened before, I don't recall what the solution was or if it just went away.'''
Affected sites -- at least these
http://us.mg6.mail.yahoo.com/neo/launch?ncrumb=Fx5R4O7ccqb&.rand=1041364415&nmig=yes#
http://omegle.com/
https://support.mozilla.com/en-US/questions/new?product=beta&category=b2&search=Keyboard+problems+with+Enter%2C+delete%2C+backspace%2C+and+right%2Fleft+arrows&showform=1PROBLEM SOLVED: http://forum.archlinux-br.org/viewtopic.php?id=1257
Solution posted on Brazilian Archlinux forum. Credits to user "920608".
[cache]
/etc/xorg.conf
Section "Files"
#RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
C'ya -
In the address bar where type the address of the web site at the top. after entering the address i press enter key from the keyboard but it doesn't work there . Means the page is not navigating towards the address. Kindly solve the problem
This issue can be caused by an extension that isn't working properly.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* [[Troubleshooting extensions and themes]]
In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
* Help > Restart with Add-ons Disabled
* Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows) -
Having problem with dead key in Leopard
Hello. I'm having problem with dead key in Leopard.
In Tiger it was working, but in Leopard dead key "'" doesn't work.
In Tiger I could use OPTION key as well to get Latvian special characters (both worked - OPTION Key and dead-key), but in LEOPARD OPTION key is the only possibility to get these characters.
How can I get dead key "'" working?
I'm using Latvian language with Latvian keyboard layout.
Here are images how it looked in Tiger:
1) Before dead key is pressed:
http://amerix.no-ip.org/tmp/1.tiff
2) After dead key is pressed:
http://amerix.no-ip.org/tmp/2.tiffok, i got answer
so - first problem was that ukelele didn't work in leopard (it wasn't possible to start new layout), but it was possible to edit Tom Gewecke posted layout.
There it is possible to change every thing (dead-key as well).
So I edited it and now i have layout where dead-key works -
http://amerix.no-ip.org/tmp/LatvianT.keylayout
Just do what Tom Gewecke said with this layout. It should work! -
Submit a Form in IE with Enter key.
Hi all,
I have a Form with a Get attribute, a textfield and a search
(submit) button.
When I press the Enter key in my keyboard, the form is not
submited in I.E. (i'm using IE 7).
When I click the button with the mouse, it works.
In Firefox, all (keyboard and mouse) works.
How can we workaround this issue?
Thanksoicram wrote:
> Please, I need an answer here. I have deeply search over
the internet and I only found something about .js or hidden fields,
but its all vague...
http://www.webreference.com/programming/java_dhtml/chap8/2/2.html
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
How the "enter" key in small keyboard works?
I create a string control and try to input a string ended with "enter". I can't use the "enter" key in small keyboard (right part of key board). Only the "enter" key in the main keyboard works. Why?
> I create a string control and try to input a string ended with
> "enter". I can't use the "enter" key in small keyboard (right part of
> key board). Only the "enter" key in the main keyboard works. Why?
>
Another thing that helps to control this is the Tools>>Options setting
for swapping the behavior of the two keys. Also, a Shift modified big
return key acts like the small key in most situations.
Greg McKaskle -
Mapping problem with compressed key update record
Hi, could you please advise?
I'm getting the following problem:
About a week ago replicat abened with "Error in mapping" error. I found in discard file some record looking like:
filed1 = NULL
field2 =
field3 =
field4 =
field5 =
datefield = -04-09 00:00:00
field6 =
field8 =
field9 = NULL
field10 =
Where filed9 = @GETENV("GGHEADER", "COMMITTIMESTAM"), field10 = = @GETENV("GGHEADER", "COMMITTIMESTAM"), others are table fields mapped by USEDEFAULTS
So I got Mapping problem with compressed key update record at 2012-06-01 15:44
I guess I need to mention that extract failed in 5 minuts before it with: VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <[CFileInfo::Read] Timeout expired after 10 retries with 1000 ms delay, waiting to read transaction log or backup files. To increase the number of retries, use SETENV (GGS_CacheRetryCount = n) in Extract parameter file. To control retry delay time, use SETENV (GGS_CacheRetryDelay = n). handle: 0000000000000398 ReadFile GetLastError:997 Wait GetLastError:997>.
I don't know if it has ther same source as data corruption, could you tell me if it is?
Well, I created new extract, starting 2012-06-01 15:30 to check if there was something with extract at the time, but got the same error.
If I run extract beging at 15:52 it starts and works.
But well, I got another one today. Data didn't look that bad, but yet one column came with null value:( And I'm using it as a key column, so I got Mapping problem with compressed key update record again:(
I'm replicating from SQL Server 2008 to Oracle 11g.
I'm actually using NOCOMPRESSUPDATES in Extract.
CDC is enabled for all tables replicated. The only thing is that it is enabled not by ADD TRANDATA command, but by SQL Server sys.sp_cdc_enable_table, does it matter?
Could you please advise why does it happen?Well, the problem begins somewhere in extract or before extract, may be in transaction log, I don't know:(
Here are extract parameters:
EXTRACT ETCHECK
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
SOURCEDB TEST, USERID **, PASSWORD *****
exttrail ./dirdat/ec
NOCOMPRESSUPDATES
NOCOMPRESSDELETES
TABLE tst.table1, COLS (field1, field2, field3, field4, field5, field6, field7, field8 );
TABLE tst.table2, COLS (field1, field2, field3, field4 );
Data pump:
EXTRACT DTCHECK
SOURCEDB TEST, USERID **, PASSWORD *****
RMTHOST ***, MGRPORT 7809
RMTTRAIL ./dirdat/dc
TABLE tst.table1;
TABLE tst.table2;
Replicat:
REPLICAT rtcheck
USERID tst, PASSWORD ***
DISCARDFILE ./dirrpt/rtcheck.txt, PURGE
SOURCEDEFS ./dirdef/sourcei.def
HANDLECOLLISIONS
UPDATEDELETES
MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
MAP dbo.TPROCPERIODCONFIRMSTAV, TARGET R_019_000001.TPROCPERIODCONFIRMSTAV, COLMAP (USEDEFAULTS , field5 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed6= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (filed1, field2, field3);
Rpt file for replicat:
Oracle GoldenGate Delivery for Oracle
Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
Windows x64 (optimized), Oracle 11g on Apr 22 2011 00:34:07
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
Starting at 2012-06-05 12:49:38
Operating System Version:
Microsoft Windows Server 2008 R2 , on x64
Version 6.1 (Build 7601: Service Pack 1)
Process id: 2264
Description:
** Running with the following parameters **
REPLICAT rtcheck
USERID tst, PASSWORD ***
DISCARDFILE ./dirrpt/rtcheck.txt, PURGE
SOURCEDEFS ./dirdef/sourcei.def
HANDLECOLLISIONS
UPDATEDELETES
MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
MAP dbo.TPROCPERIODCONFIRMSTAV, TARGET R_019_000001.TPROCPERIODCONFIRMSTAV, COLMAP (USEDEFAULTS , field5 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed6= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (filed1, field2, field3);
CACHEMGR virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 512M
CACHEBUFFERSIZE (soft max): 4M
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 1G
CACHESIZEMAX (strict force to disk): 881M
Database Version:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Database Language and Character Set:
NLS_LANG = "AMERICAN_AMERICA.CL8MSWIN1251"
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "CL8MSWIN1251"
For further information on character set settings, please refer to user manual.
** Run Time Messages **
Opened trail file ./dirdat/dc000000 at 2012-06-05 12:49:39
2012-06-05 12:58:14 INFO OGG-01020 Processed extract process RESTART_ABEND record at seq 0, rba 925 (aborted 0 records).
MAP resolved (entry tst.table1):
MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
2012-06-05 12:58:14 WARNING OGG-00869 No unique key is defined for table table1. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
Using the following default columns with matching names:
field1=field1, field2=field2, field3=field3, field4=field4, field5=field5, field6=field6, field7=field7, field8=field8
Using the following key columns for target table R_019_000001.TCALCULATE: field3.
2012-06-05 12:58:14 WARNING OGG-01431 Aborted grouped transaction on 'tst.table1', Mapping error.
2012-06-05 12:58:14 WARNING OGG-01003 Repositioning to rba 987 in seqno 0.
2012-06-05 12:58:14 WARNING OGG-01151 Error mapping from tst.table1 to tst.table1.
2012-06-05 12:58:14 WARNING OGG-01003 Repositioning to rba 987 in seqno 0.
Source Context :
SourceModule : [er.main]
SourceID : [er/rep.c]
SourceFunction : [take_rep_err_action]
SourceLine : [16064]
ThreadBacktrace : [8] elements
: [C:\App\OGG\replicat.exe(ERCALLBACK+0x143034) [0x00000001402192B4]]
: [C:\App\OGG\replicat.exe(ERCALLBACK+0x11dd44) [0x00000001401F3FC4]]
: [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x000000014009F102]]
: [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x00000001400B29CC]]
: [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x00000001400B8887]]
: [C:\App\OGG\replicat.exe(releaseCProcessManagerInstance+0x25250) [0x000000014028F200]]
: [C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd) [0x000000007720652D]]
: [C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0x000000007733C521]]
2012-06-05 12:58:14 ERROR OGG-01296 Error mapping from tst.table1 to tst.table1.
* ** Run Time Statistics ** *
Last record for the last committed transaction is the following:
Trail name : ./dirdat/dc000000
Hdr-Ind : E (x45) Partition : . (x04)
UndoFlag : . (x00) BeforeAfter: A (x41)
RecLength : 249 (x00f9) IO Time : 2012-06-01 15:48:56.285333
IOType : 115 (x73) OrigNode : 255 (xff)
TransInd : . (x03) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 44 AuditPos : 71176199289771
Continued : N (x00) RecCount : 1 (x01)
2012-06-01 15:48:56.285333 GGSKeyFieldComp Len 249 RBA 987
Name: DBO.TCALCULATE
Reading ./dirdat/dc000000, current RBA 987, 0 records
Report at 2012-06-05 12:58:14 (activity since 2012-06-05 12:58:14)
From Table tst.table1 to tst.table1:
# inserts: 0
# updates: 0
# deletes: 0
# discards: 1
Last log location read:
FILE: ./dirdat/dc000000
SEQNO: 0
RBA: 987
TIMESTAMP: 2012-06-01 15:48:56.285333
EOF: NO
READERR: 0
2012-06-05 12:58:14 ERROR OGG-01668 PROCESS ABENDING.
Discard file:
Oracle GoldenGate Delivery for Oracle process started, group RTCHECK discard file opened: 2012-06-05 12:49:39
Key column filed3 (0) is missing from update on table tst.table1
Missing 1 key columns in update for table tst.table1.
Current time: 2012-06-05 12:58:14
Discarded record from action ABEND on error 0
Aborting transaction on ./dirdat/dc beginning at seqno 0 rba 987
error at seqno 0 rba 987
Problem replicating tst.table1 to tst.table1
Mapping problem with compressed key update record (target format)...
filed1 = NULL
field2 =
field3 =
field4 =
field5 =
datefield = -04-09 00:00:00
field6 =
field8 =
field9 = NULL
field10 =
Process Abending : 2012-06-05 12:58:14 -
Mapping problem with compressed key update record (target format)...
Hi Guys,
Getting below error while replication from Source to target. Source table is having NOT NULL Column, but on target replicat process giving error about some NULL value ??
How to overcome this issue, any idea...
2011-08-04 10:35:04 INFO OGG-00995 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: REPLICAT RMASTRK starting.
2011-08-04 10:35:05 INFO OGG-00996 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: REPLICAT RMASTRK started.
2011-08-04 10:35:06 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: OCI Error ORA-01407: cannot update ("INFRA"."CUST"."CODE") to NULL (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"DP_ID" = :a3,"EXCHNG_CODE" = :a4,"ORD_QTY" = :a5,"ORD_PRICE" = :a6,"CODE" = :a7,"MKRT_CODE" = :a8,"CHANN>.
2011-08-04 10:35:06 WARNING OGG-01004 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Aborted grouped transaction on 'INFRA.CUST', Database error 1407 (ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL).
2011-08-04 10:35:06 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Repositioning to rba 44132192 in seqno 68708.
2011-08-04 10:35:06 *WARNING OGG-01154 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: SQL error 1407 mapping INFRA.CUST to INFRA.CUST OCI Error ORA-01407:* *cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"DP_ID" = :a3,"EXCHNG_CODE"=:a4,"ORD_QTY"*
*= :a5,"ORD_PRICE" = :a6,"SCRP_CODE" = :a7,"MKRT_CODE" = :a8,"CHANN>.*
2011-08-04 10:35:06 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Repositioning to rba 44132192 in seqno 68708.
2011-08-04 10:35:06 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Error mapping from INFRA.CUST to INFRA.CUST.
2011-08-04 10:35:06 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: PROCESS ABENDING.
Oracle GoldenGate Delivery for Oracle process started, group RMASTRK discard file opened: 2011-08-04 10:35:05
Current time: 2011-08-04 10:35:06
Discarded record from action ABEND on error 1407
OCI Error ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL
(status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"MKRT_CODE" = :a8,"CHANN>
Aborting transaction on ./dirdat/pm beginning at seqno 68708 rba 44132192
error at seqno 68708 rba 44132192
Problem replicating INFRA.CUST to INFRA.CUST
*Mapping problem with compressed key update record (target format)...*
ORD_QTY = 500
ORD_PRICE = 37430
SCRP_CODE =
MKRT_CODE = N
Oracle GoldenGate Delivery for Oracle process started, group RMASTRK discard file opened: 2011-08-
04 10:35:05
Current time: 2011-08-04 10:35:06
Discarded record from action ABEND on error 1407
OCI Error ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL
(status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"MKRT_CODE" = :a8,"CHANN>
Aborting transaction on ./dirdat/pm beginning at seqno 68708 rba 44132192
error at seqno 68708 rba 44132192
Problem replicating INFRA.CUST to INFRA.CUST
Mapping problem with compressed key update record (target format)...
ORD_QTY = 500
ORD_PRICE = 37430
SCRP_CODE =
MKRT_CODE = N
Any inputs / help would be appreciated.
Regards,
ManishThe SCRP_CODE column has a NOT NULL constraint. The ORA-01407 error is telling you that you cannot update or set a value for this column to null because of the constraint. This has absolutely nothing to do with an index. You can use a marker/sentinel value in lieu of using NULL. For a numeric field, where everything is positive, a negative value (-1) can be decoded as meaning null. For a character field, a code such as NA can represent NULL.
This also has nothing to do (directly) with GoldenGate failing because of this error. The underlying SQL statement will fail everywhere, regardless of the tool or application. It is not a case of failing only in GoldenGate. -
The cursor on my iMac (Panther 10.3.9) freezes to where I cannot do anything unless I unplug the computer. It is NOT a problem with the mouse or the keyboard. How do I solve this problem?
ClassicII wrote:
Sorry to say but your imac g5 logic board has bad caps. This was a problem apple had and issued a out of warentee fix but that has now expired.
The cost to get this repaired is more than what you could find another used imac for.
I would suggest you get some details before you rush to make a diagnosis. You have absolutely no information to base this on. I see you're hitting up on numerous threads all over the place. Quality, meaning several good posts with reliable advice, is much more worthwhile than quantity. -
Pressing the enter key on the keyboard
Need to know the trigger or the way to attribute code to pressing de enter key on the Keyboard!!!???
Thanks!!!!!Hi Carlos,
By default, the ENTER key takes the cursor to the next navigable item in the block.
To override this default behaviour it is necessary to modify the forms resource file to revise the key mapping details.
Refer to article 209671.1 on Metalink: How to Change / Customize the Key Mappings for 6i and 9i Webforms?
Read the section 'B: Mapping for ENTER to fire KEY-ENTER-TRIGGER over the Web'
Regards,
Monica
Maybe you are looking for
-
On some pages the text from more than one paragraph stack up on top of each other, like writing something then writing something else over the top of it. Some pages will run text and pictures together, like a car rear-ending another or a train pile u
-
Is it possible to install windows xp on latest macbook pro
I would like to install windows xp on one partition of my new macbook pro, because I still have an old windows xp installation cd. who knows if this works without problems considering that bootcamp manual indicates that windows 7 and higher is necess
-
HT3529 Not getting pictures with messages
a friend sent me a message with a picture but i didnt get the the picture, we both have iphone 4s why would i net get it?
-
I am trying to migrate my iMac (3 years old) to my new Macbook Pro. But, I am unable to get past the request for log-in. The software states hold down "T" key, but that does nothing except fill the userid with t's. I also tried holding Command/Option
-
Hi All, Is it possible to control ALL of the content that is sent out on an OSB Alert (email)? We have a scenario where if there is an error occurring in a certain proxy, then we handle the error, but also send an email alert to a specific group of e