Java.sql.SQLException errors in Tomcat log

When bringing up a RoboHelp 8 help page using a URL like this:
http://server:port/configuration/server?project=ProjectName&context=mapid
an error is logged to my Tomcat localhost.date.log file.  The help page displays fine with no errors, but I'd rather not have the log files filling up with errors every time help is invoked.  Any idea what is causing these and how to avoid?  Is opening a browser window with a url the best way to invoke context sensitive help from a web app?
Feb 24, 2010 1:46:09 PM org.apache.catalina.core.ApplicationContext log
SEVERE: java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]String or binary data would be truncated.
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]String or binary data would be truncated.
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(Unknown Source)
    at adobe.robohelp.server.DatabaseManager.ExecuteUpdateNoCommit(DatabaseManager.java:237)
    at adobe.robohelp.server.DatabaseManager.GetNewUserId(DatabaseManager.java:447)
    at adobe.robohelp.server.CSystemManager.CreateCookies(CSystemManager.java:531)
    at adobe.robohelp.server.CSystemManager.doCommand(CSystemManager.java:207)
    at adobe.robohelp.server.HelpArea.doGet(HelpArea.java:62)
    at adobe.robohelp.server.AreaManager.doGet(AreaManager.java:79)
    at adobe.robohelp.server.RoboHelpServer.doGet(RoboHelpServer.java:149)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
    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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    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:849)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    at java.lang.Thread.run(Unknown Source)

I did a couple of things like fix the type that was being passed etc., and I get this exception now
java.sql.SQLException: ORA-06550: line 1, column 28:
PLS-00103: Encountered the symbol "COMPUTER" when expecting one of the following:
. ( ) , * @ % & = - + < / > at in is mod remainder not rem =>
<an exponent (**)> <> or != or ~= >= <= <> and or like like2
like4 likec as between from using || multiset member
submultiset
The symbol ". was inserted before "COMPUTER" to continue.
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
     at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
     at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
     at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
     at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
     at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:204)
     at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1006)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
     at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3677)
     at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4714)
     at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
     at dao.CallableStatementDAO.callProcedure(CallableStatementDAO.java:69)
     at integration.IntegrationService.main(IntegrationService.java:192)

