Why are my JSPs blowing "chunks"? (Socket error 10053)

I've seen several posts about the socket write errors while serving up JSPs
          under WL 5.1. Has anyone found out what's causing this yet? I didn't see any
          public replies on this newsgroup, but then again it's getting late! A little
          info, we're running WL 5.1, service pack 6, on Win2k. Thanks.
          Brian Hopkins
          Leapnet
          

A followup,
          I deleted my compiled JSP pages and this SEEMED to correct the problem. I
          was starting my weblogic instance with different service packs of weblogic
          (GA and sp6) and didn't clean this area up. Could this be the underlying
          cause?
          Brian Hopkins
          Leapnet
          "Cameron Purdy" <[email protected]> wrote in message
          news:3a1b15a8$[email protected]..
          > I've never seen an official reply on this from BEA. These error messages
          > have plagued various users since as long as I can remember, without
          > explanation.
          >
          > --
          > Cameron Purdy
          > Tangosol, Inc.
          > http://www.tangosol.com
          > +1.617.623.5782
          > WebLogic Consulting Available
          >
          >
          > "Brian Hopkins" <[email protected]> wrote in message
          > news:[email protected]..
          > > I've seen several posts about the socket write errors while serving up
          > JSPs
          > > under WL 5.1. Has anyone found out what's causing this yet? I didn't see
          > any
          > > public replies on this newsgroup, but then again it's getting late! A
          > little
          > > info, we're running WL 5.1, service pack 6, on Win2k. Thanks.
          > >
          > > Brian Hopkins
          > > Leapnet
          > >
          > >
          > >
          >
          >
          

