SQLException Scheduling error

I'm using BIP 10.1.3.3 against a 10.2.0 database and getting the following error when I try and schedule a report
oracle.apps.xdo.servlet.scheduler.ProcessingException: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: No more data to read from socketError Code: 17410
Call:UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + 1 WHERE SEQ_NAME = 'SUBSCRIPTION_ID_SEQ'
Query:DataModifyQuery()
     at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:599)
     at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1852)
     at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:289)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
     at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:65)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: No more data to read from socketError Code: 17410
Call:UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + 1 WHERE SEQ_NAME = 'SUBSCRIPTION_ID_SEQ'
Query:DataModifyQuery()
Can anybody help ?
Cheers,
Brent

Hi Brent,
I am getting the same error even though I configured my scheduler.I was searching for this error on net and that brought me to this page.
If you any solution for the problem kindly share with me.
-Chandra

Similar Messages

  • Java.sql.SQLException: General error

    Hi i got this error message:
    java.sql.SQLException: General error
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(Unknown Source)
    at PersonFrame.actionPerformed(PersonFrame.java:1155)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
    n Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    my code is:
    while (rs.next())
    String recnumber = rs.getString("Person_ Record_ Number");
    int reccc=Integer.parseInt(recnumber);
    if (Integer.parseInt(FamilyTree.rowselected)==reccc && AddPersonn!=0)
    System.out.println ("record in table "+reccc);
    System.out.println ("record selected "+FamilyTree.rowselected);
    str.executeUpdate("INSERT INTO Person " +
    "VALUES ('"+nameofperson.getText()+"','"+SurnameOfPersonTxt.getText()+"','"+Bday+"','EMPTY','"+DateOfDeathTogether+"','EMPTY','EMPTY','"+phone+"','"+genre+"','"+Country+"','"+FamilyTree.rowselected+"','"+Nicknametxt.getText()+"','"+Filename+"','"+BioFile+"','"+city+"','"+postal+"','EMPTY','empty','"+TimeOfBirth+"','EMPTY')");
    setVisible(false);
    System.out.println(Filename);
    LINE 1155 that the error message says is line :str.executeUpdate("INSERT INTO Person " +
    <<<PersonFrame.actionPerformed(PersonFrame.java:1155)>>>>>
    also note that i didn't include a try statement here (int reccc=Integer.parseInt(recnumber) because recnumber since is created holds the value 5000 so there is no need
    Also the output.. of
    System.out.println("INSERT INTO Person " + "VALUES ('"+nameofperson.getText()+"','"+SurnameOfPersonTxt.getText()+"','"+Bday+"','EMPTY','"+DateOfDeathTogether+"','"+PlaceOfDeath+"','"+address+"','"+phone+"','"+genre+"','"+Country+"','"+FamilyTree.rowselected+"','"+Nicknametxt.getText()+"','"+Filename+"','"+BioFile+"','"+city+"','"+postal+"','"+Causeofdeath+"','"+PlaceBurried+"','"+TimeOfBirth+"','EMPTY')");
    is:
    INSERT INTO Person VALUES ('fgfgff','dfdgfd','2/1/1988','EMPTY','Person Is Alive','null','EMPTY','EMPTY','Male','EMPTY','0560','dasfds','EMPTY','EMPTY','EMPTY','EMPTY','null','null','EMPTY','EMPTY')
    and my table gets only text values...
    Any Help Will Be Greately Appreciated
    Thanks
    Nick .s

    You cannot do two thing at the same time with the same statement (while your ResultSet is open you are making an insert), try using a separate Statement that the one you used for the query for the insert. If that doesn't work, make a new connection, that will do it.
    If you were using a separate statement then I'm sorry, I couldn't tell from your code. I'd had a similar problem and that's the way I solved it.

  • Urgent: SQLException: Internal Error: Image is not in 8.1 format

    Hello there,
    I have never come accross such error.
    Scenario
    1 using JDeveloper EA1, Database 9i (9.2.0.6)
    2 calling Oracle package procedure with in/out parameters.
    3 Package has been imported into jDeveloper (jPublisher) with defaults settings.
    4 procedure call is successfull, but when accessing out value getting this error
    Code
    try{
    // imported package
    PailinWebPolicy webPolicy=new PailinWebPolicy(conn);
    System.out.println("web issue policy");
    // call of package procedure both parameters are in/out
    webPolicy.issuepolicy(policyData,errors,processStatus);
    System.out.println("web issue policy done");
    result=processStatus[0];
    System.out.println("result assigned policy length "+policyData.length);
    Wtpolicycore resultPolicy=policyData[0];
    System.out.println("policy data assigned");
    // error at accessing getPolicyno
    String policyRef =resultPolicy.getPolicydata().getPolicyno();
    System.out.println("policy ref assigned");
    catch(SQLException e)
    System.out.println("Exception "+e);
    System.out.println("Exception "+e.getErrorCode()+" state "+e.getSQLState());
    opus.close();
    output:
    web issue policy
    web issue policy done
    result assigned policy length 1
    policy data assigned
    Exception java.sql.SQLException: Internal Error: Image is not in 8.1 format
    Exception 17001 state null
    Any idea what might be wrong? I dont see any error on db side at all.
    ferdo
    Message was edited by:
    frpkoo

    I found similar bug reported on Metalink on April 8,2005
    Bug no 4294423
    Getting java.sql.SQLException: Internal Error: Image is not in 8.1 format Error Code: 17001 When running JDBC program that access many User defined Types .
    But cannot find out what is the status of it.
    Any idea?
    ferdo

  • Power BI Scheduling Error

    Hi,
    I am getting the following scheduling error for the report which I ceated using Power Query and publish on O365. If anyone has any insight on the same please help.
    I am trying to pull the data from Sharepoint list into excel for the report
    Refresh on demand 
    We're sorry. We can't open the workbook in the browser because it uses these unsupported features: • SharePoint lists
    Correlation ID:
    a9fc9d7f-95d7-43e9-90e4-c6d9fb65531e
    Thanks
    Mohammed

    Are you pulling data from SharePoint List using Power Query?
    As of now SharePoint List is not not supported datasource for scheduled refresh on O365.
    Only SQL Server is supported right now.
    Thanks,
    Sagar K
    (Blog: http://datamazik.blogspot.in/)

  • I am getting Error! java.sql.SQLException:General error

    hi every body,
    I struck with this error , can any one suggest in solving this.
    I had a table in oracledatabase ,i have successfully created a table and inserted clob column with an attachment like xxx.txt.
    table format----> id and text columns
    Now my question is to retrieve that data and store it in local disk i am getting this error
    import java.io.*;
    import java.sql.*;
    //import java.sql.SQLException;
    public class Cread {
    public static void main(String[] args) throws ClassNotFoundException,IOException,SQLException {
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection cn=DriverManager.getConnection("jdbc:odbc:sivadsn","scott","tiger");
    Statement s = cn.createStatement();
    ResultSet rs=s.executeQuery("Select text from ram where id=10");
    if(rs.next()){
    FileOutputStream file=new FileOutputStream("c:/store.txt");
    InputStream fin=rs.getBinaryStream(1);
    int c;
    while((c=fin.read())!=-1){
    file.write(c);
    fin.close();
    s.close();
    rs.close();
    catch(IOException e){
    e.printStackTrace();
    System.out.println("Err:"+e);
    I am getting the error as
    java.sql.SQLException: General error
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(Unknown Source)Error! java.sql.SQLException: General error
    at attach.Clobread.main(Clobread.java:30)

    That usually means something is wrong with the syntax of your sql.
    As a guess 'text' is probably a keyword and shouldn't be used as a field name. It is possible that the same is true for 'id'

  • Java.sql.SQLException: FATAL ERROR  for DB2

    Hi
    In my scenario IDOC-XI-DB2,
    When I am getting following error message in communication channel. I have checked all the field length, they are correctly displayed. Please let me know how to resolve the same.
    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. 'BI5FILMM.BSOMSAPP' (structure 'StatementInsert'): java.sql.SQLException: FATAL ERROR document format in structure 'StatementInsert': expected 'access' tag(s) not found
    Payload is as follows
    <?xml version="1.0" encoding="UTF-8" ?>
    - <I805_Abstr_CustOutlet_MT>
    - <StatementInsert>
    - <STATUS action="INSERT">
      <table>BI5FILMM.BSOMSAPP</table>
      <key OUTLET_NO="0001231229" OUTLET_RF="0002122756" OMFUNC="CRT" />
    - <access>
      <STATUS>N</STATUS>
      <IFCEDATE>1080701</IFCEDATE>
      <IFCETIME>160849</IFCETIME>
      <OUTLETTYPE>Y</OUTLETTYPE>
      <NAME>DREW SMITH AGAINXXXXXXXXXXXXXXXXXXX</NAME>
      <STREET>E</STREET>
      <STATE>NSW</STATE>
      <POST_CODE>2000</POST_CODE>
      <PHONE_NO>567999</PHONE_NO>
      <ALTPHONE>11111</ALTPHONE>
      <FAX_NO>111</FAX_NO>
      <CNTCT_PERS>Constant</CNTCT_PERS>
      <ALTNAME>Constant</ALTNAME>
      <EMAIL1>Drew_downunder</EMAIL1>
      <EMAIL2>DREW_DOWNUNDER</EMAIL2>
      <SFE_CODE>G</SFE_CODE>
      <BILL_TO>0001231229</BILL_TO>
      <SUPP_DATE>080801</SUPP_DATE>
      </access>
      </STATUS>
      </StatementInsert>
    - <StatementProce>
    - <STATUS action="EXECUTE">
      <table>CC5PTF.BSOMPSAP</table>
      <Para1 isInput="true" type="CHAR">BI5FILMM</Para1>
      <Para2 isInput="true" type="CHAR">BMIJOBD</Para2>
      </STATUS>
      </StatementProce>
      </I805_Abstr_CustOutlet_MT>

    Hi Ria,
    In your input try to make the access tag in capitals(ACCESS) and try. I am not sure though. I think its case sensitive. Just try and let me know. Also your second action="EXECUTE" does not has any access parameters. Refer to this blog:
    JDBC Receiver Adapter -- Synchronous Select – Step by Step
    It might be useful.
    Regards,
    Sanjeev.

  • Just got a new Samsung laptop. Windows 7, .  Downloaded and installed Itunes 10.6.3.  Now every time i try to open Itunes, I get BSOD and a Veido Scheduler error message.  Anyone else heard of this problem ?

    Running Windows 7 on a new Samsung Series 7 laptop.  Downloaded latest Itunes 64 bit and installed.  Now, when i try to run Itunes, I get BSOD and a video scheduler error message

    Running Windows 7 on a new Samsung Series 7 laptop.  Downloaded latest Itunes 64 bit and installed.  Now, when i try to run Itunes, I get BSOD and a video scheduler error message

  • XAConnection java.sql.SQLException: XA error: XAResource.XAER_PROTO start()

    I am getting an error when I am coming out of a method. I am not doing any database operations in the code.
    The error I am getting is
    The activity execution failed.\nCaused by: Activity '/AddNewSubMaster#Default-1.0/DeleteRequests' task 'Confirmation_Router' could not execute successfully.\nCaused by: Process execution engine execution error.\nCaused by: An error occurred while accesing the database.\nTechnical detail:SQL statement: 'unknown'\n\nCaused by: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_PROTO start() failed on resource 'ALBPM Engine Database': XAER_PROTO : Routine was invoked in an inproper context\noracle.jdbc.xa.OracleXAException\n\tat oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:938)\n\tat oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:244)\n\tat weblogic.jdbc.wrapper.VendorXAResource.start(VendorXAResource.java:50)\n\tat weblogic.jdbc.jta.DataSource.start(DataSource.java:710)\n\tat weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1182)\n\tat ...........

    Are you using studio?
    I see an Oracle DB-connection. In studio without configuration you only have one or two derby databases.

  • Java.sql.SQLException: Internal Error: Inconsistent catalog view

    Hi all,
    I have an Oracle procedure defined like:
    pkgoms.p_oms_audit ( in_tab_oms_audit in tab_oms_audit,out_status out number)
    tab_oms_audit is a collection of t_oms_audit
    Here is the structure for the type (with 16 fileds)
    create or replace type t_oms_audit as object(
    Username_ VARCHAR2(101),
    d_Date_ Date,
    <other fields>) ;
    In my Java code I have:
    // conn is the connections to db
    oracle.sql.StructDescriptor structDesc = oracle.sql.StructDescriptor.createDescriptor("TAB_OMS_AUDIT", conn);
    Object[] attributes = new Object[16];
    // Fill out the array: attributes[] in the same structure that t_oms_audit is defined
    // Receive the following error on the next line:
    // java.sql.SQLException: Internal Error: Inconsistent catalog view
    oracle.sql.STRUCT struct = new oracle.sql.STRUCT(structDesc, conn, attributes);
    anOracleCallableStatement.setObject(1, struct, java.sql.Types.STRUCT);
    anOracleCallableStatement.execute();I searched for the above error and the only thing I could find was that its a permission issue; I can execute select, update, insert, delete, ... on db, so not sure if its in fact a permission issue or I am doing sth. else wrong. Any help is greatly appreciated.

    Hi all
    I have the same problem.
    it's not a GRANT problem because in PL/SQL the object works fine.
    JDBC Release problem?
    Any help is greatly appreciated.

  • Java.sql.SQLException: Internal error: Cannot obtain XAConnection

    Hi,
    I am getting this error .
    I have a multi data source which serves two Data source and is using load balancing
    I get the below error:
    Cannot obtain XAConnection weblogic.common.ResourceException: No good connections available.
    The complete error trace is below:
    GWMDBBean [onMessage(Message)] 09_MAY 16:24:13:165->EXCEPTION
    java.sql.SQLException: Internal error: Cannot obtain XAConnection weblogic.common.ResourceException: No good connections available.
         at weblogic.jdbc.common.internal.MultiPool.findPool(MultiPool.java:187)
         at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:87)
         at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:61)
         at weblogic.jdbc.jta.DataSource.getXAConnectionFromPool(DataSource.java:1514)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1301)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:426)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:383)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:346)
         at com.iflex.fcubs.gwutil.db.GWDBUtil.getConnection(GWDBUtil.java:119)
         at com.iflex.fcubs.gwservices.db.GWMsgProcessor.getConnection(GWMsgProcessor.java:95)
         at com.iflex.fcubs.gwservices.db.inbound.GWMsgSchemaProc.processMsg(GWMsgSchemaProc.java:165)
         at com.iflex.fcubs.gw.mdb.GWMDBBean.processMessage(GWMDBBean.java:1051)
         at com.iflex.fcubs.gw.mdb.GWMDBBean.onMessage(GWMDBBean.java:371)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.processOneMessage(NewJMSMessagePoller.java:245)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.run(NewJMSMessagePoller.java:121)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.timerExpired(NewJMSMessagePoller.java:204)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
         at com.iflex.fcubs.gw.mdb.GWMDBBean.processMessage(GWMDBBean.java:1060)
         at com.iflex.fcubs.gw.mdb.GWMDBBean.onMessage(GWMDBBean.java:371)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.processOneMessage(NewJMSMessagePoller.java:245)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.run(NewJMSMessagePoller.java:121)
         at weblogic.ejb.container.internal.NewJMSMessagePoller.timerExpired(NewJMSMessagePoller.java:204)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    The Data Sources Configuration are as below:
    <initial-capacity>15</initial-capacity>
    <max-capacity>15</max-capacity>

    This indicates that none of your datasources have been able to successfully connect to the database.
    Please check the connectivity to your database from the datasources.
    Also, you can login into the console and check if the connections are good, by doing test connection on the datasource.
    http://docs.oracle.com/cd/E21764_01/apirefs.1111/e13952/taskhelp/jdbc/jdbc_datasources/TestDataSources.html
    The error you get when you do test connection will help you to understand any connectivity issues.
    Arun

  • SQLException General Error

    Hello
    I am trying to query a MS Access database using the servlet container provided by tomcat. Sometimes the query has no problem in executing itself...but I keep getting a general error on my tomcat display:
    java.sql.SQLException: General error
    at sun.jdbc.odbc.JdbcOdbc.throwGenericSQLException(JdbcOdbc.java:6160)
    at sun.jdbc.odbc.JdbcOdbc.SQLFreeEnv(JdbcOdbc.java:2742)
    at sun.jdbc.odbc.JdbcOdbcDriver.closeConnection(JdbcOdbcDriver.java:842)
    at sun.jdbc.odbc.JdbcOdbcConnection.close(JdbcOdbcConnection.java:736)
    at dlnet.Browse1.dlGetXMLLocs(Browse1.java:182)
    at dlnet.Browse1.dlBrowse1(Browse1.java:138)
    at dlnet.Browse.doPost(Browse.java:85)
    The results are retrieved from the database though....
    I am more concerned as to why the error occurs in he first place though
    Any input on this would be very helpful
    Thanks
    Prashanth

    java.sql.SQLException: General error...
    sun.jdbc.odbc.JdbcOdbcDriver.closeConnection(JdbcOdbcDr
    ver.java:842)Prashanth,
    Did you ever find the reason for this? I have a similar problem runing an application against a SQL-Server database using the jdbc-odbc bridge. The problem occurs with some programs but not with others, and only on closeConnection, after all the real work is done.
    Jay

  • Java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'myDomain': XAER_RMFAIL : Resource manager is unavailable

    Hi All,
    I am facing below issue without any change in the config from weblogic
    Managed servers are coming up and running without any issue
    But when we are doing any operation from application then its failing
    java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'myDomain': XAER_RMFAIL : Resource manager is unavailable
    Regards
    Lokesh

    Hi,
    Can you please try increase the below MaxXACallMillis setting in Weblogic set 'Maximum Duration of XA Calls' to a bigger value
    MaxXACallMillis: Sets the maximum allowed duration (in milliseconds) of XA calls to XA resources. This setting applies to the entire domain.
    http://docs.oracle.com/cd/E12840_01/wls/docs103/jta/trxcon.html
    The parameter is exposed through administration console: services --> jta --> advanced --> "Maximum Duration of XA Calls:"
    Check the below docs for more information
    WLS 10.3: Intermittent XA error: XAResource.XAER_RMERR (Doc ID 1118264.1)
    Hope it Helps

  • Java.sql.SQLException: Internal Error in RowSet

    I�m getting the following error when running a JSF application on websphere 6.1
    I have a class �MainSessionBean� class which extends AbstractSessionBean and in the init() method of my MainSessionBean class, I�m initializing some values like datasource, command like the following
    pgmPriorityMaxValueRowSet.setDataSourceName("java:comp/env/jdbc/I5Dev");
    pgmPriorityMaxValueRowSet.setCommand("SELECT max(AIPRGPRIO) as PRIORITY FROM TFTS341");
    pgmPriorityMaxValueRowSet.setTableName("TFTS341");
    pgmPriorityMaxValueRowSet.setTransactionIsolation(java.sql.Connection.TRANSACTION_NONE);
    pgmPriorityMaxValueRowSet.setReadOnly(true);
    pgmPriorityMaxValueRowSet.setPrintStatements(true);
    The scope of this bean (MainSessionBean) is defined as �session in the managed-beans.xml.
    So when application starts the init() method of my MainSessionBean class should get called right?
    But the init() method is not getting called and the value of the datasource ,command etc are coming as null.
    I�m trying to access the value �pgmPriorityMaxValueRowSet� in the MainSessionBean� with the following code.
    private CachedRowSetDataProvider pgmPriorityMaxValueDataProvider = new CachedRowSetDataProvider();
    pgmPriorityMaxValueDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{MainSessionBean.pgmPriorityMaxValueRowSet}"));
    What can be the issue?
    This application works fine in TOMCAT. But when I�m trying on websphere6.1 I�m getting the following error.
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R java.lang.RuntimeException: java.sql.SQLException: Internal Error in RowSetReader: no connection or command.
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:343)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:300)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowKeys(CachedRowSetDataProvider.java:245)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.cursorFirst(CachedRowSetDataProvider.java:351)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.capricorn.ai.allProgramsList.prerender(allProgramsList.java)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.prerender(ViewHandlerImpl.java:860)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:295)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.capricorn.ai.security.SecurityFilter.doFilter(SecurityFilter.java:60)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:701)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:646)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R Caused by: java.sql.SQLException: Internal Error in RowSetReader: no connection or command.
         at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:130)
    Is there difference between the way session is handled in TOMCAT and websphere 6.1?

    I�m getting the following error when running a JSF application on websphere 6.1
    I have a class �MainSessionBean� class which extends AbstractSessionBean and in the init() method of my MainSessionBean class, I�m initializing some values like datasource, command like the following
    pgmPriorityMaxValueRowSet.setDataSourceName("java:comp/env/jdbc/I5Dev");
    pgmPriorityMaxValueRowSet.setCommand("SELECT max(AIPRGPRIO) as PRIORITY FROM TFTS341");
    pgmPriorityMaxValueRowSet.setTableName("TFTS341");
    pgmPriorityMaxValueRowSet.setTransactionIsolation(java.sql.Connection.TRANSACTION_NONE);
    pgmPriorityMaxValueRowSet.setReadOnly(true);
    pgmPriorityMaxValueRowSet.setPrintStatements(true);
    The scope of this bean (MainSessionBean) is defined as �session in the managed-beans.xml.
    So when application starts the init() method of my MainSessionBean class should get called right?
    But the init() method is not getting called and the value of the datasource ,command etc are coming as null.
    I�m trying to access the value �pgmPriorityMaxValueRowSet� in the MainSessionBean� with the following code.
    private CachedRowSetDataProvider pgmPriorityMaxValueDataProvider = new CachedRowSetDataProvider();
    pgmPriorityMaxValueDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{MainSessionBean.pgmPriorityMaxValueRowSet}"));
    What can be the issue?
    This application works fine in TOMCAT. But when I�m trying on websphere6.1 I�m getting the following error.
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R java.lang.RuntimeException: java.sql.SQLException: Internal Error in RowSetReader: no connection or command.
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:343)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:300)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowKeys(CachedRowSetDataProvider.java:245)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.data.provider.impl.CachedRowSetDataProvider.cursorFirst(CachedRowSetDataProvider.java:351)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.capricorn.ai.allProgramsList.prerender(allProgramsList.java)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.prerender(ViewHandlerImpl.java:860)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:295)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.capricorn.ai.security.SecurityFilter.doFilter(SecurityFilter.java:60)
    [7/22/08 19:07:46:812 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:701)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:646)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
    [7/22/08 19:07:46:828 EDT] 0000001e SystemErr R Caused by: java.sql.SQLException: Internal Error in RowSetReader: no connection or command.
         at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:130)
    Is there difference between the way session is handled in TOMCAT and websphere 6.1?

  • Java.sql.SQLException: Internal Error while using oracle.sql.ARRAY.getArray

    Hello All,
    Here is the issue description. Our application uses Oracle Object Types and LIST. We deployed our application on QA environment which has Oracle 10g. Application runs fine...no issues. Now we moved to UAT. UAT environment is same as QA environment and DBA have created replica of QA database.
    Now WAR file which works fine with QA database , somehow doesnt work with UAT database. Application throws following exception when code tries to call getArray() on java.sql.Array.
    We tried to point UAT weblogic to QA database and it worked fine.....but when we point UAT weblogic to UAT database , we get following exception. So we know that this is a database issue.
    DBA claims that QA env database and UAT env database are same.
    Can anybody please tell me what wrong here? What setting is not done on UAT database which is done on QA?
    java.sql.SQLException: Internal Error at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227) at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:975) at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:1005) at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:96) at oracle.jdbc.oracore.OracleTypeADT.createStructDescriptor(OracleTypeADT.java:1958) at oracle.jdbc.oracore.OracleTypeADT.unpickle81(OracleTypeADT.java:1432) at oracle.jdbc.oracore.OracleTypeUPT.unpickle81UPT(OracleTypeUPT.java:426) at oracle.jdbc.oracore.OracleTypeUPT.unpickle81rec(OracleTypeUPT.java:383) at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody_elems(OracleTypeCOLLECTION.java:928) at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody(OracleTypeCOLLECTION.java:872) at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81(OracleTypeCOLLECTION.java:692) at oracle.jdbc.oracore.OracleTypeCOLLECTION._unlinearize(OracleTypeCOLLECTION.java:217) at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:189) at oracle.sql.ArrayDescriptor.toJavaArray(ArrayDescriptor.java:663) at oracle.sql.ARRAY.getArray(ARRAY.java:282) at weblogic.jdbc.wrapper.Array_oracle_sql_ARRAY.getArray(Unknown Source)
    Please help.

    425260 wrote:
    This can happen if you use the oracle.sql.ARRAY class with WebLogic.
    WebLogic wraps oracle.sql.ARRAY with its own class (i.e. weblogic.jdbc.wrapper.Array_oracle_sql_ARRAY). The easiest solution is to replace oracle.sql.ARRAY with the JDBC standard java.sql.Array.
    <PRE class=jive-pre><CODE class="jive-code jive-java">Object[] items = (Object[])array.getArray();
    <FONT color=navy><B>if</B></FONT> (items.length &gt; 0) <FONT color=navy>{</FONT>
    <FONT color=navy><B>for</B></FONT> (<FONT color=navy><B>int</B></FONT> i = 0; i &lt; items.length; i++) <FONT color=navy>{</FONT>
    Object arrayItem = items;
    <FONT color=navy>}</FONT>
    <FONT color=navy>}</FONT>
    </CODE></PRE>
    The <B>array</B> object is a java.sql.Array. Here no unwrapping of the WebLogic wrapper is needed.
    If you absolutely need the oracle.sql.ARRAY class than you must use an <B>unwrap</B> API on the WebLogic wrapper class.
    <PRE class=jive-pre><CODE class="jive-code jive-java"><FONT color=navy><B>if</B></FONT> (object <FONT color=navy><B>instanceof</B></FONT> weblogic.jdbc.wrapper.Array)
    array = (ARRAY) ( ((weblogic.jdbc.wrapper.Array)object).unwrap(Class.forName(<FONT color=red>"oracle.sql.ARRAY"</FONT>)) );
    <FONT color=navy><B>else</B></FONT>
    array = (ARRAY) object;
    </CODE></PRE>
    Here, <B>array</B> is an oracle.sql.ARRAY. Try to see if this <A class=bodylinkwhite href="http://www.software-to-convert.com/3gp-conversion-software/3gp-to-myspace-video-software.html"><FONT face=tahoma,verdana,sans-serif color=#000 size=1>helps</FONT></A>. Good luck.
    Thanks for your explanation! It's very valuable, It is exactly what I need, I understand this part.

  • Java.sql.SQLException: Internal Error

    hai all,
    Iam using Oracle 9i.I am getting error When i access the Oracle Type through Java.
    my Code is
    con = connectionFactory.getConnection();
    csmt = con.prepareCall("call PMS_PR_area_SIGN_CONTROL ( ?,?,?,?,?)");
    csmt.setInt(1, groupId);
    csmt.setString(2,startDate);
    csmt.setString(3,endDate);
    csmt.registerOutParameter(4,Types.ARRAY, "PMS_TY_TAB_SG_CNTRL");
    csmt.registerOutParameter(5,Types.VARCHAR);
    csmt.execute();
    oracle.sql.ARRAY.oracleARRAY = (oracle.sql.ARRAY.ARRAY)csmt.getArray(4);
    rs = oracleARRAY.getResultSet();
    while (rs.next())
    below line gives error
    oracle.sql.STRUCT STRUCT struct=(oracle.sql.STRUCT.STRUCT)rs.getObject(2);//getting error at this line
    Object[] resultObj = struct.getAttributes();
    Stack Trace is
    java.sql.SQLException: Internal Error
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:211)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:274)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:949)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:996)
    at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:91)
    at oracle.sql.TypeDescriptor.initSQLName(TypeDescriptor.java:128)
    at oracle.sql.TypeDescriptor.getName(TypeDescriptor.java:103)
    at oracle.sql.StructDescriptor.getClass(StructDescriptor.java:415)
    at oracle.sql.STRUCT.toJdbc(STRUCT.java:365)
    at oracle.jdbc.oracore.OracleTypeUPT.unpickle80rec(OracleTypeUPT.java:236)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle80rec_elems(OracleTypeCOLLECTION.java:553)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle80rec(OracleTypeCOLLECTION.java:383)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle80(OracleTypeCOLLECTION.java:329)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:218)
    at oracle.sql.ArrayDescriptor.toJavaArray(ArrayDescriptor.java:501)
    at oracle.sql.ARRAY.getArray(ARRAY.java:214)
    at it.sella.pms.dao.TimeSheetReportDAO.getSignControlByGroup(TimeSheetReportDAO.java:409)
    I am getting problem in Converting to STRUTS
    Can any one help me.

    This indicates that none of your datasources have been able to successfully connect to the database.
    Please check the connectivity to your database from the datasources.
    Also, you can login into the console and check if the connections are good, by doing test connection on the datasource.
    http://docs.oracle.com/cd/E21764_01/apirefs.1111/e13952/taskhelp/jdbc/jdbc_datasources/TestDataSources.html
    The error you get when you do test connection will help you to understand any connectivity issues.
    Arun

