Need help ! bloody PeerGoneException error ! (240 sec)

Hi !
I'm testing performances of weblogic 7, and I got a PeerGoneException
error when I use my load charge test with about 1500 clients :
weblogic.rjvm.PeerGoneException: no message was received for '240'
seconds
It's normal my test takes more than 240 seconds, so WHERE do we change
this bloody default value ?
I found nothing on newsgroups but changing the
DGCIdlePeriodsUntilTimeout value in the weblogic.properties (which
doesn't exist (!), but I found this value and changed it in the
CONFIG.XML, but I get the same error).
Where is defined this value, how can I change it ?
TIA for your help !
JC

Andy Piper <[email protected]> wrote:
[email protected] (Grand Gana) writes:
I'm testing performances of weblogic 7, and I got a PeerGoneException
error when I use my load charge test with about 1500 clients :
weblogic.rjvm.PeerGoneException: no message was received for '240'
seconds
It's normal my test takes more than 240 seconds, so WHERE do we change
this bloody default value ?This actually indicates a more serious problem. PeerGone is determined
by the absence of heartbeats between client and server. Even if your
test takes longer than 240 seconds the heartbeats should still be
happening. Its possible also that this is down to network contention
or
some similar problem.
I found nothing on newsgroups but changing the
DGCIdlePeriodsUntilTimeout value in the weblogic.properties (which
doesn't exist (!), but I found this value and changed it in the
CONFIG.XML, but I get the same error).Changing config.xml only changes the server. You may have to change theHow do you set the client side timeout value in the case of applet
client also
by using -Dweblogic.DGCIdlePeriodsUntilTimeout=xxx
Where is defined this value, how can I change it ?andy