Similar Messages

  • Java.sql.SQLException: Error while trying to retrieve text for error ORA-24

    Hi All,
    Am having serious problem with ORA-24327 and the behavior is very very unpredictable. I have couple of environment where the same error comes in different context. The recent one was surprising. I have describe bellow the environment configuration and the stack trace. The error which surprised me was when I use type � 3 driver while starting weblogic I get ORA �24327 but when I use Type �4 it starts properly. If you could kindly provide solution it would be great help. I would also appreciate if u can provide information which driver to use where performance is the major concern. I would also appreciate if u could provide feed-back from the industry about booth the driver. Apart from that I have couple have environment where it occurs when 10/12 user access simultaneously. All the open connection is closed in program properly still am getting the error.
    Thanks in anticipation.
    Cheers,
    Tapas
    Environment
    OS - SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
    JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
    Weblogic - 5.1.0 Service Pack 9 04/05/2001 14:59:53 #105983
    Oracle � 8.1.6
    Delaying 10 seconds before making a beuatpool pool connection.
    Pool 1 (Type �3 )
    weblogic.jdbc.connectionPool.beuatpool=\
    url=jdbc:weblogic:oracle,\
    driver=weblogic.jdbc.oci.Driver,\
    loginDelaySecs=10,\
    initialCapacity=10,\
    maxCapacity=20,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=10,\
    refreshMinutes=10,\
    testTable=dual,\
    props=user=xxx;password=xxx;server=xxxx
    Pool 2(Type �4)
    weblogic.jdbc.connectionPool.thinPool=\
    url=jdbc:oracle:thin:@xxx:1521:xxx,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=15,\
    testTable=dual,\
    props=user=xxx;password=xxx;server=xxx:1521:xxx
    allow=everyone
    ---------- LOGIN ERROR CODE: 24327
    java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 �
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:43)
    at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:149)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:109)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    ---------- LOGIN ERROR CODE: 24327
    ---------- LOGIN ERROR CODE: 24327
    Fri Aug 31 00:57:22 GMT-05:00 2001:<I> <JDBC Pool> Sleeping in createResource()
    Fri Aug 31 00:57:23 GMT-05:00 2001:<E> <JDBC Pool> Failed to create connection p
    ool "beuatpool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 -
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:43)
    at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:172)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:109)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at weblogic.common.ResourceException.<init>(ResourceException.java:18)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:182)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:109)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at weblogic.common.ResourceException.<init>(ResourceException.java:18)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:125)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)

    Hi,
    I guess you can try some of these:
    - Make sure you're not missing an entry inside your tnsnames.ora file. Thin driver does not require the information inside that file, as opposed to Weblogic's OCI driver. If you are able to connect to the DB using a thin driver, then the problem is most probably (WL)driver-related.
    - Make sure you've properly configured the DB user / password inside your weblogic.properties (config.xml if WL6+).
    - Make sure you're able to access all drivers and classes required (PATH, CLASSPATH, etc...)
    - Make sure the OCI driver version you are using is fully compatible with the Oracle (server) version you are pointing to.
    - Try to access the DB user through some other client (for instance, SQLPlus*).
    Hope this is of some help,
    Freddy.

  • Java.sql.SQLException: Error in allocating a connection. Cause: No Password

    I'm deploying an EJB Module with a CMP in SJAS from SJSE.
    I get the following exception "java.sql.SQLException: Error in allocating a connection. Cause: No PasswordCredential found" the first time a CMP tries to connect to the MS SQL Server database.
    I can connect through the Admin console (PING works fine) but this error hapens in runtime.
    The datasource classname i'm using is "com.sun.sql.jdbcx.sqlserver.SQLServerDataSource" which is suggested by the SJSE.
    Any help will be welcome...
    Nelson Marques

    If you are using Netbeans, then this link might help:
    http://forum.java.sun.com/thread.jspa?forumID=136&threadID=598423
    Otherwise, have you try this ?
    Verify your sun-ejb-jar.xml does not use default-resource-princinpal element:
    <res-ref-name>jdbc/pdisasdb</res-ref-name>
    <jndi-name>jdbc/pdisasdb</jndi-name>
    <default-resource-principal>
    <name>myname</name>
    <password>geheim</password>
    </default-resource-principal>
    </resource-ref>

  • Java.sql.SQLException: Error in allocating a connection

    hi,
    I have developed enterprise application using net beans IDE 5.5.I created one enity bean using sql server database.When i tried deploy this project i am getting following error...
    Internal Exception: java.sql.SQLException: Error in allocating a connection.
    Cause: Class name is wrong or classpath is not set for : com.microsoft.jdbc.sqlserver.SQLServerDataSourceError
    can anybody please help me.....where i went wrong...i am new to netbeans IDE
    regrds
    patel

    u need to download the three jar files.
    download the following jar files and add in ur classpath.
    msutil-2000.sp2-lib.jar
    msbase-2000.sp2-lib.jar
    mssqlserver-2000.sp2-lib.jar
    This is sample program...
    u can test in standalone first and do in netbeans....
    import java.sql.*;
    public class querybean {
    public String getdata(String sql) {
         try {
    System.out.println("testing connection ");
              Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
         Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;databaseName=master;user=sa;password=userpass;");
         Statement statement = connection.createStatement();
    ResultSet rs = statement.executeQuery(sql);
    System.out.println("testing connection pooling");
    while(rs.next()) {
    System.out.println(rs.getString(1));
    } catch(Exception e1) {
    System.out.println("exception caught" + e1);
    return "";
    public static void main (String args[]) throws Exception {
    querybean qb = new querybean();
    qb.getdata("select * from sampletable");
    I belive it will work now

  • Java.sql.SQLException: Error while trying to retrieve text for error ORA-12545

    Hi,
    I am getting the following error when i tried to connect to Oracle database from
    a servlet. This exception is coming at the time of getting connection. And the
    same code is working when i used in the standalone java program.
    Oracle 8i database and WLS 6.0 are on the same UNIX machine.
    ---------attempting to connect ------
    java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va, Compiled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
    e)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
    e)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java, Compiled Code)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Can any one help me out.
    Durga

    The problem is solved after exprting the parameter ORACLE_SID=<database_name>
    in Weblogic startup script.
    thank u for the suggestions.
    Durga
    Joseph Weinstein <[email protected]> wrote:
    >
    >
    Durga wrote:
    Hi Joe,
    I have checked the ORACLE_HOME parameter. There was a differnce. Ichanged to
    /oracle/app/product/8.1.7
    Now i am getting different exception. But still the standalone codeis working.
    any clues why I am getting this exception. I will send the code andthe weblogic
    properties file for reference if u need.Good. No, I don't need it. Now make sure the library path that the OS
    uses to find
    Oracle libraries, and our driver libraries etc., is in the same order
    for the
    server as for the shell that is successful on it's own. Make sure your
    Oracle
    client stuff is ahead of any weblogic libraries.
    Joe
    java.sql.SQLException: ORA-12547: TNS:lost contact
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java,Compiled
    C
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, CompiledCode)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
    C
    ode)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
    C
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java,Compiled Cod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java,Compiled Code
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.getRuntimeName(ServletStubI
    mpl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1631)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java,Compiled
    Co
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, CompiledCode)
    Joseph Weinstein <[email protected]> wrote:
    The environment for the server probably doesn't have the same ORACLE_HOME
    setting as your shell when you succeed in a standalone.
    Also, you should be using our connection pools, and you should avoid
    making DriverManager calls in any multithreaded app such as WebLogic.
    Joe
    Durga wrote:
    Hi,
    I am getting the following error when i tried to connect to Oracledatabase from
    a servlet. This exception is coming at the time of getting connection.And the
    same code is working when i used in the standalone java program.
    Oracle 8i database and WLS 6.0 are on the same UNIX machine.
    ---------attempting to connect ------
    java.sql.SQLException: Error while trying to retrieve text for errorORA-12545
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,
    Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, CompiledC
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled
    Code)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va, Compiled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, CompiledC
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
    e)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, CompiledCode
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
    e)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
    e)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java, Compiled Code)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, CompiledCo
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    Can any one help me out.
    Durga

  • Java.sql.SQLException: Error while trying to retrieve text for error ORA-12

    Hi,
    I am getting the following error when i tried to connect to Oracle database from a servlet on HP-UX. I am using wls 6.0. And the same code is working when i used in the standalone java program.
    java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va, Compiled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
    e)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
    e)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java, Compiled Code)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Can any one help me out.
    Durga

    This is the text for ORA-12545, there is a problem in your NET8 somewhere.
    http://technet.oracle.com/doc/network.815/a67440/ch11.htm#440586

  • Java.sql.SQLException: Error accessing jdbc driver

    Hi,
    We are using WebLogic Server 7.0 as Application Server.
    We now create a connection pool named regPool and
    a Tx datasource named regDS.
    When we get the connection from the datasource, exception occurred.
    java.sql.SQLException: Error accessing jdbc driver: driverURL =
    jdbc:weblogic:pool:regPool, props = {enableTwoPhaseCommit=false,
    jdbcTxDataSource=true, connectionPoolID=regPool}
    at
    weblogic.jdbc.jts.Driver.wrapAndThrowSQLException(Driver.java:323)
    at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:377)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:129)
    at
    weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
    :265)
    So I guess that why we can't use CMP for finding data. Here is the error when we call the finder.
    javax.ejb.FinderException: Exception in findAllEmr while preparing or
    executing statement: 'null'
    java.sql.SQLException: Cannot obtain connection after 30 seconds. ,
    Exception = Access not allowed
    java.sql.SQLException: Cannot obtain connection after 30 seconds. ,
    Exception = Access not allowed
    at
    weblogic.jdbc.jts.Connection.wrapAndThrowSQLException(Connection.java:694)
    According to the exception message, it looks
    like the connection fail between WLS and Oracle 9.2.
    Here is a scenario I think you should need to know.
    I change the table-name in the weblogic-cmp-rdbms-jar.xml
    to a name that doesn't exist in the database.
    Then, re-package the EJB, copy it to server and restart the server.
    A exception occurred that says the table doesn't exist.
    So, in this case, it looks like the datasource works and
    connection is fine.
    Any recommendation will be appreciated.
    Jimmy Chang

    Hi!
    I am a default user to the databse server. I connect to the database with '\' as the username and blank passoword(I mean with Network authentication may be).When I am trying to create connection using
    con = DriverManager.getConnection("jdbc:oracle:thin:@DRACINAL2:BSAJ", "/","" )
    it gives me followint error
    ava.sql.SQLException: Null user or password not supported in THIN driver
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
         void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
         void oracle.jdbc.dbaccess.DBError.check_error(int)
         oracle.jdbc.dbaccess.DBConversion oracle.jdbc.ttc7.TTC7Protocol.logon(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         void oracle.jdbc.driver.OracleConnection.<init>(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
         void textPack.GenTextFile.main(java.lang.String[])
    How should I go about it?
    Thanks for your help.
    -Sreekanth Varidhireddy

  • Java.sql.SQLException: The TCP/IP connection to the host  has failed.

    Hello. I hope you had a happy new year! Now its back to work.
    I am having a problem connecting to a remote SQL Server DB. I am using NetBeans 5.5 and the latest J2EE. I am able to see the tables in the IDE and bind objects to data. But when I run it it gets this:
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: no further information
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:100)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:344)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:126)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:968)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1428)
    I checked the SQL Server Configuration manager on that machine and TCP/IP connections are allowed. What else could be wrong?
    Thank You.

    "Connection refused" means that the client sends a packet saying "I would like to connect to port number NNNN please" to the server computer, and the server computer's OS sends the reply "there is no process listening to that port on the network interface you are using".
    The database server is not running, or running but not listening to TCP/IP connections, or at a different port from what you think, or listening to only selected network interfaces (it is possible for a process to listen to a specific interface or a wildcard for all interfaces). A less likely scenario is that a firewall is sending the "connection refused" message.
    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port. You need to configure the database to accept TCP connections; the server documentation or google should explain how.
    - Try "telnet server-host-name the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try telnet with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • Regarding Internal Exception: java.sql.SQLException

    While deploying the application we are encounter a following error,
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: FATAL: sorry, too many clients already
    Error Code: 0
    Deployment error:
    Please give me a suggession for this error.
    Thanks,

    While deploying the application we are encounter a following error,
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: FATAL: sorry, too many clients already
    Error Code: 0
    Deployment error:
    Please give me a suggession for this error.
    Thanks,

  • Reg: Error in Data Template ( java.sql.SQLException: ORA-00900: invalid SQL

    Hi Experts,
    Good Morning..
    I registered the data template which i created in oracle apps and while i run that, ended in error... Plz help me..
    Step :-1 Used Data Template as below:-
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <dataTemplate name="EMP" defaultPackage="" description="Employee Data">
    - <properties>
    <property name="include_parameters" value="true" />
    <property name="include_null_Element" value="true" />
    <property name="xml_tag_case" value="upper" />
    <property name="db_fetch_size" value="500" />
    <property name="scalable_mode" value="off" />
    <property name="include_rowsettag" value="false" />
    <property name="debug_mode" value="off" />
    </properties>
    <parameters/>
    <parameters name="pdeptno" dataType="number" defaultValue=" ">
    </parameters>
    <lexicals />
    - <dataQuery>
    - <sqlStatement name="DEPT" dataSourceRef="">
    - <![CDATA[
              SELECT DEPTNO,DNAME,
              LOC,CURSOR(SELECT  EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,nvl(COMM,0) COMM from EMP ) as EMP
              from dept
              where deptno=pdeptno
              order by deptno]]>
    </sqlStatement>
    </dataQuery>
    </dataTemplate>
    Step -2:-
    Registered in xml publisher administrator
    Step -3:-
    While i am running this getting below error-
    XDO Data Engine Version No: 5.6.3
    Resp: 20419
    Org ID : 204
    Request ID: 5380496
    All Parameters: pdeptno=10
    Data Template Code: EMP_DD
    Data Template Application Short Name: FND
    Debug Flag: N
    {pdeptno=10}
    Calling XDO Data Engine...
    java.sql.SQLException: ORA-00900: invalid SQL statement
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:810)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:392)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    Any mistake i made.. Issue may be silly..plz help me...
    Thanks in advance..
    Happy

    Hi all,,,,
    Thank so much for your valuable response regarding this issue..
    Actually my scenario meet this below example, path for that example:-.
    http://blogs.oracle.com/xmlpublisher/2007/02/data_templates_without_groupin.html
    I am simply executing that data template. but getting this error :-
    XDO Data Engine Version No: 5.6.3
    Resp: 20419
    Org ID : 204
    Request ID: 5380496
    All Parameters: pdeptno=10
    Data Template Code: EMP_DD
    Data Template Application Short Name: FND
    Debug Flag: N
    {pdeptno=10}
    Calling XDO Data Engine...
    java.sql.SQLException: ORA-00900: invalid SQL statement
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:810)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:392)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE

  • Oracle error 1403:java.sql.SQLException: ORA-01403: no data found ORA-06512

    My customer has an issue, and error message as below:
    <PRE>Oracle error 1403: java.sql.SQLException: ORA-01403: no data found ORA-06512:
    at line 1 has been detected in FND_SESSION_MANAGEMENT.CHECK_SESSION. Your
    session is no longer valid.</PRE>
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    And customer’s statement is: Upgrade from EBS 11.5.10 to 12.1.3. Login the EBS, open any forms and put it in idle. Then refresh the form, error happens
    Then, I checked ISP, and found two notes:
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid (Doc ID 1284094.1)
    Note 1319380.1: Webadi Gl Journal Posting Errors After Atg R12.1.3 (Doc ID 1319380.1)
    But these two notes are both WebADI.
    Following is the data collection from customer:
    1. Run UNIX command to check .class file version:
    strings $JAVA_TOP/oracle/apps/bne/utilities/BneViewerUtils.class | grep Header--> S$Header: BneViewerUtils.java 120.33.12010000.17 2010/11/21 22:19:58 amgonzal s$
    2. Run SQL to check you patch level:
    SELECT * FROM fnd_product_installations WHERE patch_level LIKE '%BNE%';--> R12.BNE.B.3
    3. Run SQL to check patch '9940148' applied or not:
    SELECT * FROM ad_bugs ad WHERE ad.bug_number = '9940148';--> No Rows returned
    4. Run SQL to check patch '9785477' applied or not:
    SELECT * FROM ad_bugs WHERE bug_number in ('9785477');-->
    BUG_ID APPLICATION_SHORT_NAME BUG_NUMBER CREATION_DATE ARU_RELEASE_NAME CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY TRACKABLE_ENTITY_ABBR BASELINE_NAME GENERIC_PATCH LANGUAGE
    576982 11839583 2011/8/7 上午 08:20:36 R12 5 2011/8/7 上午 08:20:36 5 pjt B n US
    516492 9785477 2011/6/12 上午 11:42:45 R12 5 2011/6/12 上午 11:42:45 5 bne B n US
    546109 9785477 2011/6/12 下午 01:17:41 R12 5 2011/6/12 下午 01:17:41 5 bne B n ZHT
    5. Run SQL to check the status of object ‘FND_SESSION_MANAGEMENT’
    SELECT * FROM dba_objects do WHERE do.object_name = 'FND_SESSION_MANAGEMENT';-->
    OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY NAMESPACE EDITION_NAME
    APPS FND_SESSION_MANAGEMENT 219425 PACKAGE 2004/10/30 下午 01:52:35 2011/8/7 上午 08:18:39 2011-08-07:08:18:26 VALID N N N 1
    APPS FND_SESSION_MANAGEMENT 226815 PACKAGE BODY 2004/10/31 上午 01:05:40 2011/8/7 上午 08:18:54 2011-08-07:08:18:27 VALID N N N 2
    So, my question is: Customer’s BneViewerUtils.java version is already 120.33.12010000.17, which greater than 120.33.12010000.14. Is there any others solutions for this issue? Does customer still need to apply patch '9940148' based on action plan of
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid?
    Customer's EBS version is 12.1.3; OS is HP-UX PA-RISC (64-bit); DB is 11.2.0.2.
    Thanks,
    Jackie

    And customer’s statement is: Upgrade from EBS 11.5.10 to 12.1.3. Login the EBS, open any forms and put it in idle. Then refresh the form, error happens
    Idle for how long? Is the issue with all sessions?
    Please see these docs/links
    User Sessions Get Timed Out Before Idle Time Parameter Values Are Reached [ID 1306678.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Timeout+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Then, I checked ISP, and found two notes:
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid (Doc ID 1284094.1)
    Note 1319380.1: Webadi Gl Journal Posting Errors After Atg R12.1.3 (Doc ID 1319380.1)
    But these two notes are both WebADI.Can you find any details about the error in Apache log files and in the application.log file?
    Any errors in the database log file?
    So, my question is: Customer’s BneViewerUtils.java version is already 120.33.12010000.17, which greater than 120.33.12010000.14. Is there any others solutions for this issue? No.
    Does customer still need to apply patch '9940148' based on action plan ofIf the issue not with Web ADI, then ignore this patch. However, if you use Web ADI you could query AD_BUGS table and verify if you have the patch applied.
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid?
    Customer's EBS version is 12.1.3; OS is HP-UX PA-RISC (64-bit); DB is 11.2.0.2.If you could not find any details in the logs, please enable debug as per (R12, 12.1 - How To Enable and Collect Debug for HTTP, OC4J and OPMN [ID 422419.1]).
    Thanks,
    Hussein

  • Java.sql.SQLException: File input/output error: File input/output error: re

    Hi,
    We are using JCAPS 512. We use oracle eway to connect to Oracle 10g database. But sometimes we are getting the following exception
    and suddenly all jcds stop processing. If we restart the server again job continue processing, otherwise server hangs and nothing get processed.
    Exception is as follows
    java.sql.SQLException: File input/output error: File input/output error: reading: java.io.EOFException in statement [SET TABLE EVENT_STORE INDEX '11183416 55935']
         at org.hsqldb.Trace.getError(Unknown Source)
         at org.hsqldb.Log.runScript(Unknown Source)
         at org.hsqldb.Log.open(Unknown Source)
         at org.hsqldb.Database$Logger.openLog(Unknown Source)
         at org.hsqldb.Database.open(Unknown Source)
         at org.hsqldb.Database.<init>(Unknown Source)
         at org.hsqldb.jdbcConnection.openStandalone(Unknown Source)
         at org.hsqldb.jdbcConnection.<init>(Unknown Source)
         at org.hsqldb.jdbcDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.addNewConnection(DBEventStore.java:359)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.getConnection(DBEventStore.java:444)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.executeParameterizedQuery(DBEventStore.java:777)
         at com.stc.eventmanagement.impl.DBEventStore$EventStoreDB.access$000(DBEventStore.java:250)
         at com.stc.eventmanagement.impl.DBEventStore.getEventIDsList(DBEventStore.java:133)
         at com.stc.eventmanagement.impl.DBEventStore.getEventIDsList(DBEventStore.java:115)
         at com.stc.eventmanagement.impl.EventForwarderMBean.cachePersistedEvents(EventForwarderMBean.java:728)
         at com.stc.eventmanagement.impl.EventForwarderMBean.setup(EventForwarderMBean.java:334)
         at com.stc.eventmanagement.impl.EventForwarderMBean.invoke(EventForwarderMBean.java:565)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at com.stc.eventmanagement.impl.EventManagementService.setupEventForwarderMbean(EventManagementService.java:270)
         at com.stc.eventmanagement.impl.EventManagementService.registerMBean(EventManagementService.java:147)
         at com.stc.eventmanagement.impl.EventManagementService.startService(EventManagementService.java:96)
         at com.stc.eventmanagement.impl.EventManagementResourceAdapter.start(EventManagementResourceAdapter.java:75)
         at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:94)
         at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:74)
         at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:269)
         at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:372)
         at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:204)
         at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:87)
         at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:108)
         at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:216)
         at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:106)
         at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:183)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:295)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:238)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:186)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    |#]
    Please provide some suggestions to overcome this  error
    Regards
    Venkatesh.S

    Delete the EventStoreDb.data file (its somewhere in your logical host) and restart the logical host.

  • Error in simple SOA Composite - "java.sql.SQLException: No suitable driver"

    I have created a sample project that reads XML files using a file adapter and inserts into the database using a database adapter.
    When I run the composite, I get the following error:
    Dec 11, 2008 10:44:06 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    WARNING: JCABinding=&gt; JCABinding=&gt; ReadEmpLoaction:InsertData [InsertData_ptt::insert(EmployeeTrackingCollection)|http://forums.oracle.com/forums/]JNDI lookup of 'eis/DB/Connection1' failed due to: eis/DB/Connection1 not found
    Dec 11, 2008 10:44:09 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    WARNING: Database Adapter ReadEmpLoaction:InsertData [InsertData_ptt::insert(EmployeeTrackingCollection)|http://forums.oracle.com/forums/]
    java.sql.SQLException: No suitable driver
    bq.      at java.sql.DriverManager.getConnection(DriverManager.java:545) \\     at java.sql.DriverManager.getConnection(DriverManager.java:140) \\     at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:76) \\     at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:153) \\     at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:273) \\     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:230) \\     at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:350) \\     at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:117) \\     at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:354) \\     at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:425) \\     at oracle.toplink.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:607) \\     at oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:1185) \\     at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:505) \\     at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:458) \\     at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:235) \\     at oracle.tip.adapter.db.DBInteraction.executeOutboundWrite(DBInteraction.java:726) \\     at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:226) \\     at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:298) \\     at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:509) \\     at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:493) \\     at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:429) \\     at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:193) \\     at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:153) \\     at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152) \\     at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159) \\     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\     at java.lang.reflect.Method.invoke(Method.java:585) \\     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\     at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71) \\     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) \\     at $Proxy70.post(Unknown Source) \\     at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post2Mesh(MediatorServiceEngine.java:705) \\     at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:164) \\     at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:79) \\     at oracle.tip.mediator.service.BaseActionHandler.requestProcess(BaseActionHandler.java:53) \\     at oracle.tip.mediator.service.OneWayActionHandler.oneWayRequestProcess(OneWayActionHandler.java:67) \\     at oracle.tip.mediator.service.OneWayActionHandler.process(OneWayActionHandler.java:34) \\     at oracle.tip.mediator.service.ActionProcessor.onMessage(ActionProcessor.java:61) \\     at oracle.tip.mediator.dispatch.MessageDispatcher.executeCase(MessageDispatcher.java:103) \\     at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCase(InitialMessageDispatcher.java:465) \\     at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:361) \\     at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:254) \\     at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:149) \\     at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:533) \\     at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:634) \\     at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:138) \\     at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152) \\     at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159) \\     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\     at java.lang.reflect.Method.invoke(Method.java:585) \\     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\     at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59) \\     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) \\     at $Proxy70.post(Unknown Source) \\     at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:574) \\     at oracle.integration.platform.blocks.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:295) \\     at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:2127) \\     at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:1719) \\     at oracle.tip.adapter.file.inbound.ProcessWork.translateAndPublish(ProcessWork.java:677) \\     at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:320) \\     at oracle.integration.platform.blocks.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51) \\     at oracle.integration.platform.blocks.adapter.fw.common.ThreadPool.run(ThreadPool.java:283) \\     at java.lang.Thread.run(Thread.java:595)
    I have created ADF projects using the same database (Oracle XE) and they work fine. Its only this composite, which is complaining of "No suitable driver" exception.
    I found a post very similar to mine -&gt; Composite is failing
    So I went and checked my parameters. Here's what I found:-
    SQL&gt; show parameter sessions
    NAME TYPE VALUE
    java_max_sessionspace_size integer 0
    java_soft_sessionspace_limit integer 0
    license_max_sessions integer 0
    license_sessions_warning integer 0
    logmnr_max_persistent_sessions integer 1
    sessions integer 170
    shared_server_sessions integer
    SQL&gt; show parameter processes
    NAME TYPE VALUE
    aq_tm_processes integer 0
    db_writer_processes integer 1
    gcs_server_processes integer 0
    job_queue_processes integer 4
    log_archive_max_processes integer 2
    processes integer 150
    So parameters is not the issue here.
    Edited by: user8028667 on Dec 11, 2008 10:52 AM
    Edited by: user8028667 on Dec 11, 2008 11:40 AM

    I ran the sample that you pointed out and unfortunately got the same error in the log: "java.sql.SQLException: No suitable driver" along with a bunch of others as well. You will have to scroll down to see the No suitable driver exception.
    But here's the weird part - the output is as expected: VALID and INVALID depending on the Credit card number I supply. Which means the database is reachable.
    The only difference is that the example performs a SELECT operation, whereas I am trying to perform an INSERT operation. Also I have a for-each node in the XSL and I am inserting multiple records from an XML to the Database.
    Here's the log for your inspection:
    bq. SEVERE: Exception creating custom component loader \\ java.lang.IllegalStateException: ClassLoader "default.composite.ReadEmpLoaction.2008-12-07_16-00-12_609" (from Application component in user-defined-origin): A loader with this name and version already exists, from Application component in user-defined-origin. \\ at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:167) \\ at oracle.classloader.PolicyClassLoaderSet$LoaderList.insert(PolicyClassLoaderSet.java:164) \\ at oracle.classloader.PolicyClassLoaderSet.add(PolicyClassLoaderSet.java:294) \\ at oracle.classloader.ConfigurationPolicy.configure(ConfigurationPolicy.java:447) \\ at oracle.classloader.PolicyClassLoader.&lt;init&gt;(PolicyClassLoader.java:466) \\ at oracle.classloader.PolicyClassLoader.&lt;init&gt;(PolicyClassLoader.java:417) \\ at oracle.classloader.util.ClassLoaderUtilities.createClassLoader(ClassLoaderUtilities.java:155) \\ at oracle.fabric.composite.CompositePolicyClassLoaderImpl.&lt;init&gt;(CompositePolicyClassLoaderImpl.java:28) \\ at oracle.fabric.composite.model.CompositeModel.getCompositeClassloader(CompositeModel.java:241) \\ at oracle.integration.platform.blocks.deploy.DeploymentConnection.deploy(DeploymentConnection.java:58) \\ at oracle.integration.platform.blocks.deploy.CompositeDeployerImpl.deploy(CompositeDeployerImpl.java:90) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\ at java.lang.reflect.Method.invoke(Method.java:585) \\ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\ at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:30) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) \\ at $Proxy71.deploy(Unknown Source) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.makeDeploymentChanges(DeployedCompositesManagerImpl.java:376) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.processDeployedCompositesModel(DeployedCompositesManagerImpl.java:232) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.processDeployedCompositesModel(DeployedCompositesManagerImpl.java:238) \\ at oracle.integration.platform.blocks.deploy.OC4JApplicationListener.documentChanged(OC4JApplicationListener.java:135) \\ at oracle.integration.platform.blocks.deploy.OC4JApplicationListener.documentAdded(OC4JApplicationListener.java:85) \\ at oracle.as.config.notification.oc4j.OC4JWatchingDocumentChangeNotifier$OC4JChangeListener.documentAdded(OC4JWatchingDocumentChangeNotifier.java:154) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.checkUsingListeners(WatchingDocumentChangeNotifier.java:197) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.checkFiles(WatchingDocumentChangeNotifier.java:125) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.run(WatchingDocumentChangeNotifier.java:114) \\ at java.lang.Thread.run(Thread.java:595) \\ 08/12/12 13:55:27 SEVERE: HttpRequestHandler.run Exception: java.lang.IllegalStateException: This DMSMetricController is not started.Phase event info: WEBs:processRequest soa-console:processRequest \\ at com.evermind.server.http.DMSMetricController.abort(DMSMetricController.java:115) \\ at com.evermind.server.http.EvermindHttpServletRequest.dmsAbort(EvermindHttpServletRequest.java:268) \\ at com.evermind.server.http.HttpRequestHandler.dmsProcRequestDone(HttpRequestHandler.java:358) \\ at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:425) \\ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189) \\ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163) \\ at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275) \\ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) \\ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) \\ at java.lang.Thread.run(Thread.java:595) \\ Dec 12, 2008 1:55:29 PM oracle.classloader.util.ClassLoaderUtilities createClassLoader \\ SEVERE: Exception creating custom component loader \\ java.lang.IllegalStateException: ClassLoader "default.composite.ReadEmpLoaction.2008-12-07_16-00-12_609" (from Application component in user-defined-origin): A loader with this name and version already exists, from Application component in user-defined-origin. \\ at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:167) \\ at oracle.classloader.PolicyClassLoaderSet$LoaderList.insert(PolicyClassLoaderSet.java:164) \\ at oracle.classloader.PolicyClassLoaderSet.add(PolicyClassLoaderSet.java:294) \\ at oracle.classloader.ConfigurationPolicy.configure(ConfigurationPolicy.java:447) \\ at oracle.classloader.PolicyClassLoader.&lt;init&gt;(PolicyClassLoader.java:466) \\ at oracle.classloader.PolicyClassLoader.&lt;init&gt;(PolicyClassLoader.java:417) \\ at oracle.classloader.util.ClassLoaderUtilities.createClassLoader(ClassLoaderUtilities.java:155) \\ at oracle.fabric.composite.CompositePolicyClassLoaderImpl.&lt;init&gt;(CompositePolicyClassLoaderImpl.java:28) \\ at oracle.fabric.composite.model.CompositeModel.getCompositeClassloader(CompositeModel.java:241) \\ at oracle.integration.platform.blocks.deploy.DeploymentConnection.deploy(DeploymentConnection.java:58) \\ at oracle.integration.platform.blocks.deploy.CompositeDeployerImpl.deploy(CompositeDeployerImpl.java:90) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\ at java.lang.reflect.Method.invoke(Method.java:585) \\ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\ at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:30) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) \\ at $Proxy71.deploy(Unknown Source) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.makeDeploymentChanges(DeployedCompositesManagerImpl.java:376) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.processDeployedCompositesModel(DeployedCompositesManagerImpl.java:232) \\ at oracle.integration.platform.blocks.deploy.DeployedCompositesManagerImpl.processDeployedCompositesModel(DeployedCompositesManagerImpl.java:238) \\ at oracle.integration.platform.blocks.deploy.OC4JDeploymentListener.documentChanged(OC4JDeploymentListener.java:124) \\ at oracle.as.config.notification.oc4j.OC4JWatchingDocumentChangeNotifier$OC4JChangeListener.documentChanged(OC4JWatchingDocumentChangeNotifier.java:172) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.checkUsingListeners(WatchingDocumentChangeNotifier.java:182) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.checkFiles(WatchingDocumentChangeNotifier.java:125) \\ at oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier.run(WatchingDocumentChangeNotifier.java:114) \\ at java.lang.Thread.run(Thread.java:595) \\ Dec 12, 2008 1:55:29 PM oracle.classloader.util.ClassLoaderUtilities createClassLoader \\ 08/12/12 13:55:45 SEVERE: HttpRequestHandler.run Exception: java.lang.IllegalStateException: This DMSMetricController is not started.Phase event info: WEBs:processRequest soa-console:processRequest \\ at com.evermind.server.http.DMSMetricController.abort(DMSMetricController.java:115) \\ at com.evermind.server.http.EvermindHttpServletRequest.dmsAbort(EvermindHttpServletRequest.java:268) \\ at com.evermind.server.http.HttpRequestHandler.dmsProcRequestDone(HttpRequestHandler.java:358) \\ at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:425) \\ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189) \\ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163) \\ at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275) \\ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) \\ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) \\ at java.lang.Thread.run(Thread.java:595) \\ Dec 12, 2008 1:56:05 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log \\ WARNING: JCABinding=&gt; JCABinding=&gt; validationForCC:getCreditValidation getCreditValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,CreditcardinfoCollection) JNDI lookup of 'eis/DB/soademoDatabase' failed due to: eis/DB/soademoDatabase not found \\ Dec 12, 2008 1:56:05 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log \\ WARNING: Database Adapter validationForCC:getCreditValidation getCreditValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,CreditcardinfoCollection) \\ java.sql.SQLException: No suitable driver \\ at java.sql.DriverManager.getConnection(DriverManager.java:545) \\ at java.sql.DriverManager.getConnection(DriverManager.java:140) \\ at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:76) \\ at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:153) \\ at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:273) \\ at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:230) \\ at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:350) \\ at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:117) \\ at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:354) \\ at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:425) \\ at oracle.toplink.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:607) \\ at oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:1185) \\ at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:505) \\ at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:458) \\ at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:235) \\ at oracle.tip.adapter.db.DBInteraction.executeOutboundRead(DBInteraction.java:317) \\ at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:219) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:298) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:509) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeSyncJcaReference(JCAInteractionInvoker.java:484) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performSynchronousInteraction(JCAEndpointInteraction.java:411) \\ at oracle.integration.platform.blocks.adapter.AdapterReference.request(AdapterReference.java:123) \\ at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:155) \\ at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:137) \\ at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:101) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\ at java.lang.reflect.Method.invoke(Method.java:585) \\ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\ at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) \\ Dec 12, 2008 1:56:05 PM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log \\ WARNING: Database Adapter validationForCC:getCreditValidation getCreditValidation_ptt::getCreditValidationSelect(getCreditValidationSelect_inputParameters,CreditcardinfoCollection) \\ java.sql.SQLException: No suitable driver \\ at java.sql.DriverManager.getConnection(DriverManager.java:545) \\ at java.sql.DriverManager.getConnection(DriverManager.java:140) \\ at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:76) \\ at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:153) \\ at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:273) \\ at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:230) \\ at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:350) \\ at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:117) \\ at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:354) \\ at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:430) \\ at oracle.toplink.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:607) \\ at oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:1185) \\ at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:505) \\ at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:458) \\ at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:235) \\ at oracle.tip.adapter.db.DBInteraction.executeOutboundRead(DBInteraction.java:317) \\ at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:219) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:298) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:509) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeSyncJcaReference(JCAInteractionInvoker.java:484) \\ at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performSynchronousInteraction(JCAEndpointInteraction.java:411) \\ at oracle.integration.platform.blocks.adapter.AdapterReference.request(AdapterReference.java:123) \\ at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:155) \\ at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:137) \\ at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:101) \\ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \\ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \\ at java.lang.reflect.Method.invoke(Method.java:585) \\ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) \\ at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71) \\ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) \\ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

  • Error connecting to database - java.sql.SQLException: Io exception: The Net

    Hello friends,
    I know this question has been asked in a lot of other threads; but my problem is quite unique and that's why I'm starting a new thread...
    When I try to access an Oracle 10g database through a Servlet code using a JDBC thin driver (both Tomcat and the database are running on Solaris 9), I get the following error:
    "Error connecting to database - java.sql.SQLException: Io exception: The Network Adapter could not establish the connection"
    However, there is another application running on the same server using the same database server (only the actual databases being used differ) and it is able to access the database without any issues. Both of these are absolutely similar applications and I couldn't think of any reasons why one would work and the other wouldn't. I thought they might be conflicting each other and tried running only the problematic application. But even then, I get the same error.
    I know this might not be too relevant but to provide you some more information on the environment, the applications are running on separate Tomcat instances on the same server and they are connected to an Apache web server through Mod jk.
    Any help in solving this problem is greatly appreciated!
    Thanks!
    Regards,
    Yogaesh

    Yogaesh wrote:
    The 'application' that works is also a Tomcat application... It's exactly same as the problematic application in terms of the configuration and stuff... As for the typo errors, I copied the config info and pasted it... So pretty much it should be the same. And to add an additional note, I'm able to connect to the database from my localhost... I mean if I run the problematic application from localhost (without Apache and directly hitting Tomcat) I'm able to access the screens...
    The second part of that (localhost) usually isn't all that useful. You know it is a connection failure so that means the code is running and technically successfully (since connection failure is a legitimate runtime error.)
    You know it isn't a firewall issue because it connects from another app in tomcat. So it must be a configuration issue.
    So something like one of the following.
    1. It isn't the same (we already know this but this particular item means that it is not in fact exactly the same because you deliberately or accidently modified it.)
    2. It isn't pulling the right config. Maybe you aren't packaging it, maybe it is buffered on the server and it is using that rather than what you think it is.
    3. Java code is referring to the wrong name.
    Do this, change the configuration so it points to a server that does not exist. Repack, redeploy. If the error is the same (no diff) then you know that it is not running the code that you think it is. If it does change then you know that it can only be 1.

  • Error java.sql.SQLException

    My patch management update is set to fire off at 2:00am. In my loader-messages.log I have
    [DEBUG] [7/28/10 2:09:38 AM] [] [ImportContent] [] [Done processing: abaafc6c0bb1427e2fdda82450ff5485] [] []
    [DEBUG] [7/28/10 2:09:40 AM] [] [Loader.PatchSubscriptionService] [] [Error Delete signature with name C122AA6FC4B002B18DD52FE31E7DA934] [] []
    [DEBUG] [7/28/10 2:09:40 AM] [] [Loader.PatchSubscriptionService] [] [org.hibernate.exception.ConstraintViolationExcepti on: could not delete: [[com.patchlink.sapphire.datamodel.PatchSignature#12 677]]
    at org.hibernate.exception.SQLStateConverter.convert( SQLStateConverter.java:71)
    at org.hibernate.exception.JDBCExceptionHelper.conver t(JDBCExceptionHelper.java:43)
    at org.hibernate.persister.entity.AbstractEntityPersi ster.delete(AbstractEntityPersister.java:2384)
    at org.hibernate.persister.entity.AbstractEntityPersi ster.delete(AbstractEntityPersister.java:2516)
    at org.hibernate.action.EntityDeleteAction.execute(En tityDeleteAction.java:73)
    at org.hibernate.engine.ActionQueue.execute(ActionQue ue.java:248)
    at org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:232)
    at org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:144)
    at org.hibernate.event.def.AbstractFlushingEventListe ner.performExecutions(AbstractFlushingEventListene r.java:297)
    at org.hibernate.event.def.DefaultFlushEventListener. onFlush(DefaultFlushEventListener.java:27)
    at org.hibernate.impl.SessionImpl.flush(SessionImpl.j ava:988)
    at org.hibernate.impl.SessionImpl.managedFlush(Sessio nImpl.java:337)
    at org.hibernate.transaction.JDBCTransaction.commit(J DBCTransaction.java:106)
    at com.novell.zenworks.lumension.PatchManager.deleteP atchSignatureByMD5(PatchManager.java:718)
    at com.novell.zenworks.lumension.PatchSubscriptionSer vice.processAction(PatchSubscriptionService.java:3 86)
    at com.novell.zenworks.loader.modules.queue.runner.Qu eueThreadWorker.processAction(QueueThreadWorker.ja va:208)
    at com.novell.zenworks.loader.modules.queue.runner.Qu eueThreadWorker.run(QueueThreadWorker.java:139)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:651)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:676)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: [[Sybase]][[ODBC Driver]][[SQL Anywhere]]Primary key for row in table 'PATCHSIGNATURE' is referenced by foreign key 'FK38670AEAB227C794' in table 'BaseLineGroupPatchSignature'
    at ianywhere.ml.jdbcodbc.IIPreparedStatement.executeU pdate(Native Method)
    at ianywhere.ml.jdbcodbc.IPreparedStatement.executeUp date(IPreparedStatement.java:219)
    at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement .executeUpdate(NewProxyPreparedStatement.java:105)
    at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(N onBatchingBatcher.java:23)
    at org.hibernate.persister.entity.AbstractEntityPersi ster.delete(AbstractEntityPersister.java:2363)
    ... 17 more
    There are several more error messages but I suspect they all stem from this first one. Do I have to do DB stuff or if I turn the other way will it .....
    Maybe I could press that magic button again? Anyone?
    Cheers

    GERWIL,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