Similar Messages

  • Socket Error 10053

    Hello all. First time here and am having a problem with
    publishing a previously published software simulation training.
    Thursday night everything worked fine. I changed a few slides
    on 3 of my posted trainings. On Friday morning I changed a few
    slides on a 4th, and during an FTP transfer of this SWF file to the
    server got the following error:
    socker error 10053 Software Caused Connection Abort
    I tried to find what I did differently, but was unable to
    find one. So I then tried to publish a 5th software simulation
    training and got a new error: timeout (120 seconds): closing
    control connection (on multiple occasions over 2 days)
    There is now a temp file nested among my Captivate 3
    trainings: Ado21B4temp. I look at it with Notepad and the only
    legible words are "root entry" with a couple of lines of
    characters. I would imagine this is significant.
    I have virus software. Is there a chance my Captivate 3 is
    corrupted in some way? It is just strange that it worked with no
    problems for several weeks of publishing and upgrading the
    trainings I have posted on the server, and all of a sudden things
    changed with multiple errors. If anyone can help point me in the
    right direction I would be very grateful. Jeff

    A followup,
              I deleted my compiled JSP pages and this SEEMED to correct the problem. I
              was starting my weblogic instance with different service packs of weblogic
              (GA and sp6) and didn't clean this area up. Could this be the underlying
              cause?
              Brian Hopkins
              Leapnet
              "Cameron Purdy" <[email protected]> wrote in message
              news:3a1b15a8$[email protected]..
              > I've never seen an official reply on this from BEA. These error messages
              > have plagued various users since as long as I can remember, without
              > explanation.
              >
              > --
              > Cameron Purdy
              > Tangosol, Inc.
              > http://www.tangosol.com
              > +1.617.623.5782
              > WebLogic Consulting Available
              >
              >
              > "Brian Hopkins" <[email protected]> wrote in message
              > news:[email protected]..
              > > I've seen several posts about the socket write errors while serving up
              > JSPs
              > > under WL 5.1. Has anyone found out what's causing this yet? I didn't see
              > any
              > > public replies on this newsgroup, but then again it's getting late! A
              > little
              > > info, we're running WL 5.1, service pack 6, on Win2k. Thanks.
              > >
              > > Brian Hopkins
              > > Leapnet
              > >
              > >
              > >
              >
              >
              

  • HT1222 Why are there error while updating my ipad

    Why are there error while updating my ipad from 5.1 to 7.1.1

    Because something is wrong...
    You can check here for troubleshooting information on specific error messages: http://support.apple.com/kb/ts3694

  • Why are my movies not downloading? there is always coming error 9006 or it pretends that its loading but nothing is going...

    Why are my movies not downloading? there is always coming error 9006 or it pretends that its loading but nothing is going...

    wjdavis wrote:
    I can't remember exactly what I did. I do know that when I started it up, I couldn't find the Setup Assistant on the hard drive,
    No, once a user has been created, you can't run Setup Assistant  (without erasing and reinstalling).
    What do you recommend for fixing this?
    Here's what's happened: 
    When you first start up a Mac and create the first user account, OSX assigns it UID (User ID) #501.  The next one gets #502, etc.  Those UIDs (not the user name) are what control permission to files.
    You can see those numbers via System Prefs > Users & Groups;  click the padlock and enter your Admin password, then select an account and right-click it, and select Advanced Options.  Do not change anything on that window.
    So . . . assume your old iMac had a user 501 with the data you want; it's identified that way on the backups.
    When the Apple Store started up your new Mac, and created their account, it became #501.
    When you used Migration Assistant to transfer the 501 account from the iMac's backups, OSX copied everything there "as is" except it had to change the 501 to 502. 
    The new 502 account has all the right permissions to things now in it's home folder, but the backups belong to user 501.
    Have you added much to the Mac since you did the migration?  Have you done any new backups?  If not, while it's a bit of a hassle, one fix would be to create yet another user account temporarily.  Make it an Admin account.  Log on to it and delete all the other accounts.  Then migrate the accounts from your backups; this time there won't be a conflict, so OSX won't have to change the UUID(s).
    But if you have done new backups, this won't work, since Migration Assistant automatically uses the most recent backup.  There's a way around that, but it's a bit (or more) tedious.
    Clear as mud? 

  • Socket error on receive message on MDM 7.1 Console

    Greetings -
    This may be a simple question, but I couldn't find a solution, so here goes:
    I have a new install for MDM:
    OS: B.11.31 U ia64 (HP Unix)
    MDM: 7.1.0.5
    DB: Oracle 10.2.0.4
    MDM Console Client : 7.1.0.5.92
    I have MDM server and database on same server.  When I go to connect to the server
    and create a repository for the first time, I get the message "Socket error on receive".
    This happens when I go to set my DBMS Settngs as well ...
    I didn't see that on my Suse Linux 10 install. 
    I am looking at the logs, but I don't see what / why the initial call does not go through to the
    database to set up connection.  I have also put in fake SYSTEM / Password in the settings
    and I get the same message.  It seems that it doesn't get to the point where it authenticates
    to the database(??).
    I do have a core file.  If I do a 'strings' on the core file, it appears that there is a connection
    trying to happen.  In the nohup.out file, I see this:
    [[excerpt]]
    [[INFO]] <MDM/Servers/MDS/MDSCommon/XCSGlobalFunctions.cpp:410> "User authentication method: Repository"
    ConnectionAcceptor::ConnectionAcceptor(): bind() failed with errno=0x000000E2 'Address already in use'
    Trying again for 120 seconds
    [/excerpt]
    Though this could be a misleading message ...
    Few question:
    How can I determine how to trace / see how the Console is trying to connect to the
    MDM server / database?
    How can I figure out what address this is talking about?
    Is this just a vague error or should I be looking somewhere specific for troubleshooting?
    Please advise!
    Thanks!
    -s
    Edited by: Shaunn Johnson on Nov 12, 2010 9:20 PM

    Everyone -
    We have a solution, however, it introduces a lot of new things that will require some
    investigation.  Before I go to that level, let me tell you what we did to resolve:
    Recap:
    Our MDM installation is on a shared OS (HP Unix) environment.  It is not virtual.  In short,
    we have one large server and multiple application that have their own logical IP Addresses
    and hostnames.
    When trying to connect from the MDM console (laptop/workstation/etc), through the application
    (MDM server) to the database (on the HP Unix system) and create a repository, this is where we
    see the 'Socket on receive' error.
    Solution:
    As per SAP "Note 1264660 - MDM on HP-UX IA crash when used with Oracle 10.2.0.4 client",
    part of the problem is because of how Oracle binds to a specific socket.  By itself, that
    solution did not work.  This effects the server side, too.  The next steps to fix this were to:
    extract the SAP OCL10264.SAR files in the shared client directory (/oracle/client/10x_64/instantclient)
    backup the library files from the server-level area of Oracle (/oracle/<SID>/102_64/lib)
    stop Oracle, the listener and MDM
    copy the SAP OCI files (as noted in  1264660) to the /oracle/<SID>/102_64/lib directory also
    verify the Oracle environment variables
    restart all systems and services (Oracle, MDM, listener)
    Of course, your oracle library paths will vary.  Check your LD_LIBRARY_PATH for that location.
    We also learned that if we set the LD_LIBRARY_PATH environment variable to where the
    oracle client library files were (client side), things should work.  We did try that, but it did
    not work.  At least, we tried it once and started to test other things (including our solution).
    Feel free to try that option and update this thread.
    Our solution was to copy those files directly into our server path and try again.
    Thanks to everyone who took time to look at this!
    -s

  • ORA-17410: No more data to read from socket error

    Hi
    iam getting "No more data to read from socket error" on tomcat screen.
    I have tried to explain the scenario, thats why it looks lengthy.
    Any help is appreciated.
    The application is calling a procedure which inturn tries to load class files and this error comes.
    The database is on Oracle 9i (9.2.0.5) and we maintain it as a standby database.
    Steps taken to create the standby database.
    1. I have taken the cold backup of production database and copied it to Standby server
    2. Created the oracle service on the Standby server. created the pfile and pwd file
    3. Get the database to Nomount
    4. recreate the controlfile
    5. once in mount state, archive logs are copied from production and applied using
    " recover database using backup controlfile"
    This database was opened and started getting errors on tomcat screen.
    Following are the things i tried to resolve the error:
    1. I have put the latest JDBC drivers on oracle as well as at application end.
    2. i can see all java files in Enterprise Manager on the Host Machine.
    But through TOAD when i go to "Schema Browser" of "SYS" there are no java
    files under "java tab" its empty.
    3. I have run
    C:\oracle\ora92\javavm\install\ initjvm1.sql
    and few other java related scripts from "RDBMS" folder.
    4. I have check listener config . Tried restarting the listener followed by starting the database.
    I think there could be some connectivity issue or is there any parameter which needs to be set.
    I would really appreciate any help.
    Thanks,
    Jerry

    I am not very sure but can u do this on Standby Server? Looks like queries are only allowed on standby server in 11g.
    regards
    Pravin

  • Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.  Error Code: c0000005  Address: 76f73ac3     I clicked on the OK button and the downloader closed.     I then tried to download from the organizer. I

    Photoshop Elements 12
    Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.
    Error Code: c0000005
    Address: 75e32f71
    I clicked on the OK button and the downloader closed.
    I did a search on this error code (c0000005) and there seems to be a workaround but no solutions, why is this? I ask that because this problem seems to be years and years old, going back to at least 2005 (do the math that is 10 years).
    I don't even have the Camera hooked up and I get this error on download.  I redownloaded everything and reinstalled.  I allso saw the AVI issues reported with this proble so i updated Quicktime though without the camera being hooked up when I get this error I didn't expect that to work.  I tried support and they wouldn't help because I bought it in March this year.  Pretty frustrating as I have re-purchased Elements about every 2 years.  I think I might need a new CODEC?   I had this problem on an Earlier version And I seem to remember that being the Fix but this may be something completely different

    I finally found that it was missing a picture so the Catalog was "corrupted".  I just deleted the picture and it started working.
    I hate Adobe and their total lack of support - thanks for nothing Adobe .  Also get this - they offered me to upgrade to 13.0 ( My 12.0 is only 6 months old  but they still don't support it on errors.  Only install errors!
    I have upgrade and repurchase this product 4 times now.  I will find something else next time!

  • When I try to log on to my ichat I get the error message "An undefined AIM socket error has occurred.". How do I resolve this?

    The error message "An undefined AIM socket error has occurred." comes up when I try and log on to ichat.

    I have the same issue. Does anybody know why this has happened

  • If I copy the "lcds" folder, Tomcat starts with socket errors

    In the documentation it is said that when you create a new server-side application, you can start by copying the 'webapps/lcds' folder. I did that but then, Tomcat starts with some socket errors:
    [LCDS]SocketServer 'my-rtmp-SocketServer' failed to pre-validate desired socket settings for BindSocketAddress: 0.0.0.0:2038
    java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
    [LCDS]SocketServer 'my-rtmp-SocketServer' failed to start.
    flex.messaging.LocalizedException: SocketServer 'my-rtmp-SocketServer' cannot bind to accept client connections on port '2038' because another process has already bound the port. Please ensure that multiple endpoints across all applications  are not configured to use this same port.
    Am I doing something wrong?
    Thanks,
    Borek

    What is happening is that you are getting a port conflict for the socket-based NIO and RTMP endpoints used in the channel definitions in the services-config.xml file of your new web app. The issue is that you have endpoints bound to the same port  in the LCDS web and in your new web app.
    You can deal with this one of two ways:
    Option 1: In that services-config.xml file, search on "RTMP" and "NIO" to find the channel definitions and change the port numbers to something slightly different than the ones used in the LCDS web app.
    Options 2: Move the LCDS web app out of the picture so it doesn't get loaded, and just use a template for future web apps. If you aren't using it for any of your development, there is really no reason you have to load it.
    I'll add a note about this to the documentation that talks about using the LCDS web app as a template.

  • Why am I receiving Null pointer Exception Error.

    why am I receiving Null pointer Exception Error.
    Hi I am developing a code for login screen. There is no syntex error as such ut I am receving the aove mentioned error. Can some one please help me ??
    ------------ Main.java------------------
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Main implements ActionListener
    Frame mainf;
    MenuBar mb;
    MenuItem List,admitform,inquiry,exit,helpn;
    Menu newm,update,help;
    Inquiry iq;
    Admit ad;
    // HosHelp hp;
    Howuse hu;
    Register reg;
    Main()
    mainf=new Frame(" Engg College V/S Mumbai University ");
         mb=new MenuBar();
         newm=new Menu(" New ");
         update=new Menu(" Update ");
         help=new Menu(" Help ");
         List=new MenuItem("List");
         admitform=new MenuItem("Admit");
         inquiry=new MenuItem("Inquiry");
         exit=new MenuItem("Exit");
         helpn=new MenuItem("How to Use?");
    newm.add(List);
                   newm.add(admitform);
    newm.add(inquiry);
                   newm.add(exit);
         help.add(helpn);
              mb.add(newm);
              mb.add(update);
              mb.add(help);
    mainf.setMenuBar(mb);
                   exit.addActionListener(this);
                   List.addActionListener(this);
         inquiry.addActionListener(this);
         admitform.addActionListener(this);
    helpn.addActionListener(this);
         mainf.setSize(400,300);
         mainf.setVisible(true);
    public void actionPerformed(ActionEvent ae)
    if (ae.getSource()==List)
              reg=new Register();
         if(ae.getSource()==inquiry)
         iq=new Inquiry();
    if(ae.getSource()==admitform)
         ad=new Admit();
              if(ae.getSource()==helpn)
              hu=new Howuse();
              if(ae.getSource()==exit)
         mainf.setVisible(false);
    public static void main(String args[])
              new Main();
    -------------Register.java---------------------------
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Register implements ActionListener//,ItemListener
    Label id,name,login,pass,repass;
    Button ok,newu,cancel,check;
    Button vok,iok,lok,mok,sok; //buttons for dialog boxes
    TextField idf,namef,loginf,passf,repassf;
    Dialog valid,invlog,less,mismat,acucreat;
    Frame regis;
    Checkbox admin,limit;
    CheckboxGroup type;
    DBconnect db;
    Register()
         db=new DBconnect();
    regis=new Frame("Registeration Form");
              type=new CheckboxGroup();
              admin=new Checkbox("Administrator",type,true);
              limit=new Checkbox("Limited",type,false);
              id=new Label("ID :");
    name=new Label("Name :");
         login=new Label("Login :");
         pass=new Label("Password :");
         repass=new Label("Retype :");
    idf =new TextField(20); idf.setEnabled(false);
         namef=new TextField(30); namef.setEnabled(false);
    loginf=new TextField(30); loginf.setEnabled(false);
         passf=new TextField(30); passf.setEnabled(false);
         repassf=new TextField(30); repassf.setEnabled(false);
    ok=new Button("OK"); ok.setEnabled(false);
         newu=new Button("NEW");
    cancel=new Button("Cancel");
         check=new Button("Check Login"); check.setEnabled(false);
    vok=new Button("OK");
         iok=new Button("OK");
              lok=new Button("OK");
              mok=new Button("OK");
              sok=new Button("OK");
    valid=new Dialog(regis,"Login name is valid !");
         invlog=new Dialog(regis,"Login name already exist!");
         less=new Dialog(regis,"Password is less than six characters !");
    mismat=new Dialog(regis,"password & retyped are not matching !");
    acucreat=new Dialog(regis,"You have registered successfully !");
         regis.setLayout(null);
    //     regis.setBackground(Color.orange);
    valid.setLayout(new FlowLayout());
         invlog.setLayout(new FlowLayout());
         less.setLayout(new FlowLayout());
         mismat.setLayout(new FlowLayout());
    acucreat.setLayout(new FlowLayout());
    id.setBounds(35,50,80,25); //(left,top,width,hight)
    idf.setBounds(125,50,40,25);
    name.setBounds(35,85,70,25);
    namef.setBounds(125,85,150,25);
    login.setBounds(35,120,80,25);
    loginf.setBounds(125,120,80,25);
    check.setBounds(215,120,85,25);
         pass.setBounds(35,155,80,25);
    passf.setBounds(125,155,80,25);
    repass.setBounds(35,190,80,25);
    repassf.setBounds(125,190,80,25);
    admin.setBounds(35,225,100,25);
    limit.setBounds(145,225,100,25);
              ok.setBounds(45,265,70,25);
         newu.setBounds(135,265,70,25);
    cancel.setBounds(225,265,70,25);
         passf.setEchoChar('*');
    repassf.setEchoChar('*');
         regis.add(id);
         regis.add(idf);
    regis.add(name);
         regis.add(namef);
         regis.add(login);
         regis.add(loginf);
         regis.add(check);
    regis.add(pass);
         regis.add(passf);
    regis.add(repass);
         regis.add(repassf);
         regis.add(ok);
         regis.add(newu);
         regis.add(cancel);
    regis.add(admin);
         regis.add(limit);
    valid.add(vok);
         invlog.add(iok);     
         less.add(lok);
         mismat.add(mok);
    acucreat.add(sok);
    ok.addActionListener(this);
         newu.addActionListener(this);
    check.addActionListener(this);
    cancel.addActionListener(this);
         // limit.addItemListener(this);
         //admin.addItemListener(this);
              vok.addActionListener(this);
              iok.addActionListener(this);
         lok.addActionListener(this);
         mok.addActionListener(this);
         sok.addActionListener(this);
    regis.setLocation(250,150);
    regis.setSize(310,300);
    regis.setVisible(true);
         public void actionPerformed(ActionEvent ae)
         if(ae.getSource()==check)
              try{
                   String s2=loginf.getText();
    ResultSet rs=db.s.executeQuery("select* from List");
                        while(rs.next())
                   if(s2.equals(rs.getString(2).trim()))
    //                    invlog.setBackground(Color.orange);
                             invlog.setLocation(250,150);
                             invlog.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                        invlog.setVisible(true);
                             break;
                        else
                        //     valid.setBackground(Color.orange);
                             valid.setLocation(250,150);
                             valid.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                   valid.setVisible(true);
                        }catch(Exception e)
                   e.printStackTrace();
    if(ae.getSource()==newu)
         try{
              ResultSet rs=db.s.executeQuery("select max(ID) from List");
         while(rs.next())
    String s1=rs.getString(1).trim();
                   int i=Integer.parseInt(s1);
    i++;
                   String s2=""+i;
    idf.setText(s2);
                   newu.setEnabled(false);
                   namef.setText(""); namef.setEnabled(true);
              loginf.setText(""); loginf.setEnabled(true);
              passf.setText(""); passf.setEnabled(true);
              repassf.setText(""); repassf.setEnabled(true);
              ok.setEnabled(true);
                   check.setEnabled(true);
                   }catch(Exception e)
              e.printStackTrace();
         if(ae.getSource()==ok)
              try
              String s1=idf.getText();
              String s2=loginf.getText();
              String s3=passf.getText();
         String s4=repassf.getText();
         int x=Integer.parseInt(s1);
         int t;
         if(type.getSelectedCheckbox()==admin)
              t=1;
              else
              t=0;
    ResultSet rs=db.s1.executeQuery("select* from List");
                   while(rs.next())
                   if(s2.equals(rs.getString(2).trim()))
                        invlog.setBackground(Color.orange);
                        invlog.setLocation(250,150);
                        invlog.setSize(300,100);
                   cancel.setEnabled(false);
    ok.setEnabled(false);
    check.setEnabled(false);
                        invlog.setVisible(true);
                        break;
                   else
                        if (s3.length()<6)
                        less.setBackground(Color.orange);
                             less.setLocation(250,150);
                             less.setSize(300,100);
                   ok.setEnabled(false);
                        cancel.setEnabled(false);
                        check.setEnabled(false);
                        less.setVisible(true);
    else if(!(s3.equals(s4)))
                        mismat.setBackground(Color.orange);
                        mismat.setLocation(250,150);
                        mismat.setSize(300,100);
                        ok.setEnabled(false);
                        cancel.setEnabled(false);
                        check.setEnabled(false);
                        mismat.setVisible(true);
                        else
    db.s1.execute("insert into User values("+x+",'"+s2+"','"+s3+"',"+t+")");
                        acucreat.setBackground(Color.orange);
                        acucreat.setLocation(250,150);
                        acucreat.setSize(300,100);
                        regis.setVisible(false);
                        acucreat.setVisible(true);
                   }//else
              }//while
                   } //try
              catch(Exception e1)
              // e1.printStackTrace();
              if (ae.getSource()==cancel)
              regis.setVisible(false);
              if (ae.getSource()==vok)
              ok.setEnabled(true);
                   cancel.setEnabled(true);
    check.setEnabled(true);
                   valid.setVisible(false);
              if (ae.getSource()==iok)
              ok.setEnabled(true);
                   cancel.setEnabled(true);
    check.setEnabled(true);
                   invlog.setVisible(false);
              if (ae.getSource()==lok)
              less.setVisible(false);
                   cancel.setEnabled(true);
    ok.setEnabled(true);
    check.setEnabled(true);
              if (ae.getSource()==mok)
              mismat.setVisible(false);
                   cancel.setEnabled(true);
    ok.setEnabled(true);
    check.setEnabled(true);
    if (ae.getSource()==sok)
              acucreat.setVisible(false);
              ok.setEnabled(false);
                   newu.setEnabled(true);
                   regis.setVisible(true);
         public static void main(String args[])
         new Register();
    -----------DBConnect.java------------------------------------
    import java.sql.*;
    public class DBconnect
    Statement s,s1;
    Connection c;
    public DBconnect()
    try
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              c=DriverManager.getConnection("jdbc:odbc:Sonal");
              s=c.createStatement();
    s1=c.createStatement();
         catch(Exception e)
         e.printStackTrace();
    ----------Login.java----------------
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Login implements ActionListener
    Frame log;
    Label login,pass;
    TextField loginf,passf;
    Button ok,cancel;
    Dialog invalid;
    Button iok;
    Register reg;
    DBconnect db;
    Main m;
    Login()
    db=new DBconnect();
         log=new Frame();
         log.setLocation(250,210);
         login=new Label("Login :");
    pass=new Label("Password :");
         loginf=new TextField(20);
         passf=new TextField(20);
         passf.setEchoChar('*');
         ok=new Button("OK");
         // newu=new Button("New User");
         cancel=new Button("CANCEL");
         iok=new Button(" OK ");
    invalid=new Dialog(log,"Invalid User!");
    //log.setBackground(Color.cyan);
    //log.setForeground(Color.black);
         log.setLayout(null);
         // iok.setBackground(Color.gray);
         invalid.setLayout(new FlowLayout());
         login.setBounds(35,50,70,25); //(left,top,width,hight)
         loginf.setBounds(105,50,100,25);
         pass.setBounds(35,85,70,25);
         passf.setBounds(105,85,70,25);
         ok.setBounds(55,130,70,25);
    // newu.setBounds(85,120,80,25);
    cancel.setBounds(145,130,70,25);
    log.add(login);
    log.add(loginf);
    log.add(pass);
    log.add(passf);
    log.add(ok);
    // log.add(newu);
    log.add(cancel);
         invalid.add(iok);//,BorderLayout.CENTER);
    ok.addActionListener(this);
    // newu.addActionListener(this);
    cancel.addActionListener(this);
         iok.addActionListener(this);
    log.setSize(300,170);
    log.setVisible(true);
    public void actionPerformed(ActionEvent a)
    if(a.getSource()==ok)
         try{
              String l=loginf.getText();
              String p=passf.getText();
              ResultSet rs=db.s.executeQuery("select * from List");
              while(rs.next())
              if(l.equals(rs.getString(2).trim())&& p.equals(rs.getString(3).trim()))
                        String tp=rs.getString(4).trim();
                             int tp1=Integer.parseInt(tp);
    log.setVisible(false);
    if(tp1==1)
                             m=new Main();
                        // m.List.setEnabled(true);
                             else
                             m=new Main();
                             m.List.setEnabled(false);
                        break;
    else
                   invalid.setBackground(Color.orange);
                   invalid.setSize(300,100);
                   invalid.setLocation(250,210);
                   cancel.setEnabled(false);
              ok.setEnabled(false);
                   invalid.setVisible(true);
                   }catch(Exception e1)
                   e1.printStackTrace();
         if (a.getSource()==cancel)
         log.setVisible(false);
         if (a.getSource()==iok)
         invalid.setVisible(false);
         loginf.setText("");
         passf.setText("");
         cancel.setEnabled(true);
    ok.setEnabled(true);
         public static void main(String[] args)
         new Login();
    -------------inquiry.java---------------------------------
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.util.Date;
    import java.text.*;
    import java.sql.*;
    public class Inquiry implements ActionListener
    Frame inqry;
    Label name,addr;
    TextField namef,addrf;
    Button ok,cancel,dok;
    Dialog invalid;
    Frame result; //Result of the inquiry....
    Label lrname,lraddr,lward,lrdate,lcdate;
    TextField rname,raddr,ward,rdate,cdate;
    Date d;
    DateFormat df;
    Button rok,rcancel;
    Dialog success;
    Button rdok;
    DBconnect db;
    Inquiry()
              db=new DBconnect();
              inqry=new Frame("Inquiry Form");
              inqry.setLayout(null);
    inqry.setBackground(Color.cyan);
              name=new Label(" NAME ");
              addr=new Label("ADDRESS");
              namef=new TextField(20);
              addrf=new TextField(20);
              ok=new Button("OK");
              cancel=new Button("CANCEL");
              dok=new Button("OK");
              invalid=new Dialog(inqry,"Invalid Name or Address !");
              invalid.setSize(300,100);
         invalid.setLocation(300,180);
              invalid.setBackground(Color.orange);
              invalid.setLayout(new FlowLayout());
    result=new Frame(" INQUIRY RESULT "); //Result Window......
    result.setLayout(null);
    result.setBackground(Color.cyan);
    lcdate=new Label(" DATE ");
         lrname=new Label(" NAME ");
    lraddr=new Label(" ADDRESS ");
         lward=new Label(" WARD ");
         lrdate=new Label(" ADMIT-DATE ");
    cdate=new TextField(10);
         rname=new TextField(20);
    rname.setEnabled(false);
         raddr=new TextField(20);
         raddr.setEnabled(false);
         ward=new TextField(20);
         ward.setEnabled(false);
         rdate=new TextField(10);
         rdate.setEnabled(false);
         cdate=new TextField(20);
         d=new Date();
         df=DateFormat.getDateInstance(DateFormat.MEDIUM,Locale.KOREA);
         cdate.setText(df.format(d));
         cdate.setEnabled(false);
    rok=new Button(" OK ");
         rcancel=new Button("CANCEL");
              name.setBounds(40,50,50,25);
    namef.setBounds(120,50,130,25);
    addr.setBounds(40,100,60,25);
    addrf.setBounds(120,100,80,25);
    ok.setBounds(60,145,70,25);
              cancel.setBounds(140,145,70,25);
              lcdate.setBounds(200,50,60,25); //Result Window......
    cdate.setBounds(270,50,80,25);      
    lrname.setBounds(35,85,70,25);
    rname.setBounds(140,85,180,25);
    lraddr.setBounds(35,120,80,25);
         raddr.setBounds(140,120,100,25);
    lward.setBounds(35,155,80,25);
    ward.setBounds(140,155,100,25);
    lrdate.setBounds(30,190,80,25);
    rdate.setBounds(140,190,80,25);
    rok.setBounds(70,240,70,25);
    rcancel.setBounds(170,240,70,25);
              inqry.add(name);
              inqry.add(namef);
              inqry.add(addr);
              inqry.add(addrf);
              inqry.add(ok);
              inqry.add(cancel);
    invalid.add(dok);
         result.add(lcdate); //Result Window......
         result.add(cdate);
              result.add(lrname);
              result.add(rname);
              result.add(lraddr);
              result.add(raddr);
              result.add(lward);
              result.add(ward);
              result.add(lrdate);
              result.add(rdate);
              result.add(rok);
              result.add(rcancel);
         ok.addActionListener(this);
         cancel.addActionListener(this);
         dok.addActionListener(this);
    rok.addActionListener(this); //Result Window......
         rcancel.addActionListener(this);
         inqry.setSize(280,180);
         inqry.setLocation(300,180);
         inqry.setVisible(true);
              result.setSize(400,280); //Result Window......
         result.setLocation(200,150);
         result.setVisible(false);
              public void actionPerformed(ActionEvent ae)
                   if(ae.getSource()==ok)
                   try
                             String nm=namef.getText();
                             String ad=addrf.getText();
                             inqry.setVisible(false);
                             ResultSet rs=db.s.executeQuery("select * from Billinformation");
                             while(rs.next())
                                  String nm1=rs.getString(2).trim();
                                  String ad1=rs.getString(3).trim();
                                  int k=0;
                                  if((nm1.equals(nm))&&(ad1.equals(ad)))
                             String adm=rs.getString(5).trim();
                             String wr=rs.getString(6).trim();
                             String bd=rs.getString(8).trim();
                                  String wrb=wr+"-"+bd;
    result.setVisible(true);
                                  rname.setText(nm1);
                             raddr.setText(ad1);
                             ward.setText(wrb);
                             rdate.setText(adm);
    k=1;
                                  break;
                                  }//if
                             else if(k==1)
                             invalid.setVisible(true);
                             }//while
    }//try
                             catch(Exception e)
                             e.printStackTrace();
                        } //getsource ==ok
                   if(ae.getSource()==cancel)
    inqry.setVisible(false);
                        if(ae.getSource()==rok) //Result Window......
                        namef.setText("");
                             addrf.setText("");
                             result.setVisible(false);
                        inqry.setVisible(true);
    if(ae.getSource()==rcancel)
    result.setVisible(false);
                        if(ae.getSource()==dok)
                        namef.setText("");
                             addrf.setText("");
                             invalid.setVisible(false);
                             inqry.setVisible(true);
         public static void main(String args[])
              new Inquiry();
    PLease Help me !!
    I need this urgently.

    can you explain what your program tries to do... and
    at where it went wrong..Sir,
    We are trying to make an project where we can make a person register in our data base & after which he/she can search for other user.
    The logged in user can modify his/her own data but can view other ppl's data.
    We are in a phase of registering the user & that's where we are stuck. The problem is that after the login screen when we hit register (OK- button) the data are not getting entered in the data base.
    Can u please help me??
    I am using "jdk1.3' - studnet's edition.
    I am waiting for your reply.
    Thanks in advance & yr interest.

  • Disc Burner. Why are some files not readable or writeable?

    Hello,
    I am trying to backup my friends computer files on a beige G3 (233 MHz). I am burning about 6 DVDs of AIF music files. Most of the files are about 30 - 40 Megs in size. Often I receive error messages on particular files that read:
    "The operation cannot be completed because some data cannot be read or written.
    (Error code - 36)"
    Followed by the choices: "Stop" or "Continue".
    I have a bad feeling that my startup disk is too small but I am not sure.
    Most of the files work fine. However some of the files cause disc burner to not be able to use them in the disc image before I burn. Why would this be?
    Here are the specifications:
    Computer: beige G3 with two hard drives (one SCSI and one ATA hard drive) and a Pioneer DVR-110D DVD writer which is Apple supported (Apple system profiler indicates Apple supported on this DVD writer). My blank DVD disks are Sony Vermatim DVD-R (1 - 16x speed support). Although I think my beige G3 only writes them at about 2 or 4x.
    I am using OS 10.1.5. My startup disk which has OS 10.1.5 in it is a 4 GIG SCSI disk. Is this big enough for a startup disk (for creating 4.5 GIG DVDs)? My files are on the second hard drive which is a 40 GIG ATA disk.
    I have a bad feeling that my OSX startup drive is too small for disk burning - it is only 4 GIGs in total and OSX Disc burner (Disc copy) is first making a disk image on my startup volume before it burns it. Perhaps that disk image is too large for the startup volume. Is there any way I could ask OSX to put this disk image on the second larger hard drive instead (not the startup drive?).
    Here is my process (I hope I am doing this right - I am new at this):
    1. I first insert a blank DVD-R
    2. A message pops up asking my if I would like to create a blank disc image for this disk (I think this is the typical Disk Copy utility window. I say "yes" and give it a name and choose the "DVD-R or DVD-RAM" option. (I am not sure if there are other important settings to choose here or better settings to use but I guessed the other options that seemed obvious. A blank disk image is created with an icon that looks like a DVD disk.
    3. Then I drag my chosen files to this blank disc image. It takes about 30 minutes to copy over. Thats when I receive the error message that some files couldn't be "read or written". The other files work fine but it would be nice if they all worked.
    Why would some files not be readable or writeable?
    4. Then I choose file/burn in the top menu and the DVD is created. This takes another 20 - 30 minutes. At the very end of the process another message pops up saying:
    "Sorry the operation could not be completed because an unexpected error occured (error code -28)" Followed by an "OK" button.
    However all the files that made it onto the final DVD are fine - its just that its not all of the ones I originally chose in the first step when dragging to create the disk image.
    Am I doing this the right way?
    Why are some files not "readable or writeable" as it indicates in the error message?
    Is my 4 GIG startup disk too small for this? or are the music files possibly corrupt? or could there be some other possible problem?
    Thanks

    To follow up, I have some good news. After following your advice Kappy, it now works very well Thanks! Instead of using the 4 GIG volume for the OS, I am now using an 8 GIG partition on an 80 GIG drive. So now the OS has some room to operate. No disk errors occured on my first DVD
    Now there was one problem. The second DVD burned gave me an error. I am not sure why but I am going to guess that because I had to installed the OS onto an 8 GIG partition maybe the OS needs to be rebooted in between disk burns because although 8 GIGs is certainly greater than the 4 GIGs I gave it last time, it still isn't a lot of space - maybe just enough to do one DVD at a time. Thats only a guess. So I rebooted to see if that clears the system out ready for the next DVD and I am trying to burn the second DVD again. If I remember I will report back. In any case, yes, this seems to be working. I hope this second DVD burns well too.
    Thanks Kappy

  • Imap performance and socket errors

    -bash-3.00$ imsimta version
    Sun Java(tm) System Messaging Server 6.2-8.04 (built Feb 28 2007)
    libimta.so 6.2-8.04 (built 19:28:07, Feb 28 2007)
    SunOS vmpm1 5.10 Generic_141414-02 sun4u sparc SUNW,Sun-Fire-V490
    We're experiencing imap problems that appear to be load related, and have had to restart mail services several times to restore service. The imap logs show a large number of socket errors. The server load average is in the 1-2 range; there's no apparent memory resource problem. We're seeing 600-1000 simultaneous imap sessions, which is a higher number than in the past. We run JMS & Communications Express on dedicated V490 SPARC server with 8GB of memory. We're planning to add an additional 8GB this Friday.
    Our imap configuration settings are as follows:
    -bash-3.00$ configutil | grep service.imap
    service.imap.enable = 1
    service.imap.enablesslport = yes
    service.imap.idletimeout = 30
    service.imap.maxsessions = 4000
    service.imap.maxthreads = 250
    service.imap.numprocesses = 1
    service.imap.objectclass = top
    service.imap.plaintextmincipher = 0
    service.imap.port = 143
    service.imap.sslcachesize = 0
    service.imap.sslport = 993
    service.imap.sslusessl = yes
    Can you suggest additional troubleshooting steps? Do you recommend any configuration changes?
    Thanks.

    dpelinka wrote:
    Questions:
    1. Our JMS version info doesn't state whether it is 32 or 64-bit. Therefore, I assume we are running a 32-bit version. Is that correct?Correct. There is no 64-bit version of MS6.2.
    2. Is there a virtual memory limit on the 32-bit version of JMS 6.2? Is the limit greater for JMS 6.3?The Solaris OS imposes the virtual memory size limit of ~3.75GB for all 32bit processes on SPARC. 64-bit processes have a much much larger limit.
    http://developers.sun.com/solaris/articles/solaris_memory.html
    Regards,
    Shane.

  • Why do I get an invalid handle error when debugging, on a call to ncReset?

    I am working with the example program obj2obj.c
    I have a PCI-CAN/2 card installed.
    I must call ncReset for *both* ports (CAN0 and CAN1), prior to any other commands or I will get a driver error (NC_ERR_DRIVER, Bxxx0002).
    This happens even if the program terminates properly, closing all handles, and I then remove the ncReset commands.
    Fine, I can live with the ncResets.
    However, if I then try and debug the program using Microsoft Visual C++, it immediately chokes on the second call to ncReset( "CAN1", 0 ) and complains about an invalid handle.
    If I add a status check to both of the ncResets and run the program from the DOS command line, I don't get any errors printed out
    so the calls are working fine just running the program.
    The driver updates listed do not appear to address this problem (1.4.1 uses LabView which I do not have and 1.4.2 is for Windows 2000)
    Why are the ncResets required in the first place?
    And why can't I single step through the second call to ncReset?
    Thanks in advance for your help.
    System details:
    PC running Windows NT 4.00.1381
    PCI-CAN/2 w/driver 1.4
    Microsoft Visual C++ 6.0 Professional

    bsat, thank you for helping out!
    I had tried using only one ncReset previously and was experiencing driver errors. I removed the second ncReset as you suggested and now it seems to work with only one. I cannot get it to fail like it was doing.
    However, at least one ncReset must be used or I get the following error:
    ERROR ncConfig CAN1: Driver error (qual=000b000)
    Press any key to continue
    I get this error even when the program terminates normally. For example:
    1) Build obj2obj with the ncReset command.
    2) Execute and allow to terminate normally.
    3) Edit obj2obj and remove ncReset command.
    4) Execute and the error message is displayed.
    Amazingly, I was also able to single step through most of the program this morning. I got the first three messages (of 10 total) before ge
    tting the error:
    Microsoft Visual C++
    First-chance exception in cctool.exe (NTDLL.DLL): 0xC0000008: Invalid Handle
    It seems to be more random than first appeared and perhaps more related to MSVC than to the NI-CAN card. Any insight?
    Also, having to include an ncReset is undesireable since I'd like to develop a CAN driver that could be called from multiple threads. I'd be very interested in your opinion on why I'm having trouble getting it to work without one.
    Thanks again for your help, it is greatly appreciated!

  • Why are not  pop up  message window when message type I and W

    Hi All,
    I am working in BADI ( me_purchdoc_posted~posted) for t-code ME21N. Actually i want show material number, material description  and ABC indicator of material at saving point of PO if material is significant.
    code is properly working  but does not showing  error message window when I am using message type I  (information) or W (worming message) .
    if i am using message type E ( error message )then showing message window just link  Information message.
    So i can no understand why are not message window pop up  when i take message type I and W.
    my code is that
    method IF_EX_ME_PURCHDOC_POSTED~POSTED
    IF SY-TCODE EQ 'ME21N' OR SY-TCODE EQ'ME21'.
      DATA : wa LIKE LINE OF IM_EKPO.
      DATA : VAR_MAKTX TYPE MAKT-MAKTX.
      DATA : VAR_MAABC TYPE MARC-MAABC.
      DATA : P TYPE STRING.
      DATA : P1 TYPE STRING.
      LOOP AT IM_EKPO INTO wa.
        SELECT SINGLE MAABC FROM MARC INTO VAR_MAABC WHERE matnr EQ wa-matnr AND werks EQ wa-werks.
        SELECT SINGLE MAKTX FROM MAKT INTO VAR_MAKTX WHERE matnr EQ wa-matnr. " AND werks EQ wa-werks.
          IF VAR_MAABC EQ 'A'.
            P = 'is significant material'.
            CONCATENATE  WA-MATNR '(' VAR_MAKTX ')'  P INTO P1.
            MESSAGE P1 TYPE 'E'.
            EXIT.
            ENDIF.
      ENDLOOP.
    ENDIF.
    endmethod.
    guide me...............

    Hi vinod,
    thanks for reply......
    yes,  my  requirement is to show the popup window with  material number, material description and ABC indicator of material at saving point of PO if material is significant.
    I find Badi to transaction me21n at saving PO.  Badi ME_PROCESS_PO_CUST does not exist.
    so i am using Badi me_purchdoc_posted~posted.
    This Badi  ( me_purchdoc_posted~posted ) is properly working But showing message  "system error ( error in method po_post ) "
    when I am click on OK then automatic leave from transaction.
    guide me..........

  • The system cannot find the file specified.Windows sockets error code:2.

    Hi All,
      I am on MDM 5.5 SP6.
      I am getting the following error message when trying to logging in to the DM.
    The system cannot find the file specified.Windows sockets error code:2.This application will now exit.
    Runtime Error :
    Program C :\Program Files\SAP MDM 5.5\Data Manager\Datamanager.exe
    R6025.
    -Pure virtual function call.
    And in console also the MDM server is stopped after getting the above error message.
    Can anybody tell me what could be the problem?
    Thanks & Regards
    Sireesha.

    Hi Sireesha,
    According to me, there can be 3 problems,
    1. Kindly check whether the MDM server is stopped. If it is, then restart the MDM Server and Load the repository with Update indices.
    2. If this error is coming with every repository, the problem will be either in the Version mismatch of the Server and the GUI's you are using. Kindly ensure that the versions for the MDM server and the MDM Gui's Match.
    3. If only Data manager Client is giving the problem, then you can un-install and install the DM GUI again.
    Along with this, please refer to the link below :
    [[The system cannot find the file specified.Windows sockets error code:2.;]
    Hope it helps.
    Thanks and Regards
    Nitin jain

Maybe you are looking for

  • Video and audio STILL Stopping after 2 seconds

    I am running Premiere Pro CS3 for Mac. For some reason, regardless of whether I capture direct fromDV cam or import a video or audio file. Occasionally (3 out of 5 times) the video and audio stops after 2 seconds. I hit space bar and it does it again

  • Validation for profitability segment in Account document

    Hi Team, Currently We are using validation for cost object i.e. either cost center or WBS elements enter  in a  GL account line items and if we are enter both cost object then system will be give Error message . in this validation we have added valid

  • How to make use of 3EC_CS_1R for remote cube.

    hi all, I have activated the 3EC_CS_1A for consolidation reports but would like to use 3EC_CS_1R DataSource for remote cube, we have not installed SEM-BCS on the BI system, when trying to use the 3EC_CS_1R on the BI system, it complaints the DataSour

  • Locale: ä,ö,ü

    hello! i have a little problem with the locale settings. i use the en_US.UTF8 locale. all is working perfect - console and programs. i can use ä,ö,ü. but my eterm terminal shows me "???" instead of "äöü". a "ls" command shows me questions marks, but

  • ABAP to CRM

    Hi  all, Am an ABAPer. Please tell me  what exact ABAP(BADi,BAPI,Smart form,Idoc,Transaction,Reports,Dynpro etc) required for CRM technical. Also with dominant presence of SIBEL is it correct to move into SAP CRM Thanks.