Error:No Suitable Driver found for sybase

Jdev 11.1.1.4, ADF BC and ADF Faces
Problem:
Created ADF BC module using Sybase Database connection. While running the module its giving
“No Suitable Driver found”.
Process we have followed:
1)     Created a Sybase Database connection in Resource palate. (jar added in classpath jconn2.jar & jTDS2.jar).
Note: Sybase connection is successful :)
2)     Use this connection in New ADFBC Appmodule.
3)     In Implementation class we are trying to call a Sybase procedure.
4)     Then Running the Appmodule using “Run” button.
Approach we have tried after getting the error:
1)     Copy jconn2.jar & jTDS2.jar in BC4j/jlib – It ‘s not working.
Any suggestion will be helpful. Thanks in advance.
~Abhijit

You have to configure the SQL flavor and Sybase JDBC driver class in the AM configuration properties:
<tt>jbo.SQLBuilder=SQL92
jbo.sql92.JdbcDriverClass=com.sybase.jdbc2.jdbc.SybDriver</tt>
(The JDBC driver class may be <tt>com.sybase.jdbc3.jdbc.SybDriver</tt> depending on your Sybase ASE version).
You may have to set the AM's property <tt>jbo.sql92.LockTrailer</tt> as well.
Alternatively, you may set the SQL flavor, JDBC driver class and the lock trailer in adf-config.xml. If you are setting these values in adf-config.xml, then you may have to choose "Custom" SQL flavor.
Dimitar

