Urgent Help - Redo Log problem

Hi,
I have an implementation of Oracle 9i. Presently I have got 3 redo log groups with 2 members each. There are lot of updation and insertion of records going on with few tables. When the load increases the DB lands in a hang state and in the Log I get this message
Thread 1 cannot allocate new log, sequence 234
All online logs needed archiving
Current log# 1 seq# 233 mem# 0: D:\ORACLE\ORADATA\ORCL\REDO01.LOG
Current log# 1 seq# 233 mem# 1: D:\ORACLE\ORADATA\ORCL\REDO04.LOG
Can any one help me in solving this problem. I tried to Switch the log files but as they already are waiting for archiving so no use.
Any help on this will be highly helpfull to me as I am in Live environment.
Arvind

The way the log groups work is.
Log Writer(lgwr) starts writing to group 1. When group 1 fills up, it switches to group 2. When lgwr starts writing to group 2, the Archiver (arc) wakes up and starts writing group 1 to the archive file. When group 2 fills up lgwr start writing group 3 and arc archives group 2 once it has finished writing group 1. When group 3 fills up, lgwr starts writing to group 1 again, assuming that arc has finished writing group 1 to the archive.
In your case, it appears that arc is still writing group 1 when lgwr wants to use it again, so the database stalls until arc is finished writing group 1.
Fundamentally you have two choices. You can increase the size of each file in each log group, so they will fill up less often. However, this will also make arc take longer to archive the group. If you can gain enough time based on slower filling to offset the slower writing you should be ok.
The other option is to add a few more groups of the same size as the existing groups. This will give lgwr more groups to use before needing to start re-using earlier groups.
Typically, in our systems we run between 4 and 6 64M log groups and never see these hangs.
HTH
John

