Sql exception when connecting to oracle database

When trying to connect to an oracle database using the code below i get an sql error. i put the code below it and the stack trace below the code. any help would be great
Connection connection = null;
        try {
            // Load the JDBC driver
            String driverName = "oracle.jdbc.driver.OracleDriver";
            Class.forName(driverName);
            //  Create a connection to the database
            String serverName = "192.168.0.2";
            String portNumber = "1158";
            String sid = "orcl";
            String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
            // String url = "jdbc:oracle:oci:@orcl";
            String username = "system";
            String password = "mmsi";
            connection = DriverManager.getConnection(url, username, password);
        } catch (ClassNotFoundException e) {
            System.out.println("Class Not Found Exception in connection to db");
        } catch (SQLException e) {
            System.out.println("SQL Exception in connecting to Database ");
            e.printStackTrace();
stackTrace------------------------------------------------------------------------------
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
SQL Exception in connecting to Database
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
before this.start
got to doaction
        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
        at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
        at java.sql.DriverManager.getConnection(DriverManager.java:525)
        at java.sql.DriverManager.getConnection(DriverManager.java:171)
        at mmsiserver.conversation.<init>(conversation.java:190)
        at mmsiserver.Server.run(Server.java:105)
Exception in thread "Thread-0" java.lang.NullPointerException
        at mmsiserver.conversation.doAction(conversation.java:218)
        at mmsiserver.conversation.<init>(conversation.java:202)
        at mmsiserver.Server.run(Server.java:105)Message was edited by:
pcpitcher1

Please read this
http://forum.java.sun.com/thread.jspa?threadID=512566&start=0&tstart=0

Similar Messages

  • Need help: Got SO Exception when connecting to oracle

    I am using with oracle 9.2.0.1.0 on Linux, and java 1.3.1.
    I copied the classes12.jar file provided by oracle 9.2.0.1 to /usr/lib/java/jre/lib/ext directory.
    I did not have any problem compiling the program. However,
    I got the following error when running my program.
    Io exception: SO Exception was generated.
    Here is how I connect to the database.
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    Connection con = DriverManager.getConnection (
    "jdbc.oracle.thin:user/password//@192.168.0.150/myDb");
    When I changed the following code I got a different error
    Connection con = DriverManager.getConnection (
    "jdbc.oracle.thin:user/[email protected]:1521:myDb");
    Io exception: Network Adapter could not establish the connection.
    Which code should I use, and what are these error
    messages mean ? Please help.

    Never mind. I found out what I did wrong. I need to start the listener
    lsnrctl

  • SQl Exception while connecting to Oracle Databse : Network adaptar .......

    hi !
    I am geeting an SQL Exception ...
    Network apdator could not establish connection..
    the code is as follows
    String driverName = "oracle.jdbc.driver.OracleDriver";
    String dbURL = "jdbc:oracle:thin:@server:1521:biz";
    String uName = "uidt";
    String pwd = "pwd";
    Class.forName(driverName);
    conn = DriverManager.getConnection(dbURL, uName, pwd);
    Please help me out !!

    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port.
    - Try "telnet serverhost the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try it with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • SQL*XL 3 connect to oracle database

    I USE SQL*XL TO EXTRACT DATA FROM ORACLE DATABASE!
    THE SOFTWARE WORK THERY WELL ON A CLINT IN WITCH IS INSTALLER DEVELOPER, BUT IF I INSTALL SQL*XL ON A PC that don't have nothing of oracle installed don't connect to database.
    Do you Know what are the things that i must install on the client pc to connect to database without install all the CD???
    Thank 's

    I don't believe that there is a client-only installation option from Oracle Developer CD's. If you're talking exclusively about Windows client machines, there is a Windows client-only download available on OTN with the database downloads. Otherwise, if you download the Oracle database, one of the installation options is to do a client-only install.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Connect to Oracle database from SQL Sever

    Can you help on an issue of connection from SQL Server to Oracle database:
    In SQL Server, I create a "linked server" to connect to Oracle database on a different machine. But it will take a unreasonable time (about 30 seconds) to call a Oracle query from SQL Server.

    No there are no entries required in the TNSNAMES.ORA
    When you are using ODBC for connection, Oracle does not look fo rany enteries in TNSNAMES.ORA file.
    Now I am able to connect to both SQL Plus and Forms 6i. But while connecting to SQL Plus its giving an error
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.35.0
    Microsoft SQL Server 08.00.0534
    Also while disconnecting the Windows Program Error comes, and the application closes abruptly.

  • Issues when trying to connect to Oracle database

    Hi
    We have set up a linked server in SQL Server to connect to an Oracle database. We are using SQL Server 2008 R2 Enterprise (64 bit) on Windows Server 2008 and Oracle client 11g 11.02.00.01 connecting to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production using UTF8.
    Most tables are selectable without error, however, we got this error message for some:
    Msg 7347, Level 16, State 1, Line 1
    OLE DB provider 'OraOLEDB.Oracle' for linked server 'OurLinkedServer' returned data that does not match expected data length for column '[OraOLEDB.Oracle].Ourfieldname'. The (maximum) expected data length is 6, while the returned data length is 2.
    This error message refers to a column of type char(3)
    Will the characterset cause this error (I’ve read that SQL Server doesn’t support UTF8)?
    If not, is there some other resolution that anyone can think of?
    Any suggestions are greatly appreciated.
    Thanks a lot!
    Tom

    Thank You for replying, Justin!
    Yes, I can connect successfully to the database through other tools - at the moment I tried SQL*Plus, Net8 Easy Config and Schema Manager.
    The Oracle client in the NT machine is 8.0.5.0.0. And unfortunately I do not know anything about the Oracle installation on this machine and at the moment I don't have that person near me too whom to ask also. But I think the installation was ok, because the connection through ODBC was working before the DB upgrade as far as I understood (sorry, again at the moment I don't know what was the previous version of DB. I will ask that information as soon as possible).
    The main problem that bothers me at the moment is that I can't install 8.1.* series OraODBC driver with 8.0.5.0.0 Oracle Installer. I managed to install 8.0.6.6.0 version of the driver, but not the newer ones. As far as I've understood I have to upgrade the whole Oracle in the NT machine to upgrade that installer. Am I correct?
    Regards,
    Madis Priilinn

  • Cannot connect to Oracle database from SQL Server

    Hi
    We have set up a SQL Server linked server and tried to use this SQL Server linked server to connect to Oracle database. We are using SQL Server 2008 and Oracle client 11g 11.02.00.01. However, we got this error message:
    Msg 7347, Level 16, State 1, Line 1
    OLE DB provider 'OraOLEDB.Oracle' for linked server 'OurLinkedServer' returned data that does not match expected data length for column '[OraOLEDB.Oracle].Ourfieldname'. The (maximum) expected data length is 6, while the returned data length is 2.
    We are able to connect some of the tables ok but some of the tables are not connected and got the above error message.
    Any suggestions are greatly appreciated.
    Thanks a lot
    Tom

    Hi
    Here is more information. We just found out that the Oracle database team changed the character set to something else and then they changed it back to UTF8.
    Currently, it is using UTF8 character set on the Oracle side. Will this causing us this error message on our sql server linked server?
    The error message said "The (maximum) expected data length is 6, while the returned data length is 2."
    This refers to a field/column with char(1)
    Any suggestions are greatly appreciated
    Thank you
    Tom

  • Which version of SQL*Plus can connect to Oracle 8i Database?

    Which version of SQL*Plus can connect to Oracle 8i Database?
    I would like to know which version of SQL*Plus can connect to Oracle 8i Database?
    Where can I download it?
    (I have tried SQL*Plus version 11 and the program said it does not support the connection to Oracle 8i Database)
    Thank you very much!

    By the way, what's your 8i database release version
    SQL> select * from v$version;
    Any SQL*Plus of 8i can connect to 8i Database.
    Only SQL*Plus of 9.0.1 can connect to 8.1.7 and 8.1.6 Database
    Only SQL*Plus of 10.1.0/10.2.0 can connect to 8.1.7 Database
    Absolutely NO SQL*Plus of 11g can connect 8i databases
    Regards,
    Sabdar Syed,

  • Unable to connect to Oracle database running on Windows machine from linux.

    Hi,
    I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
    Please help me.
    Thanks,
    Sunjyoti
    Code :
    import oracle.jdbc.pool.OracleDataSource;
    import java.sql.Connection;
    import java.util.*;
    import java.sql.*;
    import java.io.*;
    class try2{
    public static void main(String args[]) {
    try {
              System.out.println("hi");
    // Load the properties file to get the connection information
    Properties prop = new Properties();
    prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
    // Create a OracleDataSource instance
    OracleDataSource ods = new OracleDataSource();
    System.out.println("prop is "+prop);
    configureDataSource(ods, prop);
    Connection conn=null;
    // Create a connection object
    conn = ods.getConnection();
         System.out.println("Connection is"+conn);
    // Sets the auto-commit property for the connection to be false.
    conn.setAutoCommit(false);
    } catch (SQLException sqlEx){ // Handle SQL Errors
    System.out.println("In exception "+sqlEx);
    } catch(Exception excep) { // Handle other errors
    System.out.println(" Exception "+ excep.toString());
    private static void configureDataSource(OracleDataSource ods, Properties prop) {
    // Database Host Name
    ods.setServerName(prop.getProperty("HostName"));
    // Set the database SID
    ods.setDatabaseName(prop.getProperty("SID"));
    // Set database port
    ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
    // Set the driver type
    ods.setDriverType ("thin");
    // Sets the user name
    ods.setUser(prop.getProperty("UserName"));
    // Sets the password
    ods.setPassword(prop.getProperty("Password"));
    Connection properties :
    # Your Database Connection details
    HostName = 10.20.3.19
    SID = EDIREAD
    Port = 1521
    UserName = dbuser
    Password = dbuser
    Error I'm getting is
    error while trying to connect with odbc datasource
    [root@iflexpau2217 EDIReader]# java try2
    hi
    prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
    In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Also I tried to connect with weblogic JDBC driver
    Code is here:
    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    //import com.entrust.toolkit.util.ByteArray;
    public class trial{
         public static void main(String args[]) throws IOException{
              System.out.println("hi");
              Connection p_conn = null;
              PreparedStatement xml_insert = null;
              try {
         // Load the JDBC driver
                   System.out.println("hi2");
         // String driverName = "oracle.jdbc.driver.OracleDriver";
    String driverName = "weblogic.jdbc.oracle.OracleDriver";
         System.out.println("hi2");
         Class.forName(driverName);
         // Create a connection to the database
         String serverName = "10.20.3.19";
         String portNumber = "1521";
         String sid = "EDIREAD";
         //String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String url = "jdbc:bea:oracle://10.20.3.19:1521";
         String username = "dbuser";
         String password = "dbuser";
    System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
         p_conn = DriverManager.getConnection(url, username, password);
         System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
              xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
              //InputStream in=null;
              File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
              BufferedReader input =null;
              input=new BufferedReader(new FileReader(l_file));
              String line = null;
              StringBuffer trial=new StringBuffer();
              while (( line = input.readLine()) != null){
                   trial.append(line);
                   trial.append(System.getProperty("line.separator"));
              //InputStream is = new BufferedInputStream(new FileInputStream(l_file));
              System.out.println(trial.toString());
              //Blob b ;
              //byte[] bytes=trial.toString().getBytes();
              //System.out.println("Size-->"+bytes.length);
              xml_insert.setString(1,new String("SpecailChar"));
              //xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
              xml_insert.setString(3,"SpecailChar");
              xml_insert.executeUpdate();
              p_conn.commit();
              } catch (ClassNotFoundException e) {
                   System.out.println("ClassNotFoundException:"+e.getMessage());
              // Could not find the database driver
              } catch (SQLException e) {
                   System.out.println("SQEXCEPTIN:"+e.getMessage());
              // Could not connect to the database
              }catch (FileNotFoundException e) {
                   System.out.println("filenot found:"+e.getMessage());
              // Could not connect to the database
    Error I'm getting is
    error while trying with jdbc:
    SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refused

    Is the Windows firewall active? Have you enabled the port on the firewall, if it is?

  • Error when connecting linux oracle dataabse for replication thru oms

    I have installed oracle 8.1.7 ee on Redhat linux 7.1 and 6.2 both and also on windows2000.
    When i try to access database of any oracle installed on linux machines from any of management server it gives following errors:
    ora-01034 oracle not available
    ora-27101 shared memory realm does not exist
    linux error:2: file or dir does not exist.
    if i try to access dataabse without login to any management server ( i.e thru dba studio) then it connects to it.
    i want to setup master replication with two linux machine database.
    if any person has solution for this then please help me.
    Thx in advance
    if possible mail me at [email protected]
    thx in advance
    pranav shah
    null

    1010056 wrote:
    When iam connecting getting the following error
    [rmancln@orawave ~]$ sqlplus '/as sysdba'
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 5 21:16:53 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select status from v$instance;
    STATUS
    MOUNTED
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/u01/rmancln/oradata/CLN/system01.dbf'provide details on what events lead up to this situation.
    [oracle@localhost ~]$ oerr ora 1152
    01152, 00000, "file %s was not restored from a sufficiently old backup "
    // *Cause:  An incomplete recovery session was started, but an insufficient
    //         number of logs were applied to make the database consistent. This
    //         file is still in the future of the last log applied. The most
    //         likely cause of this error is forgetting to restore the file
    //         from a backup before doing incomplete recovery.
    // *Action: Either apply more logs until the database is consistent or
    //         restore the database file from an older backup and repeat recovery.

  • How to connect to oracle database from visual basic 2010 express edition

    I have installed visual basic 2010 express edition on windows xp. But visual basic 2010 express edition supports Microsoft sql server database file,Microsoft sql server compact 3.5, Microsoft access database file. I want to connect to oracle database from visual basic 2010 express edition. So what drivers are required and how to do connectivity?

    Hello,
    I wasn't clear on what you were using to make the connection. I had a look in Visual Studio 2010 (don't have express to test sorry).
    I think you mean the Data Sources available under the menu Data-> Datasources. this seems to match the description you give when I
    look at the list of datasource options.
    In here you can make ODBC connections via the Microsoft .net Data Provider .
    If you select ODBC as a datasource you can see listed the DSN's you created - for example I see 2 which use the Oracle ODBC driver.
    This assumes you installed an Oracle Client + the oracle version of the ODBC driver (comes with the oracle client).
    Once you created a server connection then you should see it in the server explorer.
    You can also download the Oracle Developer Tools for Visual Studio which is an add on for VS.
    ** I suspect this is only for VS 2010 and I didn't see that Express was supported.
    http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
    Let me know if that helps.
    John

  • Oracle Client to  connect to oracle database 7.x

    Hi,
    I want to connect to oracle database 7.x from a win2K using ODBC.
    I know I need sql*net to make a connection .
    Can you tell me where can I find it on the site to download/purchase?
    If it is not available,can you suggest me the other options available for my situation.
    Thanks
    Sushma.

    Thank You Justin.
    Can you provide me the link to the download/purchasing the oracle client.
    Because when I searched on OTN ,I get only documentation,nothing to software downloads.
    I really need some help.
    Is oracle client called as oracle tools etc.????????
    Thanks in advance
    Sushma.

  • Not able to connect remote oracle database over VPN

    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.

    6b6c669e-6baa-45c4-a6dc-444aef2d5e7a wrote:
    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.
    First, this is a forum of volunteers.  There is no "urgent" here.
    "Urgent" means one of two things -
    1) people are dying, or
    2) you have a customer-facing, revenue-producing production system that is down.
    (And to get some perspective on the second case, keep the first in mind.)
    For the first, you call whatever civil emergency service seems appropriate.
    For the second, you open an SR with Oracle - which requires a paid-up support contract. For *them* to consider your problem "urgent", you will need to demonstrate that your problem falls under item #2. I seriously doubt your problem fits that criteria.
    You don't have a support contract?  Now you know the exact dollar figure that your company places on the data.
    That said, you need to understand a few things about your specific problem,
    First, port 1521 is only used by the listener to accept a connection request.  Once it gets that request (and finds that it is for a service (sid) that it knows about, it will fork a server process and tell the requesting client that it can communicate with that server process over some other port .. a randomly chosen port number in the "high" range.  It could be your vpn is blocking that other port, whereas your internal firewall is not.
    But this is just an educated guess since I cannot find "can not connect remote oracle database over VPN" in any error message manual. If you had mentioned the VPN along with an actual oracle error message we could be much more precise in our diagnoses and recommendations.
    ---- edit 22 Sep
    It occurred to me that I just assumed you were using the same client machine in both cases ... a laptop that you use both at work (local network) and home (vpn).  If that assumption is false, there are probably problems with your tns setup on the home (vpn) machine.
    But again, it would be much easier to help if you gave us an actual error message.

  • VB6 source code cannot connect to Oracle database after compile to file.exe

    Hi All,
    I have a problem about VB6 connect with Oracle database. It can connect as normal when run on VB program. After compiled to file.exe and execute, it cannot connect to Oracle database. What's going on ? Please advise? Thank you.
    Here is sample of my code connection.
    Option Explicit
    Private wsData As New ADODB.Connection
    wsData.ConnectionString = _
    "Provider=MSDAORA.1;User ID=lsp;Password=lsp2007;Data Source=prd01;Persist Security Info=False"
    wsData.Open
    End sub
    Rgads,
    Ats.

    Hi,
    I believe you're in the wrong forum, this forum is for Oracle Application Express.

  • Help needed in connecting to oracle database in unity

    Hi,
    I have been trying to connect to Oracle database in my codes. I have tried using OdbcConnection and OleDbconnection. But both did not allowed me to connect to the database. The database, testDb, can be accessed using SQL plus as well as the SQL developer. I even tested the connection successful using ODBC data source administrator.
    the following is my code for the connection string:
    OdbcConnection connectionString = "Driver={Oracle ODBC Driver};Server=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP )(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=Te stDb)));Uid=scott;Pwd=password;";
    the error i got is [ODBC Driver Manager] Data Source name not found and no default driver specified.
    for the driver parameter, i have tried using "Microsoft ODBC for Oracle". It gives me another error stating that the oracle and network components are not installed.
    I even tried "Oracle in OraDb11g_home1" which was specified in the ODBC Data Source Administrator. The same error came out.
    Below are some of my specifications:
    Platform: Windows 7 64bit
    Oracle: Oracle Database 11g Release 2 (64bit)
    Unity: 4.1.2
    Can someone please help me with this? What is it that i have done wrong?
    Thanks.

    1008737 wrote:
    Hi,
    I have been trying to connect to Oracle database in my codes. I have tried using OdbcConnection and OleDbconnection. But both did not allowed me to connect to the database. The database, testDb, can be accessed using SQL plus as well as the SQL developer. I even tested the connection successful using ODBC data source administrator.
    the following is my code for the connection string:
    OdbcConnection connectionString = "Driver={Oracle ODBC Driver};Server=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP )(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=Te stDb)));Uid=scott;Pwd=password;";
    whenever localhost (127.0.0.1) is used, this means that no remote client can ever connect to this system
    The problem involves ODBC configuration & has nothing to do with Oracle.

Maybe you are looking for

  • Display very slow in RH8

    Hi all, I just upgraded to RH8 (via TCS 2). If I try to display a topic from the Project tab (double-click or right-click>Edit), it takes 5 to 10 seconds to actually display the topic in the Design tab - repeated for each topic, it makes things very

  • How change image of a single folder?

    Is there a way to control the appearance of a single folder (or folder button, as I guess it's technically called) without changing the other buttons on a menu? When you add a folder, it defaults to a folder-like graphic. It seems that when you add c

  • Need of Changing Parameters in Function Module

    Hi All, Why we need sepearte Import and Export parameters in Function Module if the Changing Parameters acts as both import and export parameters. What is the use of using Changing Parametrs in Function Module. Thanks in advance. Sundaresan

  • Unable to sign-in to write a review.

    Hi, I want to write a review for an iPhone app. When I click on the "Write a Review" button, it asks me to sign-in to write a customer review. I enter my ID and password, click "Sign in". The box disappears and immediately returns, asking me to sign-

  • Extending classes with private methods?

    my understanding of extending classes is that you gain all the functions and methods of that class thus You could over ride any one of them. How ever I am confused on weather or not you inherit and can over ride private methods of the class you are e