JInternalDialog stealing the focus in Linux environment.

I have the code which opens new JInternalFrame (showPopup() method). When this code is called from EDT directly, for instance from actionPerformed() then newly opened JInternalFrame does not steal focus from other applications ... but If this code called from EDT, but for instance in SwingWorker done() method ... then it does, newly opened JInternalFrame steals focus from other appliaction. Some from GUI programmer point of view the same thread call the same piece of code but get the different behavior ... This is reproducable only under Linux OS (I have tried under Fedora and Scientific Linux) .... Any ideas ?
Below code which you can try, just compile and run ...
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import javax.swing.JDesktopPane;
import javax.swing.SwingWorker;
import javax.swing.WindowConstants;
import javax.swing.JInternalFrame;
public class FocusTest implements ActionListener {
     private JDesktopPane desktop;
     private JInternalFrame frame;
     private JInternalFrame iframe;
     private JButton button1;
     private JButton button2;
     public FocusTest(){
          JFrame.setDefaultLookAndFeelDecorated(true);
          JFrame externalFrame = new JFrame();
          desktop = new JDesktopPane();
          desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
          frame = createMainFrame();
          desktop.add(frame);
          externalFrame.add(desktop);
          externalFrame.setSize(new Dimension(700, 300));
          externalFrame.setVisible(true);
     private JInternalFrame createMainFrame() {
          button1 = new JButton("EDT Dialog");
          button1.addActionListener(this);
          button1.setToolTipText("Wait 2 seconds then show popup, openInternalFrame(), directly in EDT (without any switching between threads).");
          button2 = new JButton("Worker Dialog");
          button2.addActionListener(this);
          button2.setToolTipText("Wait 2 seconds then execute SwingWorker and in done method show popup, openInternalFrame()");
          JPanel panel = new JPanel();
          panel.add(button1);
          panel.add(button2);
         JInternalFrame internalFrame = new JInternalFrame();
         internalFrame.add(panel);
         internalFrame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
         internalFrame.setBounds(new Rectangle(300, 150));
          internalFrame.setVisible(true);
            try {
                 internalFrame.setSelected(true);
            } catch (Exception e) {
                 e.printStackTrace();
        return internalFrame;
     private void showPopup(){
         JPanel panel = new JPanel();
          panel.setLayout(new BorderLayout());
          JPanel msgspanel = new JPanel();
          msgspanel.add(new JLabel("INTERNAL FRAME"));
          panel.add(msgspanel, BorderLayout.PAGE_START);
          JPanel buttonpanel = new JPanel();
          final JButton ok = new JButton("Ok");
          final JButton cancel = new JButton("Cancel");
          buttonpanel.add(ok);
          buttonpanel.add(cancel);
          panel.add(buttonpanel, BorderLayout.PAGE_END);
          iframe = new JInternalFrame();
          iframe.setTitle("Internal Frame");
          iframe.add(panel);
          ok.addActionListener(new ActionListener() {
               @SuppressWarnings("synthetic-access")
               public void actionPerformed(ActionEvent evt) {
                    iframe.dispose();
          cancel.addActionListener(new ActionListener() {
               @SuppressWarnings("synthetic-access")
               public void actionPerformed(ActionEvent evt) {
                    iframe.dispose();
          iframe.pack();
          iframe.setLocation(frame.getLocation().x+10, frame.getLocation().y+10);
          iframe.setVisible(true);
          desktop.add(iframe);
          try {
               iframe.setSelected(true);
            } catch (Exception e) {
                 e.printStackTrace();
          iframe.toFront();
     @Override
     public void actionPerformed(ActionEvent e) {
          if (e.getSource().equals(button1)) {
               try {
                   Thread.sleep(2000);
                   showPopup();
              } catch (InterruptedException ex){
                   ex.printStackTrace();
          } else if (e.getSource().equals(button2)) {
               try {
                   Thread.sleep(2000);
              } catch (InterruptedException ex){
                   ex.printStackTrace();
               OpenerWorker worker = new OpenerWorker();
               worker.execute();
     private class OpenerWorker extends SwingWorker<Object, Object> {
          @Override
          protected Object doInBackground() throws Exception {
               return null;
          @Override
          protected void done() {
               showPopup();
      * @param args
     public static void main(String[] args){
          SwingUtilities.invokeLater(new Runnable() {
              public void run() {
                   try {
                        new FocusTest();
                   } catch (Exception e){
                         e.printStackTrace();
}

Set ur path env variable in your .bash_profile or .bashrc file
export PATH=$ORACLE_HOME/bin:$PATH
Then just issue the command in your prompt
linux]dbca
linux]netmgr
NB: if your are in a remote machine you need to set DISPLAY variable too
or you can directly to ur bin folder where you can see all the utilities.. you can run it like
linux ]./dbca
Regards
Nishant

Similar Messages

  • Problem with the renameTO method in the Linux environment

    Hi
    I got a problem with the renameTO method in the Linux environment. The file is not moving.
    This method is returning false. the same code executed successfully in Windows environment.
    Can anyone give some fix to this one or an alternate solution to move the files in both windows and Linux.
    boolean success;
    File root = new File(tempPath);
                   File f = new File(root, phyFileName);
                   File dest = new File(targetPath);
    success = f.renameTo(new File(dest, actualFileName));actualFileName = 400.doc
    dest = /home/jboss-4.0.3/axsscm_1.0/axsscmDocuments/xchange/fileup/fshare/PO/1786

    JITHENDRA wrote:
    Thanks for the prompt replyNo problem.
    >
    Can u solve the below doubt.
    Will renameTo method wont work in Linux? If so why?Did you not read what I said? I suspect you are trying to rename a file so that it actually has to be moved to a different volume (partition or hard disk) so it won't work. One would have the same problem on Windows trying to rename a file on the c: drive to a name on the d: drive.
    >
    >
    Can u give a sample or good link to do the above work which works fine in all environments.?Just follow the pseudo code I gave. 15 minutes work.

  • Something is briefly stealing the window focus

    Dear all,
    At least 50% of the time, I'm typing in an xterm on my computer.
    There's something running that's stealing the window focus away
    from my xterm where I'm typing for about 1/2 a second and then
    returning it to my xterm. This is very annoying if it happens
    while I'm typing. Unfortunately, I have no idea what's doing it
    and can't give a simple recipe to reproduce the problem.
    I have a vague suspicion it might be related to the Thunderbird
    mail client, since sometimes my "you have new mail" alert sounds
    right after it happens, but I can't prove it.
    Any advice on how to fix this would be great.
    Thanks,
    Owen

    Turn off the new mail alert and see if that solves the issue. FWIW, although not xterm, when I'm using the Terminal, Eudora's new mail alert doesn't steal focus. For xterm issues, post to the Unix forum under OS X Technologies.

  • How do I fix my mac so that the window I am looking at has the focus?

    I am a new mac user and at present beyond comprehension of how people cope with mac if they are not primarily mouse oriented.
    Current problem.
    I close an app using apple key W
    It closes
    I am looking at a window of another app. I want to close that too. Apple key W. Nothing. This window does not have the focus. No keyboard actions will make it do anything. And the bar at the top of the screen is still the bar for the app I have just closed, but that does not respond to the keyboard either. At this point, no keyboard action will affect either app.
    As a one time developer I have to say that in any context I am familiar with this would be considered a major show stopping bug, and the programmer would get into a lot of trouble if the software went out in this condition.
    Certainly, for a user who lives by the keyboard coming from linux / windows, both of which do what I consider sane and sensible things in all places and at all times, this is a major *** situation!
    Please can someone tell me how to get my mac to behave more 'sensibly'.
    I want the window I am looking at, the only window visible on the screen, to have the focus. Always. No matter what! Which I think is entirely reasonable.

    Thank you for all your points.
    It can't automatically be the one you want without some instruction from you - the cmputer is not a mind reader, can not seenwhat holds your attention.
    Darn!
    In Windows and Linux it is automatically the last one in use before you closed the window(s) that have been closed. This is the window naturally lying topmost in the stack of windows on the screen. It is this window which is exposed in the circumstance I am describing. And it is this window which I expect to have the focus in this circumstance.
    More to the point, and has been mentioned several times - unlike Windows, when you close the last window of a Mac app, the program is not quit (usually - there are exceptions). The program is still running, as is indicated by the 'running light' on the Dock (the small bluish oval underneath the app's icon in the Dock), even though it has no windows open.
    It is not running with an invisible window being the focus - it has no windows at this point, not even an invisible one.
    Yes, understood - naturally enough after a few hours exposure to the mac interface. And I would assume that none of the quitted windows in that app will have the focus, which would be nonsensical.
    The overall 'focus' is still on that program, because it is still running (you closed its windows, but did not quit the program) and will remain so until you instruct the Mac to switch to a different program in the stack (or queue, or rotation, however you choose to consider it).
    Yes. WHY?
    Whether program closes when you close the last window is an interesting point. Mac do it different to the others. OK. But this program should not have the focus, unless there is something useful you can do with it. I would have thought obviously.
    Why have a program quit when you close its last window? Doesn't make sense to me - can't tell you how many times that behavior with a PC has irked me. Consider this scenario - you're writing a memo to someone in TextEdit. You print the memo off. You're done with that doc, but then want to write a letter to someone. So you close the window for that file, which happens to be the last window open for TextEdit. If TextEdit should quit at that point, you'd need to restart it again before you can write the letter. But - it doesn't quit; it's still running. So instead of restarting it, all you need do after closing the memo's window is press Command-N for a new, blank doc in which you can write the letter.
    I agree. This is very useful - once you are used to it. Certainly, this is an excellent option, though it seems crazy that it is not a readily settable option. Equally though, if I was going from mac to windows or linux, I would be totally peeved if this behaviour was not a settable option.
    Regardless, this is the way it is in the Mac world, and has always been as far back as I can remember it (and I go back to OS 1 on a MacPlus). As far as 'industry standards' go, there are many who feel that Macs set the GUI standards a long time ago, and that those wo have imitated it have not done a good job of their implementations.
    I totally take your point. And I am ready and willing to learn a new interface, naturally, though I had no idea the journey would be so extensive. [] "More ruddy stairs" says the elderly ghost of the recently deceased David Emery grumpy old git character, who hobbles along with a cane, confronted with a loooong flight of stairs up to heaven []
    - elsewise I'm going to cause myself an inordinate amount of frustration when my impossible-to-meet expectations aren't met.
    Of course I have impossible-to-meet expectations, I got a mac, the doyen of computers. I thought a faint mysterious hint of a sound might be present in the faint whirr of the fans at start up, like far off angelic choirs, and that everything would be easy and wonderful, as well as beautifully easy on the eye.
    But I still think that the focus shoud go somewhere useful. And if it stays with the app running with no windows, then at the very least it should be one keyboard shortcut to open a window for that app, or reopen the last window of that app. Or, gasp, it should go to the last window in use before the windows of the app that just got closed, the one on top of the stack, the one straight in front of you, currently impervious to any and all keyboard strokes. And, given the price and sophisication of macs, and the significant gap between the GUI standards of the major players, however long they have respectively been in business, I think it is the kind of thing which should be settable. Indeed, confident that this was settable or 'fixable', I embarked on this thread in the first place.
    EOL

  • How can I make firefox give the focus (the cursor) to the address bar when I open a new window - as it does when I open a new tab (to about:blank)?

    When I open a new tab using CTRL-T, the address/awesome bar has the focus.
    When I open a new window using CTRL-N, it does not.
    Can the behaviours be made consistent via setting a configuration option or key?
    Thanks in advance for any help!

    Hello wodow, please check it in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#firefox:linux:fx27 safe mode], do you have the same behaviour ? DO NOT reset, select "Start in Safe Mode".
    thank you

  • Compilation error while generating the form in linux

    Hello everyone,
    I am using Oracle Designer ver10.1.2.4 in windows to generate the forms with standard object library ofgwebol.olb and template form ofgwebt.fmb. form (with both .fmb and .fmx files) are generated without errors. Also when I open the forms in separately they compiles without errors. But when I copy the same .fmb file into linux enviroment and compile it using frmcmp.sh userid=user/password@database module_type=form compile_all=yes module=form_name it gives following errors.
    $> frmcmp.sh userid=odin/odin@ontw10g module_ty
    pe=form compile_all=yes module=LOGIN_SCHERM
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.4.0 Production
    FRM-18108: Failed to load the following objects.
    Source Module:ofgwebol.olb
    Source Object: CGSO$CHAR_DO
    Source Module:ofgwebol.olb
    Source Object: CGSO$CHAR_DO
    Source Module:ofgwebol.olb
    Source Object: CGSO$BLOCK
    Source Module:ofgwebol.olb
    Source Object: CGSO$CANVAS
    Source Module:ofgwebol.olb
    Source Object: CGSO$WINDOW
    Compiling function CGTE$CHECK_CONSTRAINT_VIO...
    No compilation errors.
    Compiling procedure CGTE$INLOGGEN_ERRORS...
    No compilation errors.
    L/SQL ERROR 0 at line 17, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 36, column 3
    identifier 'CGNV$.NAV_CLOSE_FORMS' must be declared
    PL/SQL ERROR 0 at line 36, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 37, column 3
    identifier 'CGNV$.NAV_OPENING_WND' must be declared
    PL/SQL ERROR 0 at line 37, column 3
    Statement ignored
    Compiling KEY-HELP trigger on form...
    No compilation errors.
    Compiling WHEN-WINDOW-ACTIVATED trigger on form...
    Compilation error on WHEN-WINDOW-ACTIVATED trigger on form:
    PL/SQL ERROR 201 at line 6, column 8
    identifier 'CGNV$GET_ITEM_WINDOW' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling POST-TEXT-ITEM trigger on form...
    Compilation error on POST-TEXT-ITEM trigger on form:
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$.STORE_WND_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling WHEN-WINDOW-CLOSED trigger on form...
    Compilation error on WHEN-WINDOW-CLOSED trigger on form:
    PL/SQL ERROR 201 at line 5, column 3
    identifier 'CGNV$.TERMINATE_WINDOW' must be declared
    PL/SQL ERROR 0 at line 5, column 3
    Statement ignored
    Compiling WHEN-FORM-NAVIGATE trigger on form...
    Compilation error on WHEN-FORM-NAVIGATE trigger on form:
    PL/SQL ERROR 201 at line 3, column 3
    identifier 'CGNV$.REMOVE_CHILD_FORM' must be declared
    PL/SQL ERROR 0 at line 3, column 3
    Statement ignored
    Compiling KEY-EXIT trigger on form...
    Compilation error on KEY-EXIT trigger on form:
    PL/SQL ERROR 201 at line 5, column 3
    identifier 'CGNV$.NAV_ENTER_QUERY' must be declared
    PL/SQL ERROR 0 at line 5, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 9, column 5
    identifier 'CGNV$.CLOSE_ALL_WINDOWS' must be declared
    PL/SQL ERROR 0 at line 9, column 5
    Statement ignored
    Compiling KEY-CLRFRM trigger on form...
    No compilation errors.
    Compiling ON-ERROR trigger on INLOGGEN data block...
    No compilation errors.
    Compiling KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block...
    Compilation error on KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$GO_PREV_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data block...
    Compilation error on KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data blo
    ck:
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$GO_NEXT_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compilation errors have occurred.
    Form not created
    I think some standard library are missing in Linux environment. But I do not know the name of them and neither I can find. Please suggest the what need to be done to resolve the problem. The reason I am compiling the form in Linux is that I can run the form in windows because of corrupted installation of OC4j.
    Thanking you all much in advance.
    Edited by: Deepank on Dec 2, 2008 1:49 AM

    Deepank-
    When generating forms from Designer, Designer attaches libraries - like ofgmes.pll, ofgnavl.pll, etc. You will need to copy these libraries to the same directory where your forms reside on your Linux box. To find out what libraries ate attached to your form, open it on your windows PC after generating it from Designer and you will see the attached libraries. Also, watch out for the case-sensitivity of Linux. If you have the Designer libraries on your linux box and you still get errors, try changing the case of the names of the libraries.
    Hope this helps,
    Dan

  • Linux Environment : Can't open lib '/opt/oracle/instantclient/libsqora.so.1

    Hi All,
    We are getting below error while one of the ODBC connection try to connect to the Database.
    Linux Server is Red Hat 64 bit environment.
    [6/1/07 14:29:55:315 CDT] 00000034 SystemOut O UserId:APCTEVAL ServiceName:NbaContractEvaluationBP DEBUG [QuartzScheduler_Worker-51] (com.csc.dip.jvpms.core.JvpmsLog4j:debug:?) - compute P_Result => ReturnCode: 1 Message: [unixODBC][Driver Manager]Can't open lib '/opt/oracle/instantclient/libsqora.so.10.1' : /opt/oracle/instantclient/libsqora.so.10.1: cannot open shared object file: No such file or directory RefField: sue
    Here is the current set of things that we verified
    1. The .bash_profile for root has the right stuff in it
    export ORACLE_HOME=/opt/oracle/instantclient
    export PATH=$ORACLE_HOME:$PATH
    export LD_LIBRARY_PATH=/opt/nba/bin:$ORACLE_HOME:$LD_LIBRARY_PATH
    export TNS_ADMIN=$ORACLE_HOME
    2. We verified that the correct version of the Oracle ODBC drivers are installed
    -r--r--r-- 1 oracle dba 1545954 Dec 20 09:35 ojdbc14.jar
    -rwxr-xr-x 1 oracle dba 137905 Dec 20 09:35 libocijdbc10.so
    -rwxr-xr-x 1 oracle dba 72456247 Dec 20 09:35 libociei.so
    -rwxr-xr-x 1 oracle dba 1664148 Dec 20 09:35 libocci.so.10.1
    -rwxr-xr-x 1 oracle dba 3808761 Dec 20 09:35 libnnz10.so
    -rwxr-xr-x 1 oracle dba 20870419 Dec 20 09:35 libclntsh.so.10.1
    -rwxr-xr-x 1 oracle dba 66545 Dec 20 09:35 genezi
    -r--r--r-- 1 oracle dba 1600090 Dec 20 09:35 classes12.jar
    -rwxr-xr-x 1 oracle dba 7741 Dec 20 09:35 sqlplus
    -r--r--r-- 1 oracle dba 3457 Dec 20 09:35 odbc_update_ini.sh
    -r-xr-xr-x 1 oracle dba 58416 Dec 20 09:35 ODBCRelnotesUS.htm
    -r-xr-xr-x 1 oracle dba 91881 Dec 20 09:35 ODBCRelnotesJA.htm
    -r--r--r-- 1 oracle dba 21548 Dec 20 09:35 ODBC_IC_Readme_Linux.html
    -rwxr-xr-x 1 oracle dba 859868 Dec 20 09:35 libsqora.so.10.1
    -rwxr-xr-x 1 oracle dba 992929 Dec 20 09:35 libsqlplus.so
    -rwxr-xr-x 1 oracle dba 1435529 Dec 20 09:35 libsqlplusic.so
    -r--r--r-- 1 oracle dba 1525 Dec 20 09:35 glogin.sql
    -rw-r----- 1 oracle dba 475 May 31 16:06 sqlnet.ora
    -rw-r--r-- 1 oracle dba 385 May 31 16:06 ldap.ora
    in the /opt/oracle/instantclient directory
    3. We verified the the odbc.ini and the odbcinst.ini..they match our dev files
    4. We verified that the VPMS so are the same version
    -rwxrwxr-x 1 nbaadmin nbaadmin 9333 Feb 13 07:57 libjvpms.so
    -rw-r--r-- 1 nbaadmin nbaadmin 1339 Feb 13 07:57 nbaSetupCmdLine.sh
    -rw-r--r-- 1 nbaadmin nbaadmin 852 Feb 13 07:57 nbaLaunchClient.sh
    -rw-r--r-- 1 nbaadmin nbaadmin 327 Feb 13 07:57 nbaAdministrativeConsole.sh
    -rwxrwxr-x 1 nbaadmin nbaadmin 265657 Feb 13 07:57 libvpms.so
    -rwxrwxrwx 1 nbaadmin nbaadmin 594 Feb 13 12:58 odbcinst.ini
    -rwxrwxrwx 1 nbaadmin nbaadmin 874 Feb 13 12:58
    odbc.ini
    5. We also verifed that the directories were showing up in the JVM start up log to verify WAS startup
    ************ Start Display Current Environment ************
    WebSphere Platform 6.0 [ND 6.0.2.17 cf170648.10] running with process name SyststNBACell01\SyststNBANode01\sysNBANewBusiness1 and process id 4921
    Host Operating System is Linux, version 2.6.9-42.0.3.ELsmp
    Java version = J2RE 1.4.2 IBM build cxia32142-20060421 (SR5) (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
    was.install.root = /opt/WebSphere/AppServer60
    user.install.root = /opt/WebSphere/AppServer60/profiles/SyststNBANode01Profile
    Java Home = /opt/WebSphere/AppServer60/java/jre
    ws.ext.dirs = /opt/WebSphere/AppServer60/java/lib:/opt/WebSphere/AppServer60/profiles/SyststNBANode01Profile/classes:/opt/WebSphere/AppServer60/classes:/opt/WebSphere/AppServer60/lib:/opt/WebSphere/AppServer60/installedChannels:/opt/WebSphere/AppServer60/lib/ext:/opt/WebSphere/AppServer60/web/help:/opt/WebSphere/AppServer60/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime:/opt/nba/runtimeJars
    Classpath = /opt/WebSphere/AppServer60/profiles/SyststNBANode01Profile/properties:/opt/WebSphere/AppServer60/properties:/opt/WebSphere/AppServer60/lib/bootstrap.jar:/opt/WebSphere/AppServer60/lib/j2ee.jar:/opt/WebSphere/AppServer60/lib/lmproxy.jar:/opt/WebSphere/AppServer60/lib/urlprotocols.jar:/opt/nba/configuration/config
    Java Library path = /opt/WebSphere/AppServer60/java/jre/bin:/opt/WebSphere/AppServer60/java/jre/bin/classic:/opt/WebSphere/AppServer60/java/jre/bin:/opt/WebSphere/AppServer60/bin:/opt/mqm/java/lib:/opt/wemps/lib:/opt/nba/bin:/opt/oracle/instantclient:/usr/lib
    ************* End Display Current Environment *************
    But are still getting the following error
    [6/1/07 14:29:55:315 CDT] 00000034 SystemOut O UserId:APCTEVAL ServiceName:NbaContractEvaluationBP DEBUG [QuartzScheduler_Worker-51] (com.csc.dip.jvpms.core.JvpmsLog4j:debug:?) - compute P_Result => ReturnCode: 1 Message: [unixODBC][Driver Manager]Can't open lib '/opt/oracle/instantclient/libsqora.so.10.1' : /opt/oracle/instantclient/libsqora.so.10.1: cannot open shared object file: No such file or directory RefField: sue
    Thanks in advance
    Mitesh

    Your LD_LIBRARY_PATH is wrong, libraries are in $ORACLE_HOME/lib, not $ORACLE_HOME itself. The same for $TNS_ADMIN, normally net configuration files are in $ORACLE_HOME/network/admin.
    export LD_LIBRARY_PATH=/opt/nba/bin:$ORACLE_HOME/lib
    Maybe this note on metalink gives further help:
    How to Setup and Verify Setup of Oracle ODBC Driver on Linux
    Doc ID:404041.1
    Werner

  • Accessing OID in a Linux Environment

    Our admin username "portal" password expired, and we need to change the expiration date in our Oracle Directory Manager/Oracle Internet Directory (OID). We are familiar with accessing OID in a Windows environment, but not sure how to do so in a Linux environment.
    Is OID accessible using a IE browser (i.e., is there a special port) or is it somehow accessed in the back end?
    We are using Oracle-Application-Server-10g/10.1.2.0.2 on Linux. Let us know if you have any ideas.

    1. Make sure you have a local X-server (e.g. cygwin or reflexion-X)
    2. login to your linux server with x-forwarding
    3. export your display to your local x-server.
    4. start $ORACLE_HOME/bin/oidadmin
    oidadmin is exactly the same as on windows.
    An other option is just using your windows oidadmin tool and having it look at your linux server (in stead of you windows server)
    Last option is pointing your brower to http://linuxserver/oiddas (assuming your webserver is running on port 80 and you just have to do some small maintenaince on a user)

  • Upgrade Oracle 10g RAC - Oracle 11g RAC on Linux Environment

    We are planning to Upgrade our databases to Oracle 10g RAC - Oracle 11g RAC which is Linux Environment. Kindly suggest me the best option for migration. Our production database size is 80GB.
    - Frest installation of oracle 11g using export/iimport dumps
    - Migration
    - Upgrade process
    Any information regarding this will be appreciated.

    Pl identify exact versions of "10g" and "11g", along with the exact OS versions.
    Pl see the upgrade doc - http://docs.oracle.com/cd/E11882_01/server.112/e23633/toc.htm
    HTH
    Srini

  • How to shutdown and start agent in ODI 11g in Linux Environment

    Hi Experts,
    Pls any one can help me on "How to shutdown and start agent in ODI 11g in Linux Environment" and where can I find Agent.sh and Agentshutdown.sh files location in ODI 11g and parallely how can I find Odiparameter.sh file location
    Thanks in Advance
    Regards
    Phani

    Phani ,
    Go to your <ODI_11g_HOME>/oracledi/agent/bin
    and you will find agent.sh , agent_<standalone_agent>.sh and odiparams.sh and other agent files.
    Step 1. Update your odiparams.sh
    Step 2. Create the Physical and Logical Agent int your Topology using the same port_number and name provide while creating the Stand alone agent during installation ( or) create accordingly the agent in Topology with name and port number as required and make the modification in agent_<stand_alone>.sh file
    Step 3. After doing so start your agent_<stand_alone>.sh
    Step 4. Repeat the process 2-3 for any number of stand alone agent created on different ports and steps 1 to 3 for different Work repository
    Thanks
    Dev

  • Need to migrate DI 11.5.1.2.0 of windows environment to DI 11.7.2.0 fo Linux environment

    Hey any one please give me steps to follow, for magrating DI 11.5.1.2.0 of windows environment to DI 11.7.2.0 fo Linux environment.
    Very Thank full to you all.. in Advance

    Hi Simon;
    I Have looked throught these notes but I still cant see a definitive answer to whether the new Windows server will require a fresh 11.5.10 install before I can clone my existing system?No its not. If You follow below note you will see it doesnt mention something like you ask
    Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
    Your steps should be like:
    1. Section 1: Prerequisites apply related patch your source (Dont forget Check Appendix A: Install JRE 1.3.1 into RDBMS ORACLE_HOME)
    2. Section 2: Run preclone on source
    3. Copy file from source to target
    4. run postclone
    5.restart machine
    if not how is the registery values and services created?Rapidclone handle it
    Regard
    Helios

  • How to open Designer in Linux environment.

    I have installed Business Objects XI 3.1 on Linux 5.
    Now I want to create Universe and Desktop Intelligence Reports.
    1.     How do I open Designer. In windows we can open it from Program file. How to do it in Linux environment.
    2.     Do we need to install client component on Windows and then connect it to Linux Bo server.
    --Kuldeep

    Kuldeep,
    You misunderstood.
    The client tools are Windows only. The server portion of the install can be on Windows/*nix.
    The only way to launch Designer, Deski, Import Wizard etc. is from a Windows machine that can login to the CMS on *nix.
    You cannot launch client tools from *nix.
    Best,
    Srinivas

  • Unable to Shutdown Hyperion EPM 11.1.3.0 Essbase Server in Linux Environ

    Hi Experts,
    For Essbase start up purpose we have ./startEssbase.sh command is available in Linux Environment.
    What about to shutdown the Essbase server command in linux env or any other procedure.
    I am here trying ESSCMD command through cmd prompt.
    SHUTDOWNSERVER SERVERNAME USER PASSWORD;
    Please let me know the required steps.
    Thanks in advance,

    You can write customized Maxl script stopEsb.msh as
    login $1 identified by $2 on $3 ;
    alter system shutdown ;
    exit ;
    And call the script in a shell script as
    essmsh stopEssbase.msh $Uid $PWD $ServerIP

  • Change the focus between two windows

    I have a program that uses a console window, and an appletviewer window. I want to know the code required to change the focus between each of the windows. By focus I mean which window is on top of the screen.

    These are java.awt.Frame or javax.swing.JFrame objects, right? Use their show() method. Some OS's may not allow you to steal focus. You could try:
    frame1.hide();
    frame2.hide();
    if(wantframe1ontop)
    frame2.show();
    frame1.show();
    else
    frame1.show();
    frame2.show();
    }

  • URLEncoder Problems with a Linux Environment

    Does anyone know of an issue with the URLEncoder method where in a Windows Environment the string is encoded differently then when it is in a Linux Environment.
    I have this method:
    URLEncoder.encode(s, "ISO-8859-1");On windows it seems to handle it correctly, and it is encoded differently when run on a linux machine.
    Any help will be apperciated thank you.

    This is being encoded: B�la Fleck
    On the linux environment the name is coming as:
    B& #65533;la FleckOn the windows environment the name is shown as this:
    B& eacute;la FleckI put a space after the & so that it wouldnt be decoded.

Maybe you are looking for

  • Small, cheap NAS box that supports nfs/rsync/ssh ?

    Hi all, for my personal backup needs, I'm looking for a standalone NAS box ("networked hard disk/raid solution").  I need to have support for at least one of rsync/nfs/ssh.  (smb/ftp is not enough for me) It shouldn't be too big (eg not the size of a

  • Code generation for business partner

    Hi, all In our scenario we need to assign a unique code to business partner record as soon as it is approved by data manager (in MDM workdlow). This assignment should be automatic. Next incremental number would suffice, but AutoID field can't be used

  • [Application Update Error] - The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text.

    Hello, I developed a custom SharePoint 2013 Application (SharePoint hosted) and everything works fine. If I tried to update the application and I ran into the following error: The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot c

  • Streaming stereo via blue tooth

    I have read posts regarding streaming stereo bluetooth and how it is not on the iphone. I also read some ways using v/m that people have faked the phone... Do you think that streaming ipod music in STEREO via bluetooh is a software update? I know we

  • Whether to import the class file put in JAVA_TOP

    I have put the java class file in JAVA_TOP. Now i want to access the method in that class from jsp, is it necessary to import the class file path in jsp. Without importing the class file path how can i access the method. JSP Coding <%@ page contentTy