Java Database Reporting

Hi All
I am doing a CS assignment and need to print some reports from an Access database. Does anybody know of some free or very cheep software that can do this?
I cannot spend ridiculous money on progs like Crystal reports since this is only a school assignment not a multinational enterprise project.
I hope someone can help me.
Hear from you soon.
Comlink

Check out SourceForge.net and look for JFreeReport or iReport under the Java Foundry.

Similar Messages

  • Database report generation?

    Anyone know of any good java-based database report generation tools that would work in a JSC created application? I'd like both web reporting and print capabilities.
    thanks in advance!
    Paul

    I haven't used any report generation tool with Creator. But I have seen users reporting about using Jasper Reports and JReports along with Creator in this forum.
    - Winston
    http://blogs.sun.com/roller/page/winston?catname=Creator

  • Bad performance of Java Web Report in BI 7

    We are experiencing poor performance with Java web application(EP)
    comparing to that with ABAP web.
    We migrated our BI reports from the ABAP web interface to the Java web
    interface due to our upgrade to Netweaver2004 environment.
    The problem is that it takes much longer time to load the BI reports in
    Java web than in ABAP web.
    It is the same situation in RSRT. Java web needs more time to execute
    the same query.
    there is no EP logon performance delay, so I think the EP is configured good.
    But the response time of BI Java Web Report is delayed average of 4~5
    seconds in every Query compared in that of ABAP Web report.
    Anyone experience this situation?

    Hi,
    I am facing similar problem. How did you solve it?
    Regards,
    Apurva

  • Runtime error while creating logical database report pgm

    Hi,
        I have started doing pgm on Logical Database report using VBAK,VBAP and MARA. I took VBAK as the root node and VBAP& MARA  as subnodes. The actual requirement is:-  I am trying to place these tables in Application server for perfromance issue using Logical database. Based on sales, the items need to be be displayed. And based on Items, the material data should be displayed.So root node here is VBAK.
    I have created these 3 nodes in SE36 tx.code. when I go back to se36 main screen and under "subobjects"  ,I've selected "selections". I got a dialog box saying that "Nodes for which free selections are to be made". I have clicked on the radio buttons.And then clicked on "transfer" . I am getting a runtime error . Please let me know the solution.
        Please do send me the actual process to goon with logical database reporting.

    Hello
    Logically speaking, a company code can have more than one FSV as long as they share the same chart of accounts.
    When COA is common, the FSV pattern can be designed seperatly to serve the purpose of varied reporting.
    The dump you are getting is a temporary snag. Take a screen shot from SM54 after you execute the report and pass it to BASIS for analysis. They would fix that.
    Reg
    assign points if useful

  • Query regarding Logical Database reports

    Hi,
    I have started doing pgm on Logical Database report using VBAK,VBAP and MARA. I took VBAK as the root node and VBAP& MARA as subnodes. The actual requirement is:- I am trying to place these tables in Application server for perfromance issue using Logical database. Based on sales, the items need to be be displayed. And based on Items, the material data should be displayed.So root node here is VBAK.
    I have created these 3 nodes in SE36 tx.code. when I go back to se36 main screen and under "subobjects" ,I've selected "selections". I got a dialog box saying that "Nodes for which free selections are to be made". I have clicked on the radio buttons.And then clicked on "transfer" . I am getting a runtime error . Please let me know the solution.
    Please do send me the actual process to go on with logical database reporting.

    hi,
    look here <a href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm">Editing Logical Databases</a>
    pls reward usefuls answers
    thx.
    Andreas

  • Java DataBase in NetBeans!!

    Hi there,
    can you help guy,
    I have the NetBeans IDE 4.1,
    Oracle 9,
    j2sdk1.4.0,
    and win xp (on standalone machine)
    I remember the old version of NetBeans, you can use Mounting FileSystem for jdbc\oracle\driver
    to use the OracleDriver
    but I get message error at compiler says that package jdbc.oracle.driver does not exist
    please I need help in who to do Mounting FileSystem or other way
    here is my code of java
    // Database application using Oracle and Java programming Language
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.swing.*;
    import java.awt.event.*;
    import jdbc.sql.*
    import java.awt.*;
    public class OracleJavaCustomerWindow extends JFrame
    private JLabel labelCId,labelCName,labelCCity,labelCPhone;
    private JTextField textCId,textCName,textCCity,textCPhone;
    private JPanel labelPanel,buttonPanel,textAreaPanel,labelTextAreaPanel;
    private JTextArea outputArea;
    private JScrollPane scrollPane;
    private JButton buttonDisplay,buttonAdd,buttonModifyRecord,buttonUpdate,buttonDelete;
    private JButton buttonClear;
    private JTextField field1,field2,field3,field4;
    private JLabel label1,label2,label3,label4;
    private JPanel mixedPanel,mixedPanel2,fieldPanel1,fieldPanel2,fieldPanel3,fieldPanel4;
    static Connection sqlconn = null;
    // set up GUI with constrictor(IT IS A METHOD. EACHO CLASS AT LEST HAVE ONE)
    public OracleJavaCustomerWindow ()
    super("Display Oracle Data for Customers");
    try{
              DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              sqlconn= DriverManager.getConnection ("jdbc:oracle:oci:@Kawasaki", "scott", "tiger");
    catch(SQLException ex)
    System.out.println("SQLException:" + ex.getMessage() + "<BR>");     
    // add GUI components to container
    Container container = getContentPane();
    container.setLayout(new FlowLayout(FlowLayout.CENTER));
    // Build labelPanel
    labelCId = new JLabel(" Customer ID");
    labelCName = new JLabel("Customer Name");
         labelCCity = new JLabel("Customer City");
    labelCPhone = new JLabel("Customer Phone");
    labelPanel = new JPanel();
    labelPanel.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
         labelPanel.add(labelCId);
    labelPanel.add(labelCName);
    labelPanel.add(labelCCity);
    labelPanel.add(labelCPhone);
    // Build textAreaPanel
    outputArea = new JTextArea(10,30);
    outputArea.setEditable(false);
    scrollPane = new JScrollPane(outputArea);
    textAreaPanel = new JPanel();
    textAreaPanel.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
    textAreaPanel.add(scrollPane);
    // Build labelTextAreaPanel which contains labelPanel and textAreaPanel
    // to be ready for adding to container
    labelTextAreaPanel= new JPanel();
    labelTextAreaPanel.setLayout(new BorderLayout());
    labelTextAreaPanel.add(labelPanel,BorderLayout.NORTH);
    labelTextAreaPanel.add(textAreaPanel,BorderLayout.SOUTH);
    // Buld buttonPanel
    buttonDisplay = new JButton ("Display Table");
    buttonClear = new JButton ("Clear");
    buttonAdd = new JButton("Add New Record");
    buttonUpdate= new JButton("Display Record");
    buttonModifyRecord = new JButton("Modify Record");
    buttonDelete = new JButton("Delete Record");
    buttonPanel = new JPanel();
    buttonPanel.setLayout(new GridLayout(6,1,10,5));
    buttonPanel.add(buttonAdd);
    buttonPanel.add(buttonUpdate);
    buttonPanel.add(buttonModifyRecord);
    buttonPanel.add(buttonDisplay);
    buttonPanel.add(buttonDelete);
    buttonPanel.add(buttonClear);
    // build fieldPanel1
    label1 = new JLabel("Customer Number");
    field1 = new JTextField(10);
    fieldPanel1 = new JPanel();
    fieldPanel1.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
    fieldPanel1.add(label1);
    fieldPanel1.add(field1);
    // build fieldPanel2
    fieldPanel2 = new JPanel();
    label2 = new JLabel("Customer Name");
    field2 = new JTextField(10);
    fieldPanel2.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
    fieldPanel2.add(label2);
    fieldPanel2.add(field2);
    // build fieldPanel3
    fieldPanel3 = new JPanel();
    label3 = new JLabel("Customer City");
    field3 = new JTextField(10);
    fieldPanel3.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
    fieldPanel3.add(label3);
    fieldPanel3.add(field3);
         // build fieldPanel4
    fieldPanel4 = new JPanel();
    label4 = new JLabel("Customer Phone");
    field4 = new JTextField(10);
    fieldPanel4.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
    fieldPanel4.add(label4);
    fieldPanel4.add(field4);
    // Build mixedPanel which contains fieldPanel1, fieldPanel2,fieldPanel3
    // to be ready for adding to container
    mixedPanel = new JPanel();
    mixedPanel.setLayout(new BorderLayout());
         mixedPanel.add(fieldPanel1,BorderLayout.NORTH);
    mixedPanel.add(fieldPanel2,BorderLayout.CENTER);
    mixedPanel.add(fieldPanel3,BorderLayout.SOUTH);
    mixedPanel2 = new JPanel();
    mixedPanel2.add(fieldPanel4,BorderLayout.SOUTH);
    // add all panels to the container
    container.add(mixedPanel);
    container.add(mixedPanel2);
    container.setBackground(Color.DARK_GRAY);
    container.add(labelTextAreaPanel);
         container.add(buttonPanel);
    //--------- Messages to communicate with different objects
    //----------- method to clear the outputarea
    buttonClear.addActionListener(
              // anonymous inner class
    new ActionListener()
    public void actionPerformed(ActionEvent event)
                        outputArea.setText("");
    }// actionPerformed
    }// anonymous inner class
    //--------- method to use button event--------------------
    buttonDisplay.addActionListener(
    //anonymous class
    new ActionListener()
                   public void actionPerformed(ActionEvent event)
                        //Connection sqlca = null;
                   Statement sqlStatement = null;
                   ResultSet rset = null;
                   try{
                             //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                             //sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
                             sqlStatement = sqlconn.createStatement ();
                             rset = sqlStatement.executeQuery ("select * from customers");
                             while (rset.next ()){
                                  String CUSTOMERID=rset.getObject(1).toString();
                                  String CUSTOMERNAME =rset.getObject(2).toString();
                                  String CUSTOMERCITY =rset.getObject(3).toString();
    String CUSTOMERPHONE =rset.getObject(4).toString();
                                  //String map=rset.getObject(4).toString();
                                  //String region=rset.getObject(5).toString();
                                  //System.out.println (id + "\t" + name + "\t" + loc );
                   outputArea.append(CUSTOMERID + "\t" + CUSTOMERNAME + "\t" + CUSTOMERCITY + "\t" + CUSTOMERPHONE + "\n" );
                             } // end while
                        }// end try
                        catch (SQLException ex)
                             System.out.println("SQLException:" + ex.getMessage() + "<BR>");
                        }// catch
    }// action performed
    } // anonymous inner class
    );// end addActionListener
    // ------ method to add Customers to the database
         buttonAdd.addActionListener(
         // anonymous inner class
    new ActionListener()
    public void actionPerformed(ActionEvent event)
    try{
                   Statement sqlStatement = null;
    ResultSet rtbookset = null;
    // create statement
    sqlStatement = sqlconn.createStatement();
    int CUSTOMERID = Integer.parseInt(field1.getText());
    String CUSTOMERNAME = field2.getText();
                   String CUSTOMERCITY = field3.getText();
    int CUSTOMERPHONE = Integer.parseInt(field4.getText());
              // create query
                   String insertquery = "INSERT INTO CUSTOMERS VALUES("
         + CUSTOMERID + "," + "'" + CUSTOMERNAME + "'," + "'" + CUSTOMERCITY + "'," + CUSTOMERPHONE + ")";
              // execute the query
                             sqlStatement.executeQuery(insertquery);
                             // clear the textfields
                             field1.setText("");
                             field2.setText("");
                             field3.setText("");
    field4.setText("");
              JOptionPane.showMessageDialog(null,"Record added");                     
    }// try
    catch(SQLException ex)
                        System.out.println("Record exists :" + ex.getMessage() + "<BR>");
                   }// catch
    }// actionPerformed
    }// anonymous inner class
    //--------- method to use buttonUpdate event--------------------
    buttonUpdate.addActionListener(
    //anonymous class
    new ActionListener()
                   public void actionPerformed(ActionEvent event)
                        //Connection sqlconn = null;
                   Statement sqlStatement = null;
                   ResultSet rset = null;
    int CUSTOMER_ID = Integer.parseInt(field1.getText());
                   try{
                             //int CUSTOMER_ID = Integer.parseInt(field1.getText());
              //String d_name = field2.getText();
                             //String d_loc = field3.getText();
                             //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                             //sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
                             sqlStatement = sqlconn.createStatement ();
                             rset = sqlStatement.executeQuery ("select * from CUSTOMERS where CUSTOMER_ID =" + CUSTOMER_ID);
                             rset.next ();
                             //int id=rset.getInt("DEPTNO");
                             String CUSTOMERID = rset.getObject(1).toString();          
                             String CUSTOMERNAME=rset.getString("CUSTOMER_NAME");
                             String CUSTOMERCITY=rset.getString("CUSTOMER_CITY");
    String CUSTOMERPHONE=rset.getString("CUSTOMER_PHONE");
    field1.setText(CUSTOMERID);
                             field2.setText(CUSTOMERNAME);
                             field3.setText(CUSTOMERCITY);
    field4.setText(CUSTOMERPHONE);
    //buttonUpdate.setEnabled(false);
    //buttonModifyRecord.setEnabled(true);
    //rset.close();
                        }// end try
                        catch (SQLException ex)
                             JOptionPane.showMessageDialog(null,"No Record found with CUSTOMER ID :" + CUSTOMER_ID );
                             //System.out.println("SQLException:No record found" + ex.getMessage() + "<BR>");
                        }// catch
    }// action performed
    } // anonymous inner class
    );// end addActionListener
    //---------Method to modify record------------------------------------
    buttonModifyRecord.addActionListener(
    //anonymous class
    new ActionListener()
                   public void actionPerformed(ActionEvent event)
                        //Connection sqlconn = null;
                   Statement sqlStatement = null;
                   ResultSet rset = null;
                   try{
                             //int dept_no = Integer.parseInt(field1.getText());
              //String d_name = field2.getText();
                             //String d_loc = field3.getText();
                             //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                             //sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
                             sqlStatement = sqlconn.createStatement ();
    int CUSTOMERID = Integer.parseInt(field1.getText());
              String CUSTOMERNAME = field2.getText();
                             String CUSTOMERCITY = field3.getText();
    int CUSTOMERPHONE = Integer.parseInt(field4.getText());
                             String updatequery = "UPDATE CUSTOMERS SET CUSTOMER_NAME = " + "'" + CUSTOMERNAME + "',"
    + " CUSTOMER_CITY = " + "'" + CUSTOMERCITY + "'," + " CUSTOMER_PHONE = " + CUSTOMERPHONE
    + " Where CUSTOMER_ID = " + CUSTOMERID;
              // execute the query
                             sqlStatement.executeQuery(updatequery);
                             // clear the textfields
                             field1.setText("");
                             field2.setText("");
                             field3.setText("");
    field4.setText("");
              JOptionPane.showMessageDialog(null,"Record modified");
    //buttonUpdate.setEnabled(true);
    //buttonModifyRecord.setEnabled(false);
                        }// end try
                        catch (SQLException ex)
                             System.out.println("SQLException:" + ex.getMessage() + "<BR>");
                        }// catch
    }// action performed
    } // anonymous inner class
    );// end addActionListener
    //---------Method to modify record------------------------------------
    buttonDelete.addActionListener(
    //anonymous class
    new ActionListener()
                   public void actionPerformed(ActionEvent event)
                        //Connection sqlca = null;
                   Statement sqlStatement = null;
                   ResultSet rset = null;
                   try{
                             //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                             //sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
                             sqlStatement = sqlconn.createStatement ();
    int CUSTOMERID = Integer.parseInt(field1.getText());
              //String d_name = field2.getText();
                             //String d_loc = field3.getText();
                             String deletequery = "DELETE from CUSTOMERS "
    + " Where CUSTOMER_ID = " + CUSTOMERID;
              // execute the query
                             sqlStatement.executeQuery(deletequery);
                             // clear the textfields
                             field1.setText("");
                             field2.setText("");
                             field3.setText("");
    field4.setText("");
              JOptionPane.showMessageDialog(null,"Record Deleted");
    //buttonUpdate.setEnabled(true);
    //buttonModifyRecord.setEnabled(false);
                        }// end try
                        catch (SQLException ex)
                             System.out.println("SQLException:" + ex.getMessage() + "<BR>");
                        }// catch
    }// action performed
    } // anonymous inner class
    );// end addActionListener
    // specify the size of the window
    setSize(800,500);
    show();
    }// constructor
    public static void main(String args[]) throws IOException{
    OracleJavaCustomerWindow application = new OracleJavaCustomerWindow();
    application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }// main
    } // class OracleJavaWindow
    // exceptions classes
    // inserFailedException is a general exception for
    // SQL insert problems
    /*class insertFailedException extends SQLException
    public insertFailedException(String reason)
         super(reason);
    public insertFailedException(String reason)
         super();
    }*/

    Sorry guys here is the correction of details i have provided
    the Error message tells me that
    package oracle.jdbc.driver does not exist
    and the folder I used to do Mounting SystemFile for was
    C:\Oracle\jdbc\lib\classes12

  • What   the   Enviroment  required  for java databases programs?

    Hi guys
    What the enviroment required for java databases programs?
    If I have oracle of version 9i and java 1.4.1 platform
    do I need Jdeveloper platform ?

    What the enviroment required for java databases programs?What do you mean by "environment"?
    f I have oracle of version 9i and java 1.4.1 platformYou just need to download Oracle's 9i JDBC driver (ojdbc14.jar) and put that in your CLASSPATH. Then write JDBC code to connect to Oracle and issue SQL commands.
    do I need Jdeveloper platform ?No, JDeveloper is an IDE. Not required.
    Why Java 1.4.1? We're up to Java 6 now. You're two major versions of the JDK behind.
    %

  • Re: Java Database

    Hello,
    I'll like some advice on the topic mentioned above. I'm a beginner of java programming and have elementry knowledge about java. I'll like to know how is it possible to input the list of data in Excel format into Java Database Connectivity and how am I able to extract out the info. that I'll need. Like say the columns/field on designation and name. How am I able to extract the data and change it like to delete or edit the info.??
    Pls. explain it step-by-step your patience is really appreciated. Thanks and God Bless.

    You should search Javaworld for "Excel" - they've had a few articles about using JDBC to access Excel. As far as I recall, though, you can't alter data in Excel through JDBC, only read it.
    http://www.javaworld.com
    There are other ways of getting at Excel data through Java but they're not very good either (unless you want to use a Java-COM bridge).

  • FLEX+CAIRNGORM+BLAZEDS+JAVA+DATABASE

    A very simple example for FLEX+CAIRNGORM+BLAZEDS+JAVA+DATABASE.
    http://vijaaay.limewebs.com/forum/viewthread.php?tid=26&extra=page%3D1
    or
    visit  www . flexindia . tk >> Flex Examples
    The attachment zip contains the source  files[ FLEX and JAVA ] and Readme.txt which helps you to setup this  example.
    Regards,
    Vijay

    Yeah i registered, but i couldn't find zip file. Could you please tell me where is that example
    Thanks,
    ApacheFlex.

  • Java Export hangs at 'Export Java Database Content' phase

    Hi All -
    As part of system refresh activities,we are doing Java Export from our Production system(PE1) & we will use that export to import it in our Qulaity system(QE1).So while doing Java Export,the export gets stucks/hangs at 'Export Java Database Content" phase which is the last phase in Java Export steps.We have been doing this task since many years  & we did not encounter this kind of issue ever.There are no errors or at least warnings in the logs like sapinst_dev.log,jload.log,jload.java.log,sapinst.log etc.Our environment details are as below
    EP -6.0
    OS - AIX 5.3,64 BIT
    DB - DB2 UDB
    SAPINST version - 642
    Java version is below
    pe1adm> java -fullversion
    java full version "J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20100918 (SR13 FP6)"
    Please note with the SAPINST we are using currently, the exports of remaining systems in EP & other solutions like ECC,CR,SRM,XI,BI are successfull.We are having this issue only in PE1.Looks like some bug in code.So request the experts in this forum to please take a look at it & provide me with solution if any of you have faced the similar situation.
    Thanks & regards,
    Nagendra.

    Thank you for your reply Subhash.The below is the last entry in jload.log.It is at EP_ATTR_HEADERS.While doing the Java export,we asked our DBA to monitor to find out any errors at DB side.He monitored and said that no deadlocks or no infinite loops are found.Also he said that he cannot create index for that too because it is trying to do select *.In our first 2 or 3 attempts it used to hang at CA_PRODUCTS meta data exported,CA_PROPERTY meta data exported.Now here.Our DBA said that EP_ATTR_HEADERS has 1.4M rows.We tried to bounce the entire system also,but no luck.We have the same issue.Peculiar thing is we dont see any errors or warnings in the logs.
    23.06.11 09:54:21 com.sap.inst.jload.Jload dbExport
    INFO: EP_ATTR_DEFS exported (6 rows)
    23.06.11 09:54:21 com.sap.inst.jload.Jload dbExport
    INFO: EP_ATTR_HEADERS meta data exported
    Please let me know if you need any further info in resolving this issue.
    Thanks & regards,
    Nagendra.

  • Free Java Database?

    I'm looking for a free Java database. A few recommended MySQL, but after going to their site, it looks they charge and aren't free.
    The database would be used in my own commercial product that would be sold to stores. Perhaps MySQL is just free for development? Anyone know?
    If anyone knows of other free Java databases that would be appreciated too.
    Thanks,

    You can always check out Postgres. And I'm not sure if they bundle it anymore, but there used to be a pure-Java database called Cloudscape (I think).
    - saish
    "My karma ran over your dogma." - Anon

  • Compare Java based reporting to OBIEE

    Hello All,
    Due to a lot of misconceptions, my current client thinks that a lot of their problems will be resolved by simply retiring OBIEE and write all the reports in Java.
    Some requirements are unrealistic to ask from OBIEE and some are well...limitations.
    The client has asked us to give him reasons why he still should be on OBIEE. Has anyone done a comparison of Java based reports and OBIEE (or any BI tool)?
    Reasons why OBIEE stands out would also help.
    Thanks all!!

    There are many, many reasons why to use OBIEE. One of the bigger reasons being you don't need to know anything about Java in order to build an Answer Report.
    I've been asked a similar question in the past, to compare OBIEE versus Java based ADF. My response is that they have two completely different purposes.
    --OBIEE is end-user/middle-user driven dashboards and ad-hoc analysis. 
    --Java/ADF is for power-users to pre-constructed reporting systems. (forgive me but I don't know the ad-hoc capabilities of Java/ADF)   
    If your client has full-time java resources to commit to the creation and maintenance of a Java environment, then by all means they should probably go that route. But keep in mind that as new uses want to see different data layouts and different data sets, your java team will quickly become overburdened.
    OBIEE relieves the strain on the java (IT) team and allows end-users to drive reporting with the relatively occasional support by IT.
    Yes, OBIEE does have limitations, but always keep in mind that a) It's an ad-hoc Dashboard framework and not an ad-hoc java framework which has much greater flexibility but requires much more technical expertise b) There is a major release of OBIEE (11g) just around the corner that is about to change the game in terms of how OBIEE can be used. You should have your client stay on board until they can at least see the new features.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • Installation hangs at step 18-Load Java Database Content

    Hi,
    I am trying to install NW04s WAS. No matter, how many times I uninstall & reinstall(after properly clearing registry entries by running supplied cleaner.exe,stop the Xserver services if running), the installation just doesn't progress at step 18- 'Load Java Database Content'.
    Here is what I did:
    I read other threads and checked from the SAP Management Console if the DB is online. It is online and the DB is not full.But the log and Data states are shown as 0%.
    Next, according to some threads I  removed the JDK 1.4.2_15 and installed 1.4.2_12 version.No use.
    I couldn't find any other threads with suggestions which could be of help to my issue.
    I am using windows vista home premium.I get some errors during installation but not during step 18. so I am not sure whether to consider those errors for this issue.
    <u>Following is the phase information:</u>
    PHASE 2007-09-22 15:40:18
    Prepare the installation program.
    WARNING[E] 2007-09-22 15:43:05
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    WARNING[E] 2007-09-22 15:44:47
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    WARNING[E] 2007-09-22 15:45:50
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    ERROR 2007-09-22 15:50:42
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPOsCol).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_01).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_01).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_00).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_00).
    WARNING 2007-09-22 15:52:11
    While copying files to 'C:\usr\sap\J2E\SCS01\exe': source file 'C:\usr\sap\J2E\SYS\exe\run/icudt26.dll' not found.
    WARNING 2007-09-22 15:52:12
    While copying files to 'C:\usr\sap\J2E\JC00\exe': source file 'C:\usr\sap\J2E\SYS\exe\run/icudt26.dll' not found.
    ERROR 2007-09-22 15:52:31
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPOsCol).
    WARNING 2007-09-22 15:54:12
    Execution of the command "C:\usr\sap/J2E/JC00/igs/bin/igswd.exe 'C:\usr\sap\J2E\JC00\igs' '-c' '-tracelevel=1' '-mux=Karthik-PC,40000' '-listenerhttp=40080' '-portwatcher=40001' '-portwatcher=40002'" finished with return code 1. Output:
    PHASE 2007-09-22 16:03:03
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:03:22
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:04:29
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:05:18
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:05:59
    SAP J2EE Engine
    PHASE 2007-09-22 16:06:09
    JLoad Run
    I have spent a lot of time to have this installed. Please somebody help.
    Thanks
    Karthik

    Hi Raja and Anatoliy Misyura  ,
    Thanks a lot for taking time to reply to my issue.
    1)I completely unistalled the previous version by running clearner.exe and stopping the services,removing sapdb folder etc.,
    2)Then I disabled my antivirus,firewall etc.,
    3)Installed jdk 1.4.2_11(after removed the previously tried version 1.4.2_12
    4)Ran the SAPInst installer
    But unfortunately still the installer stops at the same step!
    Don't know what's going wrong.....
    Raja- Can you tell me what is the windows OS version you have? Mine is home premium.
    Thanks
    Karthik
    Can you guys let me know if you have any other suggestions

  • JDBC is the Acronym of Java Database Connectivity - Yes / No?

    Hi,
    JDBC is the Acronym of Java Database Connectivity - Yes / No?
    I am little bit confused. I got this question in an Inteview.
    I support yes. But some of the compitiors say no.
    What will the real answer?

    Really? Even Sun contradicts themselves here:
    (2002) http://java.sun.com/javase/6/docs/technotes/guides/jdbc/
    and (more importantly) here:
    http://java.sun.com/docs/glossary.html#JDBC
    although here:
    (2001) http://java.sun.com/j2se/1.4.2/docs/guide/jdbc/getstart/intro.html
    I think it is simply silly for the latter to state that "JDBC is the trademarked name and is not an acronym" -- Oh really? JDBC doesn't stand for anything? It is all caps just because it is a trademark then? hmmm.
    I'm certain the real answer of what it stands for may have been lost long ago. However, I doubt that the interviewer meant the question to be a trick and was looking for "Java DataBase Connectivity"
    For every instance that you find that it doesn't stand for anything, I can show you 2 instances (from Sun or an employee) where they use "Java Database Connectivity (JDBC)".
    P.S. Ryan Craig may be the final authority on this...

  • How we build Java Database Connectivity for Oracle 8i Database

    Can any one send me a sample code for Java Database Connectivity for Oracle 8i Database
    it will be a grat help
    Thanks & Regards
    Rasika

    You don't need a DSN if you use Oracle's JDBC driver.
    You didn't read ANY of the previous replies. What makes you think this one willk help? Or any instruction, for that matter?
    Sounds like you just want someone to give it to you. OK, I'll bite, but you have to figure out the rest:
    import java.sql.*;
    import java.util.*;
    * Command line app that allows a user to connect with a database and
    * execute any valid SQL against it
    public class DataConnection
        public static final String DEFAULT_DRIVER   = "sun.jdbc.odbc.JdbcOdbcDriver";
        public static final String DEFAULT_URL      = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Edu\\Java\\Forum\\DataConnection.mdb";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        public static final String DEFAULT_DRIVER   = "com.mysql.jdbc.Driver";
        public static final String DEFAULT_URL      = "jdbc:mysql://localhost:3306/hibernate";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        /** Database connection */
        private Connection connection;
         * Driver for the DataConnection
         * @param command line arguments
         * <ol start='0'>
         * <li>SQL query string</li>
         * <li>JDBC driver class</li>
         * <li>database URL</li>
         * <li>username</li>
         * <li>password</li>
         * </ol>
        public static void main(String [] args)
            DataConnection db = null;
            try
                if (args.length > 0)
                    String sql      = args[0];
                    String driver   = ((args.length > 1) ? args[1] : DEFAULT_DRIVER);
                    String url      = ((args.length > 2) ? args[2] : DEFAULT_URL);
                    String username = ((args.length > 3) ? args[3] : DEFAULT_USERNAME);
                    String password = ((args.length > 4) ? args[4] : DEFAULT_PASSWORD);
                    System.out.println("sql     : " + sql);
                    System.out.println("driver  : " + driver);
                    System.out.println("url     : " + url);
                    System.out.println("username: " + username);
                    System.out.println("password: " + password);
                    db = new DataConnection(driver, url, username, password);
                    System.out.println("Connection established");
                    Object result = db.executeSQL(sql);
                    System.out.println(result);
                else
                    System.out.println("Usage: db.DataConnection <sql> <driver> <url> <username> <password>");
            catch (SQLException e)
                System.err.println("SQL error: " + e.getErrorCode());
                System.err.println("SQL state: " + e.getSQLState());
                e.printStackTrace(System.err);
            catch (Exception e)
                e.printStackTrace(System.err);
            finally
                if (db != null)
                    db.close();
                db = null;
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection() throws SQLException,ClassNotFoundException
            this(DEFAULT_DRIVER, DEFAULT_URL, DEFAULT_USERNAME, DEFAULT_PASSWORD);
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection(final String driver,
                              final String url,
                              final String username,
                              final String password)
            throws SQLException,ClassNotFoundException
            Class.forName(driver);
            this.connection = DriverManager.getConnection(url, username, password);
         * Get Driver properties
         * @param database URL
         * @return list of driver properties
         * @throws SQLException if the query fails
        public List getDriverProperties(final String url)
            throws SQLException
            List driverProperties   = new ArrayList();
            Driver driver           = DriverManager.getDriver(url);
            if (driver != null)
                DriverPropertyInfo[] info = driver.getPropertyInfo(url, null);
                if (info != null)
                    driverProperties    = Arrays.asList(info);
            return driverProperties;
         * Clean up the connection
        public void close()
            close(this.connection);
         * Execute ANY SQL statement
         * @param SQL statement to execute
         * @returns list of row values if a ResultSet is returned,
         * OR an altered row count object if not
         * @throws SQLException if the query fails
        public Object executeSQL(final String sql) throws SQLException
            Object returnValue;
            Statement statement = null;
            ResultSet rs = null;
            try
                statement = this.connection.createStatement();
                boolean hasResultSet    = statement.execute(sql);
                if (hasResultSet)
                    rs                      = statement.getResultSet();
                    ResultSetMetaData meta  = rs.getMetaData();
                    int numColumns          = meta.getColumnCount();
                    List rows               = new ArrayList();
                    while (rs.next())
                        Map thisRow = new LinkedHashMap();
                        for (int i = 1; i <= numColumns; ++i)
                            String columnName   = meta.getColumnName(i);
                            Object value        = rs.getObject(columnName);
                            thisRow.put(columnName, value);
                        rows.add(thisRow);
                    returnValue = rows;
            else
                int updateCount = statement.getUpdateCount();
                returnValue     = new Integer(updateCount);
            finally
                close(rs);
                close(statement);
            return returnValue;
         * Close a database connection
         * @param connection to close
        public static final void close(Connection connection)
            try
                if (connection != null)
                    connection.close();
                    connection = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a statement
         * @param statement to close
        public static final void close(Statement statement)
            try
                if (statement != null)
                    statement.close();
                    statement = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a result set
         * @param rs to close
        public static final void close(ResultSet rs)
            try
                if (rs != null)
                    rs.close();
                    rs = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a database connection and statement
         * @param connection to close
         * @param statement to close
        public static final void close(Connection connection, Statement statement)
            close(statement);
            close(connection);
         * Close a database connection, statement, and result set
         * @param connection to close
         * @param statement to close
         * @param rs to close
        public static final void close(Connection connection,
                                       Statement statement,
                                       ResultSet rs)
            close(rs);
            close(statement);
            close(connection);
    }%

Maybe you are looking for