Problems with DATE in a preparedStament with ORACLE 9.2

Hello,
I am trying to execute a SELECT query in ORACLE 9.2.
I am using a preparedStatement, (appending in a StringBuffer) and the query finishes as follows:
query.append("AND ( ? >= TO_DATE(?,'DD/MM/YYYY') AND ? <= TO_DATE(?,'DD/MM/YYYY'))");
Where those parameters are:
pstmt.setString(10, "s.fe_entrega");
pstmt.setString(11, "01/06/2004");
pstmt.setString(12, "s.fe_entrega");
pstmt.setString(13, "31/12/2004");
WHen executing the query, a SQLException raises:
"java.sql.SQLException: ORA-01858: se ha encontrado un car�cter no num�rico donde se esperaba uno num�rico" (A non numeric character was found when numeric expected, i think is the exception in English)
I have also tried with the formats "YYYY/MM/DD" and "YYYY/DD/MM", with same result.
can anybody suggest me anything to deal with this issue?
Thank you very much and best regards

MIke, I have changed the query. Even when using dates instead of String, it gives me a "a non-numeric character was found where a numeric was expected" Exception.
My method now reads as follow:
try{   
String fec = "01/06/2004";
String fecFinal = "31/12/2004";
SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy");
java.sql.Date dInicial = new java.sql.Date(formatter.parse(fec).getTime());
java.sql.Date dFinal = new java.sql.Date(formatter.parse(fecFinal).getTime());
UtilConectores uc = new UtilConectores();
boolean conexionAbierta = uc.abreConexion();
if (conexionAbierta == true){
// Crea objeto DatabaseMetaData de Oracle
StringBuffer query = new StringBuffer("select s.ID_FICHERO, s.nu_usuario,s.co_proveedor, s.de_proveedor,s.fe_emision,s.fe_entrega ");
query.append("from go_surtidos s,go_ficheros t ");
query.append("where ( ");
query.append("t.id_fichero = s.id_fichero and ");
query.append("t.tp_fichero = ? ");
query.append("AND s.NU_USUARIO in ( ? , ? , ? , ? , ? , ? , ? ,? ) ");
query.append("AND ( ? >= ? AND ? <= ?)");
query.append(")");
PreparedStatement pstmt = conn.prepareStatement(query.toString());
pstmt.setString(1, "PRICAT");
pstmt.setString(2, "");
pstmt.setString(3, "");
pstmt.setString(4, "");
pstmt.setString(5, "EN PROCESO");
pstmt.setString(6, "");
pstmt.setString(7, "");
pstmt.setString(8, "");
pstmt.setString(9, "");
pstmt.setString(10, "s.fe_entrega");
pstmt.setDate(11, dInicial);
pstmt.setString(12, "s.fe_entrega");
pstmt.setDate(13, dFinal);
ResultSet rs = pstmt.executeQuery();
System.out.println("antes next");
while(rs.next()){
String primeraColumna = rs.getString("ID_FICHERO");
System.out.println("en el next");
System.out.println(primeraColumna);
System.out.println("tras next");
rs.close();
conn.close();
catch (Exception ex){
System.out.println(ex);
ex.printStackTrace();
conn.close();
finally {
// Cierra la conexion con la BD
conn.close();
}

Similar Messages

  • Problem with oracle.jbo.domain.Date

    Hi there,
    I've a problem with oracle.jbo.domain.Date,
    I'm doing this code (this part of code is used in my Session Attribute Listener):
    * This method is used to add the session id in the database, whenever user login
    public void attributeAdded(HttpSessionBindingEvent hsbe){
    if(!hsbe.getName().equals("user")){
    return;
    AmLogin am = (AmLogin)Configuration.createRootApplicationModule(
    "com.ahm.pdt001.am.AmLogin",
    "AmLoginLocal");
    try{
    hsbe.getSession().setAttribute("login", new Date(new Timestamp(
    System.currentTimeMillis())));
    am.createLogin(hsbe.getValue().toString(), hsbe.getSession().
    getAttribute("login").toString());
    } catch(Exception e){
    e.printStackTrace();
    System.out.println("Error insert data user: " + hsbe.getValue());
    } finally{
    Configuration.releaseRootApplicationModule(am, true);
    Everything is running well in Jdev 10.1.3 (I'm using ADF Faces technology), and I'm trying to deploy it on OC4J 10.1.2 and it works. But it raised an error when this part of code is runned.
    --------------caused and error------------------------
    hsbe.getSession().setAttribute("login", new Date(new Timestamp(
    System.currentTimeMillis())));
    And this is an error:
    javax.faces.FacesException: #{pdt001.loginAction}: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)     at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)     at com.ahm.filter.AhmFilterSession.doFilter(AhmFilterSession.java:45)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)Caused by: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)     ... 23 moreCaused by: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V     at com.ahm.pdt001.listener.Pdt001AttributeSessionListener.attributeAdded(Pdt001AttributeSessionListener.java:27)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:128)     at com.ahm.pdt001.bean.Pdt001Bean.loginAction(Pdt001Bean.java:61)     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:324)     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
    Does anybody have the same problem like this? I've used the same method in my previous project to create oracle.jbo.domain.Date with current time using java.sql.Timestamp, but I don't know why this error happened.
    Thx,
    Andre

    Re: oracle jbo.domain.Date issues in 10.1.3
    Sascha

  • A lot of problems with Oracle BI SEE 11g

    I have a lot of problems with Oracle BI SEE 11g
    1. I upgraded my BI SEE 10 repository and can it openning in offline mode.
    2. I can't deploy my upgraded repository in EM MW Control 11g - when i try to open Farm_bifoundation_domain->Business Intelligence->coreapplication, i get error "Stream closed
    For more information, please see the server's error log for an entry beggining with: Server Exception during PPR, #41".
    Opening Logs by EM control doesn't work too.
    in file middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\logs\AdminServer.log i see this event:
    <Error> <HTTP> <oratest.itera.ru> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <b639ac3e56e9a463:bd6fa7f:12ac7271e09:-8000-00000000000009e8> <1283408423378> <BEA-101019> <[ServletContext@329875093[app:em module:/em path:/em spec-version:2.5]] Servlet failed with IOException
    java.io.IOException: Stream closed
    Have you any ideas?
    3. Ok, i taking sample repository and adding a new datasource in it:
    Database: Oracle 8i
    Connection pool:
    Call interface OCI 8i/9i
    Data source name:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = oraapp) (Port = 1521) ) ) (CONNECT_DATA = (SID = MYSID) ) )
    This settings are working fine in BI 10.
    In BI 11g i get this funny error: "The connection has failed". I lost my time in attempts to connect to Oracle DB 8, but have not results. After that i hacked button "Query DBMS" at "Features" tab, pressed it and when get error "ORA-03134: Connections to this server version are no longer supported.".
    Therefore Oracle 8 DB as datasource not supported. Am i right?
    4. In sample repository i added oracle DB 10 as datasource, then added two dual tables and their connection to all layers.
    Now i open BI Answers, and trying to create report with one dummy column, Now i have this error:
    Error
         View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 42016] Check database specific features table. Must be able to push at least a single table reference to a remote database (HY000)
    SQL Issued: SELECT s_0, s_1 FROM ( SELECT 0 s_0, "ORA10G"."dual"."dummy" s_1 FROM "ORA10G" ) djm
    Database features are defaults.
    Does anyone solve this problem?

    Turribeach, Thanks for you time.
    1. It was not a question
    3. Yes, i have read platforms, but not supported datasources. Now i see, that BI 11g support as datasource Oracle DB 9.2.0.7 or higher. I am sorry.
    4. I'm using OCI connection type
    Now i recreate Database in Physical schema and answers is showing report data for me! But only from one table, when i use columns from to tables from one datasource, i geting error:
    Error View Display Error Odbc driver returned an error (SQLExecDirectW). Error Details Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46008] Internal error: File server/Utility/Server/DataType/SUKeyCompare.cpp, line 875. (HY000) SQL Issued: SELECT s_0, s_1, s_2 FROM ( SELECT 0 s_0, "Ora10g"."hierarchy_obj_cust_v"."sort_order" s_1, "Ora10g"."NSI_SCHEMA"."SCHEMA_NAME" s_2 FROM "Ora10g" ) djm
    Edited by: serzzzh on 03.09.2010 3:44

  • Please Help:  A Problem With Oracle-Provided 'Working' Example

    A Problem With Oracle-Provided 'Working' Example Using htp.formcheckbox
    I followed the simple steps in the Oracle-provided example:
    Doc ID: Note:116534.1
    Subject: How to use checkbox in webdb for bulk update using webdb report
    However, when I select a checkbox and click on the Update button, I get a "ORA-01036: illegal variable name/number" error. Please advise. This was a very promising feature.
    Fred
    Below are step-by-step instructions provided by Oracle to create this "working" example:
    How to use a checkbox in WEBDB 2.2 report for bulk update.
    PURPOSE
    This article shows how checkbox can used placed on WEBDB report
    and how to use it.
    SCOPE & APPLICATION
    The following example to guide through the steps to create a working
    example of this.
    In this example, the checkbox is used to select the records. On clicking
    the update button, the pl/sql procedure is called which will update col1 to
    the string 'OK'.
    After the update is done, the PL/SQL procedure calls the report again.
    Since the report only select records where col1 is null, the updated
    records will not be displayed when the report is called again.
    Step 1 - Create Table
    From Sqlplus, log in as scott/tiger and execute the following:
    drop table chkbox_example;
    create table chkbox_example
    (id varchar2(10) not null,
    comments varchar2(20),
    col1 varchar2(10));
    Step 2 - Insert Test Data
    From Sqlplus, still logged in as scott/tiger , execute the following:
    declare
    l_i number;
    begin
    for l_i in 1..50 loop
    insert into chkbox_example values (l_i, 'Comments ' || l_i , NULL);
    end loop;
    commit;
    end;
    Step 3 -Create SQL Query based WEBDB report
    Logon to a WEBDB site which has access to the database the above tables are created.
    Create a SQL based Report.
    Name the report :RPT_CHKBOX
    The select statement for the report is :
    select c.id, c.comments, c.col1,
    htf.formcheckbox('p_qty',c.id) Tick
    from SCOTT.chkbox_example c
    where c.col1 is null
    In Advanced PL/SQL, (REPORT, Before displaying the form), put the following code
    htp.formOpen('scott.chkbox_process');
    htp.formsubmit('p_request','Update');
    htp.br;
    htp.br;
    Step 4 - Create a stored procedure in the database
    Log on to the database as scott/tiger and execute the following to create the
    procedure.
    Note: Replace WEBDB to the appropriate webdb user for your installation.
    In my database, I had installed webdb using WEBDB username, hence user webdb owns
    the packages.
    create or replace procedure chkbox_process
    ( p_request in varchar2 default null,
    p_qty in wwv_utl_api_types.vc_arr ,
    p_arg_names in wwv_utl_api_types.vc_arr ,
    p_arg_values in wwv_utl_api_types.vc_arr
    is
    i number;
    begin
    for i in 1..p_qty.count loop
    if p_qty(i) is not null then
    begin
    update chkbox_example
    set col1 = 'OK'
    where chkbox_example.id = p_qty(i);
    end;
    end if;
    end loop;
    commit;
    /* To Call Report again after updating */
    SCOTT.RPT_CHKBOX.show
    (p_request=>'Run Report',
    p_arg_names=>webdb.wwv_standard_util.string_to_table2(' '),
    p_arg_values=>webdb.wwv_standard_util.string_to_table2(' '));
    end;
    Summary
    There are essentially 2 main modules, The WEBDB report and the pl/sql procedure (chkbox_process)
    A button is created via the advanced pl/sql coding which shows on top of the report. (The
    button cannot be placed at the bottom of the report due to the way WEBDB creates the procedure
    internally)
    When any button is clicked on the report, it calls the pl/sql procedure chkbox_process.
    The procedure is called , WEBDB always passes the parameters p_request,p_arg_names and o_arg_values.
    p_qty is another parameter that we are passing additionally, This comes from the checkbox created
    using the htf.formcheckbox in the report select statement.
    The pl/sql procedure calls the report again after processing. This is done to
    show how to call the report.
    Restrictions:
    -The Next and Prev buttons on the report will not work.
    So it is important that the report can fit in 1 page only.
    (This may mean that you will not select(not ticked) 'Paginate' under
    'Display Option' in the WEBDB report. If you do this,
    then in Step 4, remove p_arg_names and p_arg_values as input parameters
    to the chkbox_process)

    If your not so sure you can use the instanceof
    insurance,
    Object o = evt.getSource();
    if (o instanceof Button) {
    Button source = (Button) o;
    I haven't thoroughly read the thread, but I use something like this:if (evt.getSource() == someObjRef) {
        // do that voodoo
    ]I haven't looked into why you'd be creating a new reference...

  • Performance problem with Oracle

    We are currently getting a system developed in Unix/Weblogic/Tomcat/Oracle environment. We have developed a screen that contains 5 or 6 different parameters to select from. We could select multiple parameters in each of these selections. The idea behind the subsequent screens is to attach information to already existing data/ possible future data that matches the selection criteria.
    Based on these selections, existing data located within the system in a table is searched and those that match are selected. Also new rows are created in the table against combinations that do not currently have a match. Frequently multiple parameters are selected, and 2000 different combinations need to be searched in the table. Of these selections, only about 100 or 200 combinations will be available in existing data. So the system is having to insert 1800 rows. The user meanwhile waits for the system to come up with data based on their selections. The user is not willing to wait more than 30 seconds to get to the next screen. In the above mentioned scenario, the system takes more than an hour to insert the new records and bring the information up. We need suggestions to see if the performance can be improved this drastically. If not what are the alternatives? Thanks

    The #1 cause for performance problems with Oracle is not using it correctly.
    I find it hard to believe that with the small data volumes mentioned, that you can have perfornance problems.
    You need to perform a sanity check. Are you using Oracle correctly? Do you know what bind variables are? Are you using indexes correctly? Are you using PL/SQL correctly? Is the instance setup correctly? What about storage, are you using SAME (RAID10) or something else? Etc.
    Facts. Oracle peforms exceptionally well. Oracle exceptionally well.
    Simple example from a benchmark I did on this exact same subject. App-tier developers not understanding and not using Oracle correctly. Incorrect usage of Oracle doing a 100,000 SQL statements. 24+ minutes elapsed time. Doing those exact same 100,000 SQL statement correctly (using bind variables) - 8 seconds elapsed time. (benchmark using Oracle 10.1.0.3 on a Sunfire V20z server)
    But then you need to use Oracle correctly. Are you familiar with the Oracle Concepts Guide? Have you read the Oracle Application Developer Fundamentals Guide?

  • Problem with Oracle 11g(32 bit) installation on windows 7 ultimate edition

    Hello all,
    I have a problem with Oracle 11g(32 bit) installation on windows 7 ultimate edition (32 bit).
    I have successfully installed it immediately after OS installation. But today, i have decided to deinstall it and go for Oracle 10g version for 32 bit.
    Everything went normal during installation, but i can see the services is not present in services.msc. Also its throwing some exception for dbca, netca
    Now i tried to deinstall it and again go for 11g. But even the same story here..
    Can anybody give me a solution for this..
    -Regards
    Rajesh Menon

    Saqib Alam wrote:
    i recently install Oracle 11g R1 on windows 7 ultimate, i installed it and working perfectly.
    ur problem is that u install latest version and now u trying to installing old version.
    now u need to uninstall 10g and delete oracle from services, if the probleme presist then u should
    install fresh windows 7.
    Regards
    SaqibNo need to install a fresh OS. That's like tearing your house down just because you wired a lamp wrong and blew a circuit breaker.
    There are MeaLink notes on how to eradicate an Oracle install from Windows, but it boils down to this:
    Stop all Oracle services
    In the registery:
    - Delete all oracle services from the register (HKLM\SYSTEM\CurrentControlSet
    - Delete the entire Oralce folder from HKLM\Software
    reboot
    Delete the ORACLE_HOME directory and any other Oracle related directories/files. Offhand, it seems like there is an Oracle directory under Program Files.
    reboot

  • Remote JDBC Problem with Oracle BPM Studio

    Hi all, i am facing the Remote JDBC Problem with Oracle BPM Studio.
    When i configure a Remote JDBC Connection for SQL in BPM Studio, it prompt me an error.
    The SQL Connection is configured as following :
    External Resource:
    Name : MyDS
    Type : SQL Database
    Supported Types : Remote JDBC
    Details:
    Database Type : BPM's Oracle Driver Version:10, 11
    J2EE : WLS
    Lookup Name : MyAppDS
    Configuration for "WLS"
    Name : WLS
    Type : J2EE Application Server
    Supported Types : GENERIC_J2EE
    Details:
    Initial Context Factory : weblogic.jndi.WLInitialContextFactory
    URL : t3://localhost:7001
    But, when i try to connect to the Database by using this configuration, I will get an Exception.
    An exception occurred while getting a resource from a connector.
    Detail:The connector [[ MyDS : SQL : REMOTE_JDBC ]] caused an exception when getting a resource.
    Caused by: An exception occurred while getting a resource from a connector.
    Detail:The connector [[ WLS : J2EE : J2EE ]] caused an exception when getting a resource.
    Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [[ Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory ]]
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at fuego.jndi.FaultTolerantContext.createContext(FaultTolerantContext.java:726)
         at fuego.jndi.FaultTolerantContext.<init>(FaultTolerantContext.java:79)
         at fuego.connector.impl.GenericJ2EEConnector.createInitialContext(GenericJ2EEConnector.java:177)
         at fuego.connector.impl.GenericJ2EEConnector.createStandaloneContext(GenericJ2EEConnector.java:98)
         at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:92)
         at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:76)
         at fuego.connector.J2EEHelper.getReadOnlyContext(J2EEHelper.java:86)
         ... 12 more
    Edited by: user2262377 on Jun 22, 2009 4:01 PM

    I guess the weblogic.jar is not included in the studio.
    So, i added weblogic.jar (Weblogic 10.3) and wlclient.jar (Weblogic 10.3)
    It is working in my simple java code. But, still not working in BPM Studio.
    The error logs:
    An exception occurred while getting a resource from a connector.
    Detail:The connector [OFT_APP_DS:SQL:REMOTE_JDBC] caused an exception when getting a resource.
    Caused by: java.lang.Object cannot be cast to java.io.Serializable
    fuego.connector.ConnectorException: An exception occurred while getting a resource from a connector.
    Detail:The connector [OFT_APP_DS:SQL:REMOTE_JDBC] caused an exception when getting a resource.
         at fuego.connector.ConnectorException.exceptionOnGetResource(ConnectorException.java:88)
         at fuego.connector.JDBCHelper.getReadOnlyConnection(JDBCHelper.java:93)
         at fuego.sqlintrospector.BrowserPanel.connect(BrowserPanel.java:395)
         at fuego.sqlintrospector.BrowserPanel.populateTree(BrowserPanel.java:200)
         at fuego.ui.wizards.ui.CheckTreeBrowser$1.construct(CheckTreeBrowser.java:63)
         at fuego.ui.SwingWorker$2.run(SwingWorker.java:39)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassCastException: java.lang.Object cannot be cast to java.io.Serializable
         at weblogic.iiop.IIOPOutputStream.writeAny(IIOPOutputStream.java:1588)
         at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2231)
         at weblogic.utils.io.ObjectStreamClass.writeFields(ObjectStreamClass.java:413)
         at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:235)
         at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:225)
         at weblogic.corba.utils.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:182)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1963)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:2001)
         at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2266)
         at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  • Logon problem with oracle management server

    I have problem with Oracle Management Server when I connect to the OMS message comes
    The exception (java.lang.NullPointerException) occurred.
    if any body have any idea pls tell us

    Hi,
    Oracle has changed the Enterprise Manager from version 1.5 to 2.0 .
    With the new Oracle8i dataase server another service has been added.
    If you want to user the OEM you have to install The Managment Server.
    The Managment server has its own user and privileges and is recommended when using OEM.

  • Problems with oracle 9i installation in windows xp

    I am having a problem with oracle 9i installation. I am getting error message like this "jrew.exe has encountered a problem and nees to close" can any body tell how to overcome this problem. I have cleaned registry also. I uninstalled java runtime environment and again installed java but i am still getting the message.

    Hi Madhu,
    The problem seem the "jrew.exe" file may be currupted.
    Remove the file "jrew.exe" and try to reinstall Oracle.
    Regards,
    RKumar

  • Problem with Oracle Designer 10

    Hi,
    I have a problem with Oracle Designer 10 version 9.0.4.7 installed in Windows 2000 platform.
    I don't know if the origin of the problem is at the server side or client side. I try to launch the repository reports but it doesn't work. The screen never appear. I have to finish the client process but the oracle session remmains:
    SID SERIAL# LOGON_TIME PROGRAM
    ============================
    36 13137 01-12-2008 des2k61.exe
    38 15583 01-12-2008 ckrpt61.exe
    The second line belongs to repository report process.
    I have to kill Oracle session manually. Do you know if the problem is in the server side or client installation??
    SGA VALUES
    =============================
    Total System Global Area 320302432 bytes
    Fixed Size 736608 bytes
    Variable Size 285212672 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 798720 bytes
    Client values
    =============================
    1Gb RAM
    Windows 2000 SP4
    3Gb Virtual Mem
    2 GHz AMD
    Thanks in advance.

    I have two homes for oracle developer ..
    old ---- C:\*DevSuite*
    new -- C:\>C:\*DevSuite_1*
    I have executed the below statement .........
    C:\>C:\*DevSuite_1*\bin\tnsping disd9i
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 09-SEP-2
    010 19:29:22
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\*DevSuite*\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (Host = VHRTY76.ASPNDT.NET)(Port = 1521))) (CONNECT_DATA = (SID = POU)))
    OK (720 msec)
    I think the new one is point to the old version 9 - sqlnet.ora and tnsnames.ora .
    How to point the new one..?
    Can I have two tns_admin as env variable ?
    Edited by: user12045030 on Sep 9, 2010 7:12 AM

  • Problem with ORACLE database

    Hi all,
    I am facing some problem with ORACLE database while configuring one JDBC scenario in the receiver side. I have configured one JDBC scenario like FILE TO JDBC. As JDBC is at receiver side i have provided the input file with the following format ,
    <root>
      <StatementName1>
         <dbTableName action="INSERT">
             <table>employee</table>
              <access>
                    <flag>NO</flag> 
                    <ID>567</ID>
             <NAME>134</NAME>
                 </access>
         </dbTableName>
      </StatementName1>
    </root>
    But in the ORACLE database all my columns are in the uppercase.
    So when i have tried to send this input file to process through JDBC receiver side then i have faced the below error :
    FATAL ERROR: Column 'flag' does not exist in table 'employee'
    Then I have tried to check with sender side processing of JDBC adapter. By using the SQL statements as
    SELECT * FROM EMPLOYEE WHERE flag='NO'
    UPDATE EMPLOYEE SET Flag='YES'  WHERE flag='NO'
    Here it worked fine.
    Now my question is,
    If the same adapter is working when we are writing a query directly(sender side), then we must also allow case independence in the auto generated SQL part(receiver side).
    The JDBC drivers for both SQL server and Oracle, supports the same java code, for accessing the DB, irrespective of the case of the column names.
    Please clarify this doubt as soon as possible.
    Thanks,
    Soorya.

    Hi Dharmaveer,
    When I go with the following input file,
    <root>
      <StatementName1>
         <dbTableName action="INSERT">
             <table>EMPLOYEE</table>
              <access>
                    <FLAG>NO</FLAG> 
                    <ID>666</ID>
                    <NAME>SSS</NAME>
                 </access>
             </dbTableName>
      </StatementName1>
    </root>
    I will get the following query with succesfull processing.
    INSERT INTO  EMPLOYEE (FLAG, ID, NAME) VALUES (NO, 666, SSS)
    when i go with this input file,
    <root>
      <StatementName1>
         <dbTableName action="INSERT">
             <table>EMPLOYEE</table>
              <access>
                                    <flag>NO</flag> 
                                   <ID>777</ID>
                        <NAME>TTTT</NAME>
                        </access>
                   </dbTableName>
      </StatementName1>
    </root>
    Then i am facing this problem,
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'EMPLOYEE' (structure 'StatementName1'): java.sql.SQLException: FATAL ERROR: Column 'flag' does not exist in table 'EMPLOYEE'
    Here I cant get any SQL statement as it is not successfull.
    I have gone through your link but it also says to modify the column in the input file which is not possible for me. Can you please help me in this regard?
    Thanks,
    Soorya

  • Problem with Oracle.Data.Access

    Hi everybody,
    this is my problem, I've developed a web application witch .net 2005 (c#) and oracle client 10.
    Now I need to compile all my application with oracle client 9, then I have removed client 10 and installed client 9.
    But this is the problem, in References of my project I can't find Oracle.DataAccess.dll ! then I can't compile my project!
    In previous installation (with client 10) the dll was located here
    C:\oracle\product\10.2.0\client_1\bin\
    the direcotry installation of client 9 is the same but I can't find it on my pc...
    How can I switch to client 9 from client 10 without rewrite all code??
    thank so much!!!!
    Sergio

    Ok now I have the following situation...
    I've downloaded and installed this version ODAC92070.exe and I can find the file
    C:\oracle\ora92\bin\Oracle.DataAccess.dll ...
    In my reverence in visual studio2005 I delete the old file and I load the new, but qhen I try to compile this error appears
    'Oracle.DataAccess.Client.OracleDataReader' does not contain a definition for 'HasRows'
    why??
    this method is not supported in oracle client 9?

  • Forms 6.0.5.0.2: Problems with Oracle 7.3.4, OK with 8.0.5

    I have problems with Forms 6.0.5.0.2 running against an Oracle
    7.3.4 with Net8. When trying to insert or update records I get
    an FRM-40508: ORACLE error: unable to INSERT record/FRM-40509:
    ORACLE error: unable to UPDATE record. The Help | Display Error
    menu item shows statement = "S3AVWU3wo|$6o|" (garbled
    message), error = "ORA-12663: Services required by client not
    available on the server" (sometimes it's "ORA-01403: no data
    found").
    It works fine against 8.0.5. As far as I'm aware Forms 6 is
    certified against 7.3.4?
    Any clues?
    Thanks for your help.
    Finn
    null

    We had to upgrade from 7.3.2 to 7.3.4 when we moved over to Forms
    6.0.5.0.2 and it's working fine.
    We are using Net 8 as well.
    Finn Ellebaek Nielsen (ChangeGroup ApS) (guest) wrote:
    : I have problems with Forms 6.0.5.0.2 running against an Oracle
    : 7.3.4 with Net8. When trying to insert or update records I get
    : an FRM-40508: ORACLE error: unable to INSERT record/FRM-40509:
    : ORACLE error: unable to UPDATE record. The Help | Display Error
    : menu item shows statement = "S3AVWU3wo|$6o|" (garbled
    : message), error = "ORA-12663: Services required by client not
    : available on the server" (sometimes it's "ORA-01403: no data
    : found").
    : It works fine against 8.0.5. As far as I'm aware Forms 6 is
    : certified against 7.3.4?
    : Any clues?
    : Thanks for your help.
    : Finn
    null

  • Problem with Oracle SQL Developer 3.0.04

    1. Performing a "SELECT *" on an Oracle table with a SDO_GEOMETRY column locks up the tool and I have to use Task Manager to can it.
    2. Clicking the Data tab on a table with an SDO_GEOM col either locks up the tool, or taked forever to return.
    3. Performing a "SELECT" of a SDO_GEOM col either locks up the tool or takes forever to return.
    None of these issues occur in Toad.

    If you have a problem with SQL Developer, you'd be best off posting in the SQL Developer!

  • Problems with OracleAS adapter for Siebel

    Hi,
    I have a problem starting the Java data bean connection from the OracleAS Adapter Application Explorer. When I try to connect to my Siebel Instance I get the following error from the application explorer
    Problem Activating adapter. (null). See logs for details.
    When I look in my logs $ORACLE_HOME/adapters/application/config/siebelconnection/logs I get the following information
    Wed, 11 Oct 2006 16:51:28.0188 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    Found adapter 'IWAF'
    Wed, 11 Oct 2006 16:51:28.0204 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    Found adapter 'Siebel'
    Wed, 11 Oct 2006 16:51:28.0219 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    [storage] Repository URL 'file:///space/oracle/product/10.1.2.0.2/eaidev1/adapte
    rs/application/config/SiebelConnection/repository.xml' resolved to repositoty ty
    pe: file
    Wed, 11 Oct 2006 16:51:28.0220 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    [storage] Getting Repository reference: 'file:///space/oracle/product/10.1.2.0.2
    /eaidev1/adapters/application/config/SiebelConnection/repository.xml&user=null&p
    assword=***'...
    Wed, 11 Oct 2006 16:51:28.0394 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    [storage] Created Repository System storage.
    Wed, 11 Oct 2006 16:51:28.0398 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    [state] State Repository URL 'file:///space/oracle/product/10.1.2.0.2/eaidev1/ad
    apters/application/config/SiebelConnection/st_repository.xml' repositoty type: f
    ile
    Wed, 11 Oct 2006 16:51:28.0399 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA]
    [state] Getting Repository reference: 'file:///space/oracle/product/10.1.2.0.2/e
    aidev1/adapters/application/config/SiebelConnection/st_repository.xml&user=null&
    password=***'...
    "aejca_1160581888102.log" 100 lines, 13137 characters
    Wed, 11 Oct 2006 16:51:28.0188 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] Found adapter 'IWAF'
    Wed, 11 Oct 2006 16:51:28.0204 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] Found adapter 'Siebel'
    Wed, 11 Oct 2006 16:51:28.0219 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [storage] Repository URL 'file:///space/oracl
    e/product/10.1.2.0.2/eaidev1/adapters/application/config/SiebelConnection/repository.xml' resolved to repositoty type: file
    Wed, 11 Oct 2006 16:51:28.0220 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [storage] Getting Repository reference: 'file
    :///space/oracle/product/10.1.2.0.2/eaidev1/adapters/application/config/SiebelConnection/repository.xml&user=null&password=**
    Wed, 11 Oct 2006 16:51:28.0394 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [storage] Created Repository System storage.
    Wed, 11 Oct 2006 16:51:28.0398 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [state] State Repository URL 'file:///space/o
    racle/product/10.1.2.0.2/eaidev1/adapters/application/config/SiebelConnection/st_repository.xml' repositoty type: file
    Wed, 11 Oct 2006 16:51:28.0399 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [state] Getting Repository reference: 'file:/
    //space/oracle/product/10.1.2.0.2/eaidev1/adapters/application/config/SiebelConnection/st_repository.xml&user=null&password=*
    Wed, 11 Oct 2006 16:51:28.0415 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [state] Created State Repository System stora
    ge.
    Wed, 11 Oct 2006 16:51:28.0449 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Creating IWAF Container classload
    er using libdir '/space/oracle/product/10.1.2.0.2/eaidev1/adapters/application/lib'.
    Wed, 11 Oct 2006 16:51:28.0751 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0752 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Building adapters list...
    Wed, 11 Oct 2006 16:51:28.0753 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0754 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0754 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Adapter: Siebel
    Wed, 11 Oct 2006 16:51:28.0755 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0755 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Inspecting adapter 'Siebel' modul
    es.
    Wed, 11 Oct 2006 16:51:28.0770 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Skiping IWAF Container adapter.
    Wed, 11 Oct 2006 16:51:28.0807 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0808 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Building default security manager
    Wed, 11 Oct 2006 16:51:28.0809 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:28.0811 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] iway.home is set to '/space/oracl
    e/product/10.1.2.0.2/eaidev1/adapters/application'.
    Wed, 11 Oct 2006 16:51:28.0812 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] iway.config is set to 'SiebelConn
    ection'.
    Wed, 11 Oct 2006 16:51:28.0813 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Using default: keystore.type=jks
    and keystore.password=iwaysoftware
    Wed, 11 Oct 2006 16:51:28.0814 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Security manager using keystore :
    /space/oracle/product/10.1.2.0.2/eaidev1/adapters/application/config/SiebelConnection/security/keystore.jks
    Wed, 11 Oct 2006 16:51:29.0416 BST - Thread[Thread-5,6,main] [warn ] [IWAF JCA] [container] Security manager will not be avai
    lable due to problem.
    java.lang.IllegalStateException: Problem loading keystore: java.io.EOFException; make sure the password is correct
    at com.iwaysoftware.security.KeyStoreUtil.getKeyStore(KeyStoreUtil.java:39)
    at com.ibi.adapters.util.security.SecurityManagerImpl.<init>(SecurityManagerImpl.java:45)
    at com.iwaysoftware.af.container.IWAFFactory.buildSecurityManager(IWAFFactory.java:209)
    at com.iwaysoftware.af.container.IWAFContainer.start(IWAFContainer.java:169)
    at com.ibi.afjca.spi.IWAFManagedConnectionFactory.getContainer(IWAFManagedConnectionFactory.java:536)
    at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createManagedConnection(IWAFManagedConnectionFactory.java:215)
    at com.ibi.afjca.spi.IWAFConnectionManager.allocateConnection(IWAFConnectionManager.java:35)
    at com.ibi.afjca.cci.IWAFConnectionFactory.getConnection(IWAFConnectionFactory.java:103)
    at com.iwaysoftware.iwae.common.JCATransport.initJCA(JCATransport.java:104)
    at com.iwaysoftware.iwae.common.JCATransport.<init>(JCATransport.java:85)
    at com.iwaysoftware.iwae.common.AdapterClient.<init>(AdapterClient.java:85)
    at com.ibi.bse.ConfigWorker.run(ConfigWorker.java:41)
    at java.lang.Thread.run(Thread.java:595)
    Wed, 11 Oct 2006 16:51:29.0419 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:29.0420 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] Starting IWAF container managers.
    Wed, 11 Oct 2006 16:51:29.0420 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] *********************************
    Wed, 11 Oct 2006 16:51:29.0420 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF AdapterManager starting...
    Wed, 11 Oct 2006 16:51:29.0421 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF AdapterManager started.
    Wed, 11 Oct 2006 16:51:29.0421 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChannelManager starting...
    Wed, 11 Oct 2006 16:51:29.0421 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChannelManager started.
    Wed, 11 Oct 2006 16:51:29.0422 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChainManager starting...
    Wed, 11 Oct 2006 16:51:29.0422 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF ChainManager started.
    Wed, 11 Oct 2006 16:51:29.0422 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF PortManager starting...
    Wed, 11 Oct 2006 16:51:29.0422 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF PortManager started.
    Wed, 11 Oct 2006 16:51:29.0423 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0423 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] IWAF AEManager start
    ing...
    Wed, 11 Oct 2006 16:51:29.0423 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0424 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0424 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Building Target ID l
    ist..
    Wed, 11 Oct 2006 16:51:29.0424 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0826 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Creating TID for ada
    pter 'Siebel' configuration 'ReutersSiebel'.
    Wed, 11 Oct 2006 16:51:29.0840 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [Siebel.service_ReutersSiebel] Cr
    eated adapter instance for class'class com.ibi.adapter.siebelaf.SiebelAdapter'.
    Wed, 11 Oct 2006 16:51:29.0892 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0893 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Building Port list..
    Wed, 11 Oct 2006 16:51:29.0893 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0902 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0902 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Building Channel lis
    t..
    Wed, 11 Oct 2006 16:51:29.0911 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:29.0945 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [Siebel.channel_ReutersSiebelHTTP
    ] Created adapter instance for class'class com.ibi.http.adapter.HTTPListenerAdapter'.
    Wed, 11 Oct 2006 16:51:29.0955 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] Creating channel for
    adapter 'Siebel' configuration 'ReutersSiebelHTTP'.
    Wed, 11 Oct 2006 16:51:29.0992 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] IWAF AEManager start
    ed.
    Wed, 11 Oct 2006 16:51:29.0992 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] [AE manager] ********************
    Wed, 11 Oct 2006 16:51:30.0008 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA] [container] IWAF contained started.
    Wed, 11 Oct 2006 16:51:30.0018 BST - Thread[Thread-5,6,main] [info ] [IWAF JCA IAEAdapter] IWAFManagedConnection for IAEAdapt
    er:null has listener registered: com.ibi.afjca.spi.IWAFConnectionManager@cb754f
    Wed, 11 Oct 2006 16:51:31.0282 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] Loaded and initialized ad
    apter class 'com.ibi.adapter.siebelaf.SiebelAdapter'.
    Wed, 11 Oct 2006 16:51:31.0289 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] Loaded and initialized ad
    apter class 'com.ibi.http.adapter.HTTPListenerAdapter'.
    Wed, 11 Oct 2006 16:51:31.0303 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] [com.ibi.mq.MQListenerAda
    pter] init called.
    Wed, 11 Oct 2006 16:51:31.0303 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] Loaded and initialized ad
    apter class 'com.ibi.mq.MQListenerAdapter'.
    Wed, 11 Oct 2006 16:51:31.0332 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] [com.ibi.file.FileListene
    rAdapter] init called.
    Wed, 11 Oct 2006 16:51:31.0332 BST - Thread[AWT-EventQueue-0,6,main] [info ] [IWAF JCA] [container] Loaded and initialized ad
    apter class 'com.ibi.file.FileListenerAdapter'.
    Wed, 11 Oct 2006 16:51:58.0450 BST - Thread[Thread-7,6,main] [info ] [IWAF JCA] [container] [Siebel.service_ReutersSiebel] Cr
    eated adapter instance for class'class com.ibi.adapter.siebelaf.SiebelAdapter'.
    Wed, 11 Oct 2006 16:51:58.0811 BST - Thread[Thread-7,6,main] [error] [IWAF JCA] [container] [Siebel.service_ReutersSiebel] Pr
    oblem activating adapter. (null). Check logs for more information
    java.lang.IllegalStateException
    at com.ibi.adapter.siebelaf.SiebelAdapter.activate(SiebelAdapter.java:143)
    at com.iwaysoftware.af.container.adapter.ProxyAdapter.activate(ProxyAdapter.java:104)
    at com.iwaysoftware.af.container.adapter.AdapterConfiguration.activateAdapter(AdapterConfiguration.java:319)
    at com.iwaysoftware.af.container.adapter.AdapterConfiguration.getActivatedAdapter(AdapterConfiguration.java:299)
    at com.iwaysoftware.af.container.AdapterManager.getActivatedAdapter(AdapterManager.java:269)
    at com.iwaysoftware.af.container.IWAFContainer.getActivatedAdapter(IWAFContainer.java:526)
    at com.iwaysoftware.af.container.AEManager.getTargetAdapter(AEManager.java:646)
    at com.iwaysoftware.af.container.ae.AETargetMessage.buildGETTARGET(AETargetMessage.java:255)
    at com.iwaysoftware.af.container.ae.AETargetMessage.build(AETargetMessage.java:84)
    at com.iwaysoftware.af.container.ae.AETargetMessage.<init>(AETargetMessage.java:54)
    at com.iwaysoftware.af.container.AEManager.dispatch(AEManager.java:131)
    at com.iwaysoftware.af.container.IWAFContainer.dispatchAERequest(IWAFContainer.java:612)
    at com.ibi.afjca.cci.IWAFInteraction.execIWAE(IWAFInteraction.java:270)
    at com.ibi.afjca.cci.IWAFInteraction.exec(IWAFInteraction.java:155)
    at com.ibi.afjca.cci.IWAFInteraction.execute(IWAFInteraction.java:93)
    at com.iwaysoftware.iwae.common.JCATransport.execute(JCATransport.java:204)
    at com.iwaysoftware.iwae.common.AdapterClient.getTarget(AdapterClient.java:293)
    at com.ibi.bse.TargetWorker.run(TargetWorker.java:37)
    at java.lang.Thread.run(Thread.java:595)
    My platform is AS 10g (10.1.2.0.2) with Adapters (10.1.2.0.2) on Solaris 10. I am connecting to a Siebel 7.8 instance running on Windows 2000 SP4.
    I would be very grateful of any help you could give.
    Regards,
    Mark.

    Hi,
    There could be couple of possible reasons for this. Please see below:
    1. When you configure a adapter target for Siebel 7.7 or 7.8, do not supply a value for "Siebel Server" field. Please see details related to this in the "Defining a Target to Siebel" section of the Siebel adapter user guide.
    2. If the adapter is installed in the UNIX platform, then necessary encoding should be added to the Application Explorer and the Application Server. Please see the details for this in the "Establishing a Connection (Target) for Siebel" of the Siebel adapter user guide.
    Let me know whether this sorts out the issue or not.
    Regards,
    Kris

  • JDBC Resultset Problem with ORACLE 10.1.0.2

    Hello
    I have a problem with Petstore GenericCatalogDAO. java. The problem is the behaviour of the resultset object when retrieving data from the database.Below are two synareos one that
    works (when) hard coded and one that does not work when parameter values passed into the the result set.
    1. The code the WORKS.
    statement = connection.prepareStatement("select name from employee where a.name ='SMITH' order by name"
    ,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    resultSet = statement.executeQuery();
    resultSet.absolute(1);
    String s = resultSet.getString(1);
    The code that gives me a 'exhausted resultset' error which I think means no results
    String[] parameterValues = new String[] { "SMITH" };
    statement = connection.prepareStatement("select name from employee where a.name =? order by name ",
    ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    for (int i = 0; i < parameterValues.length; i++) {
    statement.setString(i + 1, parameterValues);
    resultSet = statement.executeQuery();
    resultSet.absolute(1);
    String s = resultSet.getString(1);
    There is obviously a problem using these named parametevalues with these preparedstatement resultset, Does anybody know anything about this and a fix for it????
    Cheers. Roger

    Roger,
    It's probably a mistake you made when posting your code, but your query string is incorrect it should be either:
    select name from employee where name = 'SMITH' order by nameor
    select a.name from employee a where a.name = 'SMITH' order by a.nameIn other words you have prefixed a column with a table alias but have not indicated a table alias in the query.
    Also, shouldn't your code be:
    for (int i = 0; i < parameterValues.length; i++) {
        statement.setString(i + 1, parameterValues[ i ]);
    }Or was the "[ i ]" part giving you trouble? (Since "[ i ]" -- without the spaces -- is treated as a text-formatting tag.)
    While I didn't try your specific query, I have no problem using "PreparedStatment"s with parameters.
    What is your environment? Mine is:
    Oracle 10g (10.1.0.4) database on Linux (Red Hat)
    JDK 1.4.2
    ojdbc14.jar JDBC driver (latest version)
    Good Luck,
    Avi.

Maybe you are looking for

  • Another question concerning Context Expired and Can No Longer be Used error

    I know this has been covered many times before - each time with essentially the same recommendations: Make sure the time zone is set for the web applications, make sure the clocks are synchornized between the hosts, adjust the timeouts (I've done def

  • Sharepoint 2013 Document library Issue

    Hi In sharepoint 2013 Doc lib,I uploaded a document and I can see it was successful, but then I can't close the window, or get back to the customer documents unless I "control/alt/delete" and close all IE windows & re-log in. Now, 4 minutes later it

  • Stuck in root user account

    Hi all.       I just logged in to the root folder to edit my home folder short name. I am now in the root account, however the trackpad clicking is not responding and neither is the touchpad gesture. When i try to log out of root through keyboard sho

  • Need to reinstall mountain lion from snow leopard

    i was using mountain lion before my hard drive went bad and had to replace it. however, snow leopard is the only OS disc i have so that's what i used to reboot the computer once i replaced it. how do i now reinstall mountain lion back to this compute

  • Lens correction for Hasselblad V series lenses

    Lightroom does not provide lens correction for Hasselbald V series lenses, e.g. Carl Zeiss Planar 2,8/80. Hasselblad Phocus program does but Lightroom ignores Phocus metadata in FFF files imports. Is there any posssibility to achieve lens correction