JDBC Driver error

Hello,
I've downloaded MySQL Connector/J 3.0 zip file for the windows box.when I unzipped, had a directory, mysql-connector-java-3.0.10-stable and inside it I had this mysql-connector-java-3.0.10-stable-bin.jar file.I copied this file to j2sdk1.4.1_02/jre/lib/ext and when i try to run the following program, it throws me with error.Any ideas???
Thanks in advance.
public class test {
public static void main(String[] args) {
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
System.out.println("Good to go");
} catch (Exception E) {
System.out.println("JDBC Driver error");

I'm guessing it can't find the class, although your code doesn't print any details of the exception. Run a program containing this line of code:System.out.println(System.getProperties().getProperty("java.ext.dirs"));That will tell you where you need to put the jar file.

Similar Messages

  • [BEA][SQLServer JDBC Driver]Error

    hi
    i am veeresh.s, in 1 of our user this below error has came,i am a fresher, i don't know how to resolve it, please any body help me in resolving this error
    user gets the following error message when the user try to create a connection pool to connect user weblogic server to oracle server.
    Error:
    [BEA][SQLServer JDBC Driver]Error establishing socket to host and port: dt2888-swaminat:1433. Reason: Connection refused: connect
    The Network Adapter could not establish the connection
    user is unable to telnet to that machine. user suspect that it to be some driver issue.
    So what may be the problem,
    please look into the problem and Kindly help me in resolving this issue.

    This appears to be a duplicate thread. I posted a reply in the other forum
    Re: [BEA][SQLServer JDBC Driver]Error
    Justin

  • More precise JDBC driver error messages?

    Hi,
    is there a way to tell the Oracle JDBC driver (9.0.2.3) to provide more detailed error messages in an SQLException message string when a table cannot be found? The usual message "Table or view does not exist" does not provide information on the actual table or view that was missing. I would like the table or view name to be included in the message provided by the SQLException.
    (In general I would appreciate more detailed error information in the Oracle JDBC driver exception messages.)
    Best regards Uwe

    perhaps this might help:
    * Get error message of an SQLException with the following form:
    * <p>
    * <code>Code=&lt;Vendor-specific error code&gt;:'&lt;error message&gt;':SQLState=&lt;SQLState&gt;</code>
    * <code>
    * Note: SQLState "S1000" is returned for general errors or if driver does not support SQLState.
    * @param sqlException SQLException to create error code from.
    * @return Specific error message or null if <i>sqlException</i> not available.
    public static String toString(SQLException sqlException) {
    String result = null;
    if (sqlException != null) {
    StringBuffer sb = new StringBuffer();
    while (sqlException != null) {
    sb.append("RDBMS Vendor Code ");
    sb.append(sqlException.getErrorCode());
    sb.append(": \"");
    sb.append(sqlException.getMessage());
    sb.append("\" : SQLState=");
    sb.append(sqlException.getSQLState());
    sqlException = sqlException.getNextException();
    result = sb.toString();
    }//else: input unavailable
    return result;
    }//toString()
         * Get string representation of a SQLWarning.
         * @param sqlWarning
         * @return Specific error message or null if <i>sqlWarning</i> not available.
         public static String toString(SQLWarning sqlWarning) {
    String result = null;
    if (sqlWarning != null) {
    StringBuffer sb = new StringBuffer();
    while (sqlWarning != null) {
    sb.append("errorCode=");
    sb.append(sqlWarning.getErrorCode());
    sb.append(", SQLState=");
    sb.append(sqlWarning.getSQLState());
    sb.append(",message=");
    sb.append(sqlWarning.getMessage());
    sb.append(",cause=");
    sb.append(sqlWarning.getCause());
    sb.append(";");
    sqlWarning = sqlWarning.getNextWarning();
    }//next subsequent warning
    }//else: input unavailable
    return result;
    }//toString()

  • Unable to create : com.mysql.jdbc.Driver error with JDeveloper 10.1.3

    Hi all,
    I got this error when I tried to execute a simple JSF app. I am using JDeveloper 10.1.3 release edition. Please advice
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
    C:\JDeveloper10g\jdk\bin\javaw.exe -ojvm -classpath C:\JDeveloper10g\j2ee\home\oc4j.jar;C:\JDeveloper10g\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    2006-01-31 21:40:47.062 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war...
    2006-01-31 21:40:47.093 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms
    2006-01-31 21:40:47.093 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war
    2006-01-31 21:40:47.156 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar...
    2006-01-31 21:40:47.156 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources
    2006-01-31 21:40:47.171 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar
    2006-01-31 21:40:47.218 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear...
    2006-01-31 21:40:47.281 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j
    2006-01-31 21:40:47.359 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear
    2006-01-31 21:40:47.375 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war...
    2006-01-31 21:40:47.375 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp
    2006-01-31 21:40:59.296 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war
    2006-01-31 21:41:08.421 WARNING J2EE OJR0107 Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    06/01/31 21:41:08 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Jan 31, 2006 9:41:08 PM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    06/01/31 21:41:08 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
         at com.evermind.server.Application.setConfig(Application.java:391)
         at com.evermind.server.Application.setConfig(Application.java:309)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.mysql.jdbc.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDeveloper10g/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDeveloper10g\j2ee\home\oc4j.jar
    This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
         ... 15 more
    Jan 31, 2006 9:41:08 PM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
         at com.evermind.server.Application.setConfig(Application.java:391)
         at com.evermind.server.Application.setConfig(Application.java:309)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.mysql.jdbc.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDeveloper10g/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDeveloper10g\j2ee\home\oc4j.jar
    This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
         ... 15 more
    06/01/31 21:41:08 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Jan 31, 2006 9:41:08 PM com.evermind.server.Application setConfig
    WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    2006-01-31 21:41:08.531 WARNING J2EE 0JR0013 Exception initializing deployed application: current-workspace-app. Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 29125 ms.

    I did what Manu suggested with no success. Alternatively, I registered the driver jar with embedded OC4J preferences > global > libraries. Still does not work. Please, note, that when I run JUnit tests against my BC4J application modules with JDBC URL as connection type, everything works just fine. The problem comes while running the JSF application when the application module is using JDBC DataSource as connection type.

  • Oracle.jdbc.driver error using jdk1.2.2 on Win 2k

    Im trying to run a jsp page that is dependent on an oricle database. However whenever I try to connect to the database over a thin line client I always get a java.lang.ClassNotFoundException error. I've gone over the path and classpath serveral time, and can't get it to work.
    classpath =
    C:\jdk1.2.2\lib\tools.jar;C:\Program Files\Tomcat4.0\common\lib\servlet.jar;C:\ORANT\jdbc\lib\classes102.zip;
    C:\ORANT\jdbc\lib\classes111.zip;C:\jdk1.2.2\bin\java.exe;
    C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2\lib\dt.jar;
    path =
    C:\WINNT\system32;C:\WINNT\system32;C:\jdk1.2.2\bin\java.exe;C:\ORANT\jdbc\lib;
    If anyone knows how to fix this problem Id appreciate it.

    it doesn't say, it just gives me this error message.
    javax.servlet.ServletException: oracle.jdbc.driver.OracleDriver
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
         at org.apache.jsp.index$jsp._jspService(index$jsp.java:105)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java, Compiled Code)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java, Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java, Compiled Code)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java, Compiled Code)
         at java.lang.Thread.run(Thread.java:472)
    root cause
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java, Compiled Code)
         at java.lang.Exception.(Exception.java, Compiled Code)
         at java.lang.ClassNotFoundException.(ClassNotFoundException.java, Compiled Code)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java, Compiled Code)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java, Compiled Code)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java, Compiled Code)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java, Compiled Code)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java, Compiled Code)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java, Compiled Code)
         at org.apache.jsp.index$jsp._jspService(index$jsp.java:87)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java, Compiled Code)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java, Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java, Compiled Code)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java, Compiled Code)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java, Compiled Code)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java, Compiled Code)
         at java.lang.Thread.run(Thread.java:472)

  • Oracle jdbc driver error: oracle.jdbc.driver.T4C8Oall.getNumRows

    Dear All,
    I encounter this error in my application when I call storedprocedure with spring helper class: StoredProcedure
    and my env is as follow:
    spring 2.5.6
    oracle 10g
    oracle jdbc driver:10.2.0.1
    websphere portal 5.1
    this error is occur from time to time randomly, when it happens, the only workaround is to restart the portal server..Does anyone have any idea about this error?
    ERROR [Thread-Servlet.Engine.Transports : 6] 2010-04-02 03:08:02,063 AuditReportSupportManagerImpl.getAuditReportLink(24) | java.lang.NullPointerException
    at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java(Compiled Code))
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:975)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3370)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3476)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4400)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecute(WSJdbcPreparedStatement.java:617)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.execute(WSJdbcPreparedStatement.java:401)
    at org.springframework.jdbc.core.JdbcTemplate$5.doInCallableStatement(JdbcTemplate.java:987)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:936)
    at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java(Compiled Code))
    at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:117)
    at com.hsbc.gbm.grt.raven.gui.procedure.BaseStoredProcedure.getSourceMap(BaseStoredProcedure.java:181)
    at com.hsbc.gbm.grt.raven.gui.common.dao.impl.AuditReportSupportDaoImpl.getAuditReportLink(AuditReportSupportDaoImpl.java:21)
    at sun.reflect.GeneratedMethodAccessor686.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
    at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code))
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code))
    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java(Compiled Code))
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled Code))
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy114.getAuditReportLink(Unknown Source)
    at com.hsbc.gbm.grt.raven.gui.common.service.impl.AuditReportSupportManagerImpl.getAuditReportLink(AuditReportSupportManagerImpl.java:21)
    at com.hsbc.gbm.grt.raven.gui.common.util.Util.auditReportLinkHelper(Util.java:711)
    at com.hsbc.gbm.grt.raven.gui.collateral.web.EligColatMapSumRespPro.doProcess(EligColatMapSumRespPro.java:50)
    at com.hsbc.esf.requestprocessing.impl.ResponseProcessor.process(ResponseProcessor.java:42)
    at com.hsbc.esf.requestprocessing.eventmapping.impl.ProcessorEventMappingAction.execute(ProcessorEventMappingAction.java:99)
    at com.hsbc.esf.requestprocessing.portlet.eventmapping.PortletSuspendEventMappingAction.execute(PortletSuspendEventMappingAction.java:147)
    at com.hsbc.esf.requestprocessing.eventmapping.impl.DefaultEventMapping.process(DefaultEventMapping.java:213)
    at com.hsbc.esf.requestprocessing.flow.eventmapping.FlowEventMappingHandler.doProcess(FlowEventMappingHandler.java:117)
    at com.hsbc.esf.requestprocessing.flow.eventmapping.FlowEventMappingHandler.process(FlowEventMappingHandler.java:70)
    at com.hsbc.esf.jsf.requestprocessing.lifecycle.portlet.impl.AbstractLifecycle.render(AbstractLifecycle.java:166)
    at com.hsbc.esf.jsf.requestprocessing.eventmapping.portlet.AbstractJSFEventMappingHandler.processRender(AbstractJSFEventMappingHandler.java:315)
    at com.hsbc.esf.jsf.requestprocessing.eventmapping.portlet.AbstractJSFEventMappingHandler.process(AbstractJSFEventMappingHandler.java:283)
    at com.hsbc.esf.requestprocessing.eventmapping.impl.ProcessorInvokerInterceptor.preProcess(ProcessorInvokerInterceptor.java:54)
    at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:45)
    at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:47)
    at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:47)
    at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:47)
    at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:47)
    at com.hsbc.esf.requestprocessing.impl.AbstractInterceptor.process(AbstractInterceptor.java:47)
    at com.hsbc.esf.requestprocessing.impl.InterceptorChain.process(InterceptorChain.java:54)
    at com.hsbc.esf.requestprocessing.portlet.impl.PortletFrontController.processRenderRequest(PortletFrontController.java:213)
    at com.hsbc.esf.requestprocessing.portlet.impl.PortletFrontController.doRenderService(PortletFrontController.java:121)
    at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483)
    at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.render(PortletFilterChainImpl.java:144)
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:131)
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doPost(PortletServlet.java:76)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:256)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:204)
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:97)
    at com.ibm.wps.pe.pc.std.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:110)
    at com.ibm.wps.pe.pc.PortletContainerImpl.doRenderPortlet(PortletContainerImpl.java:545)
    at com.ibm.wps.pe.ext.render.AbstractRenderManager.performService(AbstractRenderManager.java:251)
    at com.ibm.wps.pe.pc.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:100)
    at com.ibm.wps.engine.tags.PortletRenderTag.doStartTag(PortletRenderTag.java:155)
    at org.apache.jsp._Control._jspService(_Control.java:1933)
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Inlined Compiled Code))
    at com.ibm.wps.engine.templates.skins.Default.render(Default.java(Compiled Code))
    at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java(Compiled Code))
    at com.ibm.wps.composition.elements.Component.render(Component.java(Compiled Code))
    at com.ibm.wps.composition.elements.Control.render(Control.java:182)
    at com.ibm.wps.composition.Composition.render(Composition.java(Compiled Code))
    at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java(Compiled Code))
    at com.ibm.wps.model.ModelUtil$WrappedCompositionModel.render(ModelUtil.java:832)
    at org.apache.jsp._UnlayeredContainer_2D_V._jspService(_UnlayeredContainer_2D_V.java:107)
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Inlined Compiled Code))
    at com.ibm.wps.engine.templates.skins.Default.render(Default.java(Compiled Code))
    at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java(Compiled Code))
    at com.ibm.wps.composition.elements.Component.render(Component.java(Compiled Code))
    at com.ibm.wps.composition.Composition.render(Composition.java(Compiled Code))
    at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java(Compiled Code))
    at com.ibm.wps.model.ModelUtil$WrappedCompositionModel.render(ModelUtil.java:832)
    at org.apache.jsp._UnlayeredContainer_2D_H._jspService(_UnlayeredContainer_2D_H.java:123)
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Inlined Compiled Code))
    at com.ibm.wps.engine.templates.skins.Default.render(Default.java(Compiled Code))
    at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java(Compiled Code))
    at com.ibm.wps.composition.elements.Component.render(Component.java(Compiled Code))
    at com.ibm.wps.composition.Composition.render(Composition.java(Compiled Code))
    at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java(Compiled Code))
    at com.ibm.wps.engine.tags2.PageRenderTag.doStartTag(PageRenderTag.java:397)
    at org.apache.jsp._Home._jspService(_Home.java:135)
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Compiled Code))
    at com.ibm.wps.engine.templates.screens.Default.render(Default.java:91)
    at com.ibm.wps.engine.templates.ScreenTemplate.render(ScreenTemplate.java:61)
    at com.ibm.wps.engine.tags2.ScreenRenderTag.doStartTag(ScreenRenderTag.java:89)
    at org.apache.jsp._Default._jspService(_Default.java:8805)
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java(Inlined Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java(Compiled Code))
    at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java(Compiled Code))
    at com.ibm.wps.engine.templates.themes.Default.render(Default.java:103)
    at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:67)
    at com.ibm.wps.engine.phases.WPRenderPhase.processRendering(WPRenderPhase.java:312)
    at com.ibm.wps.engine.phases.WPRenderPhase.execute(WPRenderPhase.java:135)
    at com.ibm.wps.state.phases.AbstractRenderPhase.next(AbstractRenderPhase.java:106)
    at com.ibm.wps.engine.phases.WPAbstractRenderPhase.next(WPAbstractRenderPhase.java:93)
    at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:713)

    no one can help?

  • JDBC Driver error when working in command prompt.

    I have a swing program that connects to MySql Database. When run within the Netbeans IDE, there are no errors. But when I run through the command prompt, I get the User Interface screen but does not connect to the database. I have also added the "mysql-connector-java-5.1.6-bin.jar" file in the jdk folder.
    The error I get is "com.mysql.jdbc.Driver" which is the driver I have been using in Netbeans. How do I get over this problem?

    The error I get is "com.mysql.jdbc.Driver" which is the driver I have been using in Netbeans. How do I get over this problem?1. Fix your GUI so it reports the problem, rather than relying on command line output.
    2. Fix your class path which doesn't have the driver jar.
    3. There is a JDBC forum.

  • Receiving oracle.jdbc.driver error when trying to connect

    Setup:
    Windows 7 64bit
    4GB ram
    SQL Developer 3.2.20.09
    Java platform 1.6.0_37
    Oracle IDE 3.2.20.09.87
    Hello, I'm going to start by saying I'm a rank amateur when it comes to using and understand SQL developer. My entire need for this program is to connect to a virt server at my office and test out my SQL queries against our tables. It's been working great for this purpose until yesterday when I received this error:
    An error was encountered performing the requested operation:
    oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber()I
    Vendor code 0
    I did some searching and found a few references to this error but due to my inexperience I was unable to follow the resolutions and fix the error. This connection was working fine until yesterday afternoon which seemed odd. Based on my control panel, here is what I installed yesterday, I believe I installed both Java's after the error occurred seeing if they would alleviate the issue.
    MySQL Administrator 1.1
    Java SE Development Kit 6 Update 41 (64-bit)
    MySQL Workbench 5.2 CE
    Java 6 Update 41 (64-bit)
    Could one of these be the root of the issue?
    Thanks for the help and sorry for the lack of technical expertise, my need is very narrow and up until now this program has worked great for me.
    -Brad
    Edited by: 998110 on Apr 4, 2013 9:46 AM

    >
    Could one of these be the root of the issue?
    >
    More likely to be that you are now using the wrong version of the oracle jdbc jar file.
    Post the name and version of the JDBC jar file that you think you are using.
    Search the pc for ALL such files.
    Examine the environment variables (e.g. PATH) to see if they reference jdbc jars other than the ojdbc6 jar you should be using.

  • JDBC driver error to connect to an MS Access DB

    Hi All,
    We have created a file to JDBC scenario on XI 3.0. My XI server is on a Linux server and the db the receiver CC is trying to connect to is an MS Access 2007.
    The CC parameters are configured as follow:
    JDBC Driver: jdbc.odbc.JdbcOdbcDriver
    Connection: jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=
    xxxxxx\xxxxx\Test.mdb
    On the communication monitoring we are getting the following error message:
    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=
    xxxxxx\xxxxx\Test.mdb': java.lang.NullPointerException
    In regards with the above message and after reviewing several posts, I have two questions I would like to confirm with you:
    a- Do I have to perform a JDBC driver deployment to connect to a MS Access DB? If so, which one.
    b- Is there a suitable JDBC driver on Linux to connect to a MS Access DB? If there is not such a driver, Is there any available workaround for this?
    Please, let us know your recommendations about this or what I should check to identify the cause of the above error.
    Thanks and best regards

    Hi All, in order to discard any possible issue between Linux and MS access connection, we are currently in the process on configuring a J2SE Plain Adapter Engine on a Windows environment. However, after configuring a JDBC receiver scenario we are getting the following error message in the adapter logs:
    Classname=com.sap.aii.messaging.adapter.ModuleXMB2DB
    Version=30
    Mode=XMB2DB_XML
    XI.httport=xxxx
    XI.httpService=/db/receiver
    db.jdbcDriver=sun.jdbc.odbc.JdbcOdbcDriver
    db.connectionURL=jdbc:odbc:Driver={Microsoft Acces Driver (*.mdb)};=<Path to the mdb file>
    Error log
    15:50:23 (4311): ERROR: Attempt to access JDBC connection failed with "[Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented"
    Attempt to initialize JDBC adapter failed
    15:50:23 (4340): JDBC adapter initialized with database error. Proceed
    15:50:23 (4303): JDBC adapter listener started
    Then, the Mode parameter was changed to XMB2DB and the error log is as follow:
    15:36:14 (4315): ERROR: Attempt to initialize transform class com.sap.aii.messaging.adapter.Payload2DBBinding  failed with exception com.sap.aii.messaging.adapter.trans.TransformException: Error 'com.sap.aii.messaging.adapter.trans.TransformException: Error: Parameter 'db.table' missing' initializing class payload2DBBinding
    15:36:14 (4304): Unable to start JDBC adapter (not initialized)
    According to our scenario the required mode would be XMB2DB_XML. Could you please let us know the cause of the u201COptional feature not implementedu201D error message is?
    The following data may be helpful:
    OS version: Windows 2003 Server SP2
    JRE (1.6.0_16-b01)
    Weu2019ll wait for your recommendations.
    Thanks and best regards

  • Websphere Application Server an JDBC Driver errors

    We're currently testing the BEA JDBC/SQLServer driver on IBMs websphere Application server and have encountered a couple of problems, which are described below. Has anyone encountered these before, and are there solutions to fixing them.
    Problem 1. All JDBC queries through the drivers cause the following error message to be displayed on the application server console:-
    #Weblogic -- Applet Access
    ......Illegal System.exit() attempted
    2. We get an intermittent problem where a JDBC query causes the following exception:-
    12-Aug-2002 14:08 | [Servlet.Engine.Transports:8] | ERROR | |
    User Action: displayParams
    Error Message: JVMLK003: current thread not owner
    Exception Message: JVMLK003: current thread not owner
    java.lang.IllegalMonitorStateException: JVMLK003: current thread not owner
    at java.lang.Object.notify(Native Method)
    at
    weblogic.jdbcbase.mssqlserver4.TdsConnection.registerPipeline(TdsConnection.
    java(Compiled Code))The only solution to the 2nd problem, that I've found, is to restart the application server.
    Are these drivers compatible with IBMs Websphere Application Server v4.0 Advanced?
    Any help would be appreciated.
    Regards
    Andrew

    please see my answers inline... I recommend you try the JDBC driver from
    Microsoft.
    sree
    "Andrew Danieli" <[email protected]> wrote in message
    news:[email protected]..
    We're currently testing the BEA JDBC/SQLServer driver on IBMs websphereApplication server and have encountered a couple of problems, which are
    described below. Has anyone encountered these before, and are there
    solutions to fixing them.
    >
    Problem 1. All JDBC queries through the drivers cause the following errormessage to be displayed on the application server console:-
    >
    #Weblogic -- Applet Access
    ......Illegal System.exit() attemptedThis is happening in your application code not in the driver.
    >
    2. We get an intermittent problem where a JDBC query causes the followingexception:-
    >
    12-Aug-2002 14:08 | [Servlet.Engine.Transports:8] | ERROR | |
    User Action: displayParams
    Error Message: JVMLK003: current thread not owner
    Exception Message: JVMLK003: current thread not owner
    java.lang.IllegalMonitorStateException: JVMLK003: current thread not
    owner
    at java.lang.Object.notify(Native Method)
    atweblogic.jdbcbase.mssqlserver4.TdsConnection.registerPipeline(TdsConnection.
    java(Compiled Code))This sounds more like an IBM JVM issue.
    >
    The only solution to the 2nd problem, that I've found, is to restart theapplication server.
    >
    Are these drivers compatible with IBMs Websphere Application Server v4.0Advanced?
    They are JDBC1.0 compliant drivers and should work with any jdbc app.
    >
    Any help would be appreciated.
    Regards
    Andrew

  • SequeLink JDBC Driver error

    Since upgrading from CF7 to CF8 we have been getting the
    following error on our MS Access database.
    diagnostics: Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error:
    Function sequence error. The error occurred on line 495.
    The error is generated by a many different queries (the sql
    for the query works fine in the database).
    Any suggestions

    Lol - I figured it out 5 minutes after I posted this (3 hours
    after this started). I had the driver pointing to the master
    database instead of the 'real' db beneath it. I had changed the
    settings previously, but they didn't take hold until I rebooted the
    server.
    ... will this MS nightmare never end? This is why I went to
    CF in the first place. CF works. MS is a series of endless
    patches.

  • Oralce 10G2 JDBC Driver - Error Loading oracle.jdbc.driver.OracleDriver

    When attemping to use the 10G2 jdbc driver the following NoClassDefFoundError is encountered:
    Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: oracle.jdbc.driver.OracleDriver
    <<No stacktrace available>>
    Caused by: java.lang.ClassNotFoundException: oracle.security.pki.OracleWallet not found in [file:./, file:ojdbc1410g2.jar, file:/usr/share/java/libgcj-3.4.4.jar, file:./, core:/]
    <<No stacktrace available>>
    The error does not occur when reverting back to the 9 jdbc driver. Does anyone know what is causing this behavior?
    Regards,
    Paul

    Paul,
    Actually, class "oracle.jdbc.OracleDriver" extends class "oracle.jdbc.driver.OracleDriver".
    So check the JAR files in the list displayed by your error message and see if any of them contain the [missing] class, for example:
    jar tvf ojdbc1410g2.jar oracle/jdbc/driver/OracleDriver.classGood Luck,
    Avi.

  • -net.sourceforge.jtds.jdbc.Driver ERROR WHILE CONNECTING TO SQL SERVER

    Hi,
    While making a new connection to Sql Server Express Edition Database, through Oracle Sql Developer i am getting a problem when retrieving the database.The error is "-net.sourceforge.jtds.jdbc.Driver" .I have downloaded the "jTDS - SQL Server and Sybase JDBC driver " from sourceforge website, but i am confused about where to paste it.
    thanks.

    I'm not sure why you are having the error but I am sure of the following:
    1. This forum is not appropriate for SQL*Developer questions.
    2. Or questions about code from SourceForge
    3. Or Microsoft products.
    It seems unlikely this has anything to do with Oracle so I would recommend you find a forum related to the driver if one exists. Otherwise you can try the SQL*Developer forum but I would be there aren't more than a dozen other people on the product trying to do this.

  • MSSQL JDBC Driver Error

    Hi Friends:
    I am trying to use Microsft's JDBC driver version 2.2 to access SQLServer 2000 Database. I have more then one datetime fields in the Select statement.
    When I go read teh result set for teh first date column I get the value but when I go read the second datetime field I get the following error:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]ResultSet can
    not re-read row data for column 25.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.base.BaseResultSet.validateColumnIndex(Unknown Sou
    rce)
    at com.microsoft.jdbc.base.BaseResultSet.getDate(Unknown Source)
    at com.microsoft.jdbc.base.BaseResultSet.getDate(Unknown Source)
    at com.tbs.cs.db.ComplaintDAO.searchComplaints(ComplaintDAO.java:490)
    I have tried to use getTimeStamp and get Date but I still get the same error. Can some one help.
    The same code ran fine against a Sybase database.
    Thanks in advance.
    Rajeev Bhogal
    Thanks in advance.

    Thanks Nasch:
    The DAO method is after the dotted line , I have marked the statement that throw this exception by an arrow ------>, the class level variable selectColumns that this method refers to is as under:
    StringBuffer buff = new StringBuffer();
    buff.append(" SELECT COMPLAINT.ID, COMPLAINT.DATE_RECEIVED,");
    buff.append("COMPLAINT.DATE_OCCURED, COMPLAINT.CONTACT_CHNL, COMPLAINT.STORE_NUMB,");
    buff.append("COMPLAINT.STATUS, COMPLAINT.ASSIGNED_TO, COMPLAINT.DIVISION,");
    buff.append("COMPLAINT.CATEGORY, COMPLAINT.SUBCATEGORY, COMPLAINT.INC_DESC,");
    buff.append("COMPLAINT.INC_CLASSIFICATION, COMPLAINT.INC_COMMENTS, COMPLAINT.IS_LICENSEE,");
    buff.append("COMPLAINT.CUST_NUMB, COMPLAINT.CUST_NAME, COMPLAINT.CUST_PHONE,");
    buff.append("COMPLAINT.CUST_ADDR,COMPLAINT.CUST_CONTACT_DETAIL, COMPLAINT.CC,");
    buff.append("COMPLAINT.LAST_UPDATED_BY, COMPLAINT.DATE_CREATED, COMPLAINT.LAST_UPDATED,");
    buff.append("COMPLAINT.ASSIGNEE_PHONE, COMPLAINT.ASSIGNED_DATE, COMPLAINT.ASSIGNEE_TITLE,COMPLAINT.ASSIGNEE_EMAIL,");
    buff.append("COMPLAINT.ASSIGNEE_LOC_NAME, COMPLAINT.ASSIGNEE_LOC_TYPE, COMPLAINT.ASSIGNEE_LOC_NUMB,");
    buff.append("COMPLAINT.THIRD_PARTY_NAME, COMPLAINT.THIRD_PARTY_ORGNZN, COMPLAINT.CALLER_TYPE, COMPLAINT.FINAL_RES_COMMENT,");
    buff.append("COMPLAINT_STATUS.DESCRIPTION AS STATUS_DESC, ");
    buff.append("COMPLAINT_CATEGORY.CATEGORY AS CATEGORY_DESC, ");
    buff.append("COMPLAINT_SUBCAT.SUBCATEGORY AS SUBCATEGORY_DESC, ");
    buff.append("COMPLAINT_DIVISION.DIVISION AS DIVISION_DESC, ");
    buff.append("CUST_CONTACT_CHANNEL.DESCRIPTION AS CONTCT_CHNL_DESC," );
    buff.append("INCIDENCE_CLASSIFICATION.DESCRIPTION AS INC_CLS_DESC," );
    buff.append("INCIDENCE_DESC.DESCRIPTION AS INC_DESC_DESC, " );
    buff.append("CALLER_TYPE.DESCRIPTION AS CALLER_TYPE_DESC " );
    buff.append(" FROM COMPLAINT, COMPLAINT_STATUS, COMPLAINT_CATEGORY, ");
    buff.append("COMPLAINT_SUBCAT, COMPLAINT_DIVISION, CUST_CONTACT_CHANNEL, ");
    buff.append("INCIDENCE_CLASSIFICATION, INCIDENCE_DESC, CALLER_TYPE ");
    selectColumns = buff.toString();
    public ArrayList searchComplaints(int complaintId, int statuscode, String assignedTo, String dateFrom, String dateTo, String user , RoleSet roleset) throws FrwkException{
    boolean hasRestrictedAccess = false;
    boolean isAdmin = roleset.contains(Tokens.USER_TYPE_ADMIN);
    boolean isCSR = roleset.contains(Tokens.USER_TYPE_CSR);
    String assignedToCondition = "";
    if((!isAdmin) && (!isCSR)){
    hasRestrictedAccess = true;
    assignedToCondition = " AND ASSIGNEE_LOC_NUMB = "+user.trim();
    CustomerComplaintBean ccBean;
    ArrayList complaints = new ArrayList();
    if(complaintId > 0){
    ccBean = findComplaint(complaintId);
    if(ccBean != null){
    complaints.add(ccBean);
    return complaints;
    } else
    return null;
    String findComplaintStmt;
    String whereStatusCode = "";
    if(statuscode != 100){//statuscode of 100 means ignore COMPLAINT.STATUS
    whereStatusCode = " AND COMPLAINT.STATUS = "+statuscode;
    if(assignedTo == null){
    findComplaintStmt = selectColumns + " WHERE " +
    " COMPLAINT.DATE_CREATED <= "
    + SqlUtil.sqlstring(dateTo+ " 11:59:59PM")
    + " AND COMPLAINT.DATE_CREATED >= "
    + SqlUtil.sqlstring(dateFrom)
    whereStatusCode
    " AND COMPLAINT.STATUS = COMPLAINT_STATUS.ID "+
    " AND COMPLAINT.CATEGORY = COMPLAINT_CATEGORY.ID "+
    " AND COMPLAINT.SUBCATEGORY = COMPLAINT_SUBCAT.ID "+
    " AND COMPLAINT.DIVISION = COMPLAINT_DIVISION.ID " +
    " AND COMPLAINT.CONTACT_CHNL = CUST_CONTACT_CHANNEL.ID " +
    " AND COMPLAINT.CALLER_TYPE = CALLER_TYPE.ID "+
    " AND COMPLAINT.INC_CLASSIFICATION = INCIDENCE_CLASSIFICATION.ID " +
    " AND COMPLAINT.INC_DESC = INCIDENCE_DESC.ID " +assignedToCondition;
    }else{
    findComplaintStmt = selectColumns + " WHERE upper(COMPLAINT.ASSIGNED_TO) LIKE upper(" +
    SqlUtil.sqlstring(assignedTo + "%") +
    ") AND COMPLAINT.DATE_CREATED <= "
    + SqlUtil.sqlstring(dateTo+" 11:59:59PM")
    + " AND COMPLAINT.DATE_CREATED >= "
    + SqlUtil.sqlstring(dateFrom)
    whereStatusCode
    " AND COMPLAINT.STATUS = COMPLAINT_STATUS.ID "+
    " AND COMPLAINT.CATEGORY = COMPLAINT_CATEGORY.ID "+
    " AND COMPLAINT.SUBCATEGORY = COMPLAINT_SUBCAT.ID "+
    " AND COMPLAINT.DIVISION = COMPLAINT_DIVISION.ID "+
    " AND COMPLAINT.CONTACT_CHNL = CUST_CONTACT_CHANNEL.ID "+
    " AND COMPLAINT.CALLER_TYPE = CALLER_TYPE.ID "+
    " AND COMPLAINT.INC_CLASSIFICATION = INCIDENCE_CLASSIFICATION.ID "+
    " AND COMPLAINT.INC_DESC = INCIDENCE_DESC.ID "+ assignedToCondition;
    _logger.info("Search complaints statement is \n"+findComplaintStmt);
    initializeStatement();
    try{
    _statement.execute(findComplaintStmt);
    resultSet = statement.getResultSet();
    while(_resultSet.next()) {
    ccBean = new CustomerComplaintBean();
    //Timestamp ts = resultSet.getTimestamp("DATERECEIVED");
    java.sql.Date ts = _resultSet.getDate("DATE_RECEIVED");
    ccBean.setDateReceived(DateFormatConverter.getFormattedDateSearchPage(ts));
    //ts = _resultSet.getTimestamp("DATE_OCCURED");
    ts = _resultSet.getDate("DATE_OCCURED");
    ccBean.setDateOccured(DateFormatConverter.getFormattedDateTime(ts));
    ccBean.setContactChannelCode(_resultSet.getInt("CONTACT_CHNL"));
    ccBean.setTbsLocationCode(_resultSet.getInt("STORE_NUMB"));
    ccBean.setComplaintStatusCode(_resultSet.getInt("STATUS"));
    ccBean.setAssignedTo(_resultSet.getString("ASSIGNED_TO"));
    ccBean.setAssigneePhone(_resultSet.getString("ASSIGNEE_PHONE"));
    ccBean.setAssigneeEmail(_resultSet.getString("ASSIGNEE_EMAIL"));
    //ts = _resultSet.getTimestamp("ASSIGNED_DATE");
    ------> ts = _resultSet.getDate("ASSIGNED_DATE");
    ccBean.setLastAssignedDate(DateFormatConverter.getFormattedDateTime(ts));
    ccBean.setAssigneeTitle(_resultSet.getString("ASSIGNEE_TITLE"));
    ccBean.setAssigneeLocName(_resultSet.getString("ASSIGNEE_LOC_NAME"));
    ccBean.setAssigneeLocType(_resultSet.getString("ASSIGNEE_LOC_TYPE"));
    ccBean.setAssigneeLocNumb(_resultSet.getInt("ASSIGNEE_LOC_NUMB"));
    ccBean.setComplaintDivision(_resultSet.getInt("DIVISION"));
    ccBean.setComplaintCategory(_resultSet.getInt("CATEGORY"));
    ccBean.setComplaintSubCategory(_resultSet.getInt("SUBCATEGORY"));
    ccBean.setIncidentDescrCode( _resultSet.getInt("INC_DESC"));
    ccBean.setIncidentClassCode(_resultSet.getInt("INC_CLASSIFICATION"));
    ccBean.setIncidentDescrComm(_resultSet.getString("INC_COMMENTS"));
    int custype =_resultSet.getInt("IS_LICENSEE");
    ccBean.setTbsCustTypeCode(custype);
    if(custype == 1){
    ccBean.setTbsCustTypeDesc("Licensee");
    }else
    ccBean.setTbsCustTypeDesc("Retail");
    ccBean.setTbsCustomerNumber(_resultSet.getString("CUST_NUMB"));
    ccBean.setTbsCustomerName(_resultSet.getString("CUST_NAME"));
    ccBean.setCustomerPhone(_resultSet.getString("CUST_PHONE"));
    ccBean.setCustomerAddress(_resultSet.getString("CUST_ADDR"));
    ccBean.setCustomerContactDetail(_resultSet.getString("CUST_CONTACT_DETAIL"));
    ccBean.setEmailCCedTo(_resultSet.getString("CC"));
    ccBean.setCreatedBy(_resultSet.getString("LAST_UPDATED_BY"));
    //ts = _resultSet.getTimestamp("DATE_CREATED");
    ts = _resultSet.getDate("DATE_CREATED");
    ccBean.setDateCreated(DateFormatConverter.getFormattedDateTime(ts));
    //ts = _resultSet.getTimestamp("LAST_UPDATED");
    ts = _resultSet.getDate("LAST_UPDATED");
    ccBean.setDateLastUpdated(DateFormatConverter.getFormattedDateTime(ts));
    //get resolutions for this complaint if any have been created
    //ArrayList resolutions = getResolutionsForComplaint(referenceNumb);
    //ccBean.setResolutions(resolutions);
    ccBean.setId(_resultSet.getInt("ID"));
    ccBean.setComplaintStatusDescription(_resultSet.getString("STATUS_DESC"));
    ccBean.setComplaintCategoryDesc(_resultSet.getString("CATEGORY_DESC"));
    ccBean.setComplaintSubCategoryDesc(_resultSet.getString("SUBCATEGORY_DESC"));
    ccBean.setComplaintDivisionDesc(_resultSet.getString("DIVISION_DESC"));
    ccBean.setContactChannelDesc(_resultSet.getString("CONTCT_CHNL_DESC"));
    ccBean.setIncidenceClassificationDesc(_resultSet.getString("INC_CLS_DESC"));
    ccBean.setIncidenceDescDesc(_resultSet.getString("INC_DESC_DESC"));
    ccBean.setThirdPartyComplainee(_resultSet.getString("THIRD_PARTY_NAME"));
    ccBean.setThirdPartyComplaineeOrgnzn(_resultSet.getString("THIRD_PARTY_ORGNZN"));
    ccBean.setFinalResolutionComment(_resultSet.getString("FINAL_RES_COMMENT"));
    ccBean.setCallerTypeCode(_resultSet.getInt("CALLER_TYPE"));
    ccBean.setCallerTypeDesc(_resultSet.getString("CALLER_TYPE_DESC"));
    complaints.add(ccBean);
    }//end if
    }catch (SQLException sqle){
    //log and rethrow TO DO
    throw new CSException("Exception while querying Complaint Table" +findComplaintStmt ,sqle);
    finally{
    releaseStatement();
    return complaints;
    The super class methods initializeStatement() and initializeConnection() are also copied here,
    protected void initializeStatement() throws FrwkException {
    _logger.debug("<<<< BEGIN METHOD initializeStatement() -----");
    releaseStatementOnly();
    initializeConnection();
    try {
    _statement = _connection.createStatement();
    catch (SQLException ex) {
    throw new FrwkException("Failed to create Statement", ex);
    _logger.debug("----- END METHOD initializeStatement() >>>>");
    protected void initializeConnection() throws FrwkException {
    _logger.debug("<<<< BEGIN METHOD initializeConnection()-----");
    if (_connection == null) {
    _dataSource = TBSDataSource.getDataSource(_dsName);
    try {
    _connection = _dataSource.getConnection();
    catch (SQLException ex) {
    System.out.println("Printing Stack Trace for SQL Exception");
    ex.printStackTrace();
    throw new FrwkException("Connection could not be created to Data Source "+_dsName, ex);
    _logger.debug("----- END METHOD initializeConnection() >>>>");
    Thanks in advance

  • JDBC Driver errors after installing Security Update 04-2007

    After installing the latest security update for 10.4.9, My JDBC driver is no longer working. I'm running PHP & Mysql as a localhost for dev and I know that both are running but are not speaking to each other. I use SQL4X Manager to manage my DB and that can't access MySql. I have the same set up at work with out the security update installed and everything is working great which let me to believe that the security update muck'd something up. Anyone else have the same problem?

    Can't help with the airport problem, since I don't do wireless. As for backing up, these should get you pointed in the right direction:
    http://docs.info.apple.com/article.html?artnum=106941
    http://www.macmaps.com/upgradefaq.html
    http://www.macmaps.com/backup.html
    http://www.thexlab.com/faqs/installswupdates.html
    http://www.thexlab.com/faqs/backuprecovery.html
    Since you're a newcomer to the Mac, peruse these:
    Switching from Windows to Mac OS X,
    Basic Tutorials on using a Mac, and
    MacTips Learning Centre.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist.
    Welcome to the Switch To A Mac Guides, and
    A guide for switching to a Mac.

Maybe you are looking for