Problem in connecting to Oracle databse through JNDI on J2EE Server

hi all,
i am trying to connect Oracle database throgh my EJB application.
I am using JNDI concept for connecting this........
i added these two lines in lib/default.properties file
jdbc.drivers=oracle.jdbc.driver.OracleDriver
jdbc.datasources=jdbc/Oracle|jdbc:oracle:[email protected]:1521:voip
i am using this this Jndi(jdbc/oracle) to referencing the Bean application...this i did through refernce dialog box(while deploying the application).
while running the app. it is giving me the error:
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: U
nable to connect to database. Invalid Oracle URL specified; nested exception is:
javax.ejb.EJBException: Unable to connect to database. Invalid Oracle UR
L specified
java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to
connect to database. Invalid Oracle URL specified; nested exception is:
javax.ejb.EJBException: Unable to connect to database. Invalid Oracle UR
L specified
javax.ejb.EJBException: Unable to connect to database. Invalid Oracle URL specif
ied
<<no stack trace available>>
please help me???
i am trying it from past 3 days...
My jndi for databse is AccountDB and i am referncing it to this(jdbc/Oracle).
Varun

Try
jdbc.datasources=jdbc/Oracle|jdbc:oracle:thin:@10.5.5.142:1521:voip
I don't know which container you are using. And I am not sure if JNDI names are case sensitive. But try referring it as jdbc/oracle instead of jdbc/Oracle in your EJB. How are you providing userid and password?
-Hitesh

