Urgent help Statement v/s PreparedStatement

iam using Statement object but java specification says, PreparedStatement makes more efficient compared to Statement object can any body explain briefly about it.

i know that dynamically u can give values but specification says
PreparedStatements make the description calls at construction time,
Statements make them on every execution.what this means If you want to execute a sql statement multiple times, then a prepared statement is more efficient.
eg
Statement stmt = connection.createStatement();
stmt.execute("insert into users (username) values ('Tom')");
stmt.execute("insert into users (username) values ('Dick')");
stmt.execute("insert into users (username) values ('Harry')");vs
[code
String sql = "]insert into users (username) values (?);";
stmt = connection.prepareStatement(sql);
stmt.setString(1, "Tom");
stmt.execute();
stmt.setString(1, "Dick");
stmt.execute();
stmt.setString(1, "Harry");
stmt.execute();
With the first one, the database has to parse the query each time, check it for syntax errors, and then execute it.
Using a prepared statement, the parsing/error checking only happens once - when you prepare it. After that you can call the same statement with different values, and it will use that already "parsed and prepared" statement.
It already knows exactly the column types that will be returned from the query - that bit can't change. With a Statement, it has to work from scratch each time.
If you are executing the same piece of SQL hundreds/thousands of times, only changing the values, then Prepared statements come into their own.
Cheers,
evnafets

Similar Messages

  • Urgent help needed... PL/SQL Insert statement

    Hi...
    I need some urgent help on this project. I have a 2 column table with values that need to be inserted into another existing table which has a sequence.
    This is the 2 column table:
    FUND YEAR
    29587 05
    29587 07
    Existing table:
    Name Null? Type
    LIST_ID NOT NULL NUMBER(6) -- This is a sequence
    WEB_USER_ID NOT NULL VARCHAR2(10)
    RESOURCE_TYPE NOT NULL VARCHAR2(8)
    LIST_TYPE NOT NULL VARCHAR2(10)
    LIST_NAME NOT NULL VARCHAR2(50)
    LIST_CODE_1 NOT NULL VARCHAR2(6) -- FUND from table above
    LIST_CODE_2 NOT NULL VARCHAR2(6) -- YEAR from table above
    LIST_CODE_3 NOT NULL VARCHAR2(6)
    LAST_UPDATED_DT NOT NULL DATE
    LAST_UPDATED_BY NOT NULL VARCHAR2(10)
    LIST_CODE_4 NOT NULL VARCHAR2(20)
    The columns from table 1 (FUND, YEAR) correspond to columns (LIST_CODE_1, LIST_CODE_2) in table 2. The column LIST_ID is a sequence. I can put in sysdate for LAST_UPDATED_DT and my initials SN for LAST_UPDATED_BY. This is going to be for 2 unique WEB_USER_IDs which would be in the WHERE clause. I will be inserting 2200 rows for each id. A single insert statement would look like this -
    INSERT INTO EXISTING_TBL (list_id,web_user_id,resource_type,list_type,list_name,list_code_1,list_code_2,list_code_3,list_code_4,last_updated_dt,last_updated_by) VALUES ('470027','WEBUSER','GL','FUNDFYF',' FUND BALANCE SUM','12010','01',' ',' ',{ts '2010-5-19 10:16:9'},'SN')
    How would I do this to insert the 2200 values from my 2 column table to the existing table?
    All help is greatly appreciated!!
    SN

    Hello ,
    I think this will work
    INSERT INTO TABLE2
         LIST_ID,
         WEB_USER_ID,
         RESOURCE_TYPE,
         LIST_TYPE,
         LIST_NAME,
         LIST_CODE_1,
         LIST_CODE_2,
         LIST_CODE_3,
         LIST_CODE_4,
         LAST_UPDATED_DT,
         LAST_UPDATED_BY
    SELECT
         SEQ.NEXTVAL,
         FUND,
         YEAR,
         <VALUE FOR RESOURCE_TYPE>,
         <VALUE FOR LIST_TYPE>,
         <VALUE FOR LIST_NAME>,
         <VALUE FOR LIST_CODE_1>,
         <VALUE FOR LIST_CODE_2>,
         <VALUE FOR LIST_CODE_3>,
         <VALUE FOR LIST_CODE_4>,
         SYSDATE,
         'SN'
    FROM
         TABLE1
    REGARDS
    Rahul Sharma

  • URGENT HELP REQUIRED!

    I am having problems implementing a username validaion bean for my login system. Every time I click my login icon on my main JSP page the login JSP page does not appear except one of the error JSP pages.
    How can I correct this problem?
    Does the code below look correct?
    Below is the codes for the Username Validation Bean :
    LOGIN.JSP
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="com.mysql.jdbc.*"%>
    <%@ page errorPage="badLogin.jsp"%>
    <%@ page import="gcd.UserNameValidationBean"%>
    <%
    Class.forName("com.mysql.jdbc.Driver");
    java.sql.Connection connection=java.sql.DriverManager.getConnection("jdbc:mysql://localhost/gcdBB_db");
    java.sql.Statement statement = connection.createStatement();
    Enumeration parameters = request.getParameterNames();
    if(parameters.hasMoreElements())
    String usernameValue = request.getParameter("username");
    String passwordValue = request.getParameter("password");
    statement.executeUpdate("INSERT INTO users (username,password) VALUES ('"+usernameValue+"','"+passwordValue+"')");
    %>
    GOODLOGIN.JSP
    <%@ page errorPage="badLogin.jsp"%>
    <%@ page import="gcd.UserNameValidationBean"%>
    <% UserNameValidationBean validationBean = new UserNameValidationBean();
    if(request.getParameter("username")!=null)
    validationBean.validateUserNameBean(request.getParameter("username"));
    %>
    <%=request.getParameter("username")%>
    USERNAMEVALIDATIONBEAN.JAVA
    package gcd;
    public class UserNameValidationBean
    public UserNameValidationBean(){}
    public boolean validateUserName(String userName) throws InvalidUserNameException
    if(userName.length() < 32)
    throw new InvalidUserNameException("User Name Invalid: " + userName);
    return true;
    INVALIDUSERNAMEEXCEPTION.JAVA
    package gcd;
    public class InvalidUserNameException extends Exception
    public InvalidUserNameException(String message)
    super(message);
    I need urgent help to get this working!

    Here is code for badLogin.jsp and badLoginWithExceptonObject:
    BADLOGIN.JSP
    <HTML><HEAD><TITLE>Login Failure</TITLE></HEAD>
    <BODY bgcolor="#FF9900">
    <H1></H1>
    <font face="Arial" size="3">Sorry but you either entered an incorrect username
    or password </font>
    <P><font face="Arial" size="3">Try Again</font>
    </BODY></HTML>
    BADLOGINWITHEXCEPTIONOBJECT.JSP
    <HTML><HEAD><TITLE>Check User Login Against Parameters</TITLE></HEAD>
    <BODY bgcolor="#FF9900">
    <%@ page isErrorPage = "true"%>
    <P><font face="Arial" size="3">Error =</font> <%= exception.getMessage()%> <% PrintWriter writer = new PrintWriter(out); %>
    <P><font face="Arial" size="3">Stack =</font> <% exception.printStackTrace(writer); %>
    <P><font face="Arial" size="3">Try Again</font>
    </BODY></HTML>

  • Urgent HELP required on forming the Matrix of data using PL/SQL

    Hi All,
    I'm new to this thread and require your urgent help in this regard.
    I've got a requirement for building a 5000 X 5000 matrix using PL/SQL. My original data tables have 5000 rows each and I need to do a correlation analysis using this data and need to store in a physical table and not in-memory. Is this feat achievable using mere PL/SQL? I understand that Oracle DB has a limitation of 1000 columns(but not sure) and hence I'd like to know whether there is any work-around for such scenarios. If not, what are the other alternative method(s) to achieve this feat? Do I need to use any 3rd party tools to get this done? An early reply from the experts is highly appreciated.
    Thanking you all Gurus in advance.
    Rgds
    Sai

    Welcome to OTN!
    I'll get to your quesiton in a moment, but first some welcome information. Many OTN posters consider it impolite to mark threads as "urgent". We are volunteers and have jobs of our own to do without people we don't know making demands. You are brand new and deserve some patience but please understand this. It is very likely before I finish this post someone will complain about the word "urgent" in your subject.
    On to more interesting things :)
    You can do the matrix, but are out of luck with a 5000 x 5000 table because Oracle only allows 1000 columns per table. There are ways to work around this.
    How do do the matrix depends on what you want to do. You can do this different ways. You can create a table beforehand and use PL/SQL or simple SQL to populate it, or use the CREATE TABLE AS syntax to create and populate it in one step if you can get the underlying SQL to work the way you want, something like
    create table my_table as
      select a.*, b.*
        from table1 a, table2 bcan populate a matrix from 2 tables with an intentional cartesian join (the WHERE clause was left out intentionally, provided your data is already in the data base.
    If not you can use a PL/SQL routine to populate the data.
    There are a couple of ways to solve the 1000 column limit. The easiest way might be to have 5 collections of 1000 columns each. A more complicated but more elegant soltion would be to have nested collections, allowing 2 colliections that you can loop through - a collection of collections. Nested collections can be hard to work with. A third way would be to use nested tables in the database but I personally do not like them and the insert, update, and delete statements for nested tables are hard to use.
    I'm not going to give a code example because I am not sure which solution is best for you. If you have further questions post them.

  • Your urgent help will be very much appreciated

    I have a problem whenever I connect my database and need your urgent help. the sample source code is below
    import java.sql.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class Table extends JFrame
    private Connection con;
    private JTable table;
    public Table()
         String url = "jdbc:odbc:Books";
         String username="";
         String password="";
         try{
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         con = DriverManager.getConnection(url, username, password);
         catch(ClassNotFoundException cnfex)
         System.err.println("Failed to load JDBC/ODBC driver.");
         cnfex.printStackTrace();
         System.exit(1);
         catch(SQLException sqlex)
         System.err.println("Failed to connect");
         sqlex.printStackTrace();
         getTable();
         setSize(45,150);
         show();
    public void getTable()
         Statement state;
         ResultSet result;
         try{
         String query="Select * from Author";
         state=con.createStatement();
         result=state.executeQuery(query);
         displayResult(result);
         state.close();
         catch(SQLException sqlex)
         sqlex.printStackTrace();
    public void displayResult(ResultSet rs)throws SQLException
    boolean moreRecord=rs.next();
    if (!moreRecord)
    JOptionPane.showMessageDialog(this, "ResultSet contained no record");
    setTitle("No records to display");
    return;
    setTitle("Author table from Books");
    Vector columnHeads=new Vector();
    Vector rows=new Vector();
    try{
    ResultSetMetaData rsmd=rs.getMetaData();
    for (int i=1; i<=rsmd.getColumnCount(); i++)
    columnHeads.addElement(rsmd.getColumnName(i));
    do{
    rows.addElement(getNextRow(rs, rsmd));
    }while(rs.next());
    table=new JTable(rows, columnHeads);
    JScrollPane scroller=new JScrollPane(table);
    getContentPane().add(scroller,BorderLayout.CENTER);
    validate();
    catch(SQLException sqlex)
    sqlex.printStackTrace();
    public Vector getNextRow(ResultSet rs, ResultSetMetaData rsmd)
              throws SQLException
    Vector currentRow=new Vector();
    for (int i=1; i<=rsmd.getColumnCount(); i++)
    switch (rsmd.getColumnType(i))
    case Types.VARCHAR:
         currentRow.addElement(rs.getString(i));
         break;
         case Types.INTEGER:
         currentRow.addElement(new Long(rs.getLong(i)));
         break;
    default:
    System.out.println("Type was: "+rsmd.getColumnTypeName(i));
    return currentRow;
    public void shutDown()
         try{
         con.close();
         catch(SQLException sqlex)
         System.err.println("Unable to disconnect");
         sqlex.printStackTrace();
    public static void main(String args[])
         final Table app=new Table();
         app.addWindowListener( new WindowAdapter()
         public void windowClosing(WindowEvent e)
              app.shutDown();
              System.exit(0);

    Thank you for your help. When I compile it, it is fine, the problem happens when run it.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d448d54
    Function name=(N/A)
    Library=C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\hotspot\jvm.dll
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
    at sun.jdbc.odbc.JdbcOdbc.driverConnect(Native Method)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at Table.<init>(Table.java:26)
    at Table.main(Table.java:145)
    Dynamic libraries:
    0x00400000 - 0x00405000 C:\WINNT\system32\java.exe
    0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
    0x77D90000 - 0x77DED000 C:\WINNT\system32\ADVAPI32.dll
    0x77E60000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
    0x786F0000 - 0x78761000 C:\WINNT\system32\RPCRT4.DLL
    0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
    0x60000000 - 0x6003A000 c:\program files\rising\rav\ApiHook.dll
    0x05000000 - 0x0502E000 c:\program files\rising\rav\MemMon.dll
    0x77DF0000 - 0x77E55000 C:\WINNT\system32\USER32.dll
    0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
    0x75E00000 - 0x75E1A000 C:\WINNT\System32\IMM32.DLL
    0x6D420000 - 0x6D4F7000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\hotsp
    ot\jvm.dll
    0x77530000 - 0x77560000 C:\WINNT\system32\WINMM.dll
    0x6D220000 - 0x6D227000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\hpi.d
    ll
    0x6D3B0000 - 0x6D3BD000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\verif
    y.dll
    0x6D250000 - 0x6D266000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\java.
    dll
    0x6D3C0000 - 0x6D3CD000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\zip.d
    ll
    0x6D020000 - 0x6D12A000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\awt.d
    ll
    0x777C0000 - 0x777DE000 C:\WINNT\system32\WINSPOOL.DRV
    0x75010000 - 0x75020000 C:\WINNT\system32\MPR.DLL
    0x77A30000 - 0x77B25000 C:\WINNT\system32\ole32.dll
    0x6D1E0000 - 0x6D21B000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\fontm
    anager.dll
    0x6DD30000 - 0x6DD36000 C:\WINNT\System32\INDICDLL.dll
    0x37210000 - 0x3723D000 C:\WINNT\DOWNLO~1\CnsMin.dll
    0x77C50000 - 0x77C9A000 C:\WINNT\system32\SHLWAPI.dll
    0x777E0000 - 0x777E7000 C:\WINNT\system32\VERSION.dll
    0x75950000 - 0x75956000 C:\WINNT\system32\LZ32.DLL
    0x6D290000 - 0x6D29A000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\JdbcO
    dbc.dll
    0x1F7F0000 - 0x1F825000 C:\WINNT\system32\ODBC32.dll
    0x76AF0000 - 0x76B2D000 C:\WINNT\system32\comdlg32.dll
    0x77B30000 - 0x77BB9000 C:\WINNT\system32\COMCTL32.DLL
    0x78F90000 - 0x791D6000 C:\WINNT\system32\SHELL32.DLL
    0x1F8E0000 - 0x1F8F6000 C:\WINNT\system32\odbcint.dll
    0x77900000 - 0x77923000 C:\WINNT\system32\imagehlp.dll
    0x72960000 - 0x7298D000 C:\WINNT\system32\DBGHELP.dll
    0x687E0000 - 0x687EB000 C:\WINNT\system32\PSAPI.DLL
    Local Time = Tue Feb 25 21:33:38 2003
    Elapsed Time = 7
    # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
    # Error ID : 4F530E43505002BD
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_05-b02 mixed mode)
    # An error report file has been saved as hs_err_pid1792.log.
    # Please refer to the file for further information.
    #

  • Urgent help with simple BPEL process for reading data from database

    Hello there,
    I need help with BPEL project.
    i have created a table Employee in Database.
    I did create application, BPEL project and connection to the database properly using Database Adapter.
    I need to read the records from the database and convert into xml fomat and it should to go approval for BPM worklist.
    Can someone please describe me step by step what i need to do.
    Thx,
    Dps

    I have created a table in Database with data like Empno,name,salary,comments.
    I created Database Connection in jsp page and connecting to BPEL process.
    It initiates the process and it goes automatically for approval.
    Please refer the code once which i created.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@page import="java.util.Map" %>
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
    <%@page import="javax.naming.Context" %>
    <%@page import="java.util.Hashtable" %>
    <%@page import="java.util.HashMap" %>
    <%@ page import="java.sql.*"%>
    <%@ page import= "jspprj.DBCon"%>
    <html>
    <head>
    <title>Invoke CreditRatingService</title>
    </head>
    <body>
    <%
    DBCon dbcon=new DBCon();
    Connection conn=dbcon.createConnection();
    Statement st=null;
    PreparedStatement pstmt=null;
    Hashtable env= new Hashtable();
    ResultSet rs = null;
    Map payload =null;
    try
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL, "opmn:ormi://localhost:port:home/orabpel");//bpel server
    env.put("java.naming.security.principal", "username");
    env.put("java.naming.security.credentials", "password");//bpel console
    Locator locator = new Locator("default","password",env);
    IDeliveryService deliveryService =
    (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage();
    java.util.HashMap map = new HashMap();
    st=conn.createStatement();
    out.println("connected");
    String query1="Select * from EMPLOYEE";
    rs=st.executeQuery(query1);
    /*reading Data From Database and converting into XML format
    so that no need of going to BPEL console and entering the details.
    while (rs.next()){
    String xml1 = "<AsynchBPELProcess1ProcessRequest xmlns='http://xmlns.oracle.com/AsynchBPELProcess1'>"+
    "<Empno>"+rs.getString(1)+"</Empno>"+
    "<EmpName>"+rs.getString(2)+"</EmpName>"+
    "<Salary>"+rs.getString(3)+"</Salary>"+
    "<Comments>"+rs.getString(4)+"</Comments>"+
    "</AsynchBPELProcess1ProcessRequest>";
    out.println(xml1);
    nm.addPart("payload", xml1 );
    // EmployeeApprovalProcess is the BPEL process in which human task is implemented
    deliveryService.post("EmployeeApprovalProcess", "initiate", nm);
    // payload = res.getPayload();
    out.println( "BPELProcess CreditRatingService executed!<br>" );
    // out.println( "Credit Rating is " + payload.get("payload") );
    //Incase there is an exception while invoking the first server invoke the second server i.e lsgpas13.
    catch(Exception ee) {
    //("BPEL Server lsgpas14 invoking error.\n"+ee.toString());
    %>
    </body>
    </html>
    Its working fine.And i want it for Bulk approvals.please help me step by step procedure if any other way to implement this.

  • Urgent Help with network access to FileOutputStream

    URGENT HELP NEEDED GUYS...I am stuck on this past 2 days. I tried several alternatives but to vain.
    I am trying to access a Folder on a user's computer which is lying in a different Domain.
    For accessing this folder, I have the following information with me.
    Domain name, PC name, folder name, windows username, windows password.
    Note: This username and password will give me rights to read + write to that folder.
    How to use these information to open a fileoutputstream ? Does the java.io package allow programs to pass a username, password , domainname, pcname and then the folder and filename to create/read/write files..
    Pls. suggest code examples. Sometime back I posted this query but didnt get an answer to my satisfaction. I have tried at my end but unsuccessful yet. Help would be appreciated.
    I am trying this on a Windows File System and Network domain
    THIS IS V. URGENT
    Thanks,

    Hi HJK,
    I am referring to the last reply of yours.
    " Hi, there are three approaches I can think of offhand:
    1) make sure the user-context under which you run the java app has the right to access the remote drive.
    2) Do the network connection in a batch or c program and call that at the start of your java app with Runtime#exec.
    3) Write some c/c++ code to open the connection and integrate that via JNI.
    Let me know what (other) solution you came up with in the end!
    Regarding the 1st.
    I am supposed to write a remote installation utility actually. There are around 200 PC(s) in a network on which I need to copy these java class files. My problem statement is such that at runtime I only have username, passwords, domain access. I am not supposed to map any drives. Its supposed to be done dynamically. No manual intervention required. :(
    How do I do the network connection in a batch mode ? Let me know that?
    If 2nd option can be done, probably I can think of action-3 at the moment I am quite blurr :(

  • Urgent Help Reqd: Delta Problem....!!!

    Hi Experts,
    Urgent help reqd regarding follwoing scenario:
    I am getting delta to ODS 1 (infosource : 2LIS_12_VCHDR) from R/3. Now this ODS1 gives delta to Cube1. I got one error record which fails when going to cube (due to master data check).And this record would be edited later.
    So I thought of re loading cube and using error handling to split request in PSA and load valid records in cube.Later when I have coorect info abt error, I would load erroneous record manually using PSA.
    I did following steps:
    1)Failed request is not in cube...(setting is PSA and then into target)....also it has been deleted from PSA.
    2)Remove data status from source ODS1.
    3)Change error handling in infopackage to valid " Valid records update, reporting possible".
    4)start loading of cube.
    But when I did this I got following message :
    <b> "Last delta update is not yet completed.Therefore, no new delta update is possible.You can start the request again if the last delta request is red or green in the monitor"</b>
    But both my requests in cube and ODS are Green...no request is in yellow...!!
    Now the problem is :
    1) I have lost ODS data mart status
    2)how to load valid records to cube, since errorneous record can be edited only after 3- 4 days.
    3)How not to affect delta load of tomorrow.
    Please guide and help me in this.
    Thanks in advance and rest assured I will award points to say thanks to SDNers..
    Regards,
    Sorabh
    Message was edited by: sorabh arora

    Hi Joseph,
    Thanks for replying....
    I apolgize and I have modified the message above..
    I just checked in cube...there is no failed request for today...and neither in PSA....Person who has handed this to me may have deleted this is PSA..and why req is not in failed state in cube...I am not sure..though setting is "PSA and then into data package".....
    So how to go frm here....
    Thanks
    Sorabh

  • Urgent Help (Insert Jdev10.1.3.3.0)

    Hi all,
    I need urgent help. I want to simple insert, update process to custom table on R12.0.6 using Jdev10.1.3.3.0. My custom table have primary key. I follow the tutorial step by step. I can do the same thing R11i using Jdev9.0.3 on other platforms. Here I can also do cretae or update process with ADF. However here there is no IAS server. I have to use OAF. I check all data types length.
    My code is:
    in AM.Impl.Java
    public void createEmployee()
    OAViewObject vo = (OAViewObject)getHesAvivaVO1();
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end createEmployee()
    public void apply()
    getTransaction().commit();
    } // end apply()
    In controller:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    if (!pageContext.isFormSubmission())
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createEmployee", null);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("Apply") != null)
    am.invokeMethod("apply");
    In EO impll.java XXNTC_HESAP sequence for primary key HES_MAP_ID
    public void create(AttributeList attributeList) {
    super.create(attributeList);
    OADBTransaction transaction = getOADBTransaction();
    Number hesap = transaction.getSequenceValue("XXNTC_HESAP");
    setHesMapId(hesap);
    Whatever I've tried I get the same error:
    oracle.apps.fnd.framework.OAException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "INSERT INTO XXNTC_AS400_HESAP_MAPPING(AS400_HESAP_NO,SEGMENT2,SEGMENT3,CREATED_BY,LAST_UPDATED_BY,LAST_UPDATE_DATE,HES_MAP_ID) VALUES (?,?,?,?,?,?,?)".
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at oracle.apps.per.Avi1.webui.HesapMap1CO.processFormRequest(HesapMap1CO.java:62)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: ORA-00911: invalid character
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:427)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5740)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4539)
         at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(Unknown Source)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2996)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2807)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1971)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2173)
         at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(Unknown Source)
         at oracle.apps.per.Avi1.server.AviAMImpl.apply(AviAMImpl.java:50)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at oracle.apps.per.Avi1.webui.HesapMap1CO.processFormRequest(HesapMap1CO.java:62)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.sql.SQLException: ORA-00911: invalid character
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:427)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5740)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4539)
         at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(Unknown Source)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2996)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2807)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1971)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2173)
         at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(Unknown Source)
         at oracle.apps.per.Avi1.server.AviAMImpl.apply(AviAMImpl.java:50)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at oracle.apps.per.Avi1.webui.HesapMap1CO.processFormRequest(HesapMap1CO.java:62)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Thanks.

    nope, its not the reason why you got that error.
    You got the error in a particular SQL statement.
    If something wrong with characters in the DBC file then your jdev would not have connected to the database in the first place.
    If are not connected to the database, there is no way you can get any database errors.
    You would have solved the problem either unknowingly or through different set of Data.
    cos its really the problem with the data thats getting inserted.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Implementation Restriction 'DBMS_LOB.READWRITE'  Urgent Help

    *"Implementation Restriction 'DBMS_LOB.READWRITE' Cannot directly access remote package variable or cursor"*
    Hello,
    I need urgent help in implementing DBMS_LOB package.
    I need to write data in LOB object using DBMS_LOB object
    following code is written in PRE-UPDATE Trigger for the block CTX
    on the form i have taken Clob_Desc_f as non database field of type CHAR(26000)
    After querying the data I change Clob_Desc_f and enter the new data when saved it shoud empty the lob field based on the key value with empty lob
    and then write the data into lob
    DECLARE
    w_Description_Clob CLOB;
    BEGIN
    Here Clob_Desc is the lob field in table cxt
    UPDATE Cxt
    SET Clob_Desc = Empty_Clob()
    WHERE Cxt.Key_Field = :Cxt.Key_Field RETURNING Clob_Desc INTO
    w_Description_Clob;
    Dbms_Lob.OPEN(w_Description_Clob, Dbms_Lob.Lob_Readwrite);
    Dbms_Lob.WRITE(w_Description_Clob
    ,Length(:Cxt.Clob_Desc_f)
    ,1
    ,:Cxt.Clob_Desc_f
    Dbms_Lob.CLOSE(w_Description_Clob);
    END;
    The above code gives error saying
    *1] RETURNING clause is not supported in client-side program.*
    *2] For the statement*
    Dbms_Lob.OPEN(w_Description_Clob, Dbms_Lob.Lob_Readwrite);
    gives error as " Implementation Restriction Dbms_Lob.Lob_Readwrite : Cannot directly access remote package variable."
    How can I use Dbms_Lob.OPEN
    Thanks in advance.
    Regards,
    Sourabh

    Hello,
    Here is the constants you can use directly:
    * file_readonly CONSTANT BINARY_INTEGER := 0;
    * lob_readonly CONSTANT BINARY_INTEGER := 0;
    * lob_readwrite CONSTANT BINARY_INTEGER := 1;
    * lobmaxsize CONSTANT INTEGER := 4294967295;
    * call CONSTANT PLS_INTEGER := 12;
    * session CONSTANT PLS_INTEGER := 10;
    * warn_inconvertible_char CONSTANT INTEGER := 1;
    * default_csid CONSTANT INTEGER := 0;
    * default_lang_ctx CONSTANT INTEGER := 0;
    * no_warning CONSTANT INTEGER := 0;
    10g
    * file_readonly CONSTANT BINARY_INTEGER := 0;
    * lob_readonly CONSTANT BINARY_INTEGER := 0;
    * lob_readwrite CONSTANT BINARY_INTEGER := 1;
    * lobmaxsize CONSTANT INTEGER := 18446744073709551615;
    * call CONSTANT PLS_INTEGER := 12;
    * session CONSTANT PLS_INTEGER := 10;
    * warn_inconvertible_char CONSTANT INTEGER := 1;
    * default_csid CONSTANT INTEGER := 0;
    * default_lang_ctx CONSTANT INTEGER := 0;
    * no_warning CONSTANT INTEGER := 0;
    Francois

  • Need urgent help in listing out checklist from DBA prespective for BI Implementation Project

    Hello Guys,
    We are in Designing phase Data Modeling of PDW/APS Implementation Project.
    I need urgent help in making a checklist from a DBA perspective.
    Like what are things ill be needing at a time of implementation/Deployment.
    Your expert comments and help will be highly appreciated.
    Thank you,
    Anish.S
    Asandeen

    You can get good summary of checklist from this article about
    DBA checklist for data warehousing.
    Which highlights on below pointers:
    New system or old. (I.e. Up-gradation vs starting from scratch)
    Complexity of SQL Server architecture 
    SQL Server storage
    Determining SQL Server processing power
    SQL Server installation consideration 
    SQL Server configuration parameter
    SQL Server security
    SQL Server Database property
    SQL Server jobs and automation
    Protecting SQL Server data
    SQL Server health monitoring and check ups
    SQL Server ownership and control 
    based on my real time experience, I will suggest you to keep an eye on 
    Load performance (It will be useful when your database(Warehouse) will have huge amount of data)
    System availability (Check for Windows update and up time configuration) 
    Deployment methodology should be planned in advance. Development of packages and respective objects should be done systematically.
    Source control mechanism 
    Disk space and memory usage
    You might or might not have full rights on production environment, so be prepared to analyze production environment via Select statements [I guess you got my point]
    Proper implementation of Landing , Staging and Mart tables.
    Column size (this can drastically decrease your database size)
    Usage of indexes (Index are good, but at what cost?)
    I hope this will assist you in building your check list.

  • !!Urgent Help!! I can NOT open my safari, widgets and lots of application!!

    Dear All,
    I need a urgent help for my old mac.
    I can NOT open my safari and lots of application in my Mac. I use firefox to instead of right now.
    The safari usually come out with crash message "The application safari quit unexpectedly" with the report as follow.
    Who can help me to solve this problem. Thanks very much.
    Date/Time: 2011-04-04 23:49:17.401 +0800
    OS Version: 10.4.11 (Build 8S165)
    Report Version: 4
    Command: Safari
    Path: /Applications/Safari.app/Contents/MacOS/Safari
    Parent: WindowServer [240]
    Version: 4.1.3 (4533.19.4)
    Build Version: 1
    Project Name: WebBrowser
    Source Version: 75331904
    PID: 484
    Thread: 0
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNINVALIDADDRESS (0x0001) at 0x458a3ef0
    Thread 0 Crashed:
    0 ...ple.CoreServices.CarbonCore 0x90b9e138 CSStoreGetUnit + 56
    1 com.apple.LaunchServices 0x9193ed4c _CSStringStoreUnitMatchesString + 36
    2 com.apple.LaunchServices 0x9193eb3c _CSMapFindBucketForKeyData + 160
    3 com.apple.LaunchServices 0x9193ea48 CSMapGetKeyAndValueForKeyData + 88
    4 com.apple.LaunchServices 0x9193e930 CSGetStringForCharacters + 252
    5 com.apple.LaunchServices 0x919497c8 _UTGetStringForCFString + 136
    6 com.apple.LaunchServices 0x91949700 _UTGetBindableArrayForTag + 104
    7 com.apple.LaunchServices 0x91949560 UTTypeCreatePreferredIdentifierForTag + 116
    8 com.apple.LaunchServices 0x9196f3c4 CreateCorrectedMIMEType + 564
    9 com.apple.LaunchServices 0x9197002c _LSCopyDownloadAssessmentDictionary + 2076
    10 com.apple.Foundation 0x92d1e028 -[NSURLResponse(NSURLResponsePrivate) _downloadAssessmentWithInitialData:] + 52
    11 com.apple.Safari 0x001367f8 0x1000 + 1267704
    12 com.apple.WebCore 0x014fa1b0 WebCore::ResourceResponse::platformLazyInit() + 736
    13 com.apple.WebCore 0x014fa698 WebCore::ResourceResponseBase::url() const + 24
    14 com.apple.WebCore 0x01bb77b4 WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect(WebCore::ResourceLo ader*, WebCore::ResourceRequest&, WebCore::ResourceResponse const&) + 68
    15 com.apple.WebCore 0x016c7f34 WebCore::ResourceLoader::willSendRequest(WebCore::ResourceHandle*, WebCore::ResourceRequest&, WebCore::ResourceResponse const&) + 52
    16 com.apple.WebCore 0x016c7ee0 WebCore::ResourceHandle::willSendRequest(WebCore::ResourceRequest&, WebCore::ResourceResponse const&) + 528
    17 com.apple.WebCore 0x015f6684 -[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:] + 996
    18 ...ktop.SafariSearchResultsMod 0x0306dc90 GMLogImplementation + 4840
    19 com.apple.Foundation 0x92c26fa8 -[NSURLConnection(NSURLConnectionInternal) _sendWillSendRequestCallback] + 76
    20 com.apple.Foundation 0x92c26dc8 -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 344
    21 com.apple.Foundation 0x92c26bf4 _sendCallbacks + 156
    22 com.apple.CoreFoundation 0x907df300 __CFRunLoopDoSources0 + 384
    23 com.apple.CoreFoundation 0x907de830 __CFRunLoopRun + 452
    24 com.apple.CoreFoundation 0x907de2b0 CFRunLoopRunSpecific + 268
    25 com.apple.HIToolbox 0x932bcb20 RunCurrentEventLoopInMode + 264
    26 com.apple.HIToolbox 0x932bc1b4 ReceiveNextEventCommon + 380
    27 com.apple.HIToolbox 0x932bc020 BlockUntilNextEventMatchingListInMode + 96
    28 com.apple.AppKit 0x937a1734 _DPSNextEvent + 384
    29 com.apple.AppKit 0x937a13f8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
    30 com.apple.Safari 0x00011638 0x1000 + 67128
    31 com.apple.AppKit 0x9379d93c -[NSApplication run] + 472
    32 com.apple.AppKit 0x9388e458 NSApplicationMain + 452
    33 com.apple.Safari 0x00118adc 0x1000 + 1145564
    34 com.apple.Safari 0x00007ea0 0x1000 + 28320
    Thread 1:
    0 libSystem.B.dylib 0x9002bfc8 semaphorewait_signaltrap + 8
    1 libSystem.B.dylib 0x90030aac pthreadcondwait + 480
    2 com.apple.WebCore 0x014e98d0 WebCore::IconDatabase::syncThreadMainLoop() + 320
    3 com.apple.WebCore 0x014e73b8 WebCore::IconDatabase::iconDatabaseSyncThread() + 440
    4 libSystem.B.dylib 0x9002b908 pthreadbody + 96
    Thread 2:
    0 libSystem.B.dylib 0x9000af48 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000ae9c mach_msg + 60
    2 com.apple.CoreFoundation 0x907de9ac __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907de2b0 CFRunLoopRunSpecific + 268
    4 com.apple.Foundation 0x92c1eb7c +[NSURLCache _diskCacheSyncLoop:] + 152
    5 com.apple.Foundation 0x92bf64d8 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002b908 pthreadbody + 96
    Thread 3:
    0 libSystem.B.dylib 0x9000af48 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000ae9c mach_msg + 60
    2 com.apple.CoreFoundation 0x907de9ac __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907de2b0 CFRunLoopRunSpecific + 268
    4 com.apple.Safari 0x000298e0 0x1000 + 166112
    5 com.apple.Safari 0x00029864 0x1000 + 165988
    6 libSystem.B.dylib 0x9002b908 pthreadbody + 96
    Thread 4:
    0 libSystem.B.dylib 0x9000af48 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000ae9c mach_msg + 60
    2 com.apple.CoreFoundation 0x907de9ac __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907de2b0 CFRunLoopRunSpecific + 268
    4 com.apple.Foundation 0x92c054a4 -[NSRunLoop runMode:beforeDate:] + 172
    5 com.apple.Foundation 0x92c053dc -[NSRunLoop run] + 76
    6 com.apple.Safari 0x0007e958 0x1000 + 514392
    7 com.apple.Foundation 0x92bf64d8 forkThreadForFunction + 108
    8 libSystem.B.dylib 0x9002b908 pthreadbody + 96
    Thread 5:
    0 libSystem.B.dylib 0x9000af48 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000ae9c mach_msg + 60
    2 com.apple.CoreFoundation 0x907de9ac __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907de2b0 CFRunLoopRunSpecific + 268
    4 com.apple.Foundation 0x92c1da3c +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 264
    5 com.apple.Foundation 0x92bf64d8 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002b908 pthreadbody + 96
    Thread 6:
    0 libSystem.B.dylib 0x9001f48c select + 12
    1 com.apple.CoreFoundation 0x907f1240 __CFSocketManager + 472
    2 libSystem.B.dylib 0x9002b908 pthreadbody + 96
    Thread 7:
    0 libSystem.B.dylib 0x9002bfc8 semaphorewait_signaltrap + 8
    1 libSystem.B.dylib 0x90030aac pthreadcondwait + 480
    2 com.apple.Foundation 0x92bfd644 -[NSConditionLock lockWhenCondition:] + 68
    3 com.apple.Syndication 0x9a3c926c -[AsyncDB _run:] + 192
    4 com.apple.Foundation 0x92bf64d8 forkThreadForFunction + 108
    5 libSystem.B.dylib 0x9002b908 pthreadbody + 96
    Thread 0 crashed with PPC Thread State 64:
    srr0: 0x0000000090b9e138 srr1: 0x100000000000d030 vrsave: 0x0000000000000000
    cr: 0x24422202 xer: 0x0000000000000000 lr: 0x0000000090b9e110 ctr: 0x0000000090b9e100
    r0: 0x0000000000000000 r1: 0x00000000bfffd470 r2: 0x00000000048a2000 r3: 0x0000000003149200
    r4: 0x00000000000001c0 r5: 0x0000000041001ef4 r6: 0x00000000bfffd500 r7: 0x0000000000000009
    r8: 0x00000000bfffd5d0 r9: 0x0000000000000000 r10: 0x00000000907be914 r11: 0x00000000a193c5f0
    r12: 0x0000000090b9e100 r13: 0x00000000a193f818 r14: 0x0000000000000000 r15: 0x0000000000000000
    r16: 0x0000000003113fe0 r17: 0x0000000024028212 r18: 0x00000000089114b0 r19: 0x0000000000000000
    r20: 0x0000000003149200 r21: 0x00000000bfffd6c0 r22: 0x0000000000000009 r23: 0x00000000ddddddd2
    r24: 0x00000000eeeeeee1 r25: 0x00000000bfffd5d0 r26: 0x0000000002819a18 r27: 0x0000000000003ff7
    r28: 0x00000000bfffd6c0 r29: 0x0000000000000009 r30: 0x00000000458a3ef4 r31: 0x0000000090b9e110
    Binary Images Description:
    0x1000 - 0x355fff com.apple.Safari 4.1.3 (4533.19.4) /Applications/Safari.app/Contents/MacOS/Safari
    0x3b6000 - 0x3b6fff libgild.dylib /Library/Google/Frameworks/Gild.framework/Resources/libgild.dylib
    0x3ba000 - 0x3befff com.google.Gild Framework 1.0.0 (1.0.0.249) /Library/Google/Frameworks/Gild.framework/Versions/A/Gild
    0x505000 - 0x681fff com.apple.JavaScriptCore 4533.19 (4533.19.1) /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x6d9000 - 0x7c7fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
    0x1008000 - 0x1109fff com.apple.WebKit 4533.19 (4533.19.4) /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x11b0000 - 0x1452fff com.apple.QuartzCore 1.4.13 /System/Library/PrivateFrameworks/Safari.framework/Frameworks/QuartzCore.framew ork/Versions/A/QuartzCore
    0x14e5000 - 0x218afff com.apple.WebCore 4533.19 (4533.19.4) /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
    0x27eb000 - 0x27edfff libgoogleml.dylib /Library/Google/GoogleML/GoogleML.bundle/Contents/Resources/libgoogleml.dylib
    0x3069000 - 0x3072fff com.google.Desktop.SafariSearchResultsMod 1.7.0 (1.7.0.1877) /Library/Google/GoogleML/Modules/SafariSearchResults.googleml/Contents/MacOS/Sa fariSearchResults
    0x307a000 - 0x3086fff com.google.Desktop.SafariWebHistoryMod 1.7.0 (1.7.0.1877) /Library/Google/GoogleML/Modules/SafariWebHistory.googleml/Contents/MacOS/Safar iWebHistory
    0x8fe00000 - 0x8fe52fff dyld 46.16 /usr/lib/dyld
    0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
    0x9021b000 - 0x90268fff com.apple.CoreText 1.0.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x90293000 - 0x90344fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x90373000 - 0x9072efff com.apple.CoreGraphics 1.258.85 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x907bb000 - 0x90895fff com.apple.CoreFoundation 6.4.11 (368.35) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x908de000 - 0x908defff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x908e0000 - 0x909e2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
    0x90a3c000 - 0x90ac0fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
    0x90aea000 - 0x90b5cfff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x90b72000 - 0x90b84fff libauto.dylib /usr/lib/libauto.dylib
    0x90b8b000 - 0x90e62fff com.apple.CoreServices.CarbonCore 681.19 (681.21) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x90ec8000 - 0x90f48fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x90f92000 - 0x90fd4fff com.apple.CFNetwork 4.0 (129.24) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x90fe9000 - 0x91001fff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
    0x91011000 - 0x91092fff com.apple.SearchKit 1.0.8 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x910d8000 - 0x91101fff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x91112000 - 0x91120fff libz.1.dylib /usr/lib/libz.1.dylib
    0x91123000 - 0x912defff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x913dd000 - 0x913e6fff com.apple.DiskArbitration 2.1.2 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x913ed000 - 0x913f5fff libbsm.dylib /usr/lib/libbsm.dylib
    0x913f9000 - 0x91421fff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x91434000 - 0x9143ffff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
    0x91444000 - 0x914bffff com.apple.audio.CoreAudio 3.0.5 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x914fc000 - 0x914fcfff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x914fe000 - 0x91536fff com.apple.AE 312.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
    0x91551000 - 0x91623fff com.apple.ColorSync 4.4.13 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x91676000 - 0x91707fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x9174e000 - 0x91805fff com.apple.QD 3.10.28 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x91842000 - 0x918a0fff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x918cf000 - 0x918f0fff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x91904000 - 0x91929fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
    0x9193c000 - 0x9197efff com.apple.LaunchServices 183.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
    0x9199a000 - 0x919aefff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x919bc000 - 0x91a02fff com.apple.ImageIO.framework 1.5.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x91a19000 - 0x91ae0fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
    0x91b2e000 - 0x91b43fff libcups.2.dylib /usr/lib/libcups.2.dylib
    0x91b48000 - 0x91b66fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x91b6c000 - 0x91c23fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x91c72000 - 0x91c76fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x91c78000 - 0x91ce2fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
    0x91ce7000 - 0x91d02fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x91d07000 - 0x91d0afff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x91e19000 - 0x91e57fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x91e5e000 - 0x91e5efff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x91e60000 - 0x91f45fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x91f4d000 - 0x91f6cfff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x91fd8000 - 0x92046fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x92051000 - 0x920e6fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x92100000 - 0x92688fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x926bb000 - 0x929e6fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x92a16000 - 0x92b04fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
    0x92b07000 - 0x92b8ffff com.apple.DesktopServices 1.3.7 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x92bd0000 - 0x92e03fff com.apple.Foundation 6.4.12 (567.42) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x92f36000 - 0x92f54fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x92f5f000 - 0x92fb9fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x92fd7000 - 0x92fd7fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x92fd9000 - 0x92fedfff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x93005000 - 0x93015fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
    0x93021000 - 0x93036fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x93048000 - 0x930cffff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
    0x930e3000 - 0x930eefff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
    0x930f8000 - 0x93126fff com.apple.openscripting 1.2.7 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x93140000 - 0x9314ffff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
    0x9315b000 - 0x931c1fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
    0x931f2000 - 0x93241fff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
    0x9326f000 - 0x9328cfff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
    0x9329e000 - 0x932abfff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
    0x932b4000 - 0x935c2fff com.apple.HIToolbox 1.4.10 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
    0x93712000 - 0x9371efff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x93723000 - 0x93743fff com.apple.DirectoryService.Framework 3.3 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
    0x93797000 - 0x93797fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x93799000 - 0x93dccfff com.apple.AppKit 6.4.10 (824.48) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x94159000 - 0x941cbfff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x94204000 - 0x942c9fff com.apple.audio.toolbox.AudioToolbox 1.4.7 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x9431c000 - 0x9431cfff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x94528000 - 0x94565fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
    0x9456d000 - 0x945bdfff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x945c6000 - 0x945dffff com.apple.CoreVideo 1.4.2 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x94678000 - 0x946b0fff com.apple.vmutils 4.0.0 (85) /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
    0x946f5000 - 0x94711fff com.apple.securityfoundation 2.2 (27710) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
    0x94725000 - 0x94769fff com.apple.securityinterface 2.2 (27692) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
    0x9478d000 - 0x9479cfff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
    0x947a4000 - 0x947b1fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x947f7000 - 0x94810fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x94c32000 - 0x94ca3fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
    0x94d41000 - 0x94d4dfff com.apple.framework.Apple80211 4.2.9 (429.6) /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
    0x94e19000 - 0x94f49fff com.apple.AddressBook.framework 4.0.6 (490) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    0x94fdc000 - 0x94febfff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
    0x94ff3000 - 0x95020fff com.apple.LDAPFramework 1.4.1 (69.0.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x95027000 - 0x95037fff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
    0x9503b000 - 0x9506afff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
    0x9507a000 - 0x95097fff libresolv.9.dylib /usr/lib/libresolv.9.dylib
    0x95b4d000 - 0x95b7ffff com.apple.PDFKit 1.0.4 /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
    0x97ce5000 - 0x97db6fff com.apple.QuartzComposer 1.2.6 (32.25) /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
    0x97e33000 - 0x97e33fff com.apple.quartzframework 1.0 /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x9a3c6000 - 0x9a3fcfff com.apple.Syndication 1.0.8 (56.1) /System/Library/PrivateFrameworks/Syndication.framework/Versions/A/Syndication
    0x9ffe4000 - 0x9fff6fff com.apple.SyndicationUI 1.0.8 (56.1) /System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/Syndicatio nUI
    Model: PowerMac8,2, BootROM 5.2.5f1, 1 processors, PowerPC G5 (3.1), 2 GHz, 1.5 GB
    Graphics: ATI Radeon 9600, ATY,RV351, AGP, 128 MB
    Memory Module: DIMM0/J4000, 1 GB, DDR SDRAM, PC3200U-30330
    Memory Module: DIMM1/J4001, 512 MB, DDR SDRAM, PC3200U-30330
    AirPort: AirPort Extreme, 405.1 (3.90.34.0.p18)
    Modem: Jump, V.92, Version 1.0
    Bluetooth: Version 1.9.5f4, 2 service, 1 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: WDC WD2500JD-40HBC0, 232.89 GB
    Parallel ATA Device: MATSHITADVD-R UJ-845
    USB Device: Keyboard Hub, Apple, Inc., Up to 480 Mb/sec, 500 mA
    USB Device: Apple Keyboard, Apple, Inc, Up to 1.5 Mb/sec, 100 mA
    USB Device: Bluetooth USB Host Controller, Apple, Inc., Up to 12 Mb/sec, 500 mA
    USB Device: Apple Optical USB Mouse, Mitsumi Electric, Up to 1.5 Mb/sec, 500 mA
    FireWire Device: iSight, Apple Computer, Inc., Up to 400 Mb/sec

    Hi,
    I can NOT open my safari and lots of application in my Mac.
    The startup disk may need repairing. Launch the Disk Utility app (Applications/Utilities) Select MacintoshHD in the panel on the left. Then select the FirstAid tab.
    Click: Verify Disk (not Verify Disk Permissions). If the disk needs repairing, follow these instructions. You will need your install disc.
    Insert your install disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu and launch Disk Utility.
    (In Mac OS X 10.4 or later, you must select your language first from the installer menu)
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your startup disk and click Restart
    While you have the Disk Utility window open, look at the bottom of the window. Where you see Capacity and Available. Make sure there is always 15% free space.
    Until you verify and repair the startup disk if necessary, it won't do much good to troubleshoot the Safari crash report.
    Carolyn

  • Updating to MAXDB 7.5.00.29- user logon failed error! Urgent Help

    Hi
    I am trying to update MaxDB 7.5.00 to MaxDB 7.5.00.29
    on WAS 6.40. When I run the update via SDBUPD, I get the error "cannot establish database instance". i have looked in the log files(MaxDBUpdate_install-16.07.2005-16.13.log)
    and the error is
    <b>user_logon failed
    ERR
    -24950,ERR_USRFAIL: user authorization failed</b>
    I am following "MaxDB update SAP note 735598" and under Windows section it states I should call the SDBUPD from the cmd prompt as follows:
    SDBUPD -d <database_name> -u <dbm_userid>,<password>
    so i run
    <b>SDBUPD -d J2E -u Administrator,portal</b>
    I assume <dbm_userid> is the default userid which is Admisitrator when installing WAS and MAXDB. I ahve not changed the default during the installation.
    I have tried <b>SAPJ2EDB</b> as dmb_userid as well as <b>J2EE_Admin</b>, they still give the same error.
    Any help on this?
    Need urgent help
    Much appreciated
    RD
    Message was edited by: RD

    Hi
    Thank you for your reply!!
    I used control,control as user,password. This worked 100%, but then it reached to a point where it gave this error, i get this from the log file:
    <b>STDERR: test pgm/sqltcp.dll failed: cannot extract pgm/sqltcp.dll: sharing violation during open of existing file</b>
    What causes this error, and how can i get pass this ?
    I assume some instance is started, but before I ran the SDBUPD, I stopped the J2E under sap system in SAPMMC.
    Below is the output it gave when i ran SDBUPD from cmd prompt, I have bolded where the error starts:
    D:\UpdatesPatches\MaxDB\maxdb-server-win-32bit-i386-7_5_00_29>SDBUPD -d J2E -u control,control
            MaxDB INSTANCE UPDATE
    starting installation Mo, Jul 18, 2005 at 08:57:11
    operating system: Windows I386 NT 5.2 Service Pack 1
    callers working directory: D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i386-7
    500_29
    installer directory: D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i386-7_5_00_
    29
    archive directory: D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i386-7_5_00_29
    beginning to check sap db instances
    start new instance update
    finding instance type...
    finding starting release...
    finding migration strategy...
    looking for running instances...
    checking paramfile modifications...
    looking for domain user...
    checking data consistency for database migration...
    switch database state to OFFLINE
    checking SAP DB instance "J2E" successfully Mo, Jul 18, 2005 at 08:57:23
    starting preparing phase of package Base 7.5.00.29 32 bit
    update release check... ok
    update binary magic check... ok
    checking interferences to other packages... ok
    collecting data finished:
    independent data path: d:/sapdb/data
    independent program path: d:/sapdb/programs
    start extraction test run of "D:/UpdatesPatches/MaxDB/maxdb-server-win-32bit-i38
    6-7_5_00_29/SDBBAS.TGZ"
    <b>test pgm/sqltcp.dll failed: cannot extract pgm/sqltcp.dll: sharing violation dur
    ing open of existing file
    following programs are running:
    dbmsrv.exe [pid = 876]
    dbmsrv.exe [pid = 2496]
    dbmsrv.exe [pid = 1460]
    wahttp.exe [pid = 1420]
    dbmsrv.exe [pid = 1188]</b>

  • URGENT HELP ON BMP CMP!!!

    Hi everybody!!
    I've wrote few CMP EJB's before and now Im trying to write a BMP EJB.
    In the finder methods I�ve to select data from two tables:
    "product_catalog" and "product" (relation One to many)
    The query that matches my needs is:
    SELECT DISTINCT a.product_code, b.product_description
    FROM product a, product_catalog b
    WHERE a.product_code = b.product_code
    AND (a.region_code = '00' OR a.region_code = 'variable argument')
    AND b.product_line <> '08'
    Note that in the FROM clause of the query data is retrieved from two tables and that the WHERE conditions involve both tables.
    �A query like this can be implemented into a finder method of a BMP EJB?
    �What about the descriptor? -Im using Websphere Application Server 4.0-
    �How can I tell the container which fields will be persistent?
    �Which fields should I've to specify as primary key fields? �The ones from the parent table? �What about the ones from the child table? �What about the query in the ejbLod() and the ejbStore() methods that select and update data from the table(s)?
    I've looked at the J2EE tutorial examples but none of the examples uses a query like mine.
    As you can see I need URGENT help on this.
    All the help you can give will be greatfully welcome!!
    THANKS!!!
    Ezequiel Velazquez

    Greetings,
    Note that in the FROM clause of the query data is
    retrieved from two tables and that the WHERE
    conditions involve both tables.IOW: an "inner join"...
    �A query like this can be implemented into a finder
    method of a BMP EJB?BMP differs from CMP in that as the bean coder: you are in control of the query and therefore can be as simple or as complex as required without required to the container's query language support. However, remember the implementation rules of finder methods:
    1. A finder method's purpose is simply to locate entities in the resource; and, therefore...
    2. A finder method returns an instance of the PrimaryKey class (or collection thereof).
    Also...
    a. The container calls a corresponding ejbFind method on an instance in the free pool; and, therefore...
    b. A finder method should not attempt to manipulate bean state.
    Therefore, as long as the data returned by your join query (a.product_code, b.product_description), compose a PrimaryKey class instance, you are fine.
    However, I will add that it should be remembered that an EBs purpose is to provide an OO representation of shareable, persistent, data ("entities") in an enterprise resource. They have a specific purpose and do not merely provide "data access" or act as "resource managers". From your example given, it seems your "entity" may be uniquely identified from 'a.product_code', a common primary(?) key in both tables and that the code is actually trying to act as a report writer. If your SELECTed data (a.product_code, b.product_description) do not together comprise a unique entity representation in your application then this is incorrect usage. In this case you should either generate the query from a Session Bean or create separate Entity Beans for each of your tables 'a' and 'b' and handle your 'joins' in business methods.
    �What about the descriptor? -Im using Websphere
    Application Server 4.0-Your descriptor will identify the bean's <persistence-type> as "Bean". This is all it needs to know about the bean since the Bean is Manag[ing] it's own Persistence (BMP ;).
    �How can I tell the container which fields will be
    persistent?Er, you don't. BMP beans manage their own persistence and, therefore, manage their own fields. Refer again to the above.
    �Which fields should I've to specify as primary key
    fields? �The ones from the parent table? �What about
    the ones from the child table? �What about the query
    in the ejbLod() and the ejbStore() methods that select
    and update data from the table(s)?These are all questions related to how your application requires an "OO representation of its resource data" to be mapped to the backend resource(s). Only "you" can really answer these questions. However, refer back to the above for some implicit pointers. :)
    I've looked at the J2EE tutorial examples but none of
    the examples uses a query like mine.The tutorial is intended for beginners to J2EE development and, therefore, provide only simplistic examples. For a more thorough examination, refer to the J2EE Blueprints.
    As you can see I need URGENT help on this.
    All the help you can give will be greatfully
    welcome!!I hope this helps.
    THANKS!!!
    Ezequiel VelazquezRegards,
    Tony "Vee Schade" Cook

  • b font color ='red' Java JDBC and Oracle DB URGENT HELP PLEASE /font /b

    Hello, I am a newbie. I'm very interested in Java in relation to JDBC, Oracle and SAP.I am trying to connect to an Oracle DB and I have problems to display the output on the consule in my application. What am I doing wrong here . Please help me. This is my code: Please Explain
    import java.sql.*;
    import java.sql.DriverManager;
    import java.sql.Connection;
    public class SqlConnection {
         public static void main(String[] args) {
              Class.forName("oracle.jdbc.driver.OracleDriver"); //Loading the Oracle Driver.
              Connection con = DriverManager.getConnection
              ("jdbc:orcle:thin:@34.218.5.3:1521:ruka","data","data"); //making the connection.
              Statement stmt = con.createStatement ();// Sending a query to the database
              ResultSet rs = stmt.executeQuery("SELECT man,jean,test,kok FROM sa_kostl");
              while (rs.next()) {
                   String man = rs.getString("1");
                   String jean = rs.getString("2");
                   String test = rs.getString("3");
                   String kok = rs.getString("4");
                   System.out.println( man, jean, test,kok );//here where my the
                                                 //compiler gives me errors
              stmt.close();
              con.close();
    }

    <b><font color ='red'>Java JDBC and Oracle DB URGENT HELP PLEASE</font></b>Too bad your attempt at getting your subject to have greater attention failed :p

Maybe you are looking for