Datbase access

Hello,
I am using SQL Server 2000 Driver for JDBC(Microsoft) to connect to a SQL 2000 server,
but while I am trying to run the application I am getting "Error Establishing Socket".
Hope somebody can help me in this case.
Arun

Can we see the exact exception being thrown?
Check a few things
1) Is your SQL server running on the default port?
2) If no, Does your URL String reflect the new port number?

Similar Messages

  • Space under $ORACLE_BASE/$ORACLE_HOME keeps increasing why

    I am on Oracle 10.2.0.4 on HP UNIX 11.2. I am running a program which has an infinite loop. Each loop iteration sleeps for 15 seconds, does some datbase access using jdbc…? I am noticing that space under $ORCALE_BASE keeps increasing. My program is definitely not writing any files under $ORACLE_BASE, so Oracle is creating some files, else how can I explain increase in $ORACLE_BASE. When I stop the program, space shrinks back to original, so looks like file has been deleted.
    My program could have some cursors not being closed, but this will increase the memory of Oracle shadow process and not space under $ORACLE_BASE. Are there any memory mapped files, where shared memory is being mapped to some file under $ORACLE_BASE. I am unable to find any such files using:
    Find . –mtime -1
    I see some Oracle files such as Oracle agent log, listener.log but do not see anything unusual. Can someone explain what is going on and how can I troubleshoot this problem.

    It is a java [program, it does various selects, inserts, updates; it writes its execution log under /gps/twq/db3 and
    ORACLE_BASE is /gpsg/twq/oracle
    bdf shows...
    /dev/vg03/lvtwqstage
                       8192000 6088123 1972403   76% /gpsg/twq/stage
    /dev/vg03/lvtwqoracle
                       12288000 8418465 3637466   70% /gpsg/twq/oracle
    /dev/vg03/lvtwqdb1 8192000 4752239 3225929   60% /gpsg/twq/db1
    /dev/vg03/lvtwqdb4 8192000 5435984 2583829   68% /gpsg/twq/db4
    /dev/vg03/lvtwqexpbkup
                       72466432 22210280 47115159   32% /gpsg/twq/expbkup
    /dev/vg04/lvtwqdb2 66322432 26020448 37783114   41% /gpsg/twq/db2
    /dev/vg04/lvtwqdb3 66322432 26936468 36924350   42% /gpsg/twq/db3
    /dev/vg06/sq_db1   65536000 50530190 14067949   78% /gpsg/getsq/db1
    It is /gpsg/twq/oracle which keeps increasing until program is recycled, then frees up space under /gpsg/twq/oracle..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can Oracle APEX access/report against an Oracle9i datbase?

    Can Oracle APEX access/report against an Oracle9i datbase? I know APEX has to be installed on Oracle 11g or 12c. I have a 11g environment to install it in, but I want to have ti read data from an existing 9i databasethat we are unable to upgrade at this time.

    APEX can create reports on any data that the database (which is running APEX) can access.
    This becomes a database question that is usually found in the General forum:
    How can an Oracle 11g database access data from an <place a name of a database here> database?
    One common answers:  Database Links.
    (Materialized Views and Golden Gate come to mind... but, again... these are database problems, not APEX problems.)
    I'll let others comment on the practicality of these solutions.
    MK

  • Help on using 2 MS Access databases at the same time

    I have a problem... see what basically I am trying to do is search for a string in the database 'cache'. if found the second colume is retured to the user as the output. but if not found in that 'cache' then it serches another datbase 'server' and when the req string is found there it has to return the 2nd column to the user but also add this new row in to the 'cache' database.
    The source that I am trying for that is as follows.
    import java.sql.*;
    public class localdemo {
    public static void main(String[] args) {
    String s,r;
    String x;
    String t=args[0];
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    // Test with MS Access database (ODBC data source)
    String url = "jdbc:odbc:Servers";
    String urlc = "jdbc:odbc:cache";
    java.sql.Connection c = DriverManager.getConnection(url,"chetan", "mavric1");
    java.sql.Connection c1 = DriverManager.getConnection(urlc,"chetan", "mavric1");
    java.sql.Statement st = c.createStatement();
    java.sql.Statement stc = c1.createStatement();
    java.sql.ResultSet rs = st.executeQuery("select * from server");
    java.sql.ResultSet rsc = stc.executeQuery("select * from cache");
    //java.sql.ResultSetMetaData md = rs.getMetaData();
    //java.sql.ResultSetMetaData mdc = rsc.getMetaData();
              while(rsc.next()) {
    s=rsc.getString(1);
    if(s.equals(t))
    System.out.print(rsc.getString(2));
         System.exit(1);
    System.out.println("\nDNS Entry not found in the Cache...");
    System.out.println("\nMoving to the Main server database..\n");
    while(rs.next()) {
    r=rs.getString(1);
    if(r.equals(t))
         System.out.print(rs.getString(2));
    String query = "insert into cache(server,ip) values(t,rs.getString(2))";                                                                                     
    int rows = stc.executeUpdate(query);
         stc.close();
    rs.close();
    rsc.close();
    } catch(Exception e) {
    e.printStackTrace();
    it gives me an error
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Undefined function 'rs.getString' in express
    ion.
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(Unknown Source)
    at localdemo.main(localdemo.java:46)
    PLease help
    regards
    Chetan

    Hi ,
    It's always better to acquire resources when ever they are
    going to be used.
    So please change the code as shown below.
    import java.sql.*;
    public class localdemo {
    public static void main(String[] args) {
    String s,r;
    String x;
    String t=args[0];
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    // Test with MS Access database (ODBC data source)
    String url = "jdbc:odbc:Servers";
    String urlc = "jdbc:odbc:cache";
    java.sql.Connection c = null;
    java.sql.Connection c1 = DriverManager.getConnection(urlc,"chetan", "mavric1");
    java.sql.Statement st = null;
    java.sql.Statement stc = c1.createStatement();
    java.sql.ResultSet rs = null;
    java.sql.ResultSet rsc = stc.executeQuery("select * from cache");
    //java.sql.ResultSetMetaData md = rs.getMetaData();
    //java.sql.ResultSetMetaData mdc = rsc.getMetaData();
    while(rsc.next()) {
    s=rsc.getString(1);
    if(s.equals(t))
    System.out.print(rsc.getString(2));
    System.exit(1);
    rsc.close();
    System.out.println("\nDNS Entry not found in the Cache...");
    System.out.println("\nMoving to the Main server database..\n");
    c= DriverManager.getConnection(url,"chetan", "mavric1");;
    st=c.createStatement();
    rs=st.executeQuery("select * from server");
    while(rs.next()) {
    r=rs.getString(1);
    if(r.equals(t))
    System.out.print(rs.getString(2));
    String query = "insert into cache(server,ip) values(t,rs.getString(2))";
    int rows = stc.executeUpdate(query);
    stc.close();
    rs.close();
    } catch(Exception e) {
    e.printStackTrace();
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Micro Sysytems
    http://www.sun.com/developers/support/

  • Connect to different Databases like Oracle, SqlServer,Access,Db2

    Hi all,
    i'm in the process of developing an application using jsp , which should be capable of connecting to all datbases like Oracle, SQL Server,Access DB2, Sybase etc,
    How can i establish that?
    Also what all are things i need to take care,which are specific to each of these databases,like datatype differences etc?
    Any information or links with sample codes is helpfull.
    regards.
    Isaac

    Theoretically if you use just the JDBC API then you should be able to access all these databases. This will be true if you're not using 'exotic' datatypes or functionality. If you are, then you may be in for problems - for example I've had problems with clobs and Oracle that required Oracle specific code, which goes against what you're doing. If that happens, just have call outs to helper classes that use the vendor specific stuff, and only load these classes if you detect that particular JDBC driver, and abstract these vendor specific classes to a standard interface.

  • ODBC Microsoft Access Driver Error

    Help! I'm a novice. I have PSE3.0 installed on my laptop (HP Pavillion) which has the Windows XP operating system. It has been working ok for a couple of years and is now causing problems. I was able to import scaned items and photos from files on my hard drive. A couple of days ago, when I tried to do that, I received the following message "[Microsoft [ODBC Microsoft Access Driver] cannot open database]. It may not be a datbase that your application recognizes or the file may be corrupt." I was also not able to import photos directly from my camera chip. Is this an Adobe problem or a MS problem? Any suggestions as to how to fix? Thanks. Hank

    Hello Barb,
    Thanks for your suggestion. Unfortunately that didn't work. When I clicked on "recover" it appeared to go to 66% and then the computer froze up. I had to do a "hard" shutdown.
    I've done a defrag which the system told me was not necessary. That didn't help. I have approx 50% of free space on my hard drive. So I don't think space is an issue.
    For the past few months both the HP photo package and Adobe have been opening when I download photos from my camera. Is it possible that the two programs are somehow interferring with each other. On my last download, the photos wouldn't download to PSE3 and i received the ODBC error message. The photos did download to the HP program.
    I also tried to reinstall the PSE3 program but I received a message that said I currently have a more recent version of Adobe (I suspect that is a reference to the Adobe Reader program) and terminated the installation.
    I'm open to any suggestions. Thanks Hank

  • How to start to use Oracle client to access Database ?

    Folks,
    Hello. I have just installed Oracle Client into directory /home/myOracle/Oracle_Client. But I don't know how to start and configure the client to access Oracle Database.
    Can any folk tell me how to start to use Oracle client to access Database ?

    user13764998 wrote:
    I have earlier managed to install the Oracle Client (32-bit) in 32-bit clients and servers Oracle Client 10.
    The reason that it went well before was the exellent setup and configurationprograms we got with that version.It seems you are confusing the "full" Datbase Client with Instant Client.
    Now I'm trying to install the Oracle Instant Client 11g R2 both 32-bit and 64 (of the latest revision) on a 64-bit Windows 2008 Server .
    I have managed to install the driver but the setup doesn't give me any Net Configuration Assistant or Net Manager to help with the configuration.What setup? Are you not using just the zip files?
    What are you installing exactly, i.e. what install media (file) did you download?
    So I haven't succeded in configuring it despite I I read the readme-info that comes with the Instant Client files.There's not much to configure - that's sort of the point of Instant Client. Just drop a few files in a folder, set PATH and off you go.
    Doesn't <instant client dir>\sqlplus user@'hostname/servicename' work?

  • Accessing partitioned table thru remote databse link

    Dear All
    I want to use create table command in my database .I want access partitioned table of remote datbase thru database link.Pl let me know the scripts.
    Thanks
    Parth
    NB : I was using the foll but actually the data given is wrong.
    select * from Data@prod "partition(part_feb03)";

    Don't able use partition table with the database link, sorry
    Regards
    Hector

  • Need of archive Datbase in Sybase ASE

    Hi guys,
    Please let me know about  Need of archive Datbase in Sybase ASE
    theoretical i know what is the use of archive database ,but let me what is the purpose in practical development .
    as theoretical i know that "We can access data from backup file without taking load/dump" .
    How can i implement this in my real time environment .
    Please help me to understand this topic deeply .
    regards
    abhishek

    The Archive Database feature was implemented primarily to allow users to extract table data from a dump without having to do a full load of the dump, which is both slower and requires disk space (sometimes substantial amounts when the dump is for a very large database).
    An example use case might be if a table was accidentally dropped but the business didn't want to revert the entire database back to the time of the last dump.  Instead, the dump can be loaded as an archive database and just that table bcped out (or selected into a table in the main database).  The data in that recovered table would be a bit stale compared to the rest of the database, but that might be preferable to losing hours of work.
    Note that an alternative method for a more up to date recovery is possible if tran log dumps were being taken, the full dump could be loaded and then the tran log dumps up to the one covering the time where the table was dropped, that last tran dump could then be loaded using the "with until_time" option to just before the table was dropped.
    There are other uses to Archive Databases, but access to object-level data without actually loading the full dump was the main business case for it.

  • Error due to accessing database connection using jsp

    Hi,
    I have an error, during accessing a datbase using jsp:useBean from jsp.Urgent i need this one
    my source code is
    DbBean.java
    package SQLBean;
    import java.sql.*;
    import java.io.*;
    public class DbBean implements java.io.Serializable{
    private String dbDriver = "sun.jdbc.odbc.JdbcOdbcDriver";
    private Connection dbCon;
    public DbBean(){
    super();
    public boolean connect() throws ClassNotFoundException,SQLException{
    Class.forName(dbDriver);
    dbCon = DriverManager.getConnection("jdbc dbc:mybean","","");
    return true;
    public void close() throws SQLException{
    dbCon.close();
    public ResultSet execSQL(String sql) throws SQLException{
    Statement s = dbCon.createStatement();
    ResultSet r = s.executeQuery(sql);
    return (r == null) ? null : r;
    public int updateSQL(String sql) throws SQLException{
    Statement s = dbCon.createStatement();
    int r = s.executeUpdate(sql);
    return (r == 0) ? 0 : r;
    database.jsp
    <HTML>
    <HEAD><TITLE>DataBase Search</TITLE></HEAD>
    <BODY>
    <%@ page language="Java" import="java.sql.*" %>
    <jsp:useBean id="db" scope="application" class="SQLBean.DbBean" />
    <jsp:setProperty name="db" property="*" />
    <center>
    <h2> Results from </h2>
    <hr>
    <br><br>
    <table>
    <%
    db.connect();
    ResultSet rs = db.execSQL("select * from employ");
    int i = db.updateSQL("UPDATE employ set fname = 'hello world' where empno='000010'");
    out.println(i);
    %>
    <%
    while(rs.next()) {
    %>
    <%= rs.getString("empno") %>
    <BR>
    <%
    %>
    <BR>
    <%
    db.close();
    %>
    Done
    </table>
    </body>
    </HTML>
    The error like this
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    error: Invalid class file format in C:\Program Files\Apache Tomcat 4.0\webapps\muthu\WEB-INF\classes\SQLBean\DbBean.class. The major.minor version '49.0' is too recent for this tool to understand.
    An error occurred at line: 7 in the jsp file: /database.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\muthu\database$jsp.java:65: Class SQLBean.DbBean not found.
    SQLBean.DbBean db = null;
    ^
    An error occurred at line: 7 in the jsp file: /database.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\muthu\database$jsp.java:68: Class SQLBean.DbBean not found.
    db= (SQLBean.DbBean)
    ^
    An error occurred at line: 7 in the jsp file: /database.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\muthu\database$jsp.java:73: Class SQLBean.DbBean not found.
    db = (SQLBean.DbBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "SQLBean.DbBean");
    ^
    4 errors, 1 warning
    Anybody help me?
    Thanx in advance

    Your code is ok . The problem is in java version witch you use to compile the DbBean class . I think you are using java 1.5 try to change to 1.4 compile and run again should help .

  • Access 2010 Combo Box Failure on Database Close

    Problem: create a combo box with recordsource on table or query; Initially combo box "works" ; i.e when you begin to type values the combo box looks up the first matching value based on the recordsource.
    HOWEVER: Once you close the database and reopen this functionality is completely LOST...the values are still in the recordsource, if you click the dropdown all the values are displayed; however when typing in values the combo box no longer gets the first
    or any matching record.
    Thus the combox is all but useless unless there are very/very few records.
    Solutions I have tried:
    1. Creating a compleley new datbase (blank) ; a blank form with only a combobox. 
    2. Importing my forms into a new blank database
    3. changing the recordsource settings from queries to tables to sql.
    4. running a /decomple on the database
    Absolutely nothing I have done works and I have spend hours doing this.
    I literally have no idea what is going on here.
    Help ...this is a critical issue.
    jawsurgeon

    Hi Jawsurgeon,
    According to the description, the AutoExpand feature provied by comboBox didn't work after you close the database.
    Please first check the AutoExpand property is true. And here is a sample database, you can download it from link below:
    ComboBoxAutoExpand
    Also please check whether the KB below is helpful:
    The AutoExpand property may not work when ANSI-92 syntax is enabled and the Combo Box RowSource does not use DISTINCT values
    If it still didn't work, I suggest that you repair the Access to see whether the issue was fxied.
    Regards & Fei
    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.

  • Problems accessing Server

    Hi,
    We recently had our test server (testdb.xxx.xxx.xx) (Linux Tikanga) restarted, after which I am unable to access any of the Hyperion web-based applications on the server (Planning, Workspace, Shared Services etc.). Everything was working fine before the server was restarted.
    For example, I would access workspace using the URL http://testdb.xxx.xxx.xx:19000/workspace/index.jsp. It throws up the following error now.
    Initialization Error.
    The system is not available due to initialization errors.
    Detailed error messages:
    +Error initializing the registry connection: java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Error establishing socket to host and port: testdb.xxx.xxx.xx:1521.+
    Reason: Connection refused
    Contact your system administrator.
    I am also not able to start the Essbase server. It gives the following error.
    +Network Error [10060]: Unable to connect to [testdb.xxx.xxx.xx:1423]+
    The client timed out waiting to connect to Essbase Agent using TCP/IP. Check your network connections. Also make sure the server and port values are correct.
    Any suggestions on what needs to be done?
    Thanks & Cheers,
    Sahil

    NareshV wrote:
    Hi,
    Can you check if your datbase is up and running?
    In general, when you restart servers it is advisible to stop services in specific order.
    Stop hyerion related services, then web server and then database services.
    Once the system is restarted, start the services in the reverse order of above.
    It depends on version for start order, if it is before 11.1.2 then yes the order is more important, from 11.1.2 the order is less important though the database does have to be running.
    From the error message it does sound like an issue with communication with the Oracle db.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Jsp accessing a database

    is it possible for two jsp files to access the same database????
    i have the following code and im not sure if its the code thats causing my errors or if its how i have my datbase setup.
    <%
    if (request.getMethod().equals("POST")) {
    %>
    <jsp:useBean id="user" class="com.jguru.GetRoute">
    <jsp:setProperty name="user" property="*"/>
    </jsp:useBean>
    <p>
    <hr>
    <font color=green>
    <b>You submitted:<P>
    Start Town = :</b><br>
    <jsp:getProperty name="user" property="startTown"/><br>
    <br>
    <%-- Connect to the database--%>
    <%
    String data = "jdbc:odbc:Routes.mdb";
    String query = "Select * FROM Table1";
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    java.sql.Connection connection = java.sql.DriverManager.getConnection(data);
    java.sql.Statement s = connection.createStatement();
    java.sql.ResultSet record = s.executeQuery(query);
    while(record.next())
         %><br><br><%=record.getString("Towns")%> <%=record.getInt("Distance") %> <%=record.getString("Road") %><br><br><%
    connection.close();
    %>
    <%
    %>

    String data = "jdbc:odbc:Routes.mdb";JDBC URLs have the format:
    jdbc:<subprotocal>:<data source identifier>
    You should use SystemDSN, not your database name here. After you set up System DSN i.e. RoutesDSN,(Start->Settings->Control Panel->ODBC Data Sources -> System DSN ->Add... ) then using
    String data = "jdbc:odbc:RoutesDSN";
    If you get error, post your error message.

  • Database Access KVD

    Hi All, I downloaded the dreamweaver 8.0 trial version. I was
    trying to see how database access works. I followed several
    tutorials on the adobe website, but I am not able to view any live
    data. When I open any page with data access defined it doesnt do
    anything, I just occasionally see a file download diagram and
    nothing happens after that. I am not sure that with the trail
    version you can actually have data access. Does anyone have any
    suggestions??
    Krupesh

    Thanks Krupeshd:
    That gives us something to work with.
    Is your ASP.NET enabled to run on the local server? See:
    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/44f16c37-f727-4 244-9813-2289e13dadba.mspx?mfr=true
    The fact that you say "I open any page with data access
    defined it doesnt do anything, I just occasionally see a file
    download
    diagram" indicates that the file type that you are trying to
    access is
    not recognized, so you may not have the server enabled for
    aspx files.
    I'm sure that there are others here who can address that.
    If you want to use an OLE DB Connection for your database
    connection:
    If you've got your MS SQL database set up using the
    Enterprise Manager,
    the next thing to do is to go into the ODBC Data Source
    Administrator on
    your system and add your datasource to the System Datasources
    list in
    the System DSN tab. I found a rather old tutorial at:
    http://www.depts.ttu.edu/helpcentral/directions/ODBCSetup.php
    but it should provide you with the information you need to
    set up your
    system DSN so you database will be properly exposed to
    Dreamweaver.
    Once you've done that, in Dreamweaver make sure your site is
    properly
    defined for your testing server in the Testing Server
    category of the
    Site Definition dialog. Also define the location of the
    server as a
    subdirectory of your C:\Inetpub\wwwroot\ directory.
    If the Testing Server is properly setup, open an aspx page
    and then
    bring up the Databases panel. There click on the Add (+)
    button and set
    up a datbase connection. Choose OLE DB Connection and in the
    dialog
    that comes up, click on the Build... button (that's the
    easiest way to
    work with it). Select your machine name from the "Select or
    enter a
    server name" list/menu. In Enter information to log on to the
    server,
    enter your login for your SQL Server database User by
    clicking Use a
    specific user name and password radio button and entering
    your SQL
    Server user name and password. Select the database from the
    next
    list/menu and click Test Connection. If it works, click OK
    the
    Connection String should be populated with the proper
    information in the
    OLE DB Connection dialog. Click Test to see if your
    connection is
    still working, then click OK. You should now be able to add a
    dataset
    and then create a dynamic table to display the results of the
    dataset.
    For a discussion of common errors, see:
    http://www.adobe.com/go/tn_16398
    Note: There are many others in this forum who are much more
    savvy than I
    am with ASP.NET. they may tell you to NOT use OLEDB and just
    to use the
    SQL Server Connection. I'm fine with that. There's plenty of
    room for
    different ways to connect, as long as they all work! ;~}
    enthusiastically,
    mark haynes
    webassist sales
    Check out our Special Offers at:
    http://www.webassist.com/professional/products/specials.asp
    Krupeshd wrote:
    > Hi Mark, I am using asp.net c#. Testing on a local PC.
    Everything is running locally. I am accessing sql server

  • Problem in connection with MS Access

    when i am running the sample code below in jsp page using tomcat
    as a webserver . no error is displaying i am getting the html page
    displayed. but data is not retriving from the database.i use
    Connection con= DriverManager .getconnection "jdbc:odbc:Database")- but no use no error no data retrival can any body help me
    <%@ page session="false" %>
    <%@ page import = "java.util.Calendar" %>
    <%@ page import="java.sql.*" %>
    <%
    try{
         Class.forName ("sun.jdbc.odbc.jdbcodbcdriver");
    catch(ClassNotFoundException e)
         System.out.println(e.toString());
    %>
    <html>
    <head>
    <title> DISPLAYING THE USER NAMES </title>
    <body>
    <center>
    <br>
    <br>
    <h3 align=center> Users for the laptop </h3>
    <table>
    <tr>
    <th> FIRST NAME </th>
    <th> LASTNAME </th>
    <th> USERNAME </th>
    </tr>
    <%
    String sql = "SELECT * " +"FROM Users";
    try {
    String url = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Datbase.mdb";
    Connection con=DriverManager.getConnection(url);
    Statement s =con.createStatement();
    ResultSet rs = s.executeQuery(sql);
    while (rs.next())
    %>
    <tr>
    <td> <% out.print(rs.getString(1)); %> </td>
    <td> <% out.print(rs.getString(2)); %> </td>
    <td> <% out.print(rs.getString(3)); %> </td>
    </tr>
    <%
         rs.close();
    s.close();
         con.close();
    catch(SQLException e)
    catch(Exception e )
    %>
    </table>
    </center>
    </body>
    </html>

    Although for all your claims about no errors I see that this time your code shows empty catch blocks so really you don't really know that.
    Please do something (print something anything, a stack trace) in that catch block.

Maybe you are looking for

  • Connect PowerMac G4 to 27" iMac

    I would like to connect my G4 to my iMac and use the iMac as a video source for both. How do I do this?

  • Unable to Add Alt Tags to Placed Images

    I am developing a flyer that will be distributed as a PDF, and our requirement is that it be "Section 508" compliant, that is, readable by a screen reader. I am trying to add alt tags to the images in order to meet this requirement, but when I go to

  • Extending weblogic server with discussion server

    Hi, I'm working on a Webcenter Portal App. I needed a discussion forum and announcement module and to add them discussion server have to been loaded. I chose the "Extend a Domain" box and now i'm on the screen of blanks : 1) What is Driver? To oracle

  • Configuring Main Task of Interactive Activity to use Portlets

    Hi, I currently have a ALBPM implementation where we are using Screenflows in our Main Task of the Interactivity Activity to interact with the user. Now we plan to replace the screenflow with portlets as we are implementing the Weblogic Portal Server

  • Identifying Questions in Adobe Captivate Quiz Results Analyser

    Hi All, We have seen people requesting for identifying the Question from with in Adobe Captivate Quiz Results Analyser. In what way do you think Question needs to be reperesented within Adobe Captivate Quiz Results Analyser? Will it useful if we show