Similar Messages

  • Database Error "no suitable driver found..." (WIS 10901)

    Hello,
    have a ZCM 11.2.1 with Primarys (SLES 11 SP1) and external MS-SQL-Database (Win Server 2008 R2).
    Month ago, we aditionally setup a Reportingserver in ZCM 11.1 and all worked fine. Made the "ZENworks11SP2_ReportingSP4 patch" and it was OK too. Now, after a few weeks, i wanted to make a report again and get this error when a report is in process:
    No suitable driver found for jdbc:sqlserver://zcmdb:1433;DatabaseName=zenworks. (WIS 10901).
    In the meanwhile (between last successfully generated report and now, we updated Servers to 11.2 and 11.2.1).
    What can i do to troubleshoot this?

    Schukar,
    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://forums.novell.com/

  • EJB - no suitable driver found for oracle jdbc driver

    this is the exception i got when i run the client:
    java.rmi.RemoteException: nested exception is: java.sql.SQLException: No suitable driver; nested exception is:
    java.sql.SQLException: No suitable driver
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(DriverManager.java:537)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:45)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:177)
    at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:56)
    at com.sun.enterprise.resource.Jdbc10XaAllocator.createResource(Jdbc10XaAllocator.java:66)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:177)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:126)
    at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:137)
    at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:74)
    at bmp.TaxEJB.ejbCreate(TaxEJB.java:34)
    at bmp.TaxEJB_RemoteHomeImpl.create(TaxEJB_RemoteHomeImpl.java:32)
    at bmp._TaxEJB_RemoteHomeImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:520)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:210)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:112)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
    at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
    this is the implementation file (TaxEJB):
    package bmp;
    import java.sql.*;
    import javax.sql.*;
    import javax.naming.*;
    import java.util.*;
    import javax.ejb.*;
    public class TaxEJB implements EntityBean {
    private String stateCode;
    private float taxRate;
    private EntityContext ctx;
    private DataSource ds;
    private String dbName = "jdbc/Oracle";
    private Connection con;
    public void setTaxRate(float taxRate) {
    this.taxRate = taxRate;
    public float getTaxRate() {
    return this.taxRate;
    public String ejbCreate(String stateCode, float taxRate)
    throws CreateException {
    if (stateCode == null) {
    throw new CreateException("The State Code is required.");
    try {
    String sqlStmt = "INSERT INTO TaxTable VALUES ( ? , ? )";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setString(1, stateCode);
    stmt.setFloat(2, taxRate);
    stmt.executeUpdate();
    stmt.close();
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    this.stateCode = stateCode;
    this.taxRate = taxRate;
    return stateCode;
    public void ejbPostCreate(String stateCode, float taxRate) {}
    public void setEntityContext(EntityContext context) {
    this.ctx = context;
    try {
    InitialContext initial = new InitialContext();
    ds = (DataSource)initial.lookup(dbName);
    } catch (NamingException ne) {
    throw new EJBException(ne);
    public void unsetEntityContext() {
    ctx = null;
    public void ejbActivate() {
    stateCode = (String)ctx.getPrimaryKey();
    public void ejbPassivate() {
    stateCode = null;
    public void ejbLoad() {
    try {
    String sqlStmt = "SELECT stateCode, taxRate FROM TaxTable " +
    "WHERE stateCode = ? ";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setString(1, stateCode);
    ResultSet rs = stmt.executeQuery();
    if (rs.next()) {
    this.taxRate = rs.getFloat("taxRate");
    stmt.close();
    } else {
    stmt.close();
    throw new NoSuchEntityException("State Code: " + stateCode);
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    public void ejbStore() {
    try {
    String sqlStmt = "UPDATE TaxTable SET "
    + "taxRate = ? " + "WHERE stateCode = ?";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setFloat(1, taxRate);
    stmt.setString(2, stateCode);
    if (stmt.executeUpdate() != 1) {
    throw new EJBException("Object state could not be saved");
    stmt.close();
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    public void ejbRemove() {
    try {
    String sqlStmt = "DELETE FROM TaxTable WHERE stateCode = ? ";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setString(1, stateCode);
    stmt.executeUpdate();
    stmt.close();
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    public String ejbFindByPrimaryKey(String primaryKey)
    throws FinderException {
    try {
    String sqlStmt = "SELECT stateCode "
    + "FROM TaxTable WHERE stateCode = ? ";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setString(1, primaryKey);
    ResultSet rs = stmt.executeQuery();
    if (!rs.next()) {
    throw new ObjectNotFoundException();
    rs.close();
    stmt.close();
    return primaryKey;
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    public Collection ejbFindInRange(float lowerLimit, float upperLimit)
    throws FinderException {
    try {
    String sqlStmt = "SELECT stateCode from TaxTable "
    + "WHERE taxRate BETWEEN ? AND ?";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setFloat(1, lowerLimit);
    stmt.setFloat(2, upperLimit);
    ResultSet rs = stmt.executeQuery();
    ArrayList list = new ArrayList();
    while (rs.next()) {
    String id = rs.getString(1);
    list.add(id);
    stmt.close();
    return list;
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    this is the setting in resource.properties:
    jdbcDataSource.5.name=jdbc/Oracle
    jdbcDataSource.5.url=jdbc\:oracle\:thin\:@nicole\:1521\:NICOLE
    jdbcDriver.1.name=oracle.jdbc.driver.OracleDriver
    this is my classpath setting:
    %J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\system\cloudscape.jar;%J2EE_HOME%\lib\system\cloudutil.jar;%J2EE_HOME%\lib\cloudscape\RmiJdbc.jar;%J2EE_HOME%\lib\system\classes12.jar;.
    since i already declare classpath for oracle JDBC Driver (classes12.jar), why the program still can't found the oracle.jdbc.driver.OracleDriver? please help. thanks.

    Hi,
    I m trying to connect ORACLE9i using JSP.But i encounter the error java.sql.SQlException no suitable driver found.My code is as follows.
    <html>
    <head><title>oracle</title></head>
    <body>
    <%@ page language="java"%>
    <%@ page import="java.sql.*" %>
    <%
    String eid=new String();
    String en=new String();
    try
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(ClassNotFoundException cnfe)
         out.println("Failed to load Jdbc Odbc driver");
    try{
    Connection con = DriverManager.getConnection("jdbc:oracle:thin@localhost:1521:ORACLE9I","scott","tiger");
    Statement ps = con.createStatement();
    try{
    ResultSet rs = ps.executeQuery("select * from empDetails");
    while(rs.next())
         out.println(rs.getString(1));
         out.println(rs.getString(2));
    rs.close();
    }catch(SQLException se)
    out.println(se);
    ps.close();
    con.close();
    catch(Exception e)
         out.println(e);
    catch (Exception e){
    out.println(e);
    %>
    </body></html>
    Pls anyone give me a solution.Its really urgent.

  • Tomcat Error : No suitable driver found

    Hi,
    I am facing a problem of connection between oracle and tomcat.
    plse help me.

    no suitable driver means the connection url syntax is incorrect. go fix it.
    %

  • No suitable driver found for jdbc:mysql

    Running :
    Windows XP ver 5.1 on x86
    Java 1.6.0_03
    VM Java HotSpot Client VM 1.6.003-b05
    Java jdk1.6.0\jre
    MySQL ver 14.12 Distrib 5.0.45 for Win32 (ia32)
    NetBeans IDE 5.5.1 (Build 200704122300)
    Classpath set to:
    E:\Programfiler\Java\jre1.6.0_03\lib\ext\QTJava.zip;E:\Programfiler\MySQL\mysql-connector-java-5.1.5\mysql-connector-java-5.1.5-bin.jar
    MySQL (Connector/J driver)
    Can connect to database at Runtime folder in Netbeans IDE.
    Can see all tables and read them but when I run following code:
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    } catch (Exception e) {
    System.err.println(e.toString());
    I get following result;
    run:
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    java.sql.SQLException:
         ://localhost:3306/test
    at java.sql.DriverManager.getConnection(DriverManager.java:602)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at viewtable01.Main.main(Main.java:43)
    BUILD SUCCESSFUL (total time: 0 seconds)
    PLEASE HELP, I'M GOING NUTS

    I'M GOING NUTSI'm already there...
    Try this at a new command prompt (start~run: cmd)
    $ dir E:\Programfiler\MySQL\mysql-connector-java-5.1.5\mysql-connector-java-5.1.5-bin.jarDoes it exist?
    If not then fix your classpath.
    If so then start~run: notepad ConnectorTest.java
    import java.sql.Connection;
    import java.sql.DriverManager;
    public class ConnectorTest {
      public static void main (String[] args) {
        Connection conn = null;
        try {
          String userName = args[0];
          String password = args[1];
          String url = "jdbc:mysql://localhost/test";
          Class.forName("com.mysql.jdbc.Driver").newInstance ();
          conn = DriverManager.getConnection(url, userName, password);
          System.out.println ("OK");
        } catch (Exception e) {
          e.printStackTrace();
        } finally {
          if(conn != null)try{conn.close();}catch(Exception eaten){}
    javac -cp E:\Programfiler\MySQL\mysql-connector-java-5.1.5\mysql-connector-java-5.1.5-bin.jar ConnectorTest.java
    java -cp E:\Programfiler\MySQL\mysql-connector-java-5.1.5\mysql-connector-java-5.1.5-bin.jar ConnectorTest ${username} ${password}When you've got it working at the command line then you can work out how to specify the libraries in netbeans... it's not hard, and it's very well covered in the netbeans help.
    You do know that netbeans doesn't use the system classpath don't you... because the classpath really needs to be specified on a project by project basis, mainly to allow you deal with libraries which depend on particular versions of other libraries. Ant's dependancy on xalan and xerces is a notable example.
    IMHO (in my humble opinion) newbies are better of working at the command prompt whilst learning the java language. A modern IDE is a complex beasty in it's own right, which tends to distract your main focus, learning java. I'm not alone in this opinion. Take it or leave it.
    Cheers, Keith.
    Edited by: corlettk on Nov 10, 2007 11:53 PM

  • No suitable driver found error while connecting to remote IBM DB2 database.

    While trying to connect to IBM DB2 database on a remote location, though the connection was successful from 'Application Resources', following trace could be recovered while performing 'Run' from 'AppModule':
    ERROR:
    (oracle.jbo.DMLException) JBO-26061: Error while opening JDBC connection.
    ----- Level 1: Detail 0 -----
    (java.sql.SQLException) No suitable driver found for jdbc:as400://XX.XXX.XX.XXX;naming=system;libraries=TEST;translate binary=true;prompt=false
    [891] (oracle.adf.model.bc4j.DataControlFactoryImpl.SyncMode = Immediate
    [892] Creating a new pool resource
    [893] BC4JDeployPlatform: LOCAL
    [894] Propertymanager: skipping reload of file and system based properties
    [895] {{ begin Loading BC4J properties
    [896] -----------------------------------------------------------
    [897] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [898] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
    [899] Skipping empty Property jbo.default.locale.variant from System Default
    [900] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [901] Skipping empty Property ConnectionMode from System Default
    [902] Skipping empty Property HostName from System Default
    [903] Skipping empty Property ConnectionPort from System Default
    [904] BC4J Property jbo.locking.mode='optimistic' -->(MetaObjectManager) from Client Environment
    [905] BC4J Property jbo.txn.disconnect_level='0' -->(SessionImpl) from System Default
    [906] Skipping empty Property ApplicationPath from System Default
    [907] BC4J Property AppModuleJndiName='model.AppModule' -->(SessionImpl) from Client Environment
    [908] Skipping empty Property java.naming.security.principal from System Default
    [909] Skipping empty Property java.naming.security.credentials from System Default
    [910] Skipping empty Property jbo.user.principal from System Default
    [911] BC4J Property jbo.simulate.remote='false' -->(SessionImpl) from System Default
    [912] BC4J Property jbo.security.context='oracle.security.jazn' -->(MetaObjectManager) from System Default
    [913] Skipping empty Property jbo.object.marshaller from System Default
    [914] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
    [915] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [916] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
    [917] BC4J Property jbo.validation.threshold='10' -->(SessionImpl) from System Default
    [918] BC4J Property jbo.sparse.array.threshold='20' -->(SessionImpl) from System Default
    [919] Skipping empty Property jbo.pcoll.mgr from System Default
    [920] BC4J Property jbo.txn_table_name='PS_TXN' -->(SessionImpl) from System Default
    [921] BC4J Property jbo.txn_seq_name='PS_TXN_seq' -->(SessionImpl) from System Default
    [922] BC4J Property jbo.txn_seq_inc='50' -->(SessionImpl) from System Default
    [923] BC4J Property jbo.control_table_name='PCOLL_CONTROL' -->(MetaObjectManager) from System Default
    [924] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
    [925] BC4J Property jbo.domain.date.suppress_zero_time='true' -->(MetaObjectManager) from System Default
    [926] BC4J Property jbo.domain.bind_sql_date='true' -->(MetaObjectManager) from System Default
    [927] BC4J Property jbo.domain.string.as.bytes.for.raw='false' -->(MetaObjectManager) from System Default
    [928] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [929] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
    [930] BC4J Property jbo.903.compatible='false' -->(MetaObjectManager) from System Default
    [931] Skipping empty Property JBODynamicObjectsPackage from System Default
    [932] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
    [933] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from System Default
    [934] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
    [935] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [936] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from Client Environment
    [937] BC4J Property oracle.jbo.usemds='true' -->(MetaObjectManager) from System Default
    [938] BC4J Property oracle.adfm.usemds='true' -->(MetaObjectManager) from System Default
    [939] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [940] Skipping empty Property HandleName from System Default
    [941] Skipping empty Property Factory-Substitution-List from System Default
    [942] BC4J Property jbo.project='model.Model' -->(Configuration) from Client Environment
    [943] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [944] WARNING: Property jbo.dofailoverset to null
    [945] Skipping empty Property jbo.dofailover from null
    [946] WARNING: Property jbo.envinfoproviderset to null
    [947] Skipping empty Property jbo.envinfoprovider from null
    [948] Skipping empty Property jbo.rowid_am_conn_name from System Default
    [949] Skipping empty Property jbo.rowid_am_datasource_name from System Default
    [950] WARNING: Property jbo.ampool.writecookietoclientset to null
    [951] Skipping empty Property jbo.ampool.writecookietoclient from null
    [952] WARNING: Property jbo.doconnectionpoolingset to null
    [953] Skipping empty Property jbo.doconnectionpooling from null
    [954] WARNING: Property jbo.recyclethresholdset to null
    [955] Skipping empty Property jbo.recyclethreshold from null
    [956] WARNING: Property jbo.ampool.dynamicjdbccredentialsset to null
    [957] Skipping empty Property jbo.ampool.dynamicjdbccredentials from null
    [958] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(SessionImpl) from System Default
    [959] BC4J Property jbo.ampool.sessioncookiefactoryclass='oracle.jbo.common.ampool.DefaultSessionCookieFactory' -->(Configuration) from Client Environment
    [960] WARNING: Property jbo.ampool.connectionstrategyclassset to null
    [961] Skipping empty Property jbo.ampool.connectionstrategyclass from null
    [962] WARNING: Property jbo.ampool.maxpoolsizeset to null
    [963] Skipping empty Property jbo.ampool.maxpoolsize from null
    [964] BC4J Property jbo.ampool.initpoolsize='0' -->(Configuration) from Client Environment
    [965] WARNING: Property jbo.ampool.monitorsleepintervalset to null
    [966] Skipping empty Property jbo.ampool.monitorsleepinterval from null
    [967] WARNING: Property jbo.ampool.minavailablesizeset to null
    [968] Skipping empty Property jbo.ampool.minavailablesize from null
    [969] WARNING: Property jbo.ampool.maxavailablesizeset to null
    [970] Skipping empty Property jbo.ampool.maxavailablesize from null
    [971] WARNING: Property jbo.ampool.maxinactiveageset to null
    [972] Skipping empty Property jbo.ampool.maxinactiveage from null
    [973] WARNING: Property jbo.ampool.timetoliveset to null
    [974] Skipping empty Property jbo.ampool.timetolive from null
    [975] WARNING: Property jbo.ampool.doampoolingset to null
    [976] Skipping empty Property jbo.ampool.doampooling from null
    [977] WARNING: Property jbo.ampool.issupportspassivationset to null
    [978] Skipping empty Property jbo.ampool.issupportspassivation from null
    [979] BC4J Property jbo.ampool.isuseexclusive='true' -->(SessionImpl) from System Default
    [980] BC4J Property jbo.passivationstore='null' -->(SessionImpl) from System Default
    [981] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
    [982] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from System Default
    [983] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
    [984] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
    [985] BC4J Property jbo.connectfailover='true' -->(SessionImpl) from System Default
    [986] BC4J Property jbo.datasource_naming_factory='oracle.jbo.server.DataSourceContextFactory' -->(MetaObjectManager) from System Default
    [987] WARNING: Property jbo.maxpoolcookieageset to null
    [988] Skipping empty Property jbo.maxpoolcookieage from null
    [989] WARNING: Property PoolClassNameset to null
    [990] Skipping empty Property PoolClassName from null
    [991] BC4J Property jbo.maxpoolsize='4096' -->(MetaObjectManager) from System Default
    [992] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [993] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [994] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(MetaObjectManager) from System Default
    [995] BC4J Property jbo.poolminavailablesize='5' -->(MetaObjectManager) from System Default
    [996] BC4J Property jbo.poolmaxavailablesize='25' -->(MetaObjectManager) from System Default
    [997] BC4J Property jbo.poolmaxinactiveage='600000' -->(MetaObjectManager) from System Default
    [998] BC4J Property jbo.pooltimetolive='-1' -->(MetaObjectManager) from System Default
    [999] BC4J Property jbo.qcpool.monitorsleepinterval='1800000' -->(SessionImpl) from System Default
    [1000] BC4J Property jbo.qcpool.maxinactiveage='900000' -->(SessionImpl) from System Default
    [1001] BC4J Property jbo.qcpool.maxweight='-1' -->(SessionImpl) from System Default
    [1002] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
    [1003] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [1004] BC4J Property jbo.viewlink.consistent='DEFAULT' -->(MetaObjectManager) from System Default
    [1005] BC4J Property jbo.finder.range.size='DEFAULT' -->(MetaObjectManager) from System Default
    [1006] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
    [1007] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
    [1008] BC4J Property jbo.SQLBuilder='DB2' -->(MetaObjectManager) from Client Environment
    [1009] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [1010] BC4J Property jbo.TypeMapEntries='OracleApps' -->(MetaObjectManager) from Client Environment
    [1011] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
    [1012] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
    [1013] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [1014] BC4J Property jbo.abstract.base.check='true' -->(MetaObjectManager) from System Default
    [1015] BC4J Property jbo.assoc.where.early.set='false' -->(MetaObjectManager) from System Default
    [1016] BC4J Property jbo.use.findbykey.for.assoc='true' -->(MetaObjectManager) from System Default
    [1017] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
    [1018] BC4J Property oracle.jbo.defineColumnLength='skipDefines' -->(MetaObjectManager) from System Default
    [1019] BC4J Property jbo.jdbc_bytes_conversion='jdbc' -->(MetaObjectManager) from System Default
    [1020] Skipping empty Property jbo.tmpdir from System Default
    [1021] Skipping empty Property jbo.server.internal_connection from System Default
    [1022] BC4J Property SessionClass='oracle.jbo.server.SessionImpl' -->(SessionImpl) from System Default
    [1023] Skipping empty Property TransactionFactory from System Default
    [1024] Skipping empty Property jbo.def.mgr.listener from System Default
    [1025] Skipping empty Property jbo.use.global.sub.map from System Default
    [1026] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [1027] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1028] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1029] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1030] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1031] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1032] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1033] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [1034] Skipping empty Property oracle.home from System Default
    [1035] Skipping empty Property oc4j.name from System Default
    [1036] Skipping empty Property jbo.shared.txn from System Default
    [1037] BC4J Property oracle.adfm.useSharedTransactionForFrame='true' -->(MetaObjectManager) from System Default
    [1038] BC4J Property oracle.adfm.joinNewFrameTransaction='false' -->(MetaObjectManager) from System Default
    [1039] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
    [1040] BC4J Property jbo.ejb.txntype='global' -->(SessionImpl) from System Default
    [1041] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
    [1042] BC4J Property jbo.ejb.useampool='false' -->(SessionImpl) from Client Environment
    [1043] Skipping empty Property oracle.jbo.schema from System Default
    [1044] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
    [1045] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
    [1046] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
    [1047] Skipping empty Property ord.HttpTempDir from System Default
    [1048] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
    [1049] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
    [1050] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
    [1051] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
    [1052] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
    [1053] Skipping empty Property ord.rp.codebase from System Default
    [1054] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
    [1055] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
    [1056] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
    [1057] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
    [1058] BC4J Property jbo.security.loginmodule='oracle.security.jazn.oc4j.JAZNUserManager' -->(SessionImpl) from System Default
    [1059] Skipping empty Property jbo.security.config from System Default
    [1060] BC4J Property jbo.server.useNullDbTransaction='false' -->(SessionImpl) from System Default
    [1061] BC4J Property jbo.domain.reopenblobstream='false' -->(MetaObjectManager) from System Default
    [1062] BC4J Property jbo.server.retainAssocAccessor='false' -->(SessionImpl) from System Default
    [1063] BC4J Property jbo.groovy.debug='false' -->(MetaObjectManager) from System Default
    [1064] BC4J Property jbo.busevent.suspendpublication='false' -->(SessionImpl) from System Default
    [1065] BC4J Property oracle.adfm.DefaultEventPolicy='NONE' -->(MetaObjectManager) from System Default
    [1066] BC4J Property oracle.adfm.useRootFrameOnly='false' -->(MetaObjectManager) from System Default
    [1067] Copying unknown Client property (user='TESTER') to session
    [1068] Copying unknown Client property (FullProxyInterfaceName='model.common.AppModule') to session
    [1069] Copying unknown Client property (jbo.applicationmoduleclassname='model.AppModule') to session
    [1070] Copying unknown Client property (jbo.jdbc.username='TESTER') to session
    [1071] Copying unknown Client property (BC4JConfigName='AppModuleLocal') to session
    [1072] Copying unknown Client property (DsPasswd='workout') to session
    [1073] Copying unknown Client property (JDBCName='ConnectTo146') to session
    [1074] Copying unknown Client property (DsUserName='TESTER') to session
    [1075] Copying unknown Client property (name='137E06086E5') to session
    [1076] Copying unknown Client property (ApplicationName='model.AppModule') to session
    [1077] Copying unknown Client property (LastUsedConfiguration='AppModuleLocal') to session
    [1078] Copying unknown Client property (password='*****') to session
    [1079] Copying unknown Client property (JDBCDataSource='java:comp/env/jdbc/ConnectTo146DS') to session
    [1080] Copying unknown Client property (jbo.jdbc.connectstring='jdbc:as400:/;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false') to session
    [1081] Copying unknown Client property (DBconnection='jdbc:as400://;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false') to session
    [1082] Copying unknown Client property (jbo.jdbc.password='*****') to session
    [1083] }} finished loading BC4J properties
    [1084] -----------------------------------------------------------
    [1085] Connected to Oracle JBO Server - Version: 11.1.2.61.83
    [1086] mPCollUsePMgr is false
    [1087] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    [1088] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    [1089] Default locking mode changed to: optimistic
    [1090] Created root application module: 'model.AppModule'
    [1091] Locale is: 'en_US'
    [1092] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    [1093] Trying connection: DataSource='oracle.jbo.server.ConnectionPoolDataSource@191d9ad'...
    [1094] Using the oracle.jbo.server.ConnectionPoolDataSource to acquire a connection...
    [1095] Creating a new pool resource
    [1096] Trying connection/3: url='jdbc:as400:/*****' user='TESTER' password='*****' ...
    [1097] DBTransactionImpl.initTransaction: Login failed
    [1098] java.sql.SQLException: No suitable driver found for jdbc:as400:;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false
         at java.sql.DriverManager.getConnection(DriverManager.java:602)
         at java.sql.DriverManager.getConnection(DriverManager.java:185)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
         at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
         at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    [1099] A dead application module instance was detected
    [1100] The application module instance was removed from the pool
    [1101] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    [1102] Resetting AM=AppModule
    [1103] An exception occured during checkout.
    [1104] oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:207)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
         at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    Caused by: java.sql.SQLException: No suitable driver found for jdbc:as400://naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false
         at java.sql.DriverManager.getConnection(DriverManager.java:602)
         at java.sql.DriverManager.getConnection(DriverManager.java:185)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
         at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
         ... 32 more
    [1105] JUErrorHandlerDlg.reportException(oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper)
    [1106] UIMessageBundle (language base) being initialized
    Jun 12, 2012 4:38:26 PM oracle.jbo.jbotester.MainFrame exit
    INFO: BC4J Tester exit code(-3)
    Process exited with exit code -3.

    When you use DB2 SQL flavor, the ADF BC use the oracle.jbo.server.DB2SQLBuilderImpl class as an SQLBuilder. This class determines the JDBC driver class name as follows:
    1) If the JBO configuration parameter jbo.sql92.JdbcDriverClass in not empty, then the JDBC driver class name is taken from there;
    2) If the jbo.sql92JdbcDriverClass parameter is empty, then:
    <ul><li>If the JDBC URL starts with "jdbc:db2://", then com.ibm.db2.jcc.DB2Driver
    <li>If the JDBC URL starts with "jdbc:oracle:db2", then com.oracle.ias.jdbc.db2.DB2Driver
    <li>If the JDBC URL starts with "jdbc:datadirect:db2", then com.ddtek.jdbc.db2.DB2Driver
    <li>Otherwise, COM.ibm.db2.jdbc.app.DB2Driver</ul>
    (Have a look at the source of the method DB2SQLBuilderImpl.getJDBCDriverClassName(String url) for more details).
    It is seen from the log in your first post that the parameter jbo.sql92.JdbcDriverClass is empty. As far as your JDBC URL starts with neither of the prefixes specified above (e.g. your URL starts with "jdbc:as400://"), then you should specify the necessary JDBC driver class in the JBO configuration parameter jbo.sql92.JdbcDriverClass. (You can specify it in the AM configuration parameters or in adf-config.xml).
    Dimitar

  • No suitable driver found?

    Hey,
    I've been searching this forum for a problem like mine (and I've found a few that are "like" mine, but none that are exactly the same or that will solve my problem).
    First, any information that might be relevant (I really have no idea how much of this is relevant, I am brand new to this):
    I'm using Eclipse and Apache Tomcat 6.0.14.
    I'm trying to set up a JSP page that shows a query from an Access database. I'm working from an example, and I've followed the example to the letter, but it doesn't seem to work for me.
    I have set up a "System DSN" ODBC and linked it to the proper .mdb file (I don't know that I'm using the proper terminology, but what I'm talking about is going to Control Panel > Administrative Tools > Data Sources (ODBC) > System DSN tab under Windows XP).
    This is what my context.xml (in my WebContent\META-INF directory) looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context>
    <Resource name="jdbc-odbc/ExampleDB" auth="Container"
    type="javax.sql.DataSource"
    driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:exampleDSN"
    removeAbandoned="true"
    removeAbandonedTimeout = "20"
    maxActive="8"    />
    </Context> "exampleDSN" is the name of the DSN I set up, and as I understand it, the value of the "name" attribute can be whatever I want, as long as it's referenced correctly in my JSP file.
    Here is the content of my JSP file:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <sql:setDataSource dataSource="jdbc-odbc/ExampleDB"/>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title>Insert title here</title>
    </head>
    <body>
    <sql:query var="qry_LoanID">
    SELECT LoanID FROM Loan
    </sql:query>
    </body>
    </html>I understand that this won't actually display anything as I have it now, but I'm just trying to get this tiny JSP file to work correctly. That said, here is the error information I am given:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: An exception occurred processing JSP page /cust_login.jsp at line 17
    14: <title>Insert title here</title>
    15: </head>
    16: <body>
    17:      <sql:query var="qry_LoanID">
    18:          SELECT LoanID FROM Loan
    19:     </sql:query>
    20:    
    Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc-odbc/ExampleDB"
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
    org.apache.jsp.cust_005flogin_jsp._jspService(cust_005flogin_jsp.java:91)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc-odbc/ExampleDB"
    org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:276)
    org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159)
    org.apache.jsp.cust_005flogin_jsp._jspx_meth_sql_005fquery_005f0(cust_005flogin_jsp.java:129)
    org.apache.jsp.cust_005flogin_jsp._jspService(cust_005flogin_jsp.java:78)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
    Apache Tomcat/6.0.14I hope this is enough information to get some help with my problem. I can't think of any other information I need to include, and I may have included too much already.
    Any help with this problem would be greatly appreciated.

    You probably don't have the Resource defined in your web.xml. Try adding that.
    %

  • No (suitable) item found for purchase order

    Dear All,
    The order is stock transfer order (STO) item category U. i saw GR is already create. GI  and also DCGR. i want to do DCIR which is invoice receipt in tcode mr01, the error "No (suitable) item found for purchase order" is coming out. What would be the cause of this situation? i check with old last PO it is same set with the one that having in problem. i also double click the item to see the detail and what i can see tick option for del completed and no tick on final del.
    no GR-based-4 or invoice receipt option to tick. means no tick option for this. but when i see previous po also same. but there is history on DCIR.
    Really need to know what should i do? is bug?
    Regards
    Aishah

    In case of out company it was SA(schudule agrement) PO we try on the Credit memo by MIRO t-code through IV
    but we met the same error message
    The problem cause of not exist delivery schedule quantiry we have put in the qty to there by manually after than this issue cleared.
                                                                       Hoil.

  • No Suitable Items found for PO (error M8035) while doing MIRO against service PO for the 1st time in the Company Code

    Hi
    I am encountering the error M8035 (" No Suitable Items found for PO ") while I am doing MIRO for the 1st time against service POs (item cat - D) in a company code.
    in OMSY the period opened for the company code is : Current 06 2014 previous 05 2014
    This was done because Go Live date for the new company code is 01.06.2014.
    I am doing test in the test client now.
    I have created a vendor on today's date
    I have created a service PO on today's date (GR, GR Bsd IV, IR, Serv Bsd IV - these indicators are marked in the PO)
    I have created service entry sheet on today's date (acc assignment - K, G/L a/c was determined from the Material Group maintained in the PO)
    I have accepted the service entry sheet on 04.05.2014 (FI doc posted against the matl doc - KBS to WRX on 04.05.2014)
    I am trying to do the MIRO in the same company code on 04.05.2014.
    While I am putting the PO and its line item in MIRO item and pressing enter system shows the above info msg and nothings is appearing in MIRO item.
    I have tried to do MIRO against service entry sheet also - same things happened.
    I have tried selecting Goods Service Item+planned del cost in MIRO - nothing changed.
    I have tried posting MIRO against a non service PO (acc assgnment K, Item cat - BLANK) after doing MIGO in the same company code in the same date- PO is appearing in that case.
    FI people are able to post FB60 manually for the vendor I am using in the PO - so there is no problem in the vendor also.
    I have gone through the scn post related with the topic, unfortunately none of them solved my problem.
    Please help
    Thanks
    Sanjib...

    Can you post a screen shot for PO history ?
    Regards
    Dev

  • Not able to send Email in SOA Suite 12c,getting No matching driver found for delivery type = EMAIL

    Hi All,
    I am getting following Errror whlie Sending Testing Mail from Human Workflow .
    No matching driver found for delivery type = EMAIL
    I followed all the steps mentioned in blogs.
    Steps that I followed--
    1,Downloaded Gmail and Imap Certificate.
    2.Imported in Keystore
    3.Create a Email driver properties.
    Than

    Did you resolve this? I am running into the same problem. Not sure if it a configuration issue or an issue with 12c (go figure). I have tried both a blank sender address list and explicitly putting the target address in. Notification mode is set to email. I am using the Notification Test under Human Workflow/Notification Managent. Where else could it be trying to match the driver to EMAIL?
    exception.type: ERROR
    exception.severity: 2
    exception.name: Error status received from UMS.
    exception.description: Status detail :
      Status type : DELIVERY_TO_DRIVER:FAILURE,
      Status Content : No matching driver found for delivery type = EMAIL,
      Addressed to : EMAIL:[email protected],
      UMS Driver : null,
      UMS Message Id : dcb01e3ec0a8456856fe8a439e6ecf3f,
      Gateway message Id : null,
      Status Received at : Mon Jan 12 00:49:27 EST 2015.
    exception.fix: Check status details and fix the underlying reason, which caused error.
    >

  • HP ePrint from excel add-in: Error while getting driver name for printer

    Trying to use add-in for ePrint from excel/word I get, "error while getting driver name for printer \\...HP DesignJet 800PS 42 by HP," with an option to select "OK" and that same message repeats with each printer in our network, and then it doesn't allow me to print using the add-in. However, I can print normally to HP Go Web, open up Print and Share,  then print it from there. This happens with excel and word. I have Office Suite 2007.

    Hello modameister,
    Sorry you are having issues with this printer and the ePrint add-on.  There are a couple of questions I would like you to answer please.
    1.  What operating system are you using? (XP,VISTA,7,MAC OS X)
    2.  What and how much data are you trying to print?
    3.  Have you tried to copy and paste the data into a different application or tried using the snip it tool?
    4.  Are you receiving any .dll errors (mscms.dll)
    Thanks
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Error-No Warehouse FC found for plant 1010/valuationh classs 3001

    Hi,
    Funds Management is active in my company code.Budgeting is on cost center level.
    My question is in many PO's and PR's we dont input account assignment as cost center because we dont require to put in it so now while creating PR for a BOM material im getting error "No warehouse FC found for plant 1010/valuation class 3001"
    When i select account assignment as Cost center it is working but i dont want to select that assignment as per requirement.
    And when i select Account assignment as UN (unknown that is also working fine.
    What is the possible solution to get rid iof this error.
    Thanks
    Deepa

    consider it as a high priority

  • Error CREDIT_SEGMENTS_ADD COIOB NOT FOUND FOR object CC...

    Hi All,
    My user is geting the ERROR while running the actual OH calculation through CJ45 as below:
    Error CREDIT_SEGMENTS_ADD COIOB NOT FOUND FOR object
    Message NO k5011.
    As this is more ralaing to the costing sheet, this refers to controlling module.
    We have verfied the Note 515426, but the correction were delivered in 4.7 itself. My client is using the  6.0 verion.
    Can anybody suggest the reason for the above error.
    Thanks & Regards
    Shankar

    HI,
    whats the message class, message number?
    BR Christian

  • ICal Error: "No virtual host found for iCal Service" - Help!

    Trying to set up iCal on OS X Server 10.5.6
    Server is up and running and successfully providing web services on its FQDN. Server is not currently used to support network users / services, but as and when it does it will be the Master Opendirectory server.
    I have created a couple of test accounts on the server (simply in the Users group) and enabled both for Calendar Access.
    I have provided the details of the FQDN on the iCal page, and checked that the default port (8008) has been opened in the firewall.
    In web services there is one virtual domain (using name based virtual server) and the default domain in operation. Both appear to be functioning as would be expected.
    When I click on 'start service' for iCal, I get this error.
    "No virtual host found for iCal service"
    I cannot find any information about this in iCal manual, or online documentation. Can anyone here provide pointer to where this information is, or what it means?
    Would be most grateful.

    Hey there,
    See if any of the solutions provided in either of these older threads can steer you in the right direction.
    http://discussions.apple.com/thread.jspa?threadID=1201737
    http://discussions.apple.com/thread.jspa?threadID=1242823&start=0&tstart=-3
    B-rock

  • Error 'No tax code found for difference' in Posting Vendor Invoice IDOC

    Hi All,
    I am getting error message 'No tax code found for difference' while posting Vendor Invoice IDOC into SAP. IDOC type is INVOIC02. There is no difference in PO price, Invoice price and even Standard price. then why this  error message? Other Vendor EDI settings are done ( OBCA, OBCD, OBCE etc). Is there any thing specific to be done in the config for this error?
    IDOC has PO  as reference document.
    I looked into several threads in SDN forum but could not find proper solution
    Can any ine help me with this issue?
    Thanks in advance
    Hari

    Hi
    You might be  missing the tax code for uploding through IDOC
    so you can use the t.code we02 and give the doc and find the error
    go to the WE19 to edit the tax  code
    and USE the t.code  BD87  to select the doc and process it
    thanks
    Madhu

Maybe you are looking for

  • App disappears in App Store

    My purchased app disappeared in App Store but instead a new version is found with the same name and developer. It's Pocket Expense, my version is 4.5.1 and it has some issue now. What should I do? Delete the old and buy the new one? What happen to al

  • Radial filter icon, where is it in adobe cs6

    radial filter icon, where is it in adobe cs6?

  • I can't update my payment info

    Last week I tried to change my payment info with changing credit card number. It wasn't possible. I received a message: "There is a problem with the card information entered here. Please review and try again. If the problem persists, please contact c

  • Using comm port. urgent please,

    Can anyone Please help me by telling from where to download comm api.. Actually i have a code written which is working fine in pcs in which we do transactions through serial ports. but not in other pcs. do we need a new driver for running the code or

  • Adobe Connect Add-in

    I downloaded the add-in to watch recorded webinars from my classes but when I click on the link it opens a new window and says the add-in is not downloaded. I click on the troubleshooting link and run the test and it is fine and says its downloaded,