Jdbc Error-urgent Pz

hai friends,
I know how to connect to database using JDBC-ODBC driver...
but my problem is how to connect to database using 2 way-native driver

Oh and I forgot: the solution for connecting to some of the popular DBMS in this forum can be found here:
http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A48&qt=connection+mysql&x=0&y=0
http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A48&qt=connection+oracle&x=0&y=0
http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A48&qt=connection+db2&x=0&y=0

Similar Messages

  • ERROR reports.reportdefinition : com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

    I have developed Java web application which uses Crystal Report 2013 , java 1.6 , Windows 32 bit System, All the reports are loading fine in the Following environment
    Development Environment
    Windows7 Professional Service pack 1 -32 bit
    Java - 1.6
    Internet Explorer 11
    Oracle Client 10g 32 bit ODBC driver
    Testing Environment
    Windows Server 2008 R2 Enterprise - 64 bit
    java 1.6
    Internet Explorer 9
    Oracle Client 11g 62 bit ODBC driver
    While loading reports in the 64 bit server the error occurs
    ERROR reports.reportdefinition :  com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
    ERROR dataengine.datasource : Failed to read next recurring database record: database row set error.
    com.crystaldecisions.reports.reportdefinition.datainterface.j: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at com.crystaldecisions.reports.reportdefinition.datainterface.q.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.m(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.l(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
        at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.ab(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.if(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.h(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.h(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.void(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.aE(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
        at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
        at com.erm.controller.ALMReportsController.queryDll(ALMReportsController.java:1681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
        at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.erm.authentication.HttpSecurityFilter.doFilter(HttpSecurityFilter.java:658)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.if(Unknown Source)
        at com.crystaldecisions.reports.queryengine.l.bN(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.eg(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.e(Unknown Source)
        at com.crystaldecisions.reports.queryengine.b2.f(Unknown Source)
        at com.crystaldecisions.reports.queryengine.b2.dy(Unknown Source)
        ... 89 more
    Caused by: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcResultSet.getBigDecimal(Unknown Source)

    A few things to note:
    1) Crystal Report 2013 doe snot install any SDK. Thus the assumption is that you are using CR from teh following link:
    SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
    2) Since you are using a 64 bit connection (Oracle Client 11g 62 bit ODBC driver) you will have to make sure you are using 64 bit JVM. Otherwise, follow Dell's advice and use a 32 bit ODBC datasource.
    3) On one test you are using Oracle Client 10g 32 bit ODBC driver and the other you are using Oracle Client 11g 64 bit ODBC driver. You might want to see if you can run your app using Client 11g 32 bit ODBC driver.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada

  • Sender JDBC Error

    Hi,
    i am using XI7.0, Sender JDBC error is below;
    when i test to connect to Oracle DB in using JAVA Code with ojdbc14.jar which was deployed into XI J2EE, i have no problem with insert update delete in using same code which was used in JDBC adapter in Configuration Time.
    but JDBC Adapter on XI(JDBC2JDBC) is not running as well.
    please look at the following and please guide.
    JDBC Driver : oracle.jdbc.driver.OracleDriver
    connection : jdbc:oracle:thin:@60.7.111.211:1577:AACC
    S_SSS_MMM_JDBC_MDMALL001CU Sender Adapter v1402 for Party '', Service 'SSS_BS01_TESTBS01_D':
    Configured at 12:29:23 2006-07-10
    Last message processing started 12:29:55 2006-07-10
    Error: Sending message '4299fec0-0fb4-11db-c508-000d604dde82' - failed with unexpected exception - proceed anyway: java.lang.ClassCastException: $Proxy222
    last retry interval started 12:29:55 2006-07-10
    length 10,000 secs
    does anyone know how to fix it?
    thanks
    venjamin

    Hi Venjamin,
    Just try the follwing,
    1. The Select Query in your Sender JDBC adapter. Try executing the same query on your DB client and check if it works fine and the data returned by it is of valid format?
    2. Is any of the datatype being returned a CLOB or BLOB?
    Regards,
    Bhavesh

  • Intermittent JDBC error in Enhanced Receiver Determination

    Hi,
    I have an interface that use Enhanced Receiver Determination in PI 7.1 EHP1.
    The database is DB2 on i5/os 6.1
    Sometimes message ends in error :Error when determining the receiver: Problem while determining receivers using interface mapping: Runtime exception occurred during application mapping com/sap/xi/tf/_HI01_to_ReceiverDetermination_;
    But the same message with same values is successfull earlier.
    This is not a design problem; the interface is working well 95% of the time.
    I found some JDBC error in NWA java logs:
    Error in sax handler parsing request: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.
    Error when calling an adapter by using the communication channel CC_RECEIVER_JDBC_PIDB2 (Party: *, Service: INTEGRATION_SERVER_PX1, Object ID: cb7ea38fb2ac3a06b12d79f5ade2bcf7) XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.'.
    Thrown:
    com.sap.aii.af.service.api.AFException: XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.'.
    at com.sap.aii.af.service.api.AdapterAccess.sendMsg(AdapterAccess.java:214)
    at com.sap.aii.af.service.api.AdapterAccess.execute(AdapterAccess.java:283)
    at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.execute(AdapterProxyLocal.java:119)
    at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.execute(SystemAccessorInternal.java:76)
    at com.sap.aii.mapping.lookup.DataBaseAccessor.execute(DataBaseAccessor.java:74)
    at com.sap.aii.mappingtool.flib7.SelectSingle.selectSingle(SelectSingle.java:54)
    at sun.reflect.GeneratedMethodAccessor607.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    Any idea? Can high volume cause the JDBC Receiver to fail?
    Martin

    hi,
    you r trying to impliment Lookup for the file adapter which is not synch in nature and hance u r not getting the responce back.
    please find the link which deals with how to impliment lookup for file adapter.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252blookup%252bin%252budf.
    now once u get rhe runtime receiver u can perform enhanced receiver determination (write a simple UDF)
    regards,
    navneet.

  • SQL Server 2000 Driver for JDBC - Error establishing sockets

    Hi there
    I am using Microsoft SQL Server 2000 Driver for JDBC to connect to SQL Sever 2000. It is just a test application to see if it would connect to the datacase successfully. But I got the following errors. I already set up the classpath and installed all SQL Server 2000 Driver for JDBC sp 3. Dont know why it still failed...can anyone help me out of this? Thanks.
    When i am using simple JDBC-ODBC bridge Driver it's working fine.
    For this Server Pack3 , i have checked every thing like--
    TCP / IP Poart is Enable.
    I am working in client machine, my MSSQLServer 2000 Placed in server Machine.
    when i am giving Telnet ServerIP 1433 it's giving following response.
    connecting to ServerIP ....... could not open connection to the host , on port 1433:connection Failed
    My Sample Code is :--
    String user="sa";
    String password="imcindia";
    Connection con1 = null;
    CallableStatement cstmt = null;
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    con1=DriverManager.getConnection("jdbc:microsoft:sqlserver://ServerName:1433;DatabaseName=dmo1o2d",user,password);
    Statement st=con1.createStatement();
    st.execute("use dm0102d");
    st.execute("setuser 'dm01012'");
    cstmt = con1.prepareCall("{?=Call dms_ex_create_folder('ABC','18753','NB21','u')}");
    cstmt.execute();
    Here are Error Code :
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection refused: connect
         at java.sql.DriverManager.getConnection(Unknown Source)
         at TestConnection1.main(TestConnection1.java:24)
    one can help me to over come this problm,
    Thanks in advance.
    venkat

    hey i also have this problem i have been looking for solution for this problem for along time i tried every possible solution i tried every service pack for the SQL but it didn't connect to the port!!!
    it's a network problem ur java code is correct dont worry about it.
    finally i had to install MySQL and it's work fine now but if u insist on usning SQL u have to use the JDBC-ODBC Bridge it will work by :
    first add data source database , follow these steps
    1- go to Administrative tools
    2-Data Sources(ODBC)
    3-System DNS tab and add then choose SQL SERVER the last option then finish
    4-write the name; Note: this name is the one that u will write in ur URL for example if u write Hello the URL will be "jdbc:odbc:Hello"
    5- choose the server, its recommended to write "." or (local)
    6-change the database to its an important step to choose the database that u want to use, choose northwind if u want to use it
    finish
    second
    adding this code:
    import java.sql.*;
    class JdbcTest1 { 
    public static void main (String[] args) { 
    try { 
    // Step 1: Load the JDBC driver.
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    // Step 2: Establish the connection to the database.
    String url = "jdbc:odbc:Hello";
    Connection conn = DriverManager.getConnection(url,"user1","password");
    } catch (Exception e) { 
    System.err.println("Got an exception! ");
    System.err.println(e.getMessage());
    it will work without any problems

  • JDBC error in PreparedStatement using TimesTen 6.0.3

    TimesTen supports this kind of sql statement
    select rows 3 to 5 * from products
    (it returns 2 rows started from row #3)
    I want to implement this in java thru JDBC
    PreparedStatement pstmt = con.prepareStatement(select rows ? to ? * from products);
    pstmt.setInt(1,3);
    pstmt.setInt(2,2);
    However, I got a JDBC error in the PreparedStatement line
    java.sql.SQLException: [TimesTen][TimesTen 6.0.3 ODBC Driver][TimesTen]TT1001: Syntax error in SQL statement before or at: "?", character position: 13 -- file "ptSqlY.y", lineno 1955, procedure "sbPtParseSql()"
    Anyone encounter this kind of error before? How to solve it?
    Thanks!
    Wellwin
    P.S. I am running this in Linux platform with JDBC driver come with TimesTen for java 1.4

    Hi Wellwin,
    Using SELECT ROWS m to n, you cannot parameterise m or n in order to provide them at execution time. They have to be explicitly stated as literals in the statement…
    If you need to use this with several different values for ‘m’ and ‘n’, there are a couple of options:
    1) Prepare (and subsequently execute) a different prepared statement for each combination of ‘m’ and ‘n’ that you need. This may be fine if there are only a small number of combinations but not a good choice if there are many combinations.
    2) Just use a regular SELECT (without the ROWS m TO n clause) and ‘skip’ the rows in the application code.
    Simon

  • IDOC to JDBC :Error using JDBC

    Hi Frnds,
    My scenario is Idoc to JDBC scenario, I am getting the follwoing error while trying to process an idoc. Please help me in hadling this error.
    Error Message:
    JDBC message processing failed; reason Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://180.1.32.194:1433;DatabaseName=CZZ03;': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    Regards,
    Shiv

    Hello Shiva,
    Are you installed  JDBC Drivers?
    Go through this links,
    /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Please check the driver path as mentioned below.
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
    No JDBC driver required.
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    follow this thread
    Re: Problem when connecting to MS Access through JDBC Adapter.
    SAP Note 850116 has details
    Thanks,
    Satya Kumar
    Reward if it is usefulll

  • NEED HELP: JDBC ERROR

    I get this error when I try to connect my applet through JDBC:
    Error null: Unexpected Packet. Type = 0
    I have punch a hole on my firewall to allow my jdbc thin to hit
    directly to oracle database.
    If you have an answer for my problem, please email me at
    [email protected]
    Thanks a bunch,
    -ed-
    null

    Hi ,
    Use following String
    http://<Hostname>:<PortNo>/ftpjdbc
    This can be used to check whether FTP and JDBC Drivers are properly deployed and connection can be done or not.
    Select JDBC . Then   :
    Driver Class (fully qualified)  : com.microsoft.sqlserver.jdbc.SQLServerDriver
    JDBC URL : jdbc:sqlserver://255.255.255.255:8888;databasename=Dummy
    USERNAME : DUMMY
    PASSWORD : DUMMY
    and enter valid values and then press connect
    Then In response you will see connection will be established and then closed , any else response means there is some problem...
    Regards
    Prabhat Sharma.

  • Development backup error (urgent)

    Dear All,
    I m having problem while taking development backup.log file is attached.plz advice me hoe to resolve this issue.
    Detail log: bdxxiprp.ant
    BR0051I BRBACKUP 7.00 (13)
    BR0189W Expiration period equal 0 - backup volumes could be immediately overwritten
    BR0055I Start of database backup: bdxxiprp.ant 2008-05-13 17.40.29
    BR0477I Oracle pfile E:\oracle\MRD\102\database\initMRD.ora created from spfile E:\oracle\MRD\102\database\spfileMRD.ora
    BR0280I BRBACKUP time stamp: 2008-05-13 17.40.32
    BR0319I Control file copy created: G:\oracle\MRD\sapbackup\CNTRLMRD.DBF 24461312
    BR0328E Database file Q:\SAPDATA1\SR3_1\SR3.DATA1 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file Q:\SAPDATA1\SR3_2\SR3.DATA2 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file Q:\SAPDATA1\SR3_3\SR3.DATA3 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file Q:\SAPDATA1\SR3_4\SR3.DATA4 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file G:\ORACLE\MRD\SAPDATA1\SR3_5\SR3.DATA5 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file H:\ORACLE\MRD\SAPDATA2\SR3_6\SR3.DATA6 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file H:\ORACLE\MRD\SAPDATA2\SR3_7\SR3.DATA7 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file H:\ORACLE\MRD\SAPDATA2\SR3_8\SR3.DATA8 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file H:\ORACLE\MRD\SAPDATA2\SR3_9\SR3.DATA9 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file H:\ORACLE\MRD\SAPDATA2\SR3_10\SR3.DATA10 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file I:\ORACLE\MRD\SAPDATA3\SR3_11\SR3.DATA11 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file I:\ORACLE\MRD\SAPDATA3\SR3_12\SR3.DATA12 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file I:\ORACLE\MRD\SAPDATA3\SR3_13\SR3.DATA13 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file I:\ORACLE\MRD\SAPDATA3\SR3_14\SR3.DATA14 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file I:\ORACLE\MRD\SAPDATA3\SR3_15\SR3.DATA15 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file J:\ORACLE\MRD\SAPDATA4\SR3_16\SR3.DATA16 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file J:\ORACLE\MRD\SAPDATA4\SR3_17\SR3.DATA17 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file J:\ORACLE\MRD\SAPDATA4\SR3_18\SR3.DATA18 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file J:\ORACLE\MRD\SAPDATA4\SR3_19\SR3.DATA19 of tablespace PSAPSR3 is already in backup status
    BR0328E Database file J:\ORACLE\MRD\SAPDATA4\SR3_20\SR3.DATA20 of tablespace PSAPSR3 is already in backup status
    BR0056I End of database backup: bdxxiprp.ant 2008-05-13 17.40.35
    BR0280I BRBACKUP time stamp: 2008-05-13 17.40.35
    BR0054I BRBACKUP terminated with errors
    (URGENT.......) .
    Note : If i restart my server will it kill the process and then i again can take the backup...Plz advice
    Regard's

    Basically for some reason your DB is in backup state.
    You need to find which tablespaces are in status backup and then execute command:
    alter tablespace <tablespace_name> end backup;
    That should fix the problem
    Regards
    Juan

  • JDBC receiver error urgent

    Hello Friends,
    I am using file to JDBC scenario.
    i am getting following errors in the JDBC receiver though i have set all the parameters correctly.
    the same scenario is working when i used XI server but it is giving errors when i am connecting to remote server.
    i used sun.jdbc.odbc.JdbcOdbcDriver driver for the same.
    Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//bomwsap020/sugeet/AIP/DATABASE/Flight.mdb': SQLException: [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'.  It is already opened exclusively by another user, or you need permission to view its data.
    Please help on this.
    thanks in advance.
    Best Regards,
    Sugeet.

    hi Sugeet
    first check whether your user has the right to access Data base
    Then check whether you have deployed the drivers correctly
    You have to deploy the required JDBC drivers for the database before making connection. Ask the database provider or your vendor for the drivers That should be deployed using SDM tool
    Start visual admin of XI and select service "Deploy" and then select option "Deploy and start" to select file and deploy it
    Three option available:
    1. Using SDM
    2. Using Visual Admin
    3. Using NW development studio (Not available for Production)
    We will use Visual Admin u201CDeployu201D deploy service to deploy
    Steps:
    1. Goto VM->Deploy service
    2. Select option u201CDeploy and startu201D
    3. Select EAR file provided for deployment
    4. Restart the service.
    5. Done
    follow this guide on how to install external libs for JMS/JDBC
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.doc
    regards
    Sandeep
    If helpful reward points

  • Very urgent !!!!!!!! Jdbc error  mysql error

    hii
    i am not been able to connected to d/b ,i am using mySQL..
    so plz tell me the soln.i have downloaded the connector j and set the class path..now tell me how to connect the d/b..also tell me how to that we r connectd to the database ,if possible send me the whole code..it will veru good help...
    thanks...
    take care.
    Rahul

    Hii essube
    i am u code for all my classes
    1.Database class(just does the Connection to D/B)
    2.LanguageFunctions class(class which does the Proccessing)
    3.LanguageDetailsServlet class(Servlet)
    1.Databaseclass
    package Langpack;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.net.URL;
    public class Databaseclass
    Databaseclass objDatabaseclass=new Databaseclass();
    Connection con=null;
    public Databaseclass()
    System.out.println("Me inside the Database Class");
    protected Connection openConnection()
    // Init the properties
    Properties moConnectionProperties = new Properties();
    moConnectionProperties.put("host", "localhost");
    moConnectionProperties.put("port", "3306");
    moConnectionProperties.put("database", "BAEKO");
    moConnectionProperties.put("driver", "com.mysql.jdbc.Driver");
         moConnectionProperties.put("user", "root");
         moConnectionProperties.put("password", "password");
    // load the driver
    try {
    Class.forName("com.mysql.jdbc.Driver");
    //Class.forName("org.gjt.mm.mysql.Driver");
    catch (Exception ex)
    System.err.println("driver Class not found\n" + ex);
    System.exit(-1);
    // connect to database
    try {
    String mSURL = "jdbc:mysql://" + moConnectionProperties.get("host") + ":" +
    moConnectionProperties.get("3306") + "/" + moConnectionProperties.get("BAEKO");
    con = DriverManager.getConnection(mSURL, moConnectionProperties);
    catch (Exception ex)
         System.err.println("can't connect database\n" + ex);
         System.exit(-1);
         return con;
         public void closeConnection()
         try{
              con.close();
         catch(Exception e){;}
    2.LanguageFunctions Class
    package Langpack;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class LanguageFunctions extends Databaseclass
    public LanguageFunctions()
         super();
    LanguageDetails getDetails(String X)
         LanguageDetails objLanguageDetails=null;
         try
         Statement st=con.createStatement();
         ResultSet result=st.executeQuery("Select languageName From LanguageMast Where           languageNo='"+ X +"';");
              objLanguageDetails=new LanguageDetails();
    objLanguageDetails.languageName=result.getString ("languageName");
    objLanguageDetails.languageNo=result.getString("languageNo");
    catch(Exception e)
    return objLanguageDetails;
    LanguageDetails getAllDetails()
    int i=0;
    LanguageDetails vArray[]=null;
    LanguageDetails objLanguageDetails=null;
    try
    Statement st=con.createStatement();
    ResultSet result=st.executeQuery("Select * From LanguageMast;");
    while(result.next())
    objLanguageDetails=new LanguageDetails();          
    objLanguageDetails.languageName=result.getString("languageName");
    objLanguageDetails.languageNo=result.getString("languageNo");
    vArray=objLanguageDetails;
    i++;          
    objLanguageDetails=null;
    catch(Exception e){;}
    return objLanguageDetails;
    boolean saveDetails(Vector X)
    LanguageDetails objLanguageDetails=null;
    Vector objVector=null;
    objVector=X;     
    String vlanguageName;
    String vlanguageNo;
    try
    Statement st=con.createStatement();
    objLanguageDetails=new LanguageDetails();
    objLanguageDetails=(LanguageDetails)objVector.elementAt(0);
    vlanguageName=objLanguageDetails.languageName;
    vlanguageNo=objLanguageDetails.languageNo;
    ResultSet rls=st.executeQuery("SELECT * FROM LanguageMast WHERE languageNo='"+ vlanguageNo +"'");
    if (rls.getRow()==0)
    rls.moveToInsertRow();
    rls.updateString(vlanguageName,"languageName");
    rls.updateString(vlanguageNo,"languageNo");
    rls.insertRow();
    else
    rls.updateString(vlanguageName,"languageName");
    rls.updateRow();     
    return false;               
    catch(Exception e)
    return true;          
    3.LanguageDetailsServlet class
    package Langpack;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.util.*;
    public class LanguageDetailsServlet extends HttpServlet
    public String vlanguageNo;
    public String vlanguageName;
    PrintWriter pw;
    public void service(HttpServletRequest req, HttpServletResponse res)
    LanguageFunctions objLanguageFunctions=null;     
    LanguageDetails objLanguageDetails=null;
    Vector vect=new Vector();
    try
    vlanguageNo=req.getParameter("txtLanguageNo");
    vlanguageName=req.getParameter("txtLanguageName");     
    objLanguageDetails=new LanguageDetails();
    pw=res.getWriter();
    res.setContentType("text/html");
    pw.println("<html><body>"+vlanguageNo+"</body></html>");
    pw.println("<html><body>"+vlanguageName+"</body></html>");
    objLanguageDetails.setNo(vlanguageNo);
    objLanguageDetails.setName(vlanguageName);
    vect.addElement(objLanguageDetails);
    objLanguageFunctions=new LanguageFunctions();
    objLanguageFunctions.saveDetails(vect);
    catch(Exception e)
    pw.close();
    guys this is code and i am getting error after cliking th submit button on my wepage as:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.StackOverflowError
    Apache Tomcat/4.1.24
    now tell me the soln of this..i am really fed up of this..plz help me
    also tell me hw to check the connection is done or not...thanks
    waiting for ur suggetions
    Take Care
    Rahul.

  • R2_AQ_JMS MDB deployment Error--Urgent, please help!!

    Deploy a simple MDB to Oracle9iASR2, follow the steps:
    1. Define the MDB in ejb-jar.xml
    <message-driven>
    <description>MDB Queue Listener</description>
    <display-name>QueueListener Message Driven Bean</display-name>
    <ejb-name>QueueListenerMDB</ejb-name>
    <ejb-class>mdb.QueueListenerMDB</ejb-class>
    <transaction-type>Container</transaction-type>
    <message-driven-destination>
    <jms-destination-type>javax.jms.Topic</jms-destination-type>
    </message-driven-destination>
    </message-driven>
    2. Modify the orion-ejb-jar.xml
    <message-driven-deployment
    name="QueueListenerMDB"
    destination-location="jms/SalesTopic"
    connection-factory-location="jms/theTopicConnectionFactory"
    subscription-name="MDBSUB"
    >
    </message-driven-deployment>
    3. define the resource-provider in application.xml
    <resource-provider class="oracle.jms.OjmsContext" name="SalesJMS">
    <description> OJMS/AQ </description>
    <property name="url" value="jdbc:oracle:thin:@dell2400:1521:mydb"></property>
    <property name="username" value="user"></property>
    <property name="password" value="pssword"></property>
    </resource-provider>
    4. Deploy the ear file and got the following error:
    java.lang.NullPointerException
    at com.evermind.server.ejb.MessageDrivenHome.<init>(MessageDrivenHome.java:280)
    at com.evermind.server.ejb.EJBPackageDeployment.bindHomes(EJBPackageDeployment.java:239
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:589)
    at com.evermind.server.Application.postInit(Application.java:420)
    at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplic
    ationInstallation.java:491)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:80)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Any idea on what's the cause of this. It seems that the Oracle 9i's support of MDB differs significantly from R1. The demo sample that works for R1 no longer work for R2. For example, the following DD doesn't seem to work with R2.
    <resource-ref>
    <res-ref-name>jms/Queue/senderQueueConnectionFactory</res-ref-name>
    <res-type>javax.jms.QueueConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms/Queue/senderQueue</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    <resource-ref>
    <res-ref-name>jms/Topic/senderTopicConnectionFactory</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    Please help!! This is very urgent! Thanks in advance!

    <jms-destination_type> tag should be <destination-type> its a oracle error

  • R2_AQ_JMS deployment Error--Urgent, please help!!

    Deploy a simple MDB to Oracle9iASR2, follow the steps:
    1. Define the MDB in ejb-jar.xml
         <message-driven>
              <description>MDB Queue Listener</description>
              <display-name>QueueListener Message Driven Bean</display-name>
              <ejb-name>QueueListenerMDB</ejb-name>
              <ejb-class>mdb.QueueListenerMDB</ejb-class>
              <transaction-type>Container</transaction-type>
         <message-driven-destination>
         <jms-destination-type>javax.jms.Topic</jms-destination-type>     
         </message-driven-destination>          
         </message-driven>     
    2. Modify the orion-ejb-jar.xml
    <message-driven-deployment
    name="QueueListenerMDB"
    destination-location="jms/SalesTopic"
    connection-factory-location="jms/theTopicConnectionFactory"
    subscription-name="MDBSUB"
    >
    </message-driven-deployment>
    3. define the resource-provider in application.xml
    <resource-provider class="oracle.jms.OjmsContext" name="SalesJMS">
    <description> OJMS/AQ </description>
         <property name="url" value="jdbc:oracle:thin:@dell2400:1521:mydb"></property>
         <property name="username" value="user"></property>
         <property name="password" value="pssword"></property>
    </resource-provider>
    4. Deploy the ear file and got the following error:
    java.lang.NullPointerException
    at com.evermind.server.ejb.MessageDrivenHome.<init>(MessageDrivenHome.java:280)
    at com.evermind.server.ejb.EJBPackageDeployment.bindHomes(EJBPackageDeployment.java:239
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:589)
    at com.evermind.server.Application.postInit(Application.java:420)
    at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplic
    ationInstallation.java:491)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:80)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Any idea on what's the cause of this. It seems that the Oracle 9i's support of MDB differs significantly from R1. The demo sample that works for R1 no longer work for R2. For example, the following DD doesn't seem to work with R2.
    <resource-ref>
    <res-ref-name>jms/Queue/senderQueueConnectionFactory</res-ref-name>
    <res-type>javax.jms.QueueConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms/Queue/senderQueue</resource-env-ref-name>
    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
    </resource-env-ref>
    <resource-ref>
    <res-ref-name>jms/Topic/senderTopicConnectionFactory</res-ref-name>
    <res-type>javax.jms.TopicConnectionFactory</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    Please help!! This is very urgent! Thanks in advance!

    Chunming -- There was a change from v1022x to v902. This was required per the changes in the EJB specification as it was finalized. The tag <jms-destination-type> was changed to <destination-type>. If you make this change in your ejb-jar.xml that should work.
    Thanks -- Jeff

  • JDBC driver-urgent!

    am trying to connect using JDBC using the foll line:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    am getting runtime excep: classnot found
    I ve added the directoties of foll files to classpath
    classes.jar,classes111.zip files.
    is there anything esle to be added?
    But still am getting the error.
    THIS IS V V V urgent..pls

    Hi buddies..thank u so much for the suggestions.
    Actually the DBA hadnt given the rights to set my classpath. thats the reason for the syntax error at the command promt when i sd set classpath. Then Mine is java 1.2 anyways i added the foelder that contains both 12 & 111.zip.
    just have a doubt:
    thomas, in the below whats the -cp for?
    java -cp classes111.zip;myprogram.jar <mainclass>
    is the command for setting tha classpath??? cos i usually do: set classpath=.;<other dir>
    i think the . is to say append to already existing files. pls anyone correct me if am wrong. And whats the diff bet. that and
    set classpath=%classpath%;<other dir>

  • JDBC error

    I have been getting this error in my Jdeveloper App.
    ORA-01000 : maximum open cursors exceeded.
    We have open cursors set at 220. I am using straight JDBC thin
    to call the database (8.1.5) and have been closing ResultSets
    the best I can. It happens after I use the app for a little bit.
    Any suggestions on what is causing this.
    PS
    This is a test database and I am the only one on it.
    Thanks
    Greg
    null

    Greg (guest) wrote:
    : I have been getting this error in my Jdeveloper App.
    : ORA-01000 : maximum open cursors exceeded.
    : We have open cursors set at 220. I am using straight JDBC thin
    : to call the database (8.1.5) and have been closing ResultSets
    : the best I can. It happens after I use the app for a little
    bit.
    : Any suggestions on what is causing this.
    : PS
    : This is a test database and I am the only one on it.
    : Thanks
    : Greg
    Greg - make sure that your statement object is being closed too.
    I had a similar occurance that was pretty frustrating. Then I
    realize the my statement object was being reused, and this
    wasn't good. I forced the object to close after each db action,
    and upon reuse all was fine.
    Good luck -
    RP
    null

Maybe you are looking for

  • How do I use two devices on one computer?

    My son has a Nano, I have an iPod. Both Xmas gifts. We have different music likes (duh) so we don't want one big library feeding both devices. How do we get his music on his Nano and my music on my iPod?

  • Unable to buy iPhoto book...need it for christmas!

    I have been trying to buy my photo book as a christmas present.  First order went through and got cancelled without me doing anything and the apple store saying they couldn't see the problem then my second order wont go through as they said it failed

  • Counter in FPGA - reset

    Hello, I have in problem in LV FPGA. Basically, one singe cycle timed loop detects positive and negative edges of 2 digital signals and counts them. A second loop runs at (let's say) 1kHz and acquires analog data. Every X times I get analog data, I w

  • Accessing Array of Structures from Coldfusion

    I am having a problem accessing an array of structures from Coldfusion within my flex application. Here is how I make my Array: (GetRegions is a type Query and Type is a string variable) <cfset ReturnArray = ArrayNew(1)> <cfset ReturnArray[1] = Struc

  • Appraisal in EP

    We have implemented EP ESS and MSS and it's working fine. Now we r working in Appraisals. I hav few Q's . 1. In one of the forum,i found there is no BSP Appraisal service available for ESS.It suggests to Copy HAP_DOCUMENT_PA ( BSP Appl for MSS) and d