User Name/Password class for MySQL -- it almost works ... almost

I'm working on creating a user name/password class called Login that will get the information that is required to log into a MySQL database (This program is not an applet, by the way).
In brief this class does following:
* It creates a JFrame with JTextFields and a JPasswordField and a login button. All compents have ActionListener.
* I am able to read the info from the fields (I tested this using System.out.println)
* Another program calls this Login class (see code at end of post)
I want the program to close the frame (I figured that out) and return the values to the calling program. I can't figure out how to have it return a cat string ( of "host|port|username|password" ). If this was one large piece of java source code, it'd be a piece of cake, but the code is broken into several java source components and I'm trying to figure out how to get the ActionListener to return the string.
One web page mentioned using an ejector but haven't been able to find any information about that. Another thought was maybe putting some kind of code in the windowClosing event for the Login class.
Ex:
  public void windowClosing(WindowEvent e)
     setVisible(false);
     dispose();
     // return value to calling function somehow
  }Any help would be greatly appreciated. I'm teaching myself this so I'm sure there are better ways to do the JFrame formatting, but here's the code anyway. I'll post the additional changes (in context) when I get a working version of this.
//Login.java
import java.awt.*;
import java.awt.event.*;
import java.lang.Object;
import java.sql.Connection;
import java.sql.DriverManager;
import javax.swing.*;
import javax.swing.border.TitledBorder;
public class Login extends JFrame implements ActionListener
   JTextField serverHost;
   IntTextField port;
   JTextField userName;
   JPasswordField password;
   JButton login;
   Canvas canvas;
   String ServerHost_String;
   String Port_String;
   String UserName_String;
   String Password_String;
   String Login_String;
   Font ssb10 = new Font("Sans Serif", Font.BOLD,10);
   Font hb30 = new Font("Helvetica", Font.BOLD,30);
   Integer rc;
   //public void init()
   public Login()
      // Set up buttons
      login = new JButton("Login");
      serverHost = new JTextField("localhost",10);
      port = new IntTextField(3306, 4);
      userName = new JTextField("root",10);
      password = new JPasswordField(10);
      // Draw Screen
      Canvas horizontal_spacer1 = new Horizontal_Spacer(420,15);
      Canvas horizontal_spacer2 = new Horizontal_Spacer(420,15);
      Canvas horizontal_spacer3 = new Horizontal_Spacer(420,15);
      Canvas horizontal_spacerA = new Horizontal_Spacer(100,45);
      Canvas horizontal_spacerB = new Horizontal_Spacer(100,45);
      Canvas vertical_spacer1 = new Vertical_Spacer();
      Canvas vertical_spacer2 = new Vertical_Spacer();
      Canvas vertical_spacerA = new Vertical_Spacer();
      Canvas vertical_spacerB = new Vertical_Spacer();
       * Top
      canvas = new Top_Logo();
      JPanel top = new JPanel();
      top.add(canvas);
      //top.add(horizontal_spacer1);
      add(BorderLayout.NORTH,top);
       * Middle
      Box p1 = Box.createHorizontalBox();
      Box p2 = Box.createHorizontalBox();
      Box p3 = Box.createHorizontalBox();
      JPanel bp = new JPanel();
      JLabel rbp = new JLabel();
      p1.setFont(ssb10);
      p2.setFont(ssb10);
      p3.setFont(ssb10);
      p1.setAlignmentX(Component.LEFT_ALIGNMENT);
      bp.setAlignmentX(Component.LEFT_ALIGNMENT);
      p3.setAlignmentX(Component.LEFT_ALIGNMENT);
      rbp.setLayout(new BoxLayout(rbp,BoxLayout.X_AXIS));
      rbp.setBorder(new TitledBorder("Connection to MySQL Server Instance"));
      JLabel lString = new JLabel("Server Host: ");
      lString.setFont(ssb10);
      // Setup server Host and Port JPanel
      p1.add(lString);
      p1.add(serverHost);
      lString = new JLabel("  Port: ");
      lString.setFont(ssb10);
      p1.add(lString);
      p1.add(port);
      // Setup username JPanel
      lString = new JLabel("Username:    ");
      lString.setFont(ssb10);
      p2.add(lString);
      p2.add(userName);
      // Setup password JPanel
      lString = new JLabel("Password:    ");
      lString.setFont(ssb10);
      p3.add(lString);
      p3.add(password);
      // Draw the big Jpanel
      //bp.add(horizontal_spacerA);
      bp.add(p1);
      bp.add(p2);
      bp.add(p3);
      //bp.add(horizontal_spacerB);
      rbp.add(vertical_spacerA);
      rbp.add(bp);
      rbp.add(vertical_spacerB);
      add(BorderLayout.WEST,vertical_spacer1);
      add(BorderLayout.CENTER,rbp);
      add(BorderLayout.EAST,vertical_spacer2);
      // Bottom
      JPanel bot = new JPanel();
      bot.setLayout(new BoxLayout(bot,BoxLayout.Y_AXIS));
      bot.add(horizontal_spacer2);
      bot.add(login);
      bot.add(horizontal_spacer3);
      add(BorderLayout.SOUTH,bot);
      // Draw JFrame
      setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      setSize(420,280);
      setResizable(false);
      setVisible(true);
      // Listen for buttons being clicked
      login.addActionListener(this);
      serverHost.addActionListener(this);
      userName.addActionListener(this);
      port.addActionListener(this);
      password.addActionListener(this);
   class Horizontal_Spacer extends Canvas
      Horizontal_Spacer(int X, int Y)
         setSize(X,Y);
         setVisible(true);
   class Vertical_Spacer extends Canvas
      Vertical_Spacer()
         setSize(25,10);
         setVisible(true);
   class Top_Logo extends Canvas
      Top_Logo()
         setBackground(Color.white);
         setSize(420,65);
         setVisible(true);
      public void paint(Graphics g)
           g.setFont(hb30);
           g.drawString("MySQL Login",20,45);
   public void actionPerformed(ActionEvent event)
      Object source = event.getSource();
      ServerHost_String=serverHost.getText();
      Port_String=port.getText();
      UserName_String=userName.getText();
      Password_String=new String(password.getPassword());
      if ((ServerHost_String.compareTo("")!=0) &&
          (Port_String.compareTo("")!=0) &&
          (UserName_String.compareTo("")!=0) &&
          (Password_String.compareTo("")!=0))
           Login_String=ServerHost_String + "|" +
                        Port_String + "|" +
                        UserName_String + "|" +
                        Password_String;
           setVisible(false);
           dispose();
      public void windowClosing(WindowEvent e)
        setVisible(false);
        dispose();
