Problem connecting to database

When I run the belwo code, though it gives me the message "Connected", when later in the program I try to use db_conn for praparing a statement, it gives me null pointer exception.
public Connection getConnection()
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
String url = "jdbc:mysql:///" + "UNIVERSITY";
String user = "root";
String pass = "welcome123";
db_conn = DriverManager.getConnection(url,user,pass);
if((db_conn != null)&&(!db_conn.isClosed())) {
System.out.println("Connected..."); }
return db_conn;
catch(Exception e) {
System.out.println("Error in connecting to database " + e);     
System.exit(1); }
return null;
I've very little knowledge of JDBC and can't fiure out what's wrong in there. Any help is really appreciated.
Thanks

Don't crosspost:
http://forum.java.sun.com/thread.jspa?threadID=790394&messageID=4491427#4491427

Similar Messages

  • Problem connecting to database within an application

    We are running an application that utilizes SQL Server 2008 Standard, and has client software running on Windows 7 64-bit systems. Users access the database via the client software. There have been reported problems connecting to the database. Users can
    launch the client application, but when they go to a part of the application that connects to the database, they encounter the following error:
    Could not connect to configured database.
    Datasource name: ClinicDB
    Database: RayStationClinicDB_25189T
    Connection string: Data
    Source: 172.17.154.23\RAYTEST1,53326;Initial
    Catalog=RayStationClinicDB_25189T;Integrated
    Security=True;Persist Security Info=False;Network
    Library=dbmssocn
    Reason: Cannot open database "RayStationClinicDB_25189T"
    requested by the login. The login failed.
    Login failed for user '<DOMAIN>\<username>'.
    I have connected to the server via remote desktop, and have been able to access the database via the SQL Studio. The connection that I made is to the mghrostortest\RAYTEST1 database, and I have logged in via the sa account.   I have stopped and
    restarted the Database and the SQL Agent on the mghrostortest server.
    Does anyone have any ideas as to what further steps I should take here?

    Hello,
    To create a login using Windows Authentication, please refer to the following article:
    -- Create a login for SQL Server by specifying a server name and a Windows domain account name.
    CREATE LOGIN [<domainName>\<loginName>] FROM WINDOWS;
    GO
    For detail information, please see:
    http://technet.microsoft.com/en-us/library/aa337562.aspx
    Regards,
    If you have any feedback on our support, please click
    here.
    Elvis Long
    TechNet Community Support

  • Problem connection to database when opening Crystal Report in VB6 app

    Hi all, first post, so be gentle!
    I've developed a simple app and database using VB6 and SQL Server 2005 and is seems to be working well when i test it.
    Problem i have is after i installed the app on another PC. When the user tries to open the report they get an error when the report tries to connect to the database. It appears the report is trying to connect to the SQL Server using the user's AD account details, yet i set the report up with a trusted connection. I created a replica ODBC connection (as used by me when designing the report) on the users PC to see if that was what was missing. THis was set up to use the generic SQL Server logon details. Unfortubately the report is still trying to connect with the user's AD details.
    I had a bash at creating the VB commands to set the connection settings, but i couldn't get this to work.
    If anyone can help point me in the right direction or show me the correct code/steps to get th connection details correct, i'd be very grateful.
    Here is the code i have in my app:
    (Form1)
    Dim crxApplication As New CRAXDRT.Application
    Public Report As CRAXDRT.Report
    Private Sub cmdRunReport_Click()
    ReportPath = App.Path & "\" & File1.FileName
    If (File1.FileName = "SKU MTM Report - ADR.rpt" Or File1.FileName = "SKU MTM Report - BS100.rpt") Then
        Set Report = crxApplication.OpenReport(ReportPath, 1)
        Report.ParameterFields.Item(1).AddCurrentValue (Trim(DataCombo1.Text))
        Report.ParameterFields.Item(2).AddCurrentValue (Trim(DataCombo2.Text))
        Report.ParameterFields.Item(3).AddCurrentValue (Trim(DataCombo3.Text))
    End If
    frmreports2.Show
    End Sub
    (Form2 with Crystal ActiveX Viewer component)
    Private Sub Form_Load()
    CrystalActiveXReportViewer1.ReportSource = frmReports.Report
    CrystalActiveXReportViewer1.ViewReport
    End Sub
    Thanks in advance for any advice!
    Edited by: James McCaig on Feb 5, 2009 12:39 PM

    Here is an article on how to distribute the runtime using msm files. I think the articles was written in CR 9, but all applies, save the names of the msm files:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/901c0761-cf1d-2b10-dea4-8e83937a9337
    Note that you have to use a utility such as Wise, InstallShield, MS Visual Installer, etc., to create your deployment.
    I have also created a short wiki that describes the msm downloads for each version of CR:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsReportDesignerComponentRuntimeDistribution-Versionspre8.0.xto12.0
    Ludek

  • Problems connecting with database from java API

    I've benn using XSQLRequest and I found a problem with
    connections, because it can't connect from Java to database, but
    if I access to a .xsql it works.
    And also if I link to a .xsql first and after that I try to
    access to Database form my servlet it works. So I think my
    problem is to initialize the XSQLConfig.xml file in OC4J server.
    Thanks in advance

    Would you provide the way you deploy your XSQL app to OC4J and
    how you get JDBC connection using JAVA? I execute the next code more or less:
    miXSQLRequest = new XSQLRequest(XSQLQuery.getDOM
    (),null);
    miXSQLRequest.process(htParamsIn, pWriter, pErrors);
    but and it's probabily my mistake I don't get any conecction
    from the session or something similar because I thought that
    it's made by XSQLRequest, and the XSQLRequest class takes the
    default values of the connection pool from the file
    XSQLConfig.xml (I put this file inside the lib directory of
    OC4J) as the XSQLServlet.
    Thanks for your help

  • Problem connecting oracle database to jsp pages using Apache Tomcat server 8.0

    Well...I tried too many things..googled so many times..but still could not find solution to my problem.
    I use windows 8 Enterprise Edition(if this has to do something with the problem)
    Oracle 11.2.0
    Apache Tomcat server 8.0
    JDK 1.7
    My oracle is installed in the D: drive and tomcat in c:. i copied the ojdbc6.jar file from oracle to lib directory of tomcat server.
    Then i set  CLASSPATH in environment variables as "C:\Program Files\Apache Software Foundation\Tomcat 8.0\lib\ojdbc6.jar" in system variables
    My path variable is set as "C:\Program Files\Java\jdk1.7.0_02\bin".
    My program is as follows in notepad:
    <%@ page import="java.sql.*" %>
    <html>
    <body>
    <%
    Connection conn;
    Statement st;
    ResultSet rs;
    try{
    new oracle.jdbc.driver.OracleDriver();
    String dbURL="jdbc:odbc:oracle:thin:@localhost:1521:XE";
    String userId="system";
    String pwd="moon";
    conn=DriverManager.getConnection(dbURL,userId,pwd);
    st=conn.createStatement();
    rs= st.executeQuery("SELECT * FROM login");
    while(rs.next())
    System.out.println(rs.getString(1)+""+rs.getString(2));
    catch(Exception e){}
    %>
    </body>
    </html>
    I get too many errors then
    eroors
    org.apache.jasper.JasperException: An exception occurred processing JSP page /page2.jsp at line 14
    11: String userId="system";
    12: String pwd="moon";
    13:
    14: conn=DriverManager.getConnection(dbURL,userId,pwd);
    15: st=conn.createStatement();
    16:
    17: rs= st.executeQuery("SELECT * FROM login");
    Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    root cause
    javax.servlet.ServletException: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:905)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:834)
         org.apache.jsp.page2_jsp._jspService(page2_jsp.java:102)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
         org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    Nothing solved this problem.

    >> Nothing solved this problem.
    Can't fix a problem 'till an actual problem is identified.
    >> ODBC Driver Manager ... Data source name not found
    That appears to be ODBC drivers looking for a DSN (Data Set Name). If it wants a DSN, the DSN has to be specified in the code, and the DSN has to be configured in the windows host ODBC applet. So that is at least two squirrels to get in the right tree before moving forward. A ...host:...[port:]SID|service name are some of the bits needed in a jdbc connect string, and that is in no way related to DSNs. A Whole Different Animal. If it wants a DSN that might be what needs to go in the URL bit.
    And ODBC setups can be confusing, especially if an x64 OS is in the mix- if that is the case there are two different ODBC configuration applets, one for x64 the other for x86, and if one gets as far as talking to an actual database it might toss an architecture error. Only way to fix that "problem" is *delete* the ODBC DSN and then run the correct (maybe the x86) ODBC config utility, and set up the DSN. Again.

  • Problems connecting to database in DW with Vista OS

    I am having trouble connecting to an Access db when I use
    Vista as OS.
    On my laptop (Win XP) everything works OK, but when I am
    trying to connect
    to an Access db I use the wizard, find the database and test
    it .
    When I try to test the connection string I get an error
    saying 'unspecified
    error'.
    Could there be a dll or something that is not properly
    registered?
    reidarT

    Thanks, but I get the same problem.
    I test the connection and it works OK, but when I try to look
    at tables and
    views in the Application, databases
    there are no tables and views.
    And when I do the same on my laptop with Win XP it works OK.
    I have given myself all rights in your suggested folder.
    reidarT
    "Ed Stewart"
    <[email protected]> skrev i
    melding
    news:fjhm98$s0r$[email protected]..
    > >I am having trouble connecting to an Access db when
    I use Vista as OS.
    >> On my laptop (Win XP) everything works OK, but when
    I am trying to
    >> connect
    >> to an Access db I use the wizard, find the database
    and test it .
    >> When I try to test the connection string I get an
    error saying
    >> 'unspecified error'.
    >> Could there be a dll or something that is not
    properly registered?
    >> reidarT
    >
    >
    > Vista uses a temp folder to open Access databases, so
    you must give that
    > folder 'write' permissions.
    >
    > C:\Windows\ServiceProfiles\NetworkService\AppData\Local

  • Problem connecting with database when Flex Builder closed

    Hello,
    I developed a web page that connects to a database, reads some data and shows it on the screen. I use HTTPService to connect to a php server that takes the data from MySQL. Everything is OK when I run the web page from the Flex Builder, but when I run the page doing double click on the released .html file the connection fails and the program throws this error:
    [RPC Fault faultString="Error #2028: Local-with-filesystem SWF file file:///Q:/2009-08-05-1330FinalFrontEnd/bin-release/FrontEnd.swf cannot access Internet URL http://localhost/Test2/Test2.php." faultCode="InvokeFailed" faultDetail="null"]
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke()
        at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::invoke()
        at mx.rpc.http::HTTPService/send()
        at mx.rpc.http.mxml::HTTPService/send()
        at FrontEnd/submitLabelsQuery()
        at FrontEnd/updateLabels()
        at FrontEnd/___FrontEnd_SetEventHandler5_handler()
    Does anyone know how can I run the web page without using Flex Builder?
    More info:
    I'm using Flex Builder 3 for developing the web page and WampServer 2.0 for the connection with the database.
    Thank you,
    Onditz

    You need to add a crossdomain.xml  file at the root directory of your php server.
    Thanks,
    Nith
    See the piece of information copied from the flex documentation:
    To make a data service or asset available to SWF files in different domains or on different computers, use a crossdomain policy file on the server that hosts the data service or asset.
    A crossdomain policy file is an XML file that provides a way for the server to indicate that its data services and assets are available to SWF files served from certain domains, or from all domains.
    Any SWF file that is served from a domain specified by the server's policy file is permitted to access a data service or asset from that server.
    By default, place the crossdomain.xml at the root directory of the server that is serving the data.

  • Problem connecting the database

    Hi ,
    Iam developing a webapplication with websphere application server and db2 database.
    In the webspehre application server i have created a datasource and the JNDI name is
    jdbc/myds and tested the connection, it is fine. now i want to use this datasounce in my javaprogram. i use this statement
    InitialContext ctx = new InitialContext();
    dataSource = (DataSource) ctx.lookup("jdbc/myds");
    but i get the error message name: jdbc/myds: First component in name jdbc/myds not found. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
    can any one please tell me how to do the connection ???
    please help

    duffymo wrote:
    DigitalDreamer wrote:
    Weblogic admin console did not spit out web application deployment descriptors last time I checked (v8). Are you saying that when you make a change in the admin console it doesn't show up in the config.xml? News to me.No, by deployment descriptor I mean a file like ejb-jar.xml or web.xml
    My point is that adding java:comp/env/ to the jndi name is probably not going to help since it requires more configuration:
    add a <resource-ref> element to web.xml to define the resource.If it's part of the web tier, yes. What if it's in a service layer or EJB?ejb-jar.xml + weblogic-ejb-jar.xml or whatever
    add an element to the vendor specific deployment descriptor (weblogic.xml or whatever) to map the resource to the actual jndi name.Nope.
    "java:comp/env/whatever" is not the "full context name" it is a special context available to Java EE components that must be configured, Not sure what this means. I add the JNDI name to my connection pool, put the JNDI name in my Spring config, and voila - I have a data connection. Either you are creating your your datasource JNDI name with a java:comp/env/ prefix (which would be a bit strange) or you have an entry in web.xml + weblogic.xml. This is how java:comp/env is (was) supposed to be used.
    Sure in your spring app it is a completely pointless abstraction but back in the day you were supposed to put all your configuration in web.xml etc ;-). The whole concept of java:comp/env is pretty much deprecated anyway: in Java EE 5 you have resource injection.

  • Problems Connecting to Database in Forms Developer

    Please can someone help me, I installed Oracle9i personal edition on my PC (OS XP PRO) about 4 months ago. But I've only just started using the forms developer. When I try to run the form in the browser window I can't connect to the database. The application freezes and won't respond. Occasionally I get the error message
    ORA-12514 saying TNS listener cannot resolve the service name. My tnsnames.ora file seems to be correct but I'm not sure if it is in the right directory?
    Can someone please give me some advice.
    Thankyou.

    Guys,
    I have been doing this for years - on solaris, linux and windows. You have 2 Oracle homes - one for the database and one for the forms. 6i - or iDS does not matter - 2 Oracle Homes. Same on Linux/Solaris/Windows - ok.
    Define the TNS_ADMIN environment variable (applies to all 3 OS above). Set it to a directory of your choice - better yet create one. On solaris and linux /var/opt/oracle is a good choice. On windows create a directory of your choice. Also define the TWO_TASK and ORACLE_SID environment variables to match your database server settings.
    Ftp the database server's tnsnames.ora and sqlnet.ora files to the directory you created (TNS_ADMIN points to).
    To be certain that you are not using the Forms' Home/network/admin/tnsnames.ora and sqlnet.ora files - rename them. You will not use them and you won't need them (unless you want to edit them to include the tnsnames.ora and sqlnet.ora entries from your Database server's /network/admin/tnsnames.ora and sqlnet.ora files.
    That is it - next time you connect from the forms you should be able to connect. If you want provide the connect string (3rd field in the connection window) to ensure you pointing to the right db server.
    You don't need to configure your Forms' network services again - all you do is use the Oracle database server's network configuration files.
    Hope this proves useful.

  • Unable to connect with Database server in MDM

    Hi Experts,
    I have installed the MDM server 7.1 on windows 64 bit box, but installed MDM console (32 bit).
    Getting the issue like below
    Can anybody please help me out to fix the issue.
    Thanks in advance,
    Bhaskar N

    dear
    Did you install Oracle client on MDM server.  If not please install it and revert with the result..
    Please check SAP Note 1350635 - "Problem connecting to database from MDM console" & Note 1363797 -" Oracle connection problem".. Kindly also check the log in MDM console and revert with the result.
    Also, Please check Configurations Settings as mention in [MDM installation Document|https://websmp209.sap-ag.de/~sapidb/011000358700001668492008E] from Page no 42 to 45.
    do the following
    You need to create tnsnames.ora file even on the host where MDM is installed and define Oracle database host and instance there. Then, MDM user needs to have access to oracle client libraries and needs to have access to this tnsnames.ora file as well. Once you set this up, it will work fine.

  • Unable to connect to database server : MDM 7.1

    Hello All,
    I installed MDM 7.1 and I am unable to create/mount/unarchieve repository : Error message I am getting is :
    Unable to connect to Database
    I installed MSDE : Light version of SQL server... On command prompt I used: setup.exe sapwd=abcd SECURITYMODE=SQL
    Its an mixed mode..
    Dont know MSDE is okey to use for MDM 7.1? Any one faced such issue?
    Thanks in advance
    Rajeev

    Hi,
    Did you install Oracle client on MDM server.  If not please install it and revert with the result..
    Please check SAP Note 1350635 - "Problem connecting to database from MDM console" & Note 1363797 -" Oracle connection problem".. Kindly also check the log in MDM console and revert with the result.
    Also, Please check Configurations Settings as mention in [MDM installation Document|https://websmp209.sap-ag.de/~sapidb/011000358700001668492008E] from Page no 42 to 45.
    Check it and revert with your findings.
    Regards,
    Shiv

  • Cannot Connect to Database LS

    Hi, i have som problems connecting to database:
    Case 1:
    I've moved a IIS from one datacenter to another one. (installed all new)
    On VS, after install LS and all of the componets, can install good an APP, from my laptop. (using publish directly (webdeploy)) .
    And, installation creates a new database on my SQL (another machine ).
    I've installed my application on my laptop, and then when i open, application says Error Comunicating with database.
    From my VS, works fine.
    Scenario:
    My Location (one External IP)
    DataCenter (one external IP for IIS) (with NAT directly to WEB SERVER (has internal IP)) And SNAT to same IP External (NO FIREWALL )
    Datacenter (one External IP for SQL) (With NAT directly to SQL Server) And SNAT to same IP External (NO FIREWALL)
    All configuration on Web.Config calls externals IP .
    WEBSERVER AND SQLSERVER (has on the same network, with IP RANGE 192.168.10.X)
    I've tested to put in web.config internal address (and then open application directly from WEBSERVER) and works fine.
    Problem it's external connection, but... i can connect to database from VS and from SSMS from My laptop...

    HI Ivan,
    From your description above, here are some suggestions for you.
    1. Ping the external server using its IP address, and check whether it is fine;
    2. Check whether you use the correct connection string;
    If you have checked the items above, perhaps this is permission issue. You can use SQL Server authentication, and check whether it makes any difference.
    Best regards,
    Angie  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Connecting to Database as INTERNAL

    Hi, I have a problem connecting to database as INTERNAL. I'm getting "ORA-12203: TNS unable to connect to destination" message when trying to connect to the database.
    Please suggest me how to connect. And what are important tasks that can be done by connecting like that.
    Thank You.......

    Hi,
    oerr is your friend:12203, 00000, "TNS:unable to connect to destination"
    // *Cause: Invalid TNS address supplied or destination is not listening.
    // This error can also occur because of underlying network transport
    // problems.
    // *Action: Verify that the service name you entered on the command line
    // was correct. Ensure that the listener is running at the remote node and
    // that the ADDRESS parameters specified in TNSNAMES.ORA are correct.
    // Finally, check that all Interchanges needed to make the connection are
    // up and running.
    And what are important tasks that can be done by connecting like that.Migrate to a supported release (9i, 10g), because 8i is out of support.
    Regards,
    Yoann.

  • Problem in connecting to database from webdynpro for java

    Hi
    I have a problem in connecting to database from webdynpro application
    I am using oracle 10 express edition as database and was able to connect to database from a java application.But  was unable to connect from a webdynpro for java.
    <b>I guess webdynpro for java uses open sql instead of vendor sql(I looked in the visual admin ,DB is using open sql) so unable to connect to database.Am i right.?</b>
    Do i need to make any settings in the visual admin to make it work?
    How to solve this problem.Please give me pointers
    Thanks
    Bala

    Hi,
    For connecting to Oracle, either you can use the normal JDBC connectivty code directly which is given below :
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    In case you want to fetch data through ejbs, these are the steps to be followed :
    1) Open the J2EE perspective
    2) Create an EJB Module project
    3) Right click on ejbModule, create a new EJB (select your EJB type)
    4) While creating the ejb itself, you can add business methods by clicking ‘Next’ in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select ‘propogate to local & remote’.
    5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: “MyJndi”.
    6) Right click on the EJB project and add ‘classes12.zip’ file (provided by Oracle) to it’s build path. (under libraries tab). Also check the same file under ‘Order & Export’.
    7) Create an Enterprise Application project.
    8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
    9) Right click on the EJB project, select ‘Build EJB Archive’
    10) Right click on the EAR project, select ‘Build Application Archive’
    11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
    • Java Build path - select the EJB project from ‘projects’ , check the selected project under ‘Order & Export’
    • Project references – select the EAR project
    • WebDynpro references – select ‘sharing references’ tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
    You can find the vendor name under ‘application-j2ee-engine.xml’ file of the EAR project. By default it is ‘sap.com’. So if my EAR project’s name is ABC, my entry would look like ‘sap.com/ABC’
    12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
    InitialContext context = new InitialContext();
    Object obj = context.lookup("MyJndi");
    MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
    MyEJB mybean = home.create();
    int a = 0;
    a= mybean.add(10,15);
    wdContext.currentContextElement().setSum(a);
    where ‘MyEJB’ is my EJB name and ‘MyJndi’ is my JNDI name
    To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Extracted from Re: Webdynpro and Oracle
    http://help.sap.com/saphelp_webas630/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
    May be of use to understand the VA Conf /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    Regards
    Ayyapparaj

  • Problem connecting Oracle 9i Lite to Oracle 9i Database

    Hi,
    I have just started working with Oracle 9i Lite and I am having
    problems connecting to an Oracle 9i (9.0.1) database using the
    packaging wizard. I can connect ok using SQL*Plus but when I connect
    using this wizard the database is located i.e. no errors arise, but
    the database schemas and tables are not found i.e. list is not
    popluated.
    However if I try to connect to an Oracle 8i (8.1.7) database there is
    no problem and the schemas and tables are found with the list being
    popluated.
    Does anyone know what the problem could be?
    Regards
    Andrew.

    I am having a similar problem, where I couldn't connect to Oracle 8i database (817). I am getting a error message when I tried to use Packaging Wizard -> Snapshot -> Import -> Username/password and jdbc:oracle:oci8:@connect string or jdbc:oracle:thin:@host:1521:Sid
    The error message is 'No Suitable Driver. Make Sure the Proper JDBC drive for "jdbc:oracle:oci8i:@<connect string>" is in the classpath"
    I would appricated if someone can send me any help on this.
    My email address is [email protected]
    Thanks
    Joshua

Maybe you are looking for