Similar Messages

  • Installing Elements 11 on Mac. Need help with install error "Setup wants to make changes."

    Installing Elements 11 on Mac 10.8.2. Need help with install error:  Setup wants to make changes. Type your password to allow this."  After entering Adobe password, nothing happens.  Locked from further installation.  Any ideas?  Adobe phone support could not help.

    Just before letting changes (installation in this case) be made on the system, Mac OS prompts for password & this has to be the Mac system password. This password prompt is the system's own native prompt & would accept the system password only. Please make sure it is the right system password (all/admin rights) and the installaion should run.

  • TS3694 I need help to fix error message -69

    I am having problem with syncing my ipod classic (160gb). I have this error message -69, that I need help with. I have already restored my ipod, but cannot add my anything (audiobooks-my music) to my ipod.

    see if you have any friend have a Mac computer, do a restore there before syncing with your PC

  • Need Help!! Errors during Local Client Copy

    Doing a Local Client Copy and getting these error messages in the log:
    Table Name       Component          Package
    /1CN/CMFSAPH0FOR                    DDIC Error        (See SE14)
    /1CN/CMFSAPH1FDT                    DDIC Error        (See SE14)
    /1CN/CMFSAPH1FFX                    DDIC Error        (See SE14)
    /1CN/CMFSAPH2TGR                    DDIC Error        (See SE14)
    /1CN/CMFSAPH2TRM                    DDIC Error        (See SE14)
    /1CN/CMFSAPH3TCT                    DDIC Error        (See SE14)
    /1CN/CMFSAPH3TUS                    DDIC Error        (See SE14)
    /1CN/CMFSAPH4TFX                    DDIC Error        (See SE14)
    /1CN/CMFSAPH4TQU                    DDIC Error        (See SE14)
    Then I go to SE14 then put the name of the tables then click CHECK >> DATABASE OBJECT and then as the result I get:
    "Table is not created in the database"
    If I go down to the database level and look within the Oracle database dba_tables the tables and objects exists within the database but SAP is unable to recognize them.  All objects were imported with a Oracle Data Pump dump file and now I just need help in getting SAP to recognize the tables.
    Edited by: Adam Gendle on Feb 19, 2010 12:29 AM

    Hi,
    Its showing inconsistency between ABAP Dictionary and the database.
    Have you run Test-Run before performing actual client copy ?
    Please check the Consistency of affected Tables.
    SE11 -> Display Table -> Utilities -> Database Object -> Check
    (check DB Object as well as Run time Object)
    Please refer this [SAP Note 686357 - Table pool length incorrect after Unicode conversion|https://service.sap.com/sap/support/notes/686357] to get more information. The relevant solution is mentioned there if the pool tables having inconsistency with VARDATA field.
    Also refer SAP Note 1171306 - Error with pooled tables when copying a client.
    Regards,
    Bhavik G. Shroff

  • Need help asap with Error #2109!

    Need major help in an error that is driving me crazy! I have a movie clip button, however, once you click on it the output will say:
    ArgumentError: Error #2109: Frame label instance15 not found in scene Scene 1.
    at flash.display::MovieClip/gotoAndStop()
    at index_fla::MainTimeline/goLabel()
    i am new in flash and trying to learn as3.  i've looked at what error this is but i cant get my head around it.  what i m trying to do it if you click on a button, a swf file will load on the the page. but it is not loading and the error comes up!
    my code is:
    function goLabel(e:MouseEvent):void
    gotoAndStop(e.target.name);
    if anyone knows how to solve this problem please help! let me know if i need any other codes, but this should be it!
    thanks. i am about to go bald.

    Do you have a frame on your timeline that is labeled as "instance15"?
    The code you show will do nothing in the way of loading an swf.... gotoAndStop is a timeline command, not a file loading command.

  • Need help correcting message error number

    Hello, i need help correcting message number for running archiving test runs.
    05.08.2011 08:31:42 Message number 999999 reached. Log is full                                BL           252          E
    05.08.2011 08:31:42 Job cancelled after system exception ERROR_MESSAGE                        00           564          A
    Any help wopuld be appreciated.
    Regards.

    Summary
    Symptom
    One or several database tables of the application log contain too many entries.
    The following database tables belong to the application log:
    - BALHDR (all releases)
    - BALHDRP(< 4.6C)
    - BALM   (< 4.6C)
    - BALMP  (< 4.6C)
    - BALC   (< 4.6C)
    - BALDAT  (>= 4.6C)
    - BAL_INDX (all releases)
    Other terms
    RSSLG200,
    RSSLGK90,
    SLG2,
    application log,
    log
    delete,
    performance
    Reason and Prerequisites
    The application log is a tool to collect, save and display logs.
    Many different applications collect messages in the application log which contain information or messages for the end user. The application automatically log serves as a temporary storage for messages. The logs are written on the database but they are not automatically deleted.
    There is no general procedure for switching the application log on or off. Some applications provide this option or they offer the option of reducing the number of entries created. (See Notes 91519, 183960, 141244).
    The expiration date of application logs
    A log usually has an expiration date, which is set by the application, that calls the 'Application log' tool. If the application log does not set an expiration date, the 'Application log' tool sets the expiration date as 12/31/2098 or 12/31/9999,depending on the release, which allows the logs to stay in the system for as long as possible. The end user cannot set the expiration date. The expiration date does not mean that logs which have reached that date will automatically be deleted. It is used to control the deletion of logs when you call the Deletion report. The DEL_BEFORE flag in the BALHDR table determines whether or not the log can be deleted even before the expiration date is reached.
    DEL_BEFORE= SPACE means that the log can be deleted before the expiration date is reached. (Default value)
    DEL_BEFORE='X' means that the log can only be deleted after the expiration date.
    Solution
    Deleting the logs of the application log.
    Releases >= 4.6A:
    =====================================================================
    In Releases >= 4.6A, use Transaction SLG2.
    On the selection screen you can restrict the amount of logs to be deleted:
    The 'Object' and 'Subobject' fields specify the application area in which the logs were written (see F4 Help).
    The 'External Identification' field specifies the number which was          provided for this log by the application.
    o  If you also want to delete logs which have not reached the expiration date you must set the option "Also logs which can be deleted before the expiration date".
    Select 'Help with application' in Transaction SLG2 for further explanation of the procedure for deleting.
    SLG2 is a report transaction. The corresponding report is SBAL_DELETE. At regular intervals, this can be scheduled as a background job.
    Releases < 4.6A:
    =====================================================================
    For Releases < 4.6A, note the following instructions:
    In general, the deletion of application logs can be carried out in two steps:
    1. Report RSSLG200: Deletion of all logs which expired:
    Use report RSSLG200 to delete all logs whose expiration date is reached or exceeded. (This report is not yet available in the standard in Release 3.0F. In this case, the report can be installed in advance; see corrections attached to this note).
    As of Release 3.1H, Report RSSLG210 is also available. This report allows the definition of a job that runs regularly and deletes such logs.
    2. Report RSSLGK90: Deleting all logs for which a deletion is allowed before expiration:
    Sometimes, step 1 does not delete enough logs. The reason for this might be that the expiration date of the logs is too far in the future or that no expiration date has been defined at all (in this case, depending
    on the release, the assumed expiration date is 12/31/2098 or 12/31/9999)
    Use report RSSLGK90 for these logs.
    When you execute this report, you can restrict the logs to be deleted in a selection screen:
    The fields 'Object' and 'Subobject' specify the application area which wrote the logs (see F4 help).
    The field 'External number' indicates the number which was assigned by the application for this log.
    Field 'Log class' indicates the importance of the log.
    NOTE: By default, this field contains the value '4', this means only logs with additional information. If you want to delete all logs, enter the value '1' in this field. All logs with log class '1' or higher will then be deleted.
    The fields 'To date' and 'Until time' refer to the creation date of a log.
    If you enter 12/31/1998 and 23:59:59, you get all logs created in and before 1998
    NOTES:
    Client-dependency:
    Note that the application log tables are client-dependent. Therefore, you must delete data in each client.
    Which applications create entires in the application log:
    To determine which applications create the logs, look in Table BALHDR to see which objects the logs were created for ( Transaction SE16, Table BALHDR, Field OBJECT). You can find the text description for the object in Table BALOBJT. The application is usually derived from the name and text of the object. The log is displayed in Transaction SL61. The display is restricted to certain objects, among other things.
    Database error:
    If very many data exists on the DB, Report RSSLGK90 might cause problems. In this case, implement Note 138715.
    In very rare cases a dump is created even after Note 138715 was implemented:
        ABAP/4 runtime error  DBIF_RSQL_SQL_ERROR
        SQL error 1555 occurred accessing table "BALHDR "
        Database error text...: "ORA-01555: snapshot too old
    If you cannot correct the error by means of database utilities, Note 368700 provides a way to bypass this error.
    Report RSSLG200 can also run into problems. In this case, use the correction for Report RSSLG200 attached to this Note.
    Expiration date in Report RSSLGK90:
    There are logs on the database which may only be deleted explicitly after the expiration date (flag DEL_BEFORE = 'X' in table BALHDR). These logs are not deleted in advance by report RSSLGK90. Since, however, this flag is used very rarely, you can ignore this data.
    Restriction of the quantity of log data by the application:
    To avoid large quantities of logs from different applications, also refer to the following notes:
    - 91519
    - 183960
    - 141244
    Archiving logs:
    As of Release 6.20, it has been possible to archive logs.
    The logs are archived via archiving object BC_SBAL.
    The archiving programs are started via Transaction SARA (archive administration).
    Via Support Packages, the archiving of application logs has been made available for Releases 4.6C (SAPKB46C27), 4.6D (SAPKB46D17), and 6.10 (SAPKB61011) as well.
    Header Data
    Release Status: Released for Customer
    Released on: 04.08.2005  13:55:45
    Master Language: German
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: BC-SRV-BAL Basis Application Log
    Affected Releases
    Software
    Component Release From
    Release To
    Release And
    subsequent
    SAP_APPL 30 30F 31I  
    SAP_APPL 40 40A 40B  
    SAP_APPL 45 45A 45B  
    SAP_BASIS 46 46A 46D X
    SAP_BASIS 60 610 640 X
    Corrections Instructions
    Correction
    Instruction Valid
    from Valid
    to Software
    Component Last
    Modifcation
    158903 30F 30F SAP_APPL 16.05.2000  07:13:08
    162069 31H 45B SAP_APPL 16.05.2000  07:16:07
    Related Notes
    1009281 - LAW: Runtime error CONNE_IMPORT_WRONG_COMP_TYPE
    856006 - Mass processing saves unnecessary logs
    737696 - Add. info on upgrade to SAP R/3 Enterprise 4.70 Ext. 2 SR1
    706478 - Preventing Basis tables from increasing considerably
    637683 - Add info about upgrade to SAP R/3 Enterprise Core 4.70 Ext 2
    587896 - Add. info on upgrade to SAP R/3 Enterprise Core 4.70 SR1
    540019 - Report RJBTPRLO does not work correctly
    400687 - Delete application log: DBIF_RSQL_INVALID_CURSOR
    390062 - Additional information about upgrading to 4.6C SR2
    370601 - Composite SAP note: APO 3.0 and 3.1 performance
    365602 - M/AM: Sales agent determination log - perf.
    327285 - Additions to upgrade to 4.6C SR1
    183960 - ALE: Deactivating application logs for data transfers
    141244 - Deactivating the application log during data transfer
    138715 - RSSLGK90: Too many lock entries in the database
    118314 - Installing the interface to a separate EH&S
    91519 - Deleting logs of the application log
    Print Selected Notes (PDF) 
    Attributes
    Attribute Value
    Transaction codes BALC
    Transaction codes BALM
    Transaction codes CLEAR
    Transaction codes HIER
    Transaction codes SARA
    Transaction codes

  • Need help determining compiling error

    Good morning,
    I need help finding the cause of a compiling error I receive. I have reviewed my code numerous times without any luck. I hope you guys might see something I am not! The entire file exceeds the limit I can post, so I am attaching it in 2 posts. Sorry for the inconvenience. The error and my code are posted below. Thank you for your help!
    C:\StockTrackerDB.java:382: cannot find symbol
    symbol : method add(java.lang.Boolean)
    location: class java.util.ArrayList<java.lang.String>
                   aList.add(new Boolean(rs.getBoolean("admin")));
    ^
    1 error
    Tool completed with exit code 1
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class StockTrackerDB
         private Connection con = null;
         //Constructor; makes database connection
         public StockTrackerDB() throws ClassNotFoundException,SQLException
              if(con == null)
                   String url = "jdbc:odbc:StockTracker";
                   try
                        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   catch(ClassNotFoundException ex)
                        throw new ClassNotFoundException(ex.getMessage() +
                                    "\nCannot locate sun.jdbc.odbc.JdbcOdbcDriver");
                   try
                        con = DriverManager.getConnection(url);
                   catch(SQLException ex)
                        throw new SQLException(ex.getMessage()+
                                    "\nCannot open database connection for "+url);
         // Close makes database connection; null reference to connection
         public void close() throws SQLException,IOException,ClassNotFoundException
              con.close();
              con = null;
         // Method to serialize object to byte array
         private byte[] serializeObj(Object obj) throws IOException
              ByteArrayOutputStream baOStream = new ByteArrayOutputStream();
              ObjectOutputStream objOStream = new ObjectOutputStream(baOStream);
              objOStream.writeObject(obj); // object must be Serializable
              objOStream.flush();
              objOStream.close();
              return baOStream.toByteArray(); // returns stream as byte array
         // Method to deserialize bytes from a byte array into an object
         private Object deserializeObj(byte[] buf) throws IOException, ClassNotFoundException
              Object obj = null;
              if(buf != null)
                   ObjectInputStream objIStream = new ObjectInputStream(new ByteArrayInputStream(buf));
                   obj = objIStream.readObject(); //IOException, ClassNotFoundException
              return obj;
         // Methods for adding a record to a table
         // add to the Stocks Table
         public void addStock(String stockSymbol, String stockDesc) throws SQLException, IOException, ClassNotFoundException
              Statement stmt = con.createStatement();
              stmt.executeUpdate("INSERT INTO Stocks VALUES ('"
                                    +stockSymbol+"'"
                                    +",'"+stockDesc+"')");
              stmt.close();
         // add to the Users table
         public boolean addUser(User user) throws SQLException,IOException,ClassNotFoundException
              boolean result = false;
              String dbUserID;
              String dbLastName;
              String dbFirstName;
              Password dbPswd;
              boolean isAdmin;
              dbUserID = user.getUserID();
              if(getUser(dbUserID) == null)
                   dbLastName = user.getLastName();
                   dbFirstName = user.getFirstName();
                   Password pswd = user.getPassword();
                   isAdmin = user.isAdmin();
                   PreparedStatement pStmt = con.prepareStatement("INSERT INTO Users VALUES (?,?,?,?,?)");
                   pStmt.setString(1, dbUserID);
                   pStmt.setString(2, dbLastName);
                   pStmt.setString(3, dbFirstName);
                   pStmt.setBytes(4, serializeObj(pswd));
                   pStmt.setBoolean(5, isAdmin);
                   pStmt.executeUpdate();
                   pStmt.close();
                   result = true;
              else
                   throw new IOException("User exists - cannot add.");
              return result;
         // add to the UserStocks table
         public void addUserStocks(String userID, String stockSymbol)
                        throws SQLException,IOException,ClassNotFoundException
              Statement stmt = con.createStatement();
              stmt.executeUpdate("INSERT INTO UserStocks VALUES ('"
                                    +userID+"'"
                                    +",'"+stockSymbol+"')");
              stmt.close();
         // Methods for updating a record in a table
         // updating the Users table
         public boolean updUser(User user) throws SQLException, IOException, ClassNotFoundException
              boolean result = false;
              String dbUserID;
              String dbLastName;
              String dbFirstName;
              Password dbPswd;
              boolean isAdmin;
              dbUserID = user.getUserID();
              if(getUser(dbUserID) != null)
                   dbLastName = user.getLastName();
                   dbFirstName = user.getFirstName();
                   Password pswd = user.getPassword();
                   isAdmin = user.isAdmin();
                   PreparedStatement pStmt = con.prepareStatement("UPDATE Users SET lastName = ?," + " firstName = ?, pswd = ?, admin = ? WHERE userID = ?");
                   pStmt.setString(1, dbLastName);
                   pStmt.setString(2, dbFirstName);
                   pStmt.setBytes(3, serializeObj(pswd));
                   pStmt.setBoolean(4, isAdmin);
                   pStmt.setString(5, dbUserID);
                   pStmt.executeUpdate();
                   pStmt.close();
                   result = true;
              else
                   throw new IOException("User does not exist - cannot update.");
              return result;
         }

         // Methods for deleting a record from a table
         // delete a record from the Stocks table
         private void delStock(String stockSymbol) throws SQLException,IOException,ClassNotFoundException
              Statement stmt = con.createStatement();
              stmt.executeUpdate("DELETE FROM Stocks WHERE "
                                    +"symbol = '"+stockSymbol+"'");
              stmt.close();
         // delete a record from the Users table
         public void delUser(User user) throws SQLException,IOException,ClassNotFoundException
              String dbUserID;
              String stockSymbol;
              Statement stmt = con.createStatement();
              try
                   con.setAutoCommit(false);
                   dbUserID = user.getUserID();
                   if(getUser(dbUserID) != null) // verify user exists in database
                        ResultSet rs1 = stmt.executeQuery("SELECT userID, symbol "
                                              +"FROM UserStocks WHERE userID = '"+dbUserID+"'");
                        while(rs1.next())
                             try
                                  stockSymbol = rs1.getString("symbol");
                                  delUserStocks(dbUserID, stockSymbol);
                             catch(SQLException ex)
                                  throw new SQLException("Deletion of user stock holding failed: " +ex.getMessage());
                        } // end of loop thru UserStocks
                        try
                        {  // holdings deleted, now delete user
                             stmt.executeUpdate("DELETE FROM Users WHERE "
                                              +"userID = '"+dbUserID+"'");
                        catch(SQLException ex)
                             throw new SQLException("User deletion failed: "+ex.getMessage());
                   else
                        throw new IOException("User not found in database - cannot delete.");
                   try
                        con.commit();
                   catch(SQLException ex)
                        throw new SQLException("Transaction commit failed: "+ex.getMessage());
              catch (SQLException ex)
                   try
                        con.rollback();
                   catch (SQLException sqx)
                        throw new SQLException("Transaction failed then rollback failed: " +sqx.getMessage());
                   // Transaction failed, was rolled back
                   throw new SQLException("Transaction failed; was rolled back: " +ex.getMessage());
              stmt.close();
         // delete a record from the UserStocks table
         public void delUserStocks(String userID, String stockSymbol) throws SQLException,IOException,ClassNotFoundException
              Statement stmt = con.createStatement();
              ResultSet rs;
              stmt.executeUpdate("DELETE FROM UserStocks WHERE "
                                    +"userID = '"+userID+"'"
                                    +"AND symbol = '"+stockSymbol+"'");
              rs = stmt.executeQuery("SELECT symbol FROM UserStocks "
                                         +"WHERE symbol = '"+stockSymbol+"'");
              if(!rs.next()) // no users have this stock
                   delStock(stockSymbol);
              stmt.close();
         // Methods for listing record data from a table
         // Ordered by:
         //          methods that obtain individual field(s),
         //          methods that obtain a complete record, and
         //          methods that obtain multiple records
         // Methods to access one or more individual fields
         // get a stock description from the Stocks table
         public String getStockDesc(String stockSymbol) throws SQLException, IOException, ClassNotFoundException
              Statement stmt = con.createStatement();
              String stockDesc = null;
              ResultSet rs = stmt.executeQuery("SELECT symbol, name FROM Stocks "
                                                      +"WHERE symbol = '"+stockSymbol+"'");
              if(rs.next())
                   stockDesc = rs.getString("name");
              rs.close();
              stmt.close();
              return stockDesc;
         // Methods to access a complete record
         // get User data from the Users table
         public User getUser(String userID) throws SQLException,IOException,ClassNotFoundException
              Statement stmt = con.createStatement();
              String dbUserID;
              String dbLastName;
              String dbFirstName;
              Password dbPswd;
              boolean isAdmin;
              byte[] buf = null;
              User user = null;
              ResultSet rs = stmt.executeQuery("SELECT * FROM Users WHERE userID = '" +userID+"'");
              if(rs.next())
                   dbUserID = rs.getString("userID");
                   dbLastName = rs.getString("lastName");
                   dbFirstName = rs.getString("firstName");
                   // Do NOT use with JDK 1.2.2 using JDBC-ODBC bridge as
                   // SQL NULL data value is not handled correctly.
                   buf = rs.getBytes("pswd");
                   dbPswd=(Password)deserializeObj(buf);
                   isAdmin = rs.getBoolean("admin");
                   user = new User(dbUserID,dbFirstName,dbLastName,dbPswd,isAdmin);
              rs.close();
              stmt.close();
              return user; // User object created for userID
         // Methods to access a list of records
         // get a list of selected fields for all records from the Users Table
         public ArrayList listUsers() throws SQLException,IOException,ClassNotFoundException
              ArrayList<String> aList = new ArrayList<String>();
              Statement stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery("SELECT userID, firstName, lastName, admin "
                                                 +"FROM Users ORDER BY userID");
              while(rs.next())
                   aList.add(rs.getString("userID"));
                   aList.add(rs.getString("firstName"));
                   aList.add(rs.getString("lastName"));
                   aList.add(new Boolean(rs.getBoolean("admin")));
              rs.close();
              stmt.close();
              return aList;
         // get all fields in all records for a given user from the UserStocks table
         public ArrayList listUserStocks(String userID) throws SQLException, IOException, ClassNotFoundException
              ArrayList<String> aList = new ArrayList<String>();
              Statement stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery("SELECT * FROM UserStocks "
                                                      +"WHERE userID = '"+userID+"' ORDER BY symbol");
              while(rs.next())
                   aList.add(rs.getString("symbol"));
              rs.close();
              stmt.close();
              return aList;
    }

  • Need help with an Error

    Hello, im using this class to query a table from my database. everything is ok, but when i write the closing } of the Main class the Program gives an error. In the main class ive wrote here at the bottom, the main class has no ending } . Now only the final } gives an error but everything else is ok, ive double checked all brackets, they are all in good place, what is going wrong?
    package DBandQueryHandler;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    class Main {
        public static void main(String[] args){
            Class driver_class=null;
                    try{    
                        driver_class=Class.forName("com.mysql.jdbc.Driver");         }
                    catch(ClassNotFoundException e){ 
                        e.printStackTrace(); 
                        return;
            System.out.println("Found Driver"+ driver_class);
            Connection connection=null;
            try{
                connection= DriverManager.getConnection("jdbc:mysql://localhost:3306/....", ".....", "........");
            catch(SQLException e){
                e.printStackTrace();
                return;
            try{
                System.out.println("Established connection to"+ connection.getMetaData().getURL());
            catch(SQLException e1){
                e1.printStackTrace();
            Statement statement=null;
            try{
                statement= connection.createStatement();
                statement.execute("SELECT * FROM KLANTEN");
                Resultset resset= statement.getResultSet();
                System.out.println("Row user_id, username, password, abbonement1, abbonement2, openstaand");
                while(resset.next()){
                    System.out.println(resset.getRow());
                    System.out.println("" + resset.getSring("user_id"));
                    System.out.println("" + resset.getSring("username"));
                    System.out.println("" + resset.getSring("password"));
                    System.out.println("" + resset.getSring("abbonement1"));
                    System.out.println("" + resset.getSring("abbonement2"));
                    System.out.println("" + resset.getSring("openstaand"));
                resset.close();
            catch(SQLException e){
                e.printStackTrace();
            finally{
                if(statement=null){
                    try{
                    statement.close();
                    catch(SQLException e){
                e.printStackTrace();
                if(connection=null){
                    try{
                    connection.close();
                    catch(SQLException e){
                e.printStackTrace();
       }

    javaboy2 wrote:
    Like i said, when i write all brackets correctly, the program gives errors, but when i delete the the last bracket, the program doesnt give errors(except for the last bracket=> '}' expected). I dont understand this.
    The errors of the program with correct amount of brackets are these: Yes, the errors come up with correct brackets because you have errors . When you take out the bracket, the structure is too bad so it doesn't look for the rest of the errors. This problem has absolutely nothing to do with brackets at all. That's why you needed to post the errors in your first post, rather than ignoring them and pretending your code is perfect and blaming it on brackets.
    And these errors would be fixed if you read them.
    Cannot find symbol ResultsetThat's because there is no class called Resultset. It's called ResultSet.
    Your if statements are using assignment instead of equality
    statement=null; //that assigns null to the statement object
    statement==null; //that checks to see if statement equals nullAgain, read your errors. They don't lie.

  • Need help in runtime error

    I try to run the ausp dbtable.
    with entries of object: 00001019680 and more that 1300 entries
    Inter char. sr_code
    classtype: z01
    the problem is display in a short dump with this message
    There is no help text for this runtime error either the text was inadvertently deleted or the release of the kernel differs from that of that of the database.
    Thanks.
    I hope you could help me. I need it urgent

    Hi rhym,
    Thta soounds like a memory issue to me. At least that is what causes that to happen to me.
    The 'slice' of data you are requesting, based on your criteria, may be more mega bytes than the memory buffer. Too much data perhaps.
    When this happens to me I have to take smaller chuncks of data, multiple extractions, then paste them all together.
    Try half the number of entries, and see.
    RS

  • Need help in returning error condition from web service

    Hi,
    I need one help regarding webservice. Currently my web service is returning "true" value when it works fine without any issues but it returns "false" when any any error is encountered. So my question is, can we return error instead of string "false". I dont know how to return exact error from webservice. If you any idea then please mail me.
    Below is a small code snippet:
    System.out.println("User "+ userFullName + usrKey + " end date has been updated to "+usrEndDate +" in IDM DB");
    result = true;
    catch (tcAPIException e) {
    log.error("Error in finding the user" + e.getMessage());
    result = false;
    } catch (tcUserNotFoundException e) {
    log.error("Error in getting user status" + e.getMessage());
    result = false;
    } catch (tcStaleDataUpdateException e) {
    log.error("Error in updating end date of user" + e.getMessage());
    result = false;
    }catch (Exception e1) {
    e1.printStackTrace();
    result =false;
    return result;
    Here i want to return error instead of false. Can we do that?
    Thanks,
    Kalpana.

    instead of storing false store below
    use result=e1.getMessage();
    Edited by: Nishith Nayan on Feb 23, 2012 8:07 PM

  • Need help in displaying error message on the same screen

    Hi Experts,
    I have written a report which gets called from IW52 by clicking one of the action items. Now in my report when I am trying display an error message it is getting displayed at the bottom of a blank screen. My requirement is to display it at the bottom of the IW52 screen, so that user can rectify the error.
    Please help.
    Regards,
    Sambaran Ray.

    Hi,
    Probably you need to find a way to enhance the standard code.
    But make one thing sure that the code (included bu you) gets fired only when that specific report is being executed. Else it may harm the standard functionality.
    Hope this helps you.
    Regards,
    Tarun

  • Jxl -need help to solve error generated while using createWorkbook() method

    I need to copy a template excel file(template will hold the file name) to another new generated excel file (book.xls).
    And I was trying this, -
    FileInputStream fis = new FileInputStream(template);
    jxl.Workbook jwbook = Workbook.getWorkbook(fis);
    Sheet jsheet[] = jwbook.getSheets();
    int sheetNum = jwbook.getNumberOfSheets();
    FileOutputStream fos = new FileOutputStream(pathName + File.separator + "book.xls");
    WritableWorkbook outputWorkbook;
                outputWorkbook = Workbook.createWorkbook(fos, jwbook);error showing :-
    java.lang.NoSuchMethodError: common.Assert.verify(Z)V
         at jxl.biff.XFRecord.<init>(XFRecord.java:356)
         at jxl.write.biff.CellXFRecord.<init>(CellXFRecord.java:50)
         at jxl.write.WritableCellFormat.<init>(WritableCellFormat.java:87)
         at jxl.write.WritableWorkbook.<clinit>(WritableWorkbook.java:55)
         at jxl.Workbook.createWorkbook(Workbook.java:344)
         at jxl.Workbook.createWorkbook(Workbook.java:326)
         at custom.localopal.actions.TestExcel.processAction(TestExcel.java:581)
         at custom.localopal.actions.TestExcel.main(TestExcel.java:1373)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)Here,-
    template is a filename,
    pathname is "c://Test",
    'template' is also in the same path.
    Can any one please help me to identify the problem? What is the reason of the error and how it can be solved?

    It looks like the error is on the below line ;
    java.lang.NullPointerException
      at oracle.apps.ap.oie.audit.server.AuditReportLinesVORowImpl.isPersonalLine(AuditReportLinesVORowImpl.java:449)
    Please check what is the reason for the error.
    I am seeing many issues with VO substitution these days which is because the extended VORowImpl is not calling super for those attribiutes which is overridden in the stanard VORowImpl.
    Please have a read on the below blog and see whether that is applicable to your VO extension.
    Johny's Tips: OAF: Transient Attributes not getting populated in Extended VO
    If not, please attach the standard and the custom VO files
    Cheers
    AJ

  • Need help on ODI error table

    Hi all,
    I need to know following things
    1) I have created open few tools and if business validation fails it throws OpenToolExecutionException with some error code now I want to check in which SNP_ table it goes and how cud I track my error info.
    2)
    In other way where these error messages are stored when any scenario execution fails.
    snp_sess_task_log and SNP_STEP_LOG and SNP_SESS_STEP all are having
    one entry I_TXT_TASK_MESS in which table these messages are present
    3)
    Please let me know the names of scenario execution error tracking tables so that I can used them for notification purpose when any scenario fails.
    3)
    I want to know how operator showing this error code as I have inserted
    oracle.odi.sdk.opentools.OpenToolExecutionException: 5000
         at com.nucleus.acom.odi.opentool.tool.OdiProductTransferOpenTool.callOracleSP(OdiProductTransferOpenTool.java:240)
         at com.nucleus.acom.odi.opentool.tool.OdiProductTransferOpenTool.execute(OdiProductTransferOpenTool.java:124)
         at com.sunopsis.dwg.function.SnpsOpenToolFunction.actionExecute(SnpsOpenToolFunction.java)
         at com.sunopsis.dwg.function.SnpsOpenToolFunction.execute(SnpsOpenToolFunction.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:595)

    Hi Santos,
    Is it possible to use the same in OpenTool as I am invoking these steps one by one using invocation API.
    So in that case I wrote a java class as a controller and few Open Tool .
    * Condition is like we are executing steps one by one from that controller class .
    if the previous step caused exception then I use to stop all the other steps those are the successor of the same.
    * Open tool may throw some OpenToolExecutionException which depends on some businees validation and also some common java exception .
    how to use this API odiRef.getPrevStepLog() in my java code and where.
    could you please send me code for that one
    regards,
    palash Chatterjee

  • Need help with Adobe error

    I am taking an online course that has the class information on its website as PDF files. I am using Adobe Reader Ver 9.3. When I attempt to open the PDF files, I get an error that states "The Adobe Acrobat/Reader that is running can not be used to view PDF files in a Web browser. Please exit Acrobat/Reader and exit your web browser and try again."
    I have opened Acrobat/Reader in its own window and attempted to open the file again and the same error comes up.
    Since these files contain the information I need to learn for the class, it is imperative I can open these files. Any help would be appreciated.
    Thank you in advance.

    This is the Acrobat forum, not the Reader forum. However, you should be able to right click on the files and download them to disk. Then simply open them locally. I am not sure what your problem may be - possibly a browser issue.

  • Need help with an error message: Can't repair volume.

    Hi, folks.
    While checking my HD with Disk Utility, I found a message error. It says that I have to repair the disk but the button "Repair Disk" is not available.
    The message is copied below... if anyone can read it and help me, I'd appreciate.
    Verifying volume “Macintosh HD”
    Checking HFS Plus volume.
    Checking Extents Overflow file.
    Checking Catalog file.
    Overlapped extent allocation (file 1022303 /Applications/Macromedia Dreamweaver MX 2004/Dreamweaver MX 2004/Contents/MacOS/Dreamweaver)
    Overlapped extent allocation (file 1034457 /Users/Johnny/Library/Mail/[email protected]/INBOX.mbox/Messages/16 143.emlx)
    Overlapped extent allocation (file 1034472 /Users/Johnny/Library/Caches/Mail/11/05/1521797044-3222719574.cache)
    Overlapped extent allocation (file 1035396 /Users/Johnny/Library/Mail/[email protected]/Junk E-Mail.mbox/Messages/16148.emlx)
    Overlapped extent allocation (file 1035401 /Users/Johnny/Library/Mail/[email protected]/Junk E-Mail.mbox/Messages/16149.emlx)
    Overlapped extent allocation (file Overlapped extent allocation (file s/DisplayPictures/[email protected]/VnRhV1J0dXR3eG41aG04T3UxOXIrU lZWZ3AwPQ==.png)
    Overlapped extent allocation (file 1042618 /Users/Johnny/Mercury/MSN/Resources/DisplayPictures/[email protected]/ R3FDbDlPNllTRGhhUmNXd3p2Sm55clQ0aUx3PQ==.png)
    Overlapped extent allocation (file 1049904 /Users/Johnny/Library/Mail/[email protected]/Sent Messages.mbox/Messages/16257.emlx)
    Overlapped extent allocation (file Overlapped extent allocation (file ail/02/12/4236346157-3219157957.cache)
    Overlapped extent allocation (file 1050553 /Users/Johnny/Library/Mail/[email protected]/Drafts.mbox/Messages/1 6261.emlx)
    Overlapped extent allocation (file 1050558 /Users/Johnny/Library/Mail/[email protected]/Drafts.mbox/Messages/1 6262.emlx)
    Overlapped extent allocation (file 1050573 /Users/Johnny/Library/Mail/[email protected]/Drafts.mbox/Messages/1 6263.emlx)
    1050573 /Users/Johnny/Library/Mail/[email protected]/Drafts.mbox/Messages/1 6263.emlx
    @)",1)
    1054976 /Users/Johnny/Mercury/MSN/Resources/CustomEmoticons/patinhodeborracha22@hotmail .com/NUxYOXd5ZkZiRjR0Wm5Ob3NZY0p6K09oWWFnPQ==.gif
    Overlapped extent allocation (file 1055000 /Users/Johnny/Mercury/MSN/Resources/DisplayPictures/patinhodeborracha22@hotmail .com/TzNFcmEzTWxaMmV4L0NOelVEUllsaEJjd1BRPQ==.png)
    Overlapped extent allocation (file 1057743 /Users/Johnny/Library/Mail/[email protected]@[email protected]/Sent Messages.mbox/Messages/16313.emlx)
    1057743 /Users/Johnny/Library/Mail/[email protected]@[email protected]/Sent Messages.mbox/Messages/16313.emlx
    t allocation (file %@)",1)
    1057789 /Users/Johnny/Documents/Yazigi/Events/OFICIO_SDUMA.doc
    Overlapped extent allocation (file 1057880 /Applications/Microsoft Office 2004/Clipart/Yázigi)
    Overlapped extent allocation (file 1058044 /Users/Johnny/Library/Caches/Mail/04/11/2078440011-2247275449.cache)
    Overlapped extent allocation (file 1058045 /Users/Johnny/Library/Caches/Mail/10/07/0272707744-3809369458.cache)
    Overlapped extent allocation (file Overlapped extent allocation (file ny/Library/Caches/Mail/00/15/2244060425-1075118591.cache)
    Overlapped extent allocation (file 1058051 /Users/Johnny/Library/Caches/Mail/09/11/0695285650-1820972980.cache)
    Overlapped extent allocation (file 1058052 /Users/Johnny/Library/Caches/Mail/00/11/0589583874-0597952182.cache)
    Overlapped extent allocation (file 1058053 /Users/Johnny/Library/Caches/Mail/05/12/0478257501-4274710467.cache)
    Overlapped extent allocation (file Overlapped extent allocation (file Mail/00/01/0993945094-0587616530.cache)
    Overlapped extent allocation (file 1058055 /Users/Johnny/Library/Caches/Mail/00/05/0791764484-0602406228.cache)
    Overlapped extent allocation (file 1058056 /Users/Johnny/Library/Caches/Mail/00/15/1220797701-0859034105.cache)
    Overlapped extent allocation (file 1058057 /Users/Johnny/Library/Caches/Mail/00/07/1625158921-0865946749.cache)
    Overlapped extent allocation (file Overlapped extent allocation (file 179-0596073421.cache)
    Overlapped extent allocation (file 1058060 /Users/Johnny/Library/Caches/Mail/00/11/1196125704-0590536112.cache)
    Overlapped extent allocation (file 1058062 /Users/Johnny/Library/Caches/Mail/00/11/1422978311-0856115643.cache)
    Overlapped extent allocation (file 1058063 /Users/Johnny/Library/Caches/Mail/04/12/2763023681-0835402695.cache)
    Overlapped extent allocation (file Overlapped extent allocation (file he)
    Overlapped extent allocation (file 1058065 /Users/Johnny/Library/Caches/Mail/00/03/1827339531-0863388223.cache)
    Overlapped extent allocation (file 1058066 /Users/Johnny/Library/Caches/Mail/07/03/3539577467-0911802683.cache)
    Overlapped extent allocation (file 1058067 /Users/Johnny/Library/Caches/Mail/00/04/1321888006-0860911682.cache)
    Overlapped extent allocation (file 1058069 /Users/Johnny/Library/Caches/Mail/00/02/1726249226-0867834918.cache)
    1058069 /Users/Johnny/Library/Caches/Mail/00/02/1726249226-0867834918.cache
    extent allocation (file %@)",1)
    1058070 /Users/Johnny/Library/Caches/Mail/05/01/0121999446-2569076246.cache
    Overlapped extent allocation (file 1058071 /Users/Johnny/Library/Caches/Mail/12/14/3415372742-4138529506.cache)
    Overlapped extent allocation (file 1058076 /Users/Johnny/Library/Application Support/Skype/joaopaulo_yazigi/chatsync/19/19e520537f725be8.dat)
    Overlapped extent allocation (file Overlapped extent allocation (file nc/d5/d5f85bf4508148d5.dat)
    Overlapped extent allocation (file 1074308 /Users/Johnny/Library/Caches/com.apple.AddressBook/MetaData/2A56AA5D-FD59-4B78- BF65-25589E601017/ABPerson.abcdp)
    Overlapped extent allocation (file 1083386 /Users/Johnny/Music/iTunes/iTunes Music/Podcasts/NEWSWEEK On Air Podcast/NEWSWEEK On Air 1092005.mp3)
    Overlapped extent allocation (file Overlapped extent allocation (file XlSOE96L2VJPQ==.png)
    Overlapped extent allocation (file 1094018 /Users/Johnny/Library/Application Support/Skype/joaopaulo_yazigi/chatsync/15/150fcbaa76a7fb93.dat)
    Overlapped extent allocation (file 1120553 /Users/Johnny/Documents/Yazigi/Events/PRELISTAECOLOCICA2005.doc)
    Overlapped extent allocation (file 1182160 /Users/Johnny/Library/Mail/[email protected]@[email protected]/Sent Messages.mbox/Messages/17264.emlx)
    Overlapped extent allocation (file Overlapped extent allocation (file /Users/Johnny/Library/Mail/[email protected]@[email protected]/Sent Messages.mbox/Messages/17267.emlx)
    Overlapped extent allocation (file 1182217 /Users/Johnny/Library/Mail/[email protected]@[email protected]/Sent Messages.mbox/Messages/17269.emlx)
    Checking multi-linked files.
    Checking Catalog hierarchy.
    Checking Extended Attributes file.
    Checking volume bitmap.
    Volume Bit Map needs minor repair_
    Checking volume information.
    Invalid volume free block count_
    (It should be 3677631 instead of 3677630)
    The volume Macintosh HD needs to be repaired.
    Error: The underlying task reported failure on exit
    1 HFS volume checked
    Volume needs repair
    Thanks in advance.
    JP

    You will need to try and repair the drive with Disk Warrior. Otherwise, the only option is to reformat the drive. Note that DW may not be successful in fixing all the errors, and you may end up having to reformat anyway.
    It may be possible to fix the problem manually, but it's quite involved. Here's the info:
    http://docs.info.apple.com/article.html?artnum=25770
    Manually fix Overlapped Extent Allocation Errors without Disk Warrior
    Overlapped overlapped extent allocation errors can be the bane of any Mac user's existence. Often, these errors go unnoticed until the problem becomes visible: your Mac might refuse to boot, crash unexpected, or worse, critical data might disappear from the Finder. Disk Utility can detect, but not fix overlapped extent allocation errors, and certain third-party utilities, such as Alsoft Diskwarrior, can fix them, but generally without reporting the consequences.
    Overlapped extent allocation error occur when the file system thinks that two files are occupying the same area on the hard disk, hence overlapping on the same "inode," which is the structure which holds the location of the data blocks the file occupies, and also file permissions and flags.
    Clearing the "overlapped" or "overallocated" extent allocation essentially means that you'll have to lose some data, because the only way to remove the overlap is to delete the file that's occupying the inode. So, if you suspect, or find out, that the guilty file is a critical system file that resides in one of the hidden system directories such as /etc /var /usr/ or visible system directories such as /System or /Library, and you don't want to reinstall the whole OS (which might not fix the overlapped extent allocation anyway), it's good to have another disk available to copy the files back to your original disk if necessary: a second bootable hard drive or a firewire drive connected to your Mac when you remove the misbehaving file. Just make sure that when you copy the file back to your boot disk that the permissions are correct, so it's best to use the "ditto" command, so that all sticky bits, flags, and permissions are preserved.
    In case you didn't know, you don't have to boot from an install CD in order to check for overlapped extent allocations. All you need to do is restart your Mac, while holding down command + S to boot in "single-user mode."
    At the command prompt that appears, type:
    $ fsck -fy
    If you have an overlapped extent allocation, you'll see:
    "Overlapped Extent Allocation" (File 123456d)
    No matter how many times you run fsck -fy, you'll never be rid of the error.
    So, simply issue the following command:
    find / -inum 123456 -print
    Note the "d" was dropped, or any extra letter that appears after the inode number.
    The find will return a file name that matches with the inode number, and the path to that file. If you remove the file then the fsck will not return this error next time you run it.
    However, before you can delete the file(s) in single-user mode, you'll need to mount the file system. Type:
    $ mount -uw /
    When done, issue the "sync" command, and that will flush the write cache so that all pending writes are written from memory to the disk. Also, since most OS X 10.3 Macs use the HFS+ Journaled file system, it might be a good idea to disable the journal before booting into single-user mode by typing:
    $ sudo diskutil disableJournal /
    then re-enable it when done fixing the overlapped extents and rebooting normally:
    $ sudo diskutil enableJournal /
    Chris Anderson is a long-time Linux propellerhead who just got his first Mac, an ibook G4, and can't keep his hands off of it. He currently works as a "The Architect" and general visionary for a maker of world-class collectibles.

Maybe you are looking for

  • Photoshop CS6 continually crashes on save

    I know I'm not the only one with this issue. I got rid of my most recent preferneces already and uninstalled my last extension but still am crashing on almost every save! Can anybody see the issue? Thanks much. Here is the log: Process:     Adobe Pho

  • Connecting MBP with VGA to 32" LCD HDTV?

    What's up everyone, I'm looking at buying the new 15" Macbook Pro and connecting it to my Westinghouse 32" LCD HDTV. My TV does NOT have DVI input, but does have VGA and HDMI. Has the issue with connecting these bad boys been resolved yet? Has anyone

  • How access control exception is removed

    Pls suggest me how to overcome with this problem . I have only this simple code=============>> public MyRemoteServer() { try { MyRemote c = new MyRemoteImpl(); if (System.getSecurityManager() == null) { System.setSecurityManager(new RMISecurityManage

  • JRadioButton Problem

    I'm having a problem using JRadioButtons. I can get the background color to change, but is there anyway for the circle part of the radio button to remain solid. I.e. if I set the background of the radio button to blue, how do I keep the color of the

  • Nokia express music 5800 contact number problem

    I can't get my phone numbers from my phone. when i try to open the phonebook it says no contact is there. though there is contacts saved in phonebook. Even if any person call me it displays there name in Dialed,missed,recieved number list. IIf i try