Similar Messages

  • Problem in connecting to oracle DB through NWDS

    Hi All,
    I cannot establish a connection to the oracle DB through the below mentioned code written in webdynpro java. I am new to this area.
    Please check what is wrong with this code and suggest me how to resolve this......I have pasted the classes12.jar in the lib folder.
    import oracle.jdbc.driver.OracleDriver;
    ResultSet resSet = null;
    Statement Stat = null;
    Connection conn = null;
    PreparedStatement pstmt= null;
    String url = "jdbc:oracle:thin:@local server:1521:SID";
    String user = "ABC";
    String password = "123";
    try
             conn = DriverManager.getConnection(url,user,password);
             Stat = conn.createStatement();          
             pstmt  = conn.prepareStatement("Select * from tablename");
             resSet = pstmt.executeQuery();
              wdComponentAPI.getMessageManager().reportSuccess("Result"+resSet);
    if (resSet != null)
    resSet.close(); // close ResultSet
    Stat.close(); // close Statement
    conn.close();
    catch (Exception e)
    e.printStackTrace();
    Regards,
    Athulya.

    Hi ,
    import oracle.jdbc.driver.OracleDriver;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.Statement;
    ResultSet resSet = null;
    Statement Stat = null;
    Connection conn = null;
    PreparedStatement pstmt= null;
    String url = "jdbc:oracle:thin:@local server:1521:SID";
    String user = "ABC";
    String password = "123";
    try
    conn = DriverManager.getConnection(url,user,password);
    Stat = conn.createStatement();
    pstmt = conn.prepareStatement("Select * from tablename");
    resSet = pstmt.executeQuery();
    wdComponentAPI.getMessageManager().reportSuccess("Result"+resSet);
    if (resSet != null)
    resSet.close(); // close ResultSet
    Stat.close(); // close Statement
    conn.close();
    catch (Exception e)
    e.printStackTrace();
    Regards,
    Athulya

  • Problem in connecting with Oracle

    hi everybody
    I have a problem in connecting with Oracle express 10g. I got an error that doesn't allow me to connect. hope anyone can help me and solve this problem
    --------------------Configuration: test - JDK version 1.6.0_20 <Default> - <Default>--------------------
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    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)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
    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:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at DB.dbConnect(test.java:36)
    at test.main(test.java:18)
    this is the code that I'm following
    import java.io.*; import java.sql.*; public class test2 {   public static void main(String[] args) {     try {       Connection con=null;       Class.forName("oracle.jdbc.driver.OracleDriver");       con=DriverManager.getConnection(         "jdbc:oracle:thin:@PLANET:1521:ORCL",         "scott",         "tiger");       Statement s=con.createStatement();       s.execute("INSERT INTO BOOKS VALUES('A Tale of Two Cities','William Shakespeare',4567891231,'05-JAN-1962')");             s.close();       con.close();   } catch(Exception e){e.printStackTrace();} } }
    Edited by: Vantasia on Nov 12, 2010 10:18 AM

    1. Is the connection url correct?
    "jdbc:oracle:thin:@PLANET:1521:ORCL" is fine.
    2. Is the TNS listener started?
    c:\oracle\product\ora10\bin> lsnrctl status
    3. Is a firewall between client and database server?
    Connection url with firewall would be different.
    http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/jdbcthin.htm#i1004276

  • I was facing problem while connecting to oracle database.Can some one help me soon!!!!!

    Hi all,
    I was facing problem from last week.Suddenly i was getting ora-12505 error while connecting to the database through toad.I tried to change tnsnames.ora & listener.ora in multiple ways,but no luck...Inspite i was getting different errors like ora - 01034: ORACLE not available / ora - 27101: shared memory realm does not exist...When i try to connect using sys / sys as sysdba,connection is establishing and when issue the command startup it was throwing the error ORA-01821: date format not recognized......Fed up solving these issues....Can some one help me out...It's very very urgent..
    Thanks in advance,
    pavankumar.

    Well, the obviously solution is to use separate Apple ID's for iCloud.

  • Help: How to make JDeveloper to connect to Oracle repository through CMAN?

    Hi folks,
    I have a very dummy problem.
    I have JDeveloper on Linux.
    I have on Oracle SCM Repository in a database, which is across WAN.
    The database is accessible through connection manager.
    BUT HOW DO I EXPLAIN TO JDEVELOPER , that there is a Connection Manager. It only allows me to enter host:port:sid. It doesn't allow me to enter custom JDBC URL.
    This is really missing functionality...
    Please help me,
    Regards,
    Mihail Daskalov

    The support for Oracle SCM in JDeveloper can only connect via thin JDBC. This always requires a host, port and SID. The limitation is due to underlying limitations in the libraries we use to connect to Oracle SCM.
    Is your database connection using OCI? We have an existing enhancement request for OCI support (2700757), but let me know if it's another connection type, and I'll add that to the ER.
    Thanks,
    Brian
    JDev Team

  • Problem while connecting to business one through webservice

    Hi All,
         I have written a client java program program to connect to Business One remotely through jndi lookup.
    when i have written the same code for a session bean and
    i have created a webservice for session bean and delpoyed it in WAS.And when i run this webservice it is
    simply throwing an exception saying that Exception in
    method name.
         I have placed OBSERVERDLL.dll file in System32.I have placed this becuase it  is helpful dll file to connect to Business One.
         Is it a problem of WAS.I am unable to connect to business one when i create a webservice and run it.
    please help me rgarding this.Its urgent requirement
    Thanks & Regards,
    Guru

    Hi Suresh,
       There is no problem in EJB or webservice,when i am passing just connection parameters to connect to business one and when i am running this webservice it is
    simply giving "Exception in method b1tomas_downloadSalesDelivery.".
       once i have connected through a webservice to business one.But the System is formatted and i reloaded the WAS.Now i am getting as "Exception in method b1tomas_downloadSalesDelivery."
       please send me a reply soon.Its urgent

  • Problem in connection with oracle

    I've Oracle10g database installed in my system, i wrote a simple application in java that connects to oracle database using oracle thin driver. I've jdk1.6.0_02
        package RegistrationPackage;
    import java.sql.*;
    import oracle.jdbc.*;
    import oracle.jdbc.pool.OracleDataSource;
    public class JDBCVersion {   
        public JDBCVersion() {
        public static void main (String args[])
              throws SQLException
            OracleDataSource ods = new OracleDataSource();
              String url = "jdbc:oracle:thin:@//localhost:1521/orcl";  //1
              ods.setURL(url);//2
              ods.setUser("system");//3
              ods.setPassword("tripathi");
              Connection conn = ods.getConnection();
          // gets driver info:
          //System.out.println("JDBC driver version is " + meta.getDriverVersion());
    }i got following exception
      Exception in thread "main" java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    //localhost:1521/orcl
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:380)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
            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:839)
            at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:389)
            at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:278)
            at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:199)
            at RegistrationPackage.JDBCVersion.main(JDBCVersion.java:24)
    Java Result: 1I'm sure that problem is in line no. 1.
    I've a bit confusion, i dont know at which port my oracle database server listen through which connection can be made. apparently, I'm not sure about host name however, i used localhost just because a local copy of database server installed in my system.
    please show me the right direction
    regards
    san

    got it!
    actually the was due to incorrect SID.

  • Problem to connect between Oracle 10g xe and VB2010 at Vista sp2

    Introduction
    Hi guys, good day... NEED RESCUE!! SOS!! Hmm.. i have trouble been 1 weeks trying connect between Oracle 10g xe and VB2010 on window vista sp2. Actaully im very new at Oracle 10g xe and VB2010 but i got a project is going to build up system database and i figure out Oracle 10g xe and VB2010 can use free so i just chows these appication to be my project. I been search around internet and there is several things i was found about the connection but i has try and tried still it wont work out.
    Things i found and learned
    Oracle
    1. I have download Oracle 10g XE and installed in my windows vista sp2.
    2. I notice the Oracle Developer Tools is needed for VB2010 (To add reference 'Oracle.DataAccess'). So i was downloaded ODT11beta and installed
    3. I also edit TNSNAMES to following below:
    OraDb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = shin-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    4. My sqlnet like following below:
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    5.I have try tnsping OraDB and its works.
    6. I monitoring task manager and OracleServicesXE is running.
    7. ora_dba is added in Group.
    Problem in SQLPLUS
    When i try connect SQLPLUS in cmd i get ERROR: ORA-12560: TNS:protocol adapter error.
    i . In cmd i type sqlplus and enter then i been ask for username and password.
    ii. After i insert my username and password and enter then i get the error of ORA-12560.
    Visual Basic 2010
    1. First i created my project, drawing label and button for test connection.
    2. Then, i add reference Oracle.DataAccess into my project.
    3. I type following script into my vb form:
    Imports System.Data
    Imports Oracle.DataAccess.Client
    Imports Oracle.DataAccess.Types
    Public Class Logon
    Private Sub cmdLogon_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdLogon.Click
    Dim oradb As String = "Data Source = OraDb; User Id = system; Password = shin;"
    Dim conn As New OracleConnection(oradb)
    conn.Open()
    Dim cmd As New OracleCommand
    cmd.Connection = conn
    cmd.CommandText = "select SName from Staff where SName = shin"
    cmd.CommandType = CommandType.Text
    Dim dr As OracleDataReader = cmd.ExecuteReader()
    dr.Read()
    lblOra.Text = dr.Item("SName")
    conn.Dispose()
    End Sub
    End Class
    Problem in VB2010
    When i run my project and press the button i get error message ORA-12514: TNS:could not resolve the connect identifier specified at conn.Open()
    Extra Question*
    1. Im notice in my netbook xp home sp2, before i install ODT11beta my sqlplus look fine thought cmd but after i installed ODT11beta its same problem with my Vista sp2 now. Get error ORA-12560: TNS:protocol adapter error :( I tried uninstall ODT11beta again and restart its work fine again. Which i really dun understand. Izzit the version ODT11 is not suitable for 10g xe? And i dunno this problem is related with my connection between oracle 10g xe and vb2010 or not. So confuse@@
    2. I wish to know more about connect between Oracle and VB, is there still a things i miss?(I mean steps or configuration that should i done)
    3. Or i just lower my VB version could make more easy? If yes, what version VB should i use that could work out with oracle 10g xe?
    4. Sorry for too bad my english but i really wish somebody could help me. Please try to understand my written or you could ask me mean if dont understand. Im stuck!! Stuck feel not really that good.....
    Edited by: user9173084 on Jul 19, 2010 3:34 AM

    Huhu..
    Yo, henry
    I thought the OraDb is just a name for entry but im not sure it is a service. I was refer http://www.oracle.com/technology/pub/articles/cook-vs08.html at topic Connection Strings and Objects.
    Here is my lsnrctl service
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOW has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOW has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 state:ready
    DISPATCHER <machine: SHIN-PC, pid: 1932>
    (ADDRESS=(PROTOCOL=tcp)(HOST=shin-pc)(PORT=49158))
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "xe" has 1 instance(s).
    Instance "xe", status READY has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    Izzit ok? I notice there is no listed OraDb. but tnsping OraDb seem fine.
    Actually there is somethings as a newbie i wondering long time alreadly ><
    1. The origin of tnsname.ora is no OraDb or ORCL but i just simple add it by open tnsname.ora with notepad. Im just not sure it is function or not.
    Also please check at my TNSNAME.ORA:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = shin-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    OraDb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = shin-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    I got the feeling there is so close~~~!!!

  • Problem while Connecting with oracle thin driver

    I have been trying for the past two days for connecting oracle 8.1.1.6 using thin driver. I set the classpath also. It throws me the following exception.
    Exception in thread "main" java.sql.SQLException: Io exception: The Network Adap
    ter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:260)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at Employee.main(Employee.java:23)
    I am trying to acheive the connection using the following piece of code
    Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@THIRU:1521:ORCL",
                        "scott", "tiger");
    The problem lies in that piece of code only,
    In the TNSNAMES.ora the entries are as follows.
    THIRU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Thiru)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = thiru)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    How to solve this one. Can anybody tell me how to provide the proper url.
    thanks in advance

    You were very close.
    "Thiru" as opposed to "THIRU" should be the name of the machine running the database, but that would imply that the DNS lookups are case sensitive, and we know that's not the case.
    My guess, because the network adapter itself is reporting an error, is that "Thiru" evaluates to an IP address that isn't correct, that is, it's trying to make a connection to a specific address and getting nothing back in return.
    Anyway, I think your program(s) are just fine, and your network is misconfigured. Incidently, it is always a good idea in cases like this to use the full name of the machine, for example...
    ...getConnection( "jdbc:oracle:thin:@thiru.maran1977.com:1521:ORCL"...
    and in the database configuration itself...
    (ADDRESS = (PROTOCOL = TCP)(HOST = thiru.maran1977.com)(PORT = 1521))
    You may also use the IP address if you wish.

  • Problem with connect to oracle by jdbc

    hi,
    First time i try to connect to the oracle db 10.2.0* EE in java and its problem. I use eclipse 3.4, jre1.5.0_17, driver ojdbc14.jar (dedicated to this oracle ver and jre).
    package connect;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class JDBC_Conn {
            void polaczenie_z_baza() throws SQLException {
                try {
                    Class.forName("oracle.jdbc.driver.OracleDriver");  
                    System.out.println("connected");      
                } catch (Exception e) {
                    System.out.println("not connected");
                Connection polaczenie=DriverManager.getConnection("jdbc:oracle:thin:@3.123.123.321:1521:RI3","user","pass");
    public static void main(String[] args){
         JDBC_Conn b = new JDBC_Conn();
            try {
                    b.polaczenie_z_baza();
            } catch (SQLException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
    }and after run in console i see: "connected" but after 2 seconds i see error:
    java.sql.SQLException: Wyj&#261;tek we-wy: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         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)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:439)
         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(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at connect.JDBC_Conn.polaczenie_z_baza(JDBC_Conn.java:18)
         at connect.JDBC_Conn.main(JDBC_Conn.java:24)This is important that i can login to the database by pl/sql developer using tnsnames.ora like this:
    CIF2 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 3.123.123.321)(PORT = 1521))
        (CONNECT_DATA =
          (SID = RI3)
      )but when im logging by plsql developer i need to enter the name of database "DWH" too, another i cant login. The same when i log by sql plus, i need to enter the: user@DWH.
    So please tell me could i add to this string:
    "jdbc:oracle:thin:@3.123.123.321:1521:RI3","user","pass"
    the DWH database? where i should to put it?
    i try a lot of cases and cant login
    thanks for help

    i put:
    String url = "jdbc:oracle:thin:"+user+"/"+pass+"@blahblahblah:blah:blah";
                    System.out.println( url );
                    Connection con = DriverManager.getConnection( url );and i have:
    not connected
    jdbc:oracle:thin:user/password@blahblahblah:blah:blah
    java.sql.SQLException: Wyj&#261;tek we-wy: Invalid number format for port number
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         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)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:439)
         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(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at connect.JDBC_Conn.polaczenie_z_baza(JDBC_Conn.java:27)
         at connect.JDBC_Conn.main(JDBC_Conn.java:37)the pass and user name i put corectly..
    is it possible that DBA did some restrict to access DB?
    Edited by: pawelwtorek on 2009-03-19 16:59

  • Problem connecting to Canon i960 through Dlink DPR1260 print server

    With the help from another thread, I was able to install the driver for my Canon i960 for iMac OS X 10.7, and the printer works perfect with USB connection. However, when trying to setup the wireless connection via Dlink DPR1260 print server, I keep getting error:" An error occurred while trying to add the selected printer. Unable to communicate with the printer at this time.". I believe I followed all setup steps correct for adding printer with IP (LPD, IP address, Queue name, and selected Canon i960), as I was able to get the wireless setup for MacAir without problem. Wondering whether anyone had any tips getting iMac to work with the print server. Below are the screen shot of the setup and error.

    Thank you, PAHU, this solved a problem I've been having for quite a while.
    I have a Canon Pixma iP4200 connected to a DSL router (an SFR Neufbox 4, issued here in France by the operator SFR). With OS 10.6 on my daughter's MacBook Pro, connecting to the printer through the print share function on this DSL router worked fine using the printer drivers supplied through Canon and Apple. Then when we got an iMac with 10.7, impossible to get it to work. I had exactly the error shown by louiema above.
    But now that I installed Gutenprint 5.2.9, I was able to configure the connection instantly, and now I can move my printer back where it belongs, and not have it sitting on the floor beside my desk.
    Brilliant ! Thank you so much for sharing your experience. I will now share this solution with my francophone community.
    Ken

  • Problem while connecting to Oracle 9i server from Oracle8.1 client

    Hi experts,
    Could you please help in resolving the issue we are facing.
    We are trying to connect from Oracle 8.1 client to Oracle 9.2 server and its giving error .This is on Linux environ ment.
    FYI - we are getting errors when we changed the client as Oracle 8.1 instead of Oracle 9.2.
    Pls suggest.
    Thanks.

    8i client can connect to the 9iR2 database, but beware wich client are you talking about, only 8.1.7 is compatible against 9iR2, even though you must be aware this is a no longer supported combination, which means in case you find a bug the only solution available is to upgrade the client version to 9iR2.
    By the way, is there a real reason why you have to tie your client to 8i? Being 8i long ago dessuported.
    ~ Madrid.

  • Problem while connecting to oracle in linux

    i connected to oracle in linux as
    "sqlplus ,#sysdba,"
    after that it asked me for password
    and i typed as "oracle"
    after tat message displayed that "connected to IDEAL instance"
    SQL>select * from tab;
    i got an error message staying tat "ORACLE not connected"
    can anyone help me out where the poblem is getting

    hi,
    after tat message displayed that "connected to IDEAL instance"
    i got an error message staying tat "ORACLE not connected"you are connected to an ideal instance.
    you should mount and then open the database
    if you are using spfile
    then issue
    SQL>startup
    database mounted.
    database opened.
    or
    SQL> startup nomount pfile='location'
    database will be in nomount stage
    SQL>alter database mount;
    database mounted.
    SQL>alter database open;
    then you can issue your command..
    regards,
    Deepak

  • 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"?

  • Connect to Oracle database through Excel to load data

    Dear all,
    does anybody have an idea if i can connect directly from microsoft excel to an oraclle database in order to load the data in the excel file in the database.
    Thank u

    user562674 wrote:
    Dear all,
    does anybody have an idea if i can connect directly from microsoft excel to an oraclle database in order to load the data in the excel file in the database.
    Thank uyes, EXCEL can use ODBC to connect to Oracle DB

Maybe you are looking for

  • Error in receiver SOAP adapter.

    Hi Experts, scenario name is proxy to soap asynchronous interface we are getting the below error from the soap receiver communication channel. -exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException -Adapter

  • Magic Mouse Primary and Secondary Clicks Switched

    Recently I picked up a Magic Mouse and have since found some very strange things that I don't know how to fix: The primary and secondary clicks are switched. As in, under mouse settings when I select the secondary click to be on the right, only the p

  • IBooks, using iPad version 6.1.3

    One of my students did... something?!!  When I click on my iBooks app, the bookshelf appears for a second (sometimes), then the whole screen goes white. No bookshelf, no books.  I have the books backed up on my computer, but when I try to sync, it ac

  • How to restore a home folder to another computer?

    I will try to explain this clearly..... Our G5 non intel iMac running Leopard has died (motherboard issue). I have been using time machine and do have backups (thank god for time machine!). What I want to do is extract a single user folder (my wife's

  • Trash problems

    Hi, i deleted an old copy of Iphoto and moved to the trash. When trying to erase from the trash...it states that certain items are in use and will not delete. I have tried from finder to secure delete and this does not work either. Any suggestions pl