//Login_Test.java
import javax.swing.*;
public class Login_Test extends JFrame
   //public void run()
   public static void main(String [] args)
      Login f = new Login();
}Doc

Let me get this clear.
You want a login dialog.
Some program calls the dialog and waits untile user respond
once the user press ok or cancel it reutrn the users input to the caller.
You can do this directly using JFrame
but you can do it wil JDialog if you use it as aModal dialog.
it will look like this
class LogInDialog  extends JDialog implements ActionListener{
   String value;
   public LogInDialog(){
      setModel(true);
    // This is what you invoke
    public String loadDialog(){
        setVisible(true);
        return value;
    public void actionListener(..... e){
        if (e.getSource() == bCancel)
           value = null;
        else if (e.getSource() == bOk)
           value = //generate the string
        dispose();
}

Similar Messages

  • User Name/Password for SQL*Plus

    I installed the Oracle 8i Personal Version in my PC.
    I have been trying to log on to the Oracle SQL*Plus screen, which asks me for the User Name, Password and the Host String.
    Does anybody out there know what I should use here to log on to this screen?
    Thanks in advance.
    Jay
    [email protected]

    Hi,
    Please check old mails and then forward questions.
    User scott/tiger
    DBA system/manager
    SYS sys /change_on_install
    with regards,
    Boby Jose Thekkanath,
    Dharma Computers(P) Ltd.
    Bangalore-India.
    www.dharma.com

  • POP3 -Keep asking for user name & Password

     
    Hi,
    We have exchange 2003 server with Service pack 2. We have user who check their mails through   Outlook 2003, Outlook web access & some users are using POP3 to download the messages.
    Since last few weeks, we are getting the complained that when engineers are trying to configured users account in Outlook with POP3 configuration, its keep asking for user name & password. But with same user name & passwords user is able to check their mail through Outlook web access.
    In some of our site, users are able to download messages through pop3 account but this account was configured long back.
    Kindly advise.

    HI,
    This is happening mainly when
    1. user changed his password through Outlook web access next time its keep poping up for password & it will not accept the new passord.
    2. if user is using  OWA & when we try to configured his mail in Outlool with POP3 .
    See if i remove exchange attributes from user's account & then delete the users from AD & Recreated with same  user name, Password & reconnected  to that user to his old mailbox, it;s work fine.
    Regards,
    Chetan
    POP3 is enabled by default for all the users.

  • How can I find my user name password as I only remember the administrator password for the MacBook?

    How can I find my user name password as I only remember my administrator password?I don't want to lose things or content.

    If you have only one account, then your admin password is your user password. If you use another account that is not an admin account, then log into your admin account from which you can change the password on your user account.
    Forgot Your Account Password
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password,
         OS X- Changing or resetting an account password (Snow Leopard and earlier).
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself
        Reset OS X Password Without an OS X CD — Tech News and Analysis
        How To Create A New Administrator Account - Hack Mac

  • I forgot my user name & password for Firefox Sync 1.3.1

    I set up Firefox Sync 1.3.1 on my main PC, but when I tried to sync a laptop (some days later), I couldn't remember/find the user name & password fort Sync. How can I recover them?
    == This happened ==
    Just once or twice
    == as above

    You can see the Sync password and secret Sync key in the password manager on the computer where you first created that sync account.
    Look for these names:
    *chrome://weave (Mozilla Services Password)
    *chrome://weave (Mozilla Services Encryption Passphrase)

  • Restrict the User name / Password Auto complete option for users accessing

    Hi All,
    Can any one know the Restrict the User name / Password Auto complete option for users accessing Portal from within and outside of Portal.
    Regard's
    Rama

    Are your referring to the browser functionality of remembering the usernames and passwords?
    Thanks,
    GLM

  • User name & password for oracle designer 2000

    Hi,
    I have downloaded the oracle designer 2000 from oracle . I need user name & password to enter the screen. If anyone knows pl. help me

    The username and password you are looking for is that of the Database you are connecting to. I.e. where you have installed the designer repository.
    If you have not installed the repository, follow the instruction to create the oracle user (repository owner), install the designer repository and use it to login.
    The best thing will be to download the documentation the way you downloaded the software. It is important

  • Default User name & Password for NETWEAVER

    Hi Everybody,
                  I am a Basis Admin in my company working with ABAP Stack installed in my Server.
           Now I have installed Java Stack for Netweaver in a Separate System to Understand the Functionality of Netweaver & its Concept.
         Now the Problem is i am not able to Login Netweaver. I dont know the Default User name & Password for Netweaver after installing it.
        Also, what are the Main features of Netweaver Compare to ABAP Environment
      Could somebody help me to Understand Netweaver and its Default User name & Password to login?
    Thanks,
    Siva

    Hi
    The default asmin user for your Java add in would be J2EE_ADMIN and guest user would be J2EE_GUEST.
    The default password would be the password you provided at the time of installation.
    Regarding information on Netweaver Java, follow link:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/a3bb3eff62847ae10000000a114084/content.htm
    Regards
    Rahul

  • -4008 Unknown user name/password combination

    Hi All,
    We are installing SAP NW 7.4 with MaxDB 7.8 on Windows server 2008 R2, When in the phase Create database schema for ABAP  its giving error like below.
    "[-4008] Unknown user name/password combination"
    Below is the output from SdbCmdOut.log
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.models.software.Software | Software object initialized Sucessfully
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.models.database.DatabaseParameter | Create new database parameter object with name: MCOD value:  and comment:
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | JDBC driver path: D:\sapdb\programs\runtime\jar\sapdbc.jar
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.powertoys.DBM loaded
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.jdbc.DriverSapDB loaded
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Use Java process call.
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Execute command:  D:\sapdb\programs\bin\x_server.exe start
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Establish dbmcli session
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Connect to database: SID on host: HOSTNAME
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Logon with user: control
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Run command: param_directget MCOD
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | MCOD NO
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Close dbmcli Session.
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.runtime.SdbLibInstance | End of command section: PARAM_GET
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.runtime.SdbLibInstance | *************************************************************
    Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.runtime.SdbLibInstance | Start new command section: GET_SQL_USERS
    Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.Dbmcli | Use Java process call.
    Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.Dbmcli | Execute command:  D:\sapdb\programs\pgm\dbmcli.exe -s dbm_version build
    Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.sdbregview.SdbRegviewIsolated | Use Java process call.
    Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.sdbregview.SdbRegviewIsolated | Execute command:  D:\sapdb\programs\bin\sdbregview.exe -l -delimiter -DELIM-
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.models.software.Software | Software object initialized Sucessfully
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | JDBC driver path: D:\sapdb\programs\runtime\jar\sapdbc.jar
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.powertoys.DBM loaded
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.jdbc.DriverSapDB loaded
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Use Java process call.
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Execute command:  D:\sapdb\programs\bin\x_server.exe start
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.SqlJdbcSession | Start new connection with URL: jdbc:sapdb://HOSTNAME/SID connect user: superdba
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.DbCommand | com.sap.dbtech.jdbc.exceptions.DatabaseException: [-4008]: Unknown user name/password combination
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.connection.JdbcDriver.createSqlSession(JdbcDriver.java:69)
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.DbCommand.getAllSqlUsers(DbCommand.java:2054)
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.cmd.ident.classes.GET_SQL_USERS.run(GET_SQL_USERS.java:26)
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.DbCommand.runCommand(DbCommand.java:3469)
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.core.main.cmd.SdbCmdMain.<init>(SdbCmdMain.java:67)
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.core.main.cmd.SdbCmdMain.main(SdbCmdMain.java:212)
    Kindly Suggest me to resolve.
    Regards,
    JD.S

    Hi Deepak,
    I have executed the below commands,
    xuser -U c -u CONTROL,<password> -d SID -n HOSTNAME -S INTERNAL set
    xuser -U w -u CONTROL,<password> -d SID -n HOSTNAME -S INTERNAL set
    After execution of the commands i have retry the same installation still i am getting same error.
    Kindly suggest,
    Regards,
    Sree

  • User name password

    i have a flash website and need to include a user name -
    password field with a submit button so clients can log on to a
    client page, so my cleint can log on and i can get paid. I've never
    done this in flash before, have tinkered with real basic stuff in
    asp and such, i've heard the most sucure way is using php. What i
    need to learn is how to make a simple log on in flash that when the
    user inputs the right information it will send them to the next
    page. So whats the best way to do this? is there a tutorial a
    beginner can understand somewhere, need this so i can set up a page
    so my cleints can log on and go to a page containing paypal links
    and possiably to include intitial links to cleints sample work and
    such, any ideas, need something quick.
    Currently you can see my problem at: www.designbytreitner.com
    At the top right it says payment, you click on that it brings
    you to a page, very tacky, very basic, and very unproffessional
    looking, not to mention unsucure. So how can i clean this up, with
    a simple user name password to access the client payment page to
    keep unwanted users out?

    Yes, i've heard there is a lot to know. I was leaning towards
    doing something with asp, php, text files or something simular
    because i have some knowledge of them. I have never done anything
    with mysql although my server does allow for it, and i beleive
    includes basic files, but i've never used or explored it. I won't
    be storing anything too sensative on the more secure log on section
    of my site . Just links to a paypal page were cleints can make
    payments to me, and some links to cliint work under development for
    them to reveiw. Although i'd like it as secure as possiable, my
    main purpose at this point is to keep out the average visitor,
    hackers can always find a way in, if they really want to. So my
    main goal at this point is to set up something that works, isn't to
    hard to do, and keeps the average visitor out unless they have the
    password. i'd like the basic stuff like buttons, text, and stuff in
    my flash movie, and the coding and password info and such in
    something like a text file, php, or something that can be put into
    a subfolder and used, so it's not out there with the main files and
    easily veiwable. so any ideas for a good tutorial, or method i
    could use, that isn't that hard to learn? I don't want to spend a
    month learning sql just to make a log buttons, i just want to use
    something i have a basic understanding of to make a clean usable
    set up in flash.

  • Question on how to Hide the User Name, Password, and Domain fields in the MDT Wizard

    MDT 2012 U1
    Deploying Windows 7 via Offline Media (ISO) to MS Virtual PC's
    I am looking on how to Hide the User Name, Password, and Domain fields which are prepopulated in the MDT wizard via the CS.ini (Not so concerned about the Domain field as I am User Name and Password)
    We do need the Computer Name and OU fields to be seen, so skipping the wizard is not a option
    The client just does not want these fields to be seen by the end users, they dont want them to even know the account name used for adding the machine to the domain, of course the password is not displayed but it must not be displayed either.
    But since we use the fields they must still  be fuctional just not seen.
    Thanks.....
    If this post is helpful please click "Mark for answer", thanks! Kind regards

    You shouldn't have to edit DeployWiz_Definition_ENU.xml. You should only need to add "SkipAdminPassword=YES" to the CS.ini file and your authentication information.
    Example:
    [Settings]
    Priority=Default
    Properties=MyCustomProperty
    [Default]
    OSInstall=Y
    SkipCapture=NO
    SkipAdminPassword=YES
    UserID=<MyUserID>
    UserPassword=<MyPassword>
    UserDomain=<MyDomain.com>
    SkipProductKey=NO
    SkipComputerBackup=YES
    SkipBitLocker=NO
    -Nick O.
    Nick,
    SkipAdminPassword=YES is for:
    You can skip the Administrator Password wizard page by using this property in the
    customsettings.ini.
    I am hidding the Username/Password/and domain field in the computer name Wizard pane which is read from the cs.iniDomainAdmin=xxxxx
    DomainAdminPassword=xxxxx
    DomainAdminDomain=xxxxxx
    JoinDomain=xxxxxx
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • HT1515 Will Airport Express work in hotels in China? They require user name/password to connect. Has anyone used one there?

    I will be traveling in China with my iPad2 and want to use hotel wireless. It requires a sign-in with user name/password.  Can I use an Airport Express for this purpose? How do I set it up for that? I have an old Express (pre-2007); can I use it or do I need to upgrade to the new model?

    OK - I have never been to China but the posts here say that it can be done - the cable from the hotel should be connected to the WAN port of the Express - the Express should be in bridge mode and set to create a wireless network with a name and password of your choice - you can do this with a computer before you leave for China or with the iPad if you have previously downloaded the Airport Utility app - you would then connect to your network and attempt to bring up a web page such as Google - the hotel should then intervene and ask you for the login info that they have provided.
    Charlie

  • File Adapter - anonymous login (or )User name ,password login - Efficient?

    Hi Folks,
    In File Adapter processing , anonymous login (or) proper user name password based login is recommended ?
    Because we have faced many issue while using username based login in File adapter  .
    Which one is best ?
    Regards.,
    Shiva

    Hi Shiva ,
    We will go one by one :
    You can go for the Anonymous login  but the problem is the any body can access the FTP server and it is not the secure one,that is why business generally don't allow the Anonymous login.
    Coming to Proper user name password login ,I would advice you to use this one as the connection is more secure in this case.But this also comes with a problem that the username password generally expires after some time as per security policy and you have to change the username password for the FTP server as well as in File adapter which you are using.But this problem can be solved by going for a permanent username and password.
    I would recommend you to go for Proper user name and password.
    Regards
    Ravi Anand
    Edited by: Ravi Anand@85 on Mar 12, 2010 7:56 AM

  • Error: sql.SQLError: [-4008] (at 1) Unknown user name/password combination

    Hello Experts,
    After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
    Logical Command: DBMRFC
    Parameter: exec_lcinit register
    Name and Server     : LCQ - dusepierp12
    DBMRFC Function     : DBM_EXECUTE
    Command             : exec_lcinit register
    Error               : DBM Error
    Return Code         :     -24964
    Error Message       : ERR_EXECUTE: error in program execution#
    0,sap\lcinit LCQ  register -uDBM , -uDBA , -uSQL ,
    liveCache LCQ (register)
    The liveCache state is ONLINE
    DBMServer 7.6.04   Build 009-123-182-193
    Creating liveCache application procedures
    ERROR : liveCache LCQ not registered (see "s:\sapdb\data\wrk\LCQ\lcinit.log").
    START *****************************
    liveCache LCQ (register)
    Thu 07/30/2009
    10:26 PM
    installation path = S:\sapdb\LCQ\db
    OK
    DBMServer 7.6.04   Build 009-123-182-193
    Creating liveCache application procedures
    ERR
    -24964,ERR_EXECUTE: error in program execution
    1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
    Traceback----
    Error----
    sql.SQLError: [-4008] (at 1) Unknown user name/password combination
    Traceback (most recent call last):
      File "S:\sapdb\LCQ\db\env\lapps.py", line 38, in ?
        connectAndInstall (install, install.__doc__)
      File "S:\sapdb\LCQ\db\env\installib.py", line 398, in connectAndInstall
        session = connect (options)
      File "S:\sapdb\LCQ\db\env\installib.py", line 350, in connect
        alterUserNotExclusive(options)
      File "S:\sapdb\LCQ\db\env\installib.py", line 338, in alterUserNotExclusive
        session.release()
    AttributeError: 'NoneType' object has no attribute 'release'
    ERROR : liveCache LCQ not registered
    Thu 07/30/2009
    10:26 PM
    END ******************************
    Many Thanks,
    TIA,
    Nisch

    Nischal Mahakal wrote:>
    > Hello Experts,
    >
    > After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
    > -24964,ERR_EXECUTE: error in program execution
    > 1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
    > -
    Traceback----
    Hi there,
    looks like you entered "DBADMIN" when you created the liveCache instance in DBMGUI as the DBM Operator.
    For SAP installations, this user is always named "CONTROL".
    So, drop the instance again, recreate it with "CONTROL" and re-do the recovery of the liveCache backup.
    regards,
    Lars

  • I don't know icloud user name&password to login iphone after update ios7

    I don't know icloud user name&password to login iphone after update ios7.
    I try to recovery apple i.d., but nothing.
    I called Thailand service support 001800 4412904.
    He advise me to goto http://expresslane.apple.com/, and send issue form to apple service.
    I wait more than a week, but no reply.
    I have purchased invoice and iphone package to confirm this phone is not stolen.
    How could I do?
    Thank you for your time to reply.

    Unfortunately, the contacting Apple's express lane is all you can do, if you had no luck to reset your password on http://iforgot.apple.com/

Maybe you are looking for

  • Outlook 14.4.8 not synchronizing with Exchange 2007 anymore (shows "downloading" but no new messages shown in inbox"

    Outlook 14.4.8 on iMAC Retina and Yosemite 10.10.2 is not synchronizing with Exchange 2007 anymore (shows "downloading" but no new messages shown in inbox". Accessing Mails with Webbrowser and from Windows Outlook is working correctly. All Macs (also

  • Internal apple modem wont open

    I recently tried an application ¨Service Scrubber¨and may have scrubbed somehow my internal modem. Internet Connect now tries without sounds or dial tone then produces a window that it¨cannot open the device¨. I have looked in every book, nook and cr

  • Problem with OHD Inserted Records

    Hi All, I have one OHD which is fetching the data from Master Data (Text) Info Object by using DTP. If I run the full DTP, 1,20000 records have been inserted into OHD table. But If I go to monitor section of that DTP and If I go to Header, there I am

  • Strange white boxes behind text.  Help!

    I am in the middle of working on a very important document.  In one section, an autobiographical section, I added sidbars.  The background of text box is grey.  Everything looked great, including when I printed last.  Today when I was working on the

  • Run 3 and 4 on the same computer??

    Can I have Captivate 3 AND Captivate 4 on the same computer??  I May be getting a couple of jobs where I am doing projects in 3 and projects in 4.  Is this possible??