User input in JDeveloper IDE not working?

We just started to use JDeveloper. so the problem may be very basic, I could not figure it out what is wrong:
I have a java class which is calling a third part application (Lotus Notes, domino server). The task of the class is to open a database on domino server(or local machine). When calling domino, there is a user(calling) authorization. So I must input the password for the domino server for authorization. When I input the password in input panel and hit return, nothing happened. It looks the Domino still wait for the password. It waited and waited and the process can not be stopped itself.
when I copied the same code and ran in other IDE or Sun's JDK. It worked fine.
So it looks that my JDeveloper could not pass user' input to the process?
Any helps are highly appreciated.
George

Hi George,
Let me make sure I understand what you are saying.
You want to run (or debug) your program which reads input from System.in?
If so...
Have you checked the checkbox in the Project Settings Dialog - Runner - Options panel "Allow Program Input"? Then when you ran (or debugged) your program, did you see a text field labeled "Input:" in the Log window for your running process?
Did you enter the password in that text field and press Enter on your keyboard?
If that wasn't the problem, can you give us step by step what you are doing?
Thanks,
Liz

Similar Messages

  • Input Parameter Mapping is not working in Sap HANA

    Hi, We created on ANALYTICAL view(A) with Input Parameters, on top of Analytical view created one Calculation view(B) and mapped Calculation view input parameter with Analytical view input paramter and its working fine. Finally we created one more calculation view on top existing calculation view(B) and mapped with corresponding input parameters. Input parameter mapping is working fine in between A(analytical view) and --------> B (first Calc view) but input parameter mapping is not working properly in between B(first Calc View)-----------C(second Calc View). it is giving all data whatever is coming from Calc View B. Kindly help us to resolve this.

    Hi,
    Write c in small for Command,
    theButton.mappingOfOnAction().addParameter("command","Save");
    Regards,
    Murtuza

  • Project Server 2010 - Project Permissions - Users and Groups filter is not working

    Hi,
    While giving permissions from project center ribbon on a project - Users and Groups filter is not working, we are not able to filter any user.
    I am not sure why this error is occurring  i tried giving permissions by opening the project  but still the same filtering is not happening. Below is the screen shot
    We have installed Service Pack 2 and June 2014 CU recently will this effect ?
    Can any one throw some light on this??
    Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

    Hi Geetha,
    Which IE version are you using? First I'd try to add the URL to the compatibility mode sites, then to the trusted sites (if it is not done already). Then I'd try to set the default browser as IE8 or 9 (pressing F12, developer tool).
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • input type="file" multiple / not working in IE 10.

    < input type="file" multiple /> not working in IE 10.
    I am trying to use the HTML 5 multi-file upload capability in a MVC 4 app.
    The control allows me to select multiple files when running under localhost but does not work when trying it from the web server.
    Is there some web server configuration I need to do? Web server is running IIS 7.

    Please post ASP.NET questions in the ASP.NET forums (http://forums.asp.net ).

  • How to check the value from user input in database or not?

    Hello;
    I want to check the value of user input from JtextFiled in my database or not.
    If it is in database, then i will pop up a window to tell us, otherwise, it will tell us it is not in database.
    My problem is my code do not work properly, sometimes, it tell me correct information, sometime it tell wrong information.
    Could anyone help,please.Thanks
    The following code is for check whether the value in database or not, and pop up a window to tell us.
    while( rs.next()) {
                    System.out.println("i am testing");
                    bInt=new Integer(rs.getInt("id"));
                    if(aInt.equals(bInt)){ // If i find the value in data base, set flag to 1.
                  flag=1;  //I set a flag to check whether the id in database or not
                        break;
             System.out.println("falg" + flag);
                if(flag==1){ //?????????????????????
              String remove1 = "DELETE FROM Rental WHERE CustomerID=" + a;
              String remove2 = "DELETE FROM Revenus WHERE CustomerID=" +a;
              String remove3 = "DELETE FROM Customer WHERE id=" +a;
              s.executeUpdate(remove1);
              s.executeUpdate(remove2);
              s.executeUpdate(remove3);
                    JOptionPane.showMessageDialog(null,"you have success delete the value");
              s.close();
             else//???????????????????????????????
                  JOptionPane.showMessageDialog(null,"I could not found the value"); -------------------------------------------------------------------
    My whole program
    import java.sql.*;
    import java.awt.BorderLayout;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JOptionPane;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    public class DeleteC extends JFrame
        public static int index=0;   
        public static ResultSet rs;
        public static Statement s;
        public static Connection c;
        public static  Object cols[][];
        private static JTable table;
        private static JScrollPane scroller;
        private static int flag=0;
        public DeleteC()
            //information of our connection
            //the url of the database: protocol:subprotocol:subname:computer_name:port:database_name
            String strUrl      = "jdbc:oracle:thin:@augur.scms.waikato.ac.nz:1521:teaching";
            //user name and password
            String strUser      = "xbl1";
            String strPass      = "19681978";
            //try to load the driver
            try {
                Class.forName("oracle.jdbc.driver.OracleDriver");
            catch (ClassNotFoundException e) {
                System.out.println( "Cannot load the Oracle driver. Include it in your classpath.");
                System.exit( -1);
            //a null reference to a Connection object
            c = null;
            try {
                //open a connection to the database
                c = DriverManager.getConnection( strUrl, strUser, strPass);
            catch (SQLException e) {
                System.out.println("Cannot connect to the database. Here is the error:");
                e.printStackTrace();
                System.exit( -1);
           //create a statement object to execute sql statements
        public void getData(String a){
            try {
             //create a statement object to execute sql statements
             s = c.createStatement();
                int index=0;
                Integer aInt= Integer.valueOf(a);
                Integer bInt;
                  //our example query
                String strQuery = "select id from customer";
                //execute the query
                ResultSet rs = s.executeQuery( strQuery);
                //while there are rows in the result set
                while( rs.next()) {
                    System.out.println("i am testing");
                    bInt=new Integer(rs.getInt("id"));
                    if(aInt.equals(bInt)){
                  //JOptionPane.showMessageDialog(null,"I found the value"); 
                  flag=1;
                        break;
             System.out.println("falg" + flag);
                if(flag==1){
              String remove1 = "DELETE FROM Rental WHERE CustomerID=" + a;
              String remove2 = "DELETE FROM Revenus WHERE CustomerID=" +a;
              String remove3 = "DELETE FROM Customer WHERE id=" +a;
              s.executeUpdate(remove1);
              s.executeUpdate(remove2);
              s.executeUpdate(remove3);
                    JOptionPane.showMessageDialog(null,"you have success delete the value");
              s.close();
             else
                  JOptionPane.showMessageDialog(null,"I could not found the value");
            catch (SQLException e) {
                 JOptionPane.showMessageDialog(null,"You may enter wrong id");
    My main program for user input from JTextField.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.util.*;
    public class EnterID extends JFrame{
        public JTextField tF1;
        public EnterID enID;
        public String tF1Value;
        private JLabel label1, label2, label3;
        private static JButton button;
        private static ButtonHandler handler;
        private static String aString;
        private static Integer aInteger;
        private static Integer checkV=0;
        public static void main(String args[]){
           EnterID eId= new EnterID();
       public EnterID(){
          handler=new ButtonHandler();
          Container c= getContentPane();
          c.setLayout(new GridLayout(3,1));
          button= new JButton("ok");
          button.addActionListener(handler);
          label1 = new JLabel(" CustomerID, Please");
          label2 = new JLabel("Label2");
          label3 = new JLabel();
          label3.setLayout(new GridLayout(1,1));
          label3.add(button);
          label2.setLayout(new GridLayout(1,1));
          aString = "Enter Id Here";
          tF1 = new JTextField(aString);
          label2.add(tF1);
          c.add(label1);
          c.add(label2);         
          c.add(label3);            
          setSize(150,100);
          setVisible(true);     
       private class ButtonHandler implements ActionListener{
         public void actionPerformed(ActionEvent event){
             tF1Value=tF1.getText();
            //   CheckData cData = new CheckData();
             //  aInteger = Integer.valueOf(tF1Value);      
             if(tF1Value.equals(aString)){
              JOptionPane.showMessageDialog(null,"You didn't type value into box");
              setVisible(false); 
            else {
                DeleteC dC= new DeleteC();
                dC.getData(tF1Value);
                setVisible(false); 
    }

    You may have working code now, but the code you posted is horrible and I'm going to tell you a much much much better approach for the JDBC part. (You should probably isolate your database code from your user interface code as well, but I'm skipping over that structural problem...)
    Do this instead:
        public void getData(String a){
            PreparedStatement p;
            String strQuery = "select count(*) the_count from customer where id = ?";
            try {   
             //create a prepared statement object to execute sql statements, it's better, faster, safer
             p = c.prepareStatement(strQuery);
                // bind the parameter value to the "?"
                p.setInt(1, Integer.parseInt(a) );
                //execute the query
                ResultSet rs = p.executeQuery( );
                // if the query doesn't throw an exception, it will have exactly one row
                rs.next();
                System.out.println("i am testing");
                if (rs.getInt("the_count") > 0 ) {
                // it's there, do what you need to...
             else
                  JOptionPane.showMessageDialog(null,"I could not find the value");
            catch (SQLException e) {
                 // JOptionPane.showMessageDialog(null,"You may enter wrong id");
                 // if you get an exception, something is really wrong, and it's NOT user error
            // always, always, ALWAYS close JDBC resources in a finally block
            finally
                p.close();
        }First, this is simpler and easier to read.
    Second, this retrieves just the needed information, whether or not the id is in the database. Your way will get much much slower as more data goes into the database. My way, if there is an index on the id column, more data doesn;t slow it down very much.
    I've also left some important points in comments.
    No guarantees that there isn't a dumb typo in there; I didn't actually compile it, much less test it. It's at least close though...

  • Maxl statement (display user in group all;) is not working.

    Hello,
    Hyperion version 9.3.1 upgraded to 9.3.3. Not sure the below issue is because of this
    I have an interesting issue with a maxl statement : "display user in group all;". When I execute this statement through command prompt doing essmsh, it does give out any records and also doesn't end. I will have to end it with ctrl+c.
    When I execute it through EAS console, then EAS console just hangs.
    But, if I try to retrieve the users from groups individually ( I mean "display user in group 'examplegrp';"), then its working fine and throwing out the records.
    It is giving me a hard time and my dumb mind not able to figure it out.
    Any ideas please?
    Thanks

    Hi CL, Yes I ran it on the Essbase Server. We actually set it up through a scheduled batch script which was perfectly fine till last month (I guess). We noticed this just a week ago. The only change we had in our environment is that we upgraded 9.3.1 to 9.3.3 recently. Not sure whether it is making any difference.
    Thanks,
    KK

  • NSAD user directory for shared services not working

    Hi!
    Im trying to configure a MSAD user directory for shared services in Essbase 11.1.2.1. I have done it correctly in Essbase 9.3.1.
    Back then i had to import certificates to the cacerts java file. Is it still necesary? I dont see it mentioned anywhere in the v.11 docs, however, its not working using same parameters. I get an error saying i have specified "either host or port value incorrect".
    Do i have to import certificates or am i missing anything else, can anybody help?
    Thanks!!
    Jorge

    Certificates have nothing to do with MSAD.
    when you reach to "MSAD user configuration" tab in Shared Services, try to see if you can auto configure user by inputting: sAMAccountNmae="some user ID", replace some user ID with your or admin ID, and verify if you can pull the users from the MSAD.

  • "AD USER TARGER RECON" retry is not working

    Hey,
    I have only 2 connector in my env. Both scheduled to run every 5 min. I am creating the new user in portal UI which also creates user's AD account, which means user gets his AD account created before he get created in OIM. My connectors are scheduled as below.
    1) CREATE USER GTC (runs: 05:20, 05:25. 05:30.... so on)
    2) AD USER TARGER RECON. (runs: 05:22, 05:27: 05: 32.... so on)
    My issue is "AD User Targer Recon" is not retry is not working. Means it picks the user first time and trying to link up with OIM. But linking is not happening (NO MATCH FOUND) because user didnt get created in OIM yet. CREATE USER GTC runs and create the user after AD some times. But "AD User Targer Recon" is not trying to link the user when it run next time!!!
    Steps:
    *1) Time 5:20 ==> CREATE USER GTC ran and no new user.*
    *2) Time 5:21 ==>Portal creates new user XXX & user created in AD.*
    *3) Time 5:22 ==>AD USER TARGER RECON ran and picked up user XXX, but NO MATCH FOUND.*
    *4) Time 5:25 ==> CREATE USER GTC ran found new user XXX in potral and reconed in OIM.*
    *5) Time 5:27 ==>AD USER TARGER RECON ran and didnt picked up any one (since it already processed XXX once and not trying any more)*
    How to fix this issue. I would like AD USER TARGER RECON should retry the user if they didnt link with OIM while last ran. I have tried setting retry count in process definition and also in task scheduler, but no luck. Any idea please.
    Thanks
    kln

    Hey Sunny,
    Yes, I did tested both of these ideas already and works.
    1) Modify the user attribute in AD is always works. AD recon used to pick up the modified user and link with OIM (if user dont have AD account linked) .
    2) I clear the ADCS Timestamp in "AD User Target Recon" task scheduler and it picks up all the user and linked with OIM.
    My case, User created in Portal & AD at 9:01 AM, AD picked up the user @ 9:02AM and OIM Crate GTC recon @ 9:03AM. So I need the same user should picked up by AD while it's next run which is @ 9:07AM. Since the taskes are already scheduled, I cant clear the timestamp or the update the field every minute.
    As you said I may need another schedule task which should push back the ADCS Timestamp 5 min every time. Any idea how to do that? Is there any easy way to push back the ADCS Timestamp? Or any other setting in AD which allows to pick all the users who got created/updated in given intervel of time.
    Thanks
    kln

  • PRIMARY IDE not working after flash

    Hi ,
        i recently had some freezing and restart problems while using turbo and ultra turbo modes ,as my memory timngs were different i used a setting of CL 2,3,3,5,8
    V 2.70 ...it used to run fine till i got some freezes and restarts ...at the moment it now runs normally with the above timings V @ 2.70 ..turbo mode and OC set to private or dusabled in bios ...no freezes...basically have tried most possible options..i now dont OC to anything above private because i use the stock heatsink and no cooling whatsoever...i can use the RAM in TURBO and ULTRA-TURBO modes ...anyway my problem is that LIVE MONITOR-LIVE UPDATE (auto search) was freezing and not detecting my bios version ..it still freezes at "processing" ...so recently i tried a flash through windows...the startup and other utilities show the bios version etc ok as AMI  V2.5 ...the bios flash seemed ok and everything else seems to be working fine ..but now my IDE MASTER doesnt work correctly i have 2 DVD RW drives and two hard drives ....when i connect any two of the drives on the SECONDARY IDE in any combination the system boots ok but when i try to connect all four (two dvd/cd's and two HD ) ..the startup feezes after recognizing the secondary and in fact even one CD drive on the primary ..but then the boot sequence freezes..it doesnt show the second drive..and the D-BRACKET LED's freezes at "initializing floppy drive controller" EVERYTIME and the system will not boot...i have tried a reflash..same story...i cannot get the PRIMARY IDE to work....has it failed ? ....thanks in advance

    tried flashing to older version 2.4 that didnt work ...flashed back to version 2.5 ...still wont work ....boot sequence freezes at the same point..wont go beyong detecting one drive on primary ,no problems on secondary.....also the strange thing is that live monitor cannot detect and stops at   "search mainboard bios version " and wont go beyond that ,but working through live update 3 (newest) the bios version is shown...i have been flashing through windows  should i try through DOS/Floppy ?

  • Nested AD User Groups in Workgroup Manager not working in Mavericks

    The setup is the traditional Golden Triangle, so Active Directory for users and groups, Open Directory for Managed Preferences. Both Apple clients and server are running 10.9.0
    While I can successfully manage the Mac's via OD computer groups, the OD user groups with nested AD groups no longer appear to work. If I nest an AD user it works fine, but not the AD users group.
    This is a new AD and new OD, no migrations. This is a setup I've done countless times over the years, but since Mavericks has been introduced, I can no longer make this work.
    Any help would be greatly appreaciated.
    Thanks,
    Alex Price

    Hello
    I have been having the same problem, when adding an AD Group to an OD group the users in the AD group are not managed, but if i add the user to the OD group it works fine, (with about 5000 active users this is not an option) this has been a problem with 10.9 and has not been fixed with 10.9.1, i assume we need a update to Workgroup manager?
    Maverick server is useless at the moment, cant upgrade the clients to Maverick if i cant manage them, are Apple just tring to make my job more difficult than it needs to be, i was happy that they provided Workgroup Manager for Mavericks because Profile Manager is simple not an option, but it would be good if it worked properly, its not a small problem so you would think apple would make it a priority.

  • Input Help (F4) does not work for Planning Functions in Web

    Hi Gurus,
    I am working in BI-Integrated Planning.
    When I execute a planning function from web layout (through Web Application Designer), the "Input Help" does not work. When I give F4 it takes me to the initial planning layout screen from the planning function variable screen without any action being performed.
    But the "Input Help" works fine when I have to select for the variable from the initial selection to open the planning layout.
    Can anyone suggest me any fix for this...
    Thanks!!!

    Hi All,
    Can somebody help me here what went wrong with indesign cc extension so that copy/paste does not work in input type element text
    Regards,
    Alam

  • Open Dataset for input in BINARY MODE not working after ECC 6.0 upgrade

    Hi All,
    Our requirement is to download an XML file from the application server and there is a customized program to download these files.
    This program uses the statement,  Open dataset ...for input in BINARY MODE
    and it works perfect for 4.7. There were no issues. But, after the upgrade to ECC 6.0 this does not work.
    When the data is read in ECC 6.0 , it is shown in some special characters and it could not be opened with XML editor and the file is not completely downloaded. I read through the forum and tried the following statement as well,
    Open dataset....for input in LEGACY BINARY MODE.
    After this statement, there were no special characters, but there is a blank space introduced before every character.
    Example : TEST(actual)
                      T E S T (After the legacy binary mode)
    Could you please let me know if there is any solution to rectify this problem. Appreciate your help.
    Thanks a million.
    Edited by: Manikd on May 12, 2011 3:52 PM

    But this program was already using BINARY MODE and after upgrade this is not working. I know, it may work in TEXT MODE. However, I cannot change the whole program to TEXT mode now.

  • New user: need help logging in not working

    I tried to setup using google talk. My email is working but ichat keeps coming back that my user name and password are not correct. I've tried changing them. Made new connections. Failed at all tries. I know someone posted earlier but to be honest I didn't understand the fix. Sorry! Strange but I am on my moms macbook but my macbook pro setup with not problem. The setting seem to all be the same. Thank you in advance.

    And specifically from those pics what does your server say you are trying to login to ?
    It is common that a Jabber Account will think the server will be the @gmail.com (Or @googlemail.com) from when you type in your Jabber ID, when it should be talk.google.com as in the pics.
    2:26 PM Saturday; April 5, 2008

  • OAF Jdeveloper do not work

    Hi, All
    I download patch 9878889 for R12.1.3. After opening by execute jDevW, it do not work properly, e, g, click menu, it response extremely slow, some menus, like Tools, the screen is frozen. My OS is Window 7 Professional. It works correct in my desktop with Window 7. Does anybody encounter the similar issue and any solutions?
    Any solutions will be appreciated in advance.
    Thanks.
    Rudoph.

    Hi Rudoph ,
    Which one you 're using 32 bit / 64 bit ?? also check this link might help you
    http://www.deltalounge.net/wpress/2010/02/jdeveloper-on-64-bit-windows7/
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                               

  • Eclipse IDE not Working

    am having difficulty getting my Eclipse IDE to work after updating to Mountain Lion (OSX 10.8.2) yesterday. For whatever reason, my errors and line numbers are not updating properly. The line numbers don't pose much of an issue, but coding without errors is immensely irritating. Restarting my computer didn't yield any results. I've searched around the world wide web, and I've found a few articles with potential solutions (mostly from this site). Unfortunately, I haven't been able to get any of these solutions to work.
    When I check for new updates in eclipse, no updates are found. Restarting my computer has no effect.
    Also, I am not running a second monitor; just my standard Mac Book Pro 13' running Eclipse Version: 3.7.2

    Eclipse is now at version 4.2.  You probably should get the latest version (Juno)

Maybe you are looking for