Maybe you are looking for

  • Creative Cloud doesn't include everything?

    Hi, I thought Creative Cloud was supposed to include all adobe services. So why doesn't it include SendNow, and Export/Create PDF when it includes Story Plus.. This confuses me, and kind of upset me as I thought it was supposed to be everything, and

  • I CAN NOT DO A RESTORE ON MY IPOD TOUCH 4G

    I CAN NOT DO A RESTORE ON MY IPOD TOUCH 4G

  • IPod Touch is not charging or recognized when plugged in

    Hi, Almost a year ago, I bought an iPod Touch 2nd gen 8gig. Everything has been working fine except for in the past month or two. First, the cable that came with my refurbished iPod stopped working; if I positioned my iPod in a very awkward position

  • [SOLVED] Loop Module refuses to load

    Pretty simple, I go to mount an image as a loopback device, mount exits with no error however the device isn't mounted. Realize loop module isn't loaded, and well... andrew@river ~ % sudo modprobe loop andrew@river ~ % lsmod | grep loop andrew@river

  • Essbase MDX Query Performance Problem

    Hello, I'm doing an analysis in OBIEE to Essbase cubes, but I don't know why OBIEE generates two MDX queries against Essbase. The first one returns in a reasonable time ( 5 minutos ) but the second one never returns. With set [_Year] as '[Year].Gener