Similar Messages

  • Urgent Help Reqd: Delta Problem....!!!

    Hi Experts,
    Urgent help reqd regarding follwoing scenario:
    I am getting delta to ODS 1 (infosource : 2LIS_12_VCHDR) from R/3. Now this ODS1 gives delta to Cube1. I got one error record which fails when going to cube (due to master data check).And this record would be edited later.
    So I thought of re loading cube and using error handling to split request in PSA and load valid records in cube.Later when I have coorect info abt error, I would load erroneous record manually using PSA.
    I did following steps:
    1)Failed request is not in cube...(setting is PSA and then into target)....also it has been deleted from PSA.
    2)Remove data status from source ODS1.
    3)Change error handling in infopackage to valid " Valid records update, reporting possible".
    4)start loading of cube.
    But when I did this I got following message :
    <b> "Last delta update is not yet completed.Therefore, no new delta update is possible.You can start the request again if the last delta request is red or green in the monitor"</b>
    But both my requests in cube and ODS are Green...no request is in yellow...!!
    Now the problem is :
    1) I have lost ODS data mart status
    2)how to load valid records to cube, since errorneous record can be edited only after 3- 4 days.
    3)How not to affect delta load of tomorrow.
    Please guide and help me in this.
    Thanks in advance and rest assured I will award points to say thanks to SDNers..
    Regards,
    Sorabh
    Message was edited by: sorabh arora

    Hi Joseph,
    Thanks for replying....
    I apolgize and I have modified the message above..
    I just checked in cube...there is no failed request for today...and neither in PSA....Person who has handed this to me may have deleted this is PSA..and why req is not in failed state in cube...I am not sure..though setting is "PSA and then into data package".....
    So how to go frm here....
    Thanks
    Sorabh

  • Physical standby database standby redo log problem

    Hello
    We have a physical standby database , I've created some standby redo log files but my problem is that they aren't used,
    their status in v$stanby_log view is UNASSIGNED
    and I see this message (ORA-16086: standby database does not contain available standby log files) in primary database alert_log file
    while when I run "alter system switch logfile" in the primary database it transfer redo logs to the physsical standby database
    and archive log file will be created in standby database
    I've even recreated the standby redo log files and I added new ones to them but the problem wasn't solved
    Do you know what is problem ?
    elect group#,THREAD#,BYTES,STATUS from V$STANDBY_LOG;
    group#     THREAD#      BYTES       STATUS
    1                   0                   524288000                   UNASSIGNED                  
    2                   0                   524288000                   UNASSIGNED                  
    3                   0                   524288000                   UNASSIGNED                  
    8                   0                   524288000                   UNASSIGNED                  
    9                   0                   524288000                   UNASSIGNED                  
    10                   0                   524288000                   UNASSIGNED                  
    select group#,THREAD#,BYTES,MEMBERS,STATUS from v$log;
    group#                    THREAD#                    BYTES                    MEMBERS                    STATUS
    4                   1                   524288000                   2                   CLEARING                  
    7                   1                   524288000                   2                   CLEARING_CURRENT                  
    6                   1                   524288000                   2                   CLEARING                  
    5                   1                   524288000                   2                   CLEARING                  
    thanks

    Hello Anurag
    Thank you for your reply
    I have found some issue in the standby database alert_log too , in the standby database alert_log it has been written:
    RFS[782]: Assigned to RFS process 3919
    RFS[782]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM AVAILABILITY mode
    Standby controlfile consistent with primary
    Primary database is in MAXIMUM AVAILABILITY mode
    Standby controlfile consistent with primary
    RFS[782]: No standby redo logfiles selected (reason:6)
    Sun Jan 31 13:59:43 2010
    Errors in file /u01/app/oracle/admin/tehrep/udump/tehrep_rfs_3919.trc:
    ORA-16086: standby database does not contain available standby log files
    Sun Jan 31 13:59:48 2010
    RFS[781]: Archived Log: '/disks/sda/tehrep/archivelogs/1_6516_670414641.dbf'
    Sun Jan 31 13:59:50 2010
    and the context "/u01/app/oracle/admin/tehrep/udump/tehrep_rfs_3919.trc"  is below :
    +/u01/app/oracle/admin/tehrep/udump/tehrep_rfs_3919.trc+
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1
    System name:    Linux
    Node name:      linserver2.com
    Release:        2.6.9-42.ELsmp
    Version:        #1 SMP Wed Jul 12 23:27:17 EDT 2006
    Machine:        i686
    Instance name: tehrep
    Redo thread mounted by this instance: 1
    Oracle process number: 58
    Unix process pid: 3919, image: [email protected]
    *** SERVICE NAME:() 2010-01-31 13:59:43.865
    *** SESSION ID:(109.1225) 2010-01-31 13:59:43.865
    KCRRFLAS
    KCRRSNPS
    No space in recovery area for active standby redo logs
    The primary database is operating in MAXIMUM PROTECTION
    or MAXIMUM AVAILABILITY mode, and the standby database
    does not contain adequate disk space in the recovery area
    to safely archive the contents of the standby redo logfiles.
    ORA-16086: standby database does not contain available standby log files
    when I saw this line "No space in recovery area for active standby redo logs" I thought that STANDBY_ARCHIVE_DEST parameter points where that there is no enough space , but when I consider I found out that points a directory on disk a "sda" that has enough space , I don't know what that means
    by the way, at below I've written a section of the primary database alert_log context and "lgwr" trace file around Sun Jan 31 13:30:34 2010
    alert_log :
    ORA-16086: standby database does not contain available standby log files
    Sun Jan 31 13:30:34 2010
    LGWR: Failed to archive log 7 thread 1 sequence 6512 (16086)
    Thread 1 advanced to log sequence 6512
    Current log# 7 seq# 6512 mem# 0: /disks/sdb/tehrep/redo71.log
    Current log# 7 seq# 6512 mem# 1: /disks/sdd/tehrep/redo72.log
    LNSc started with pid=53, OS id=11451
    Sun Jan 31 13:36:34 2010
    Errors in file /u01/app/oracle/admin/tehrep/bdump/tehrep_lgwr_3692.trc:
    ORA-16086: standby database does not contain available standby log files
    Sun Jan 31 13:36:34 2010
    LGWR: Failed to archive log 5 thread 1 sequence 6513 (16086)
    Thread 1 advanced to log sequence 6513
    Current log# 5 seq# 6513 mem# 0: /disks/sdb/tehrep/redo51.log
    Current log# 5 seq# 6513 mem# 1: /disks/sdd/tehrep/redo52.log
    */u01/app/oracle/admin/tehrep/bdump/tehrep_lgwr_3692.trc file :*
    Error 16086 creating standby archive log file at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=linserver2.com
    +)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=tehrep_XPT.com)(INSTANCE_NAME=tehrep)(SERVER=dedicated)))'+
    *** 2010-01-31 13:30:34.712 60679 kcrr.c
    LGWR: Attempting destination LOG_ARCHIVE_DEST_3 network reconnect (16086)
    *** 2010-01-31 13:30:34.712 60679 kcrr.c
    LGWR: Destination LOG_ARCHIVE_DEST_3 network reconnect abandoned
    ORA-16086: standby database does not contain available standby log files
    *** 2010-01-31 13:30:34.712 60679 kcrr.c
    LGWR: Error 16086 creating archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=linserver2.com)(PORT=1521
    +)))(CONNECT_DATA=(SERVICE_NAME=tehrep_XPT.com)(INSTANCE_NAME=tehrep)(SERVER=dedicated)))'+
    *** 2010-01-31 13:30:34.712 58941 kcrr.c
    kcrrfail: dest:3 err:16086 force:0 blast:1
    Receiving message from LNSc
    *** 2010-01-31 13:30:34.718 55444 kcrr.c
    Making upidhs request to LNSc (ocis 0x0xb648db48). Begin time is <01/31/2010 13:30:30> and NET_TIMEOUT <180> seconds
    NetServer pid:11196
    *** 2010-01-31 13:30:38.718 55616 kcrr.c
    upidhs done status 0
    *** 2010-01-31 13:36:31.062
    LGWR: Archivelog for thread 1 sequence 6513 will NOT be compressed
    *** 2010-01-31 13:36:31.062 53681 kcrr.c
    +Initializing NetServer[LNSc] for dest=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=linserver2.com)(PORT=1521)))(CO+
    NNECT_DATA=(SERVICE_NAME=tehrep_XPT.com)(INSTANCE_NAME=tehrep)(SERVER=dedicated))) mode SYNC
    LNSc is not running anymore.
    New SYNC LNSc needs to be started
    Waiting for subscriber count on LGWR-LNSc channel to go to zero
    Subscriber count went to zero - time now is <01/31/2010 13:36:31>
    Starting LNSc ...
    Waiting for LNSc to initialize itself
    *** 2010-01-31 13:36:34.116 53972 kcrr.c
    +Netserver LNSc [pid 11451] for mode SYNC has been initialized+
    Performing a channel reset to ignore previous responses
    +Successfully started LNSc [pid 11451] for dest (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=linserver2.com)(PORT=1+
    +521)))(CONNECT_DATA=(SERVICE_NAME=tehrep_XPT.com)(INSTANCE_NAME=tehrep)(SERVER=dedicated))) mode SYNC ocis=0x0xb648db48+
    *** 2010-01-31 13:36:34.116 54475 kcrr.c
    +Making upiahm request to LNSc [pid 11451]: Begin Time is <01/31/2010 13:36:31>. NET_TIMEOUT = <180> seconds+
    Waiting for LNSc to respond to upiahm
    *** 2010-01-31 13:36:34.266 54639 kcrr.c
    upiahm connect done status is 0
    Receiving message from LNSc
    Receiving message from LNSc
    Destination LOG_ARCHIVE_DEST_3 is in STANDBY RESYNCHRONIZATION mode
    Receiving message from LNSc

  • Urgent help telnet remote problem

    Hello,
    i have a problem with remote telnet connection to cisco 800 series router
    I can connect via telnet/ssh from my local network when connecting to public ip
    but nobody can connect from outside
    here is my config
    interface FastEthernet4
    ip address 85.xx.xx.xx 255.255.255.252
    ip nat outside
    ip virtual-reassembly
    duplex auto
    speed auto
    interface Vlan1
    ip address 192.168.1.1 255.255.255.0
    ip nat inside
    ip virtual-reassembly
    ip forward-protocol nd
    ip route 0.0.0.0 0.0.0.0 85.xx.xx.xx
    no ip http server
    no ip http secure-server
    ip nat inside source list 10 interface FastEthernet4 overload
    access-list 10 permit any
    line con 0
    password cisco
    login
    no modem enable
    line aux 0
    line vty 0 4
    password cisco
    login
    transport input all
    transport output all
    HELP

    I have seen problems before with very similar symptoms that telnet did work from inside but did not work from outside. In most of these cases it turned out to be a problem in the way that address translation was configured. I suggest that you change the access list used to select traffic for address translation.
    no access-list 10
    access-list 10 permit 192.168.1.0 0.0.0.255
    Give this a try and let us know if it helps.
    HTH
    Rick

  • Need Urgent help on Logging error

    Hi ,
    In my project we are using Log4j 1.3 alpha. and we have commons-logging.jar(1.0.4) also. I am trying to deploying my application to stand alone OC4J from jdeveloper it was deployed successfully. I am trying to run one jsp in the browser http://localhost:8888/jsp/menu.jsp. I am getting the following error
    500 Internal Server Error
    java.lang.NoSuchFieldError: INFO
         at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:152)
         at org.apache.struts.util.PropertyMessageResources.<init>(PropertyMessageResources.java:127)
         at org.apache.struts.util.PropertyMessageResourcesFactory.createResources(PropertyMessageResourcesFactory.java:90)
         at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:577)
         at org.apache.struts.taglib.html.HtmlTag.<clinit>(HtmlTag.java:96)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at jsp.admin._S__RS030__101.class$(_S__RS030__101.java:48)
         [SRC:/jsp/admin/S_RS030_101.jsp:5]
         at jsp.admin._S__RS030__101._jspService(_S__RS030__101.java:48)
         [SRC:/jsp/admin/S_RS030_101.jsp:5]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I am working on this error for 2 days.We are using struts1.1.Is there any compatibility issue between log4j and commons-logging.jar file.We are using log4j.xml file for the configuration. I checked it and it is ok. I am not able to know where is the problem. Any Help?
    Thanks,
    Reddy

    Hi ,
    In my project we are using Log4j 1.3 alpha. and we have commons-logging.jar(1.0.4) also. I am trying to deploying my application to stand alone OC4J from jdeveloper it was deployed successfully. I am trying to run one jsp in the browser http://localhost:8888/jsp/menu.jsp. I am getting the following error
    500 Internal Server Error
    java.lang.NoSuchFieldError: INFO
         at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:152)
         at org.apache.struts.util.PropertyMessageResources.<init>(PropertyMessageResources.java:127)
         at org.apache.struts.util.PropertyMessageResourcesFactory.createResources(PropertyMessageResourcesFactory.java:90)
         at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:577)
         at org.apache.struts.taglib.html.HtmlTag.<clinit>(HtmlTag.java:96)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at jsp.admin._S__RS030__101.class$(_S__RS030__101.java:48)
         [SRC:/jsp/admin/S_RS030_101.jsp:5]
         at jsp.admin._S__RS030__101._jspService(_S__RS030__101.java:48)
         [SRC:/jsp/admin/S_RS030_101.jsp:5]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I am working on this error for 2 days.We are using struts1.1.Is there any compatibility issue between log4j and commons-logging.jar file.We are using log4j.xml file for the configuration. I checked it and it is ok. I am not able to know where is the problem. Any Help?
    Thanks,
    Reddy

  • Redo log problem

    Hello,
    I had 12 log groups with 2 member in each group, size og 60mb.
    I was adding new groups with larger members and deleting old groups .
    I droped 10 old groups and i after some time while querying v$log , I found that those 2 old groups are constantly either in status current or active. so i cant drop them, I was getting ora message which says that i cant drop that group because its needed for instance recovery.
    I tryied forcing log switch, i am getting message log switch succesfuly completed, but it wont help, they were still active or current.Like those 2 old groups are in some endles loop.
    Please, I would be very greatful for any suggestions on this issue, that is how to get those groups in inactive status so i could drop them.
    thx

    I droped 10 old groups and i after some time while querying v$log , I found that those 2 old groups are constantly either in status current or active. so i cant drop them,Create other groups before droppping these two last. You cannot have less than two redolog group.
    Anyway, 12 redolog group seems to me much, have you really need so much ?
    Nicolas.

  • Asking urgent help for UI problems

    Hope to get any reply and help from you!
    Now, as for the UIs we want to get, we require that when users press one button on UI1 with "Enter" in keyboard(not using mouse), another UI2 would appear in front. Moreover, when users press "ESC" in keyboard, it can also return back from UI2 to UI1.
    However, we have some following problems as below:
    1. Now we use the following way for ui programming. However, we always find that the UI would be dead without any response for any key press. What's wrong with the following porgramming style and way:
    //UI1 class
    dispse();
    UI2 ui2 = new UI2();
    ui2.setVisible(true);
    //UI2 class
    dispse();
    UI1 ui1 = new UI1();
    ui1.setVisible(true); Many thanks for you! I hope it would not cost you much time!
    best wishes for you!

    Sorry if the code is rather long. However most of them are for the design of GUI only.
    Thanks in advance.
    import javax.swing.SwingUtilities;
    import java.awt.Color;
    import java.awt.Font;
    import javax.swing.AbstractAction;
    import javax.swing.Action;
    import javax.swing.JDialog;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JButton;
    import javax.swing.KeyStroke;
    import java.awt.Rectangle;
    import java.awt.event.ActionEvent;
    import java.awt.event.KeyEvent;
    import javax.swing.JLabel;
    public class sample extends JFrame
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;
         private JButton[] EntButton = new JButton[3];
         private JLabel jLabel = null;
         int current = 0;
         Font originalfont = new Font("serif", Font.BOLD, 20);
         Font changedfont = new Font("serif", Font.BOLD, 30);
         Color blue = new Color (0,0,255);
         Color violet = new Color (182,122,132);
         Color red = new Color (255,0,0);
         Color black = new Color (0,0,0);
         private JButton getJButton() {
                   EntButton[0] = new JButton();
                   EntButton[0].setText("Movies");
                   EntButton[0].setBounds(new Rectangle(256, 190, 180, 40));
                   EntButton[0].setBackground(blue);
                   EntButton[0].setFont(originalfont);
                   EntButton[0].setForeground(red);
              return EntButton[0];
         private JButton getJButton1() {
                   EntButton[1] = new JButton();
                   EntButton[1].setBackground(violet);
                   EntButton[1].setBounds(new Rectangle(280, 250, 135, 31));
                   EntButton[1].setFont(originalfont);
                   EntButton[1].setText("TV Series");
              return EntButton[1];
         private JButton getJButton2() {
                   EntButton[2] = new JButton();
                   EntButton[2].setBackground(violet);
                   EntButton[2].setBounds(new Rectangle(280, 310, 135, 31));
                   EntButton[2].setFont(originalfont);
                   EntButton[2].setText("News");
              return EntButton[2];
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        sample thisClass = new sample();
                        thisClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        thisClass.setVisible(true);
         public sample() {
              super();
              initialize();
         private void initialize() {
              this.setSize(1024,768);
              this.setContentPane(getJContentPane());
              //this.setUndecorated(true);
              EntButton[0].requestFocus(true);
              EntButton[0].setFocusPainted(false);
         private JPanel getJContentPane() {
              if (jContentPane == null) {
                   jLabel = new JLabel();
                   jLabel.setBounds(new Rectangle(345, 130, 135, 31));
                   jLabel.setText("Video");
                   jContentPane = new JPanel();
                   jContentPane.setLayout(null);
                   jContentPane.add(getJButton(), null);
                   jContentPane.add(getJButton1(), null);
                   jContentPane.add(getJButton2(), null);
                   jContentPane.add(jLabel, null);
                   jContentPane.getInputMap(jContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN,0), "MoveDown"); //KeyStroke.getKeyStroke("DOWN")
                   Action ActionDown = new AbstractAction() {
                       public void actionPerformed(ActionEvent e)
                            current = current < 2 ? current = current + 1 : (current + 1 > 2 ? 0:1);
                            EntButton[current].setBackground(blue);
                            EntButton[current].setFont(changedfont);
                            EntButton[current].setForeground(red);
                           if (current==1){
                                EntButton[1].setBounds(new Rectangle(256, 250, 180, 40));
                                EntButton[0].setBackground(violet);
                                EntButton[0].setFont(originalfont);
                                EntButton[0].setForeground(black);
                                EntButton[0].setBounds(new Rectangle(280, 190, 135, 31));
                           if (current==2){
                                EntButton[2].setBounds(new Rectangle(256, 310, 180, 40));
                                EntButton[1].setBackground(violet);
                                EntButton[1].setFont(originalfont);
                                EntButton[1].setForeground(black);
                                EntButton[1].setBounds(new Rectangle(280, 250, 135, 31));
                           if (current==0){
                                EntButton[0].setBounds(new Rectangle(256, 190, 180, 40));
                                EntButton[2].setBackground(violet);
                                EntButton[2].setFont(originalfont);
                                EntButton[2].setForeground(black);
                                EntButton[2].setBounds(new Rectangle(280, 310, 135, 31));
                   jContentPane.getActionMap().put("MoveDown", ActionDown);
                   jContentPane.getInputMap(jContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_UP,0), "MoveUp");
                   Action ActionUp = new AbstractAction() {
                       public void actionPerformed(ActionEvent e)
                            current = current < 3 ? current = current - 1 : (current - 1 > 0 ? 1:0);
                          if (current == -1)
                               current = 2;
                          EntButton[current].setBackground(blue);
                          EntButton[current].setFont(changedfont);
                          EntButton[current].setForeground(red);
                           if (current==0){
                                EntButton[0].setBounds(new Rectangle(256, 190, 180, 40));
                                EntButton[1].setBackground(violet);
                                EntButton[1].setFont(originalfont);
                                EntButton[1].setForeground(black);
                                EntButton[1].setBounds(new Rectangle(280, 250, 135, 31));
                           if (current==1){
                                EntButton[1].setBounds(new Rectangle(256, 250, 180, 40));
                                EntButton[2].setBackground(violet);
                                EntButton[2].setFont(originalfont);
                                EntButton[2].setForeground(black);
                                EntButton[2].setBounds(new Rectangle(280, 310, 135, 31));
                           if (current==2){
                                EntButton[2].setBounds(new Rectangle(256, 310, 180, 40));
                                EntButton[0].setBackground(violet);
                                EntButton[0].setFont(originalfont);
                                EntButton[0].setForeground(black);
                                EntButton[0].setBounds(new Rectangle(280, 190, 135, 31));
                   jContentPane.getActionMap().put("MoveUp", ActionUp);
                   jContentPane.getInputMap(jContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke("ESCAPE"), "MoveESC");
                   Action ActionESC = new AbstractAction() {
                       public void actionPerformed(ActionEvent e)
                            System.exit(0);
                   jContentPane.getActionMap().put("MoveESC", ActionESC);
                   jContentPane.getInputMap(jContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER,0), "MoveEnter");
                   Action ActionEnter = new AbstractAction() {
                       public void actionPerformed(ActionEvent e)
                            if(current==0)
                                 dispose();
                                //JDialog MoviesMenu = new MoviesMenu();
                                MoviesMenu MoviesMenu = new MoviesMenu();
                                MoviesMenu.show();
                                //MoviesMenu.setVisible(true);
                   jContentPane.getActionMap().put("MoveEnter", ActionEnter);
              return jContentPane;
         //second UI start
         public class MoviesMenu extends JDialog {
              private static final long serialVersionUID = 1L;
              private JPanel jMovieContentPane;
              private JButton[] MoviesButton = new JButton[3];
              private JLabel jLabel,jLabel1;
              private int current1 = 0;
              private JButton getJButton() {
                        MoviesButton[0] = new JButton();
                        MoviesButton[0].setBounds(new Rectangle(110, 230, 450, 40));
                        MoviesButton[0].setText("Vid 1");
                        MoviesButton[0].setBackground(blue);
                        MoviesButton[0].setFont(changedfont);
                        MoviesButton[0].setForeground(red);
                   return MoviesButton[0];
              private JButton getJButton1() {
                        MoviesButton[1] = new JButton();
                        MoviesButton[1].setBounds(new Rectangle(135, 320, 400, 46));
                        MoviesButton[1].setText("Vid 2");
                        MoviesButton[1].setBackground(violet);
                        MoviesButton[1].setFont(originalfont);
                   return MoviesButton[1];
              private JButton getJButton2() {
                        MoviesButton[2] = new JButton();
                        MoviesButton[2].setBounds(new Rectangle(135, 410, 400, 46));
                        MoviesButton[2].setText("Vid 3");
                        MoviesButton[2].setBackground(violet);
                        MoviesButton[2].setFont(originalfont);
                   return MoviesButton[2];
              public MoviesMenu() {
                   super();
                   initialize();
              private void initialize() {
                   this.setSize(1024,768);
                   this.setContentPane(getjMovieContentPane());
                   this.setTitle("JFrame");
                   this.setUndecorated(true);
                   MoviesButton[0].requestFocus(true);
                   MoviesButton[0].setFocusPainted(false);
              private JPanel getjMovieContentPane() {
                   if (jMovieContentPane == null) {
                        jLabel1 = new JLabel();
                        jLabel1.setBounds(new Rectangle(650, 270, 361, 226));
                        jLabel1.setText("Text Introduction");
                        jLabel = new JLabel();
                        jLabel.setBounds(new Rectangle(650, 105, 226, 136));
                        jLabel.setText("VIDEO IMAGE");
                        jMovieContentPane = new JPanel();
                        jMovieContentPane.setLayout(null);
                        jMovieContentPane.add(getJButton(), null);
                        jMovieContentPane.add(getJButton1(), null);
                        jMovieContentPane.add(getJButton2(), null);
                        jMovieContentPane.add(jLabel, null);
                        jMovieContentPane.add(jLabel1, null);
                        jMovieContentPane.getInputMap(jMovieContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN,0), "MoveDown"); //KeyStroke.getKeyStroke("DOWN")
                        Action ActionDown = new AbstractAction() {
                            public void actionPerformed(ActionEvent e)
                                 current1++;
                                 if (current1==0){
                                      MoviesButton[0].setBounds(new Rectangle(110, 230, 450, 40));
                                      MoviesButton[2].setBackground(violet);
                                      MoviesButton[2].setFont(originalfont);
                                      MoviesButton[2].setForeground(black);
                                      MoviesButton[2].setBounds(new Rectangle(135, 410, 400, 46));
                                      MoviesButton[2].repaint();
                                if (current1==1){
                                     MoviesButton[1].setBounds(new Rectangle(110, 320, 450, 46));
                                     MoviesButton[0].setBackground(violet);
                                     MoviesButton[0].setFont(originalfont);
                                     MoviesButton[0].setForeground(black);
                                     MoviesButton[0].setBounds(new Rectangle(135, 230, 400, 40));
                                     MoviesButton[0].repaint();
                                if (current1==2){
                                     MoviesButton[2].setBounds(new Rectangle(110, 410, 450, 46));
                                     MoviesButton[1].setBackground(violet);
                                     MoviesButton[1].setFont(originalfont);
                                     MoviesButton[1].setForeground(black);
                                     MoviesButton[1].setBounds(new Rectangle(135, 320, 400, 46));
                                     MoviesButton[1].repaint();
                                if(current1>2){
                                current1=0;
                                MoviesButton[0].setBounds(new Rectangle(110, 230, 450, 40));
                                MoviesButton[2].setBackground(violet);
                                 MoviesButton[2].setFont(originalfont);
                                 MoviesButton[2].setForeground(black);
                                 MoviesButton[2].setBounds(new Rectangle(135, 410, 400, 46));
                                 MoviesButton[2].repaint();
                                 MoviesButton[current1].setBackground(blue);
                                 MoviesButton[current1].setFont(changedfont);
                                 MoviesButton[current1].setForeground(red);
                                 MoviesButton[current1].repaint();
                        jMovieContentPane.getActionMap().put("MoveDown", ActionDown);
                        jMovieContentPane.getInputMap(jMovieContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_UP,0), "MoveUp");
                        Action ActionUp = new AbstractAction() {
                            public void actionPerformed(ActionEvent e)
                                current1--;
                               if (current1==2){
                                    MoviesButton[2].setBounds(new Rectangle(110, 410, 450, 46));
                                    MoviesButton[0].setBackground(violet);
                                    MoviesButton[0].setFont(originalfont);
                                    MoviesButton[0].setForeground(black);
                                    MoviesButton[0].setBounds(new Rectangle(135, 230, 400, 40));
                                    MoviesButton[0].repaint();
                                if (current1==0){
                                     MoviesButton[0].setBounds(new Rectangle(110, 230, 450, 40));
                                     MoviesButton[1].setBackground(violet);
                                     MoviesButton[1].setFont(originalfont);
                                     MoviesButton[1].setForeground(black);
                                     MoviesButton[1].setBounds(new Rectangle(135, 320, 400, 46));
                                     MoviesButton[1].repaint();
                                if (current1==1){
                                     MoviesButton[1].setBounds(new Rectangle(110, 320, 450, 46));
                                     MoviesButton[2].setBackground(violet);
                                     MoviesButton[2].setFont(originalfont);
                                     MoviesButton[2].setForeground(black);
                                     MoviesButton[2].setBounds(new Rectangle(135, 410, 400, 46));
                                     MoviesButton[2].repaint();
                                if(current1==-1){
                                     current1=2;
                                     MoviesButton[2].setBounds(new Rectangle(110, 410, 450, 46));
                                     MoviesButton[0].setBackground(violet);
                                    MoviesButton[0].setFont(originalfont);
                                    MoviesButton[0].setForeground(black);
                                    MoviesButton[0].setBounds(new Rectangle(135, 230, 400, 40));
                                    MoviesButton[0].repaint();
                               MoviesButton[current1].setBackground(blue);
                               MoviesButton[current1].setFont(changedfont);
                               MoviesButton[current1].setForeground(red);
                               MoviesButton[current1].repaint();
                        jMovieContentPane.getActionMap().put("MoveUp", ActionUp);
                        jMovieContentPane.getInputMap(jMovieContentPane.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke("ESCAPE"), "MoveESC");
                        Action ActionESC = new AbstractAction() {
                            public void actionPerformed(ActionEvent e)
                                 dispose();
                                 JFrame sample = new sample();
                                 //sample.validate();
                                 sample.show();
                        jMovieContentPane.getActionMap().put("MoveESC", ActionESC);
                   return jMovieContentPane;
    }

  • I need urgent help in that problem

    Hi All,
    first I have project in forms 6i and I migrate it to 10g successfully after that I make deploying for forms locally on my machine (without installing oracle application server ) and it works good (forms , reports , icons) everything is good after that I want to move to the production stage then I installed oracle application server 10.2 on the machine (the same machine which I have the oracle database on it ) and after installation successfully I make the changes for deploying forms in forsweb.cfg and default.env files as I made it locally on my machine and write the url like that
    http://computer name/forms/frmservlet?config= sepwin&form=login_ncs.fmx
    The login screen appears but I cannot make any action on it like login, exit or close. on the contrary it was working very good locally and all the projects forms also.
    I searched for that problem allots but I didn't get any answer.
    Note:
    The OS for oracle Database and application server machine is XP
    So can anyone help?
    Regards,
    Nasser

    Hi:
    I recompile the forms again with forms compiler tool in application server and the forms now works fine,
    But the problem is I can't open the reports from the forms.
    Note:
    The reports open successfully from forms locale,and that is my code
    ------------------------------------ PROCEDURE -----------------------------------------
    PROCEDURE VIEW_PRINT_REPORT (v_p_dest varchar2) IS
         RO_Report_ID REPORT_OBJECT;
         Str_Report_Server_Job VARCHAR2(200);
         Str_Job_ID VARCHAR2(200);
         Str_URL VARCHAR2(200);
         PL_ID PARAMLIST ;
         rep_status VARCHAR2(50);
    BEGIN
         PL_ID := GET_PARAMETER_LIST('report_parameter');
         IF NOT ID_NULL(PL_ID) THEN
              DESTROY_PARAMETER_LIST(PL_ID);
         END IF;
         PL_ID := CREATE_PARAMETER_LIST('report_parameter');
         RO_Report_ID := FIND_REPORT_OBJECT('PROJECTS_REP');
    IF v_p_dest = 'P' THEN
                   add_parameter(PL_ID,'DESTYPE',TEXT_PARAMETER,'PRINTER');
              END IF ;     
              add_parameter(PL_ID,'PARAMFORM',text_parameter,'NO');
              add_parameter(PL_ID,'ORIENTATION',TEXT_PARAMETER,'PORTRAIT');
         add_parameter(PL_ID,'MAXIMIZE',TEXT_PARAMETER,'YES');
         add_parameter(PL_ID,'H_USER',text_parameter,:PARAMETER.user_id);     
         if :ctrl.customer_id is not null then
              add_parameter(PL_ID,'p_customer_id',text_parameter,:ctrl.customer_id);
         end if;
         if :ctrl.mgr_id is not null then
              add_parameter(PL_ID,'p_mgr_id',text_parameter,:ctrl.mgr_id);
         end if;
         if :ctrl.pr_status is not null then
              add_parameter(PL_ID,'p_pr_status',text_parameter,:ctrl.pr_status);
         end if;
         add_parameter(PL_ID,'ORACLE_SHUTDOWN',text_parameter,'YES');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, CACHE);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'PDF');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, 'rep_autoserve_mt');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID,REPORT_OTHER, 'jobname='||'projects.RDF');
         Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
    rep_status := REPORT_OBJECT_STATUS(Str_Report_Server_Job);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(Str_Report_Server_Job);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet/'||'getjobid'||
    substr(Str_Report_Server_Job ,instr(Str_Report_Server_Job ,'_',-1)+1)||'?'||'server=rep_autoserve_mt','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;
    ------------------- and when WHEN-BUTTON-PRESSED trigger
    view_print_report('V');
    and i great report object in object navigator
    So any help or idea about what I do or change to open reports from forms on application server.
    Regards,
    Nasser.
    Edited by: eng nasser on Apr 29, 2010 8:00 AM

  • Urgent help in following problem

    Hi..all of u.
        sir, when m installing addon on client machine , i have face d problem of "SAP B1.EXE-APPLICATION ERROR"
        Click ok to terminate the program.
        click cancel to debug the program.
          so please how resolve the above problem.
          thanks.
    regards
    sudhir pawar

    Hi,
    What's the user account type for your client machine when you're installing the addon? Try to user an administrator account to install the addon instead of using power or standard user account. I've the same problem last time, and it's solved once I've change the user account to administrator for the installation. Hope's it help.
    cheers,
    serene

  • Urgent Help Needed: Installation problem on Win2K

    My j2sdk1.4.1_01 folder got deleted, I tried to reinstall J2SDK1.4.1_01 but everytime I try I get a dialog box that pops-up saying:
    You already have the Java 2 SDK , SE v1.4.1_01installed on this machine. Would you like to uninstall it?
    Clicking OK runs a very brief uninstall, but apparently doesn't actually uninstall, Win Add/Remove Programs does the same thing, it runs, says it uninstalled it, but doesn't. Anyone have any ideas?

    Same problem here. The installer crashed at the very end of the installer procedure, so I attempted to uninstall. I failed, so I manually deleted files and attempted to reinstall.
    The system claims that the software is still installed and when I instruct it to uninstall, it immediately terminates.
    I've even deleted the HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.4.1_01 key. The installer puts it back when you tell it to uninstall the software!!
    Anyway, the work around is to go into RegEdit and delete the two keys that contain mention of version 1.4.1_01. There are two, one in
    HKLM\SOFTWARE\Microsoft\Code Store Database\Distribution Units
    and the other in
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    Both has long hexadecimal string names (CSIDs?)
    I was then able to reinstall...

  • URGENT help please. Problem creating Chinese language text field in Adobe LiveCycle.

    A client requested to create an employee details form in which few text fields has to be in Chinese language. I selected "Arial Unicode MS" for that fields. In final PDF I am able to insert text in Chinese text fields in Acrobat. But I cant insert text when i opened the final PDF in Adobe Reader. (only these Arial Unicode MS fields are disabled). All other fields (English) are in Arial font., they are working in both (Acrobat and Reader). As these forms will be distributed to people who may don't have Acrobat and only the Free Adobe Reader. Can someone please advice me how to solve this problem.
    Thank you
    - Amal

    Make sure the format of the date strings provided by the calendar is what you are expecting. Or use the "formattedValue" for the input strings.

  • Urgent help about Interface problem

      Please take a look at the following picture:
    Description:The vitual keyboard doesn't disappear when I slide to the leftmost "Search :iPhone" and then slide to the right.Whatever I slide the interface It remains until I start an app ! What is the problem?
    Location:China mainland
    OS:iOS 5.1, Not  Jailbreak
    问题描述:如图所示,当滑动到最左面的"搜索:iPhone"后,再向右滑动,该虚拟键盘不消失,此时,不论左滑还是右滑,都是这种情况,只有当点击一个程序时,它才会消 失!
    位置:中国大陆
    <Edited by Host>

    Please ignore - DOH
    Mental Block removed, twas a silly mistake ;-) When I had tried it earlier this way I had made a typo.

  • URGENT HELP NEEDED: Sorting problems

    I am trying to sort large document of around 1,000,000 records into file but I can't do it.
    I receive the following message:
    Cputime limit exceeded
    52.760u 8.240s 1:46.94 57.0% 0+0k 0+0io 2098pf+0w
    Is this fixable? Do you know what's the cause of the problem?

    There should be a limit placed by UNIX systems administrator.
    Is there any other way? I looked in the man pages for some way of setting and changing the resource limits from the command line, but couldn't find anything. Perhaps someone who understands *nix better might know.
    java -Xmx10m ...This switch sets memory rather than cpu time.
    How long is the sort taking any way?

  • Urgent help java security problem

    hi,
    i am trying to run simple message example in tahiti but all the time i got this error:
    java.security.AccessControlException: acces denied (com.ibm.aglets.security.contextPermission atp://mycomputername:4434/@ReplyChild create) java.lang.NullPointerException
    please i have to submit this code iknow it is right but what is the problem??why i am getting this error??please help

    Well what you are doing is trying to access a local file from an Applet, an operation that won't be permitted by the default applet security model.
    I guess what you want is to fetch the file from a directory related to the path of the applet classes. To do this you need to use the URL class and the associated constructors of the ImageIcon class. To form the URL to the image file:
    String fileName="warning.gif";
    URL codeBase= this.getCodeBase();
    URL imageURL= new URL(codeBase, fileName);
    ImageIcon warning = new ImageIcon(imageURL);

  • Urgent help! Multiple problems.

    My iPhone 3GS screen is cracked, my lock button doesn't work even when I push the screen in, the screen loses it's touch sometimes, wont sync music, doesn't unlock sometimes, touch it slow, internet doent work sometimes, freezes a lot ect. How much will it cost to fix it? I use my phone for everything and I cant be without it for long. :/

    you could always upgrade sience you have a 3gs your probilly available for a upgrade

Maybe you are looking for

  • DL link error

    I am frequently getting error message the '' Connect failed because target host or object does not" while connect remote database through DB link Please let me know how to resolve this Regrads Sathish S

  • Select first 4 char

    Hi all, I am new to ABAP. I want select first 4 char of  variable. Example: X = '627128891'. i want first 4 char of X  save to Y. Y= '6271'. How can I do it with ABAP statement? Thanks Shiva.

  • How can I back up in time on a Mac OS X 10.4.11?

    How can I back up in time on a Mac OS X 10.4.11?

  • Which Display To Use with mac mini?

    Is it possible to use an iMac Desktop computer as a display for a mac mini? Does anyone have the range of different monitors that can be used as a display for the mac mini? Both answers are crucial to buying a mac mini. iMac   Mac OS X (10.4.5)   600

  • What is the best digital format from VHS to iMove?

    Hello - I am getting some VHS tapes converted to digital files to edit on iMovie 11. They will be edited on a Macbook Pro 13" and it would be convenient if they could also work in FCE later on. My plan was to ask the company doing the conversion to p