Maybe you are looking for

  • IPod synch - not updating iCal events

    Several people have posted that their calendars are not synching to their iPods/iPhones/&c. at all. When I synch my iPod(s) (80GB video), the iCal calendars show up, but using an older database. That's to say that I change and add and delete events o

  • With java how to call a function offered by user32.dll?

    Hi,everyone. Please think about my question.Now i want to retrieve all the user's information in NT OS.will it be possible? could it be done by calling a method of dll? i have tried to define a native method,but i got java.lang.UnsatisfiedLinkerror w

  • Detailed client Report in WCS

    Hi, what exactly mean the fields of the traps  that appear in the Detailed Client report of the WCS? 07/08/10 08:09,"00:04:23:71:67:bf",,"Campus> Ome > CN.OM.P03","XSFK2MP345","10.120.205.25",07/08/10 08:09,"0 secs","0.0.0.0",0,-128,"802.11b","N/A",0

  • XE Client not able to access XE Server database

    I have installed Oracle Database 10g Express Edition (Western European) OracleXE.exe on one Windows XP machine and Oracle Database 10g Express Client OracleXEClient.exe on onother. I have followed the instructions to set the Server to accept remote a

  • HT5167 SLOW SHUT DOWN AFTER 10.7.4 UPDATE

    before the update my Air shut down in 2 or 3 sec , After the update to 10.7.4 shut down in 13 sec. why??