Connect Coldfusion 8 to AS400 (MAPICS)

I am looking to connect to AS400 so that users can:
1. Pass usernames and passwords to AS400
2. query a "Work Order" to get related items (AS400)
Thanks in advance.

Disclaimer: I'm not familiar with MAPICS.
If are trying connect to MAPIC using an OBDC or JDBC DSN setup in ColdFusion and execute SQL statements via CFQUERY you might try using the password and username attributes of CFQUERY.
<cfquery name="myQuery" datasource="myMapicsDsn" username="#form.username#" password="#form.password#">
    <!--- your query here --->
</cfquery>
CFQUERY
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_p-q_17.html#1102316

Similar Messages

  • RFC connection from SAP to AS400 system

    Hi ,
    I am working on a Interface requirement wherein I need to get connected to AS400 fetch some data and update in Shipment Document in SAP at runtime.
    I am thinking about calling RFC but not sure whether it will work or not.
    Has anybody worked on the requirement like this.
    please help me out with this regard.
    thanks in Advance,
    Nitin

    Hi Nitin,
    RFC works other way around. Means you can login from other system to SAP to get the data using RFC. For your requirement you can ALE.
    Regards,
    Atish

  • Exchange 2010 - unable to connect coldfusion

    Unable to connect to the Exchange server using HTTP/HTTPS protocol.
    HTTP response code : 400
    I have some Coldfusion code that used to work to add calendar events on behalf of a user.  The Exchange server is hosted at intermedia.net.  I've beat this code to death to no avail.  I could use a little hand-holding now.

    Hi,
    According to your description, you use some Coldfusion code to add calendar events on behalf of a user.
    If I misunderstand your meaning, please feel free to let me know.
    If yes, agree with ED said, I recommend you ask for more professional help on our development forum.
    http://social.technet.microsoft.com/Forums/exchange/en-US/home?forum=exchangesvrdevelopment
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Connect coldfusion with sql server

    HI everybody
    I need to know if i can  use sql server as a database and coldfusion as the webpage interface builder???? Can these 2 program work together (be connected to each-other)?? if yes can anybody explain how it  can be done or any link or something???????????                                                                                                 
    thnx in advanced
    aldo

    In addition to Ken's suggestion, you might want to look at how datasources work: http://livedocs.adobe.com/coldfusion/8/htmldocs/datasources_ADV_MJS_01.html.
    But, to be honest, this is such a fundamental question to be asking, I think you pretty much need to get hold of the CFWACK and read that: http://www.amazon.co.uk/Adobe-ColdFusion-Web-Application-Construction/dp/032151548X.
    Or take a Fast Track to ColdFusion course or something.
    Adam

  • Unable to connect to DB from AS400

    I have this code in a RPG program on AS400:
    inlr = on;
    prop = JDBC_Properties();
    JDBC_setProp(prop: 'user' : 'AS400' );
    JDBC_setProp(prop: 'password': 'AS400' );
    JDBC_setProp(prop: 'prompt' : 'false');
    JDBC_setProp(prop: 'errors' : 'full');
    JDBC_setProp(prop: 'naming' : 'system');
    // This adds the "ISNMAG" library to the end of the
    // library list in the JDBC job.
    JDBC_setProp(prop: 'libraries':'*LIBL,ISNMAG');
    //conn = JDBC_ConnProp( 'com.ibm.as400.access.AS400JDBCDriver'
    // : 'jdbc:as400://localhost'
    // : prop );
    conn = JDBC_ConnProp( 'com.ibm.as400.access.AS400JDBCDriver'
    : '10.10.32.19'
    : prop );
    and this command gives me this messages:
    java.lang.NoClassDefFoundError: com/ibm/as400/access/AS400JDBCDriver
    at java.lang.Throwable.<init>(Throwable.java:195)
    at java.lang.Error.<init>(Error.java:49)
    at java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:40
    Where is the problem, please?

    Screen3MH wrote:
    Missing JDBC driver means a bad IP address is used?What? How do you come to this conclusion?
    No, it means that you don't have the library with the correct JDBC driver on your classpath.
    We have now a message before this error messages:
    Attaching Java program to /QIBM/UserData/Java400/ext/mysql-connector-java-3.1.14-bin.jar.
    There for I think that the driver is installed - or am I mistaken?That is a JDBC driver, specifically the MySQL JDBC driver. You try to connect to an "AS400" database (I thought AS/400 was the computer system, the database would have been DB/2, wouldn't it?)
    So either you need a different JDBC driver or you need to fix your JDBC URL to actually refer to a MySQL database.

  • Connect Coldfusion 9 to SQL using intranet users windows credentials

    Is it possible to use pass through / integrated authentication using the application users windows account (rather than the service account) when a Coldfusion application connects to an MS SQL DB?
    For background, we are running:
    ColdFusion 9,0,1,274733 hosted on a Windows 2008 R2 (64) server
    SQL server 2008 R2 hosted on a Windows 2008 R2 (64) server
    IE 8 and/or 9 as the client browser
    I have an intranet application that is used only by users within our AD domain. I have no problem getting ColdFusion to connect to the SQL database using the ColdFusion service account, but ideally we would like the connection to be made under the application user's account.
    I would appreciate any guidance on how to achieve this if it is possible?
    (I am not a webmanager/developer and so my ColdFusion knowledge is very limited!)
    Thanks in advance,
    Darren

    Again, thanks for the responses - it is nice to be able to talk through these things (I work in a fairly small organisation and so do not often get to talk through technical subjects with other professionals!)
    Firstly, to respond to BKBK, I have been considering that approach, though unless I have missed something, I would either:
    1. have to use simple authentication - in which case a users windows credentials would be passed as Binary_Base64 (i.e. clear text) - and possibly would need to replicate all AD accounts as SQL server accounts (not sure in that account replication bit as I may be able to still get it to authenticate as a windows account from the SQL engine - but the clear text passwords is the real problem), or:
    2. have to use form based credentials, in which case the users would have to 'login' to the application - I am trying to avoid this to make it as seamless for the users as possible.
    Neither of those approaches are ideal (unless, as I say, I am missing an option there) and so I am more inclined to use a single SQL account from the datasource definition and control access from a combination of the application and the database.
    Secondly, to respond to Dan.
    I agree, it would be no good for User A to receive an error if they tried to run a proc that they do not have permissions for. However, if these errors occur they are captured and handled gracefully in both the application suite and the database.
    Aside from this, the application does not provide the ability for user A to execute procedure 7 (from the example in my previous post) - which I guess is what you are saying with " Whatever UI control User B has to run sp 7 cannot be available to User A".
    The reason for controlling physical permissions in the DB was that:
    1. it is universal for all interfaces with that database - so long as integrated auth is used
    2. it provides a belt and braces approach (as parts of this application has sensitive data) - so that if somehow user A gets the web application to call procedure 7 then the DB would still prevent it
    For thought/discussion:
    I think I will end up using a single account from the datasource, but make it a datasource that can only be called from AD users accessing the application (though only AD users can access the application which achieves this already).
    Any call to the database must include the CGI variable "AUTH_USER" as an input parameter.
    The DB will then:
    1. check the account that is logged in to the SQL engine (to ensure a user hasnt bypassed coldFusion and gone straight to the DB - though Group permissions are already set for this scenario)
    2. Check the user supplied as a parameter exists in AD and is an active account
    3. and check the permissions of that user for the particular task that was requested of the DB engine. - execute if permissable, gracefully refuse with appropriate messages passed back if not.
    This combined with the control in the application to only present the right functions to the right user should give me the belt and braces that we are after - all be it in a bit of a convoluted way!
    I guess the big question is how easy/difficult is it to fake "AUTH_USER"?

  • What is required to connect Coldfusion to Flex?

    I have CFMX7 installed on a 2003 server. I'm trying to
    connect via Flex Builder but I'm having some issues. I read that a
    J2EE installtion of CFMX is required. Do I also need JRUN? Do I
    need to reinstall CFMX in order to get it to work with Flex?

    According to the "about this mac" it shows a Model Identifier: iMac7,1, processor Speed: 2.4GHZ and it is a dual processor.

  • How do I connect ColdFusion Admin to MySQL

    I have CF8 working now and I can render CF code but I am
    having trouble getting CF8
    on my MacBook Pro to talk to a MySQL database.
    In the CF Administrator when I choose a datasource I choose a
    MySQL datbase name
    and select the MySQL driver 4/5 --- then what do I do.
    What folder do I put my MySQL database in? What path do I
    enter?
    I am so in the dark on this (because I've never done this in
    my life).
    I'm not worried about the cfquerey code what is frustarting
    is how do I
    connect CF Administrator Datasource selector to a MySQL
    database.
    It seems like it should be so simple.
    1. I am new to MySQL so I don't even know where the database
    I create in MySQL is.
    I type in pwd and that doesn't work in MySQL.
    2. Is there a web page that shows the process of selecting a
    database in MySQL and connecting
    to it through the CF Administrator. I get weird error
    messages when I try to submit a MySQL
    database.
    Blake

    have you installed mysql and verified it is running?
    mysql is NOT a file-based db - there is no FILE to put in any
    FOLDER.
    mysql is a DB SERVER - it runs on a certain server on a
    particular PORT
    (default is localhost:3306), under a username and password
    combination
    you set up. once you have mysql installed, this is all you
    need to tell
    cf to connect to a mysql db: server and port, username and
    password.
    make sure you set up users and grant them only basic
    permissions
    (select, insert, update and possibly delete) for your db's in
    myslq and
    then use those users' credentials for the cf dsn setup - do
    not use the
    ROOT user with all privileges for your cf DSNs.
    in light of recent cf-targeted sql injection attacks i will
    advise you
    to run mysql in NO_BACKSLASH_ESCAPES mode.
    mysql.com has very good online and downloadable docs.
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • Flex CRUD connecting ColdFusion

    I have a question about Flex 4 Service authentication - Remote authentication.
    In the username and password, I enter the data from the RDS or enter username and password for my MySQL database ...?

    Neither. The Remote Authentication screen refers to hard-coded credentials in the CF server configuration as described here:
    http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec115d2 -7ffc.html#WSc3ff6d0ea77859461172e0811cbec115d2-7ff7
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • Connection pool with AS400

    Hello, i have a prob creating connection pool via AS "wizard"
    i've tried both com.ibm.as400.access.AS400JDBCDataSource and com.ibm.as400.access.AS400JDBCDriver
    both doesnt work for me...
    i have the following parameters:
    <property name="hibernate.connection.driver_class">com.ibm.as400.access.AS400JDBCDriver</property>
    <property name="hibernate.connection.password">xxxx</property>
    <property name="hibernate.connection.username">xxx</property>
    <property name="hibernate.connection.url">jdbc:as400://xx.xx.xx.xx</property>
    <property name="hibernate.default_schema">ssss</property>
    <property name="hibernate.default_catalog">ccccc</property>
    How do i configure these to Sun AS connection pool?
    Thank you in advance.

    You can refer :
    1) creating jdbc-connection-pool, jdbc-resource
    http://docs.sun.com/app/docs/doc/819-4733/6n6s6u1bn?a=view
    2) configuration for various database vendors
    http://docs.sun.com/app/docs/doc/819-3658/6n5s5nklk?a=view
    AS400 is not listed above, still it will work if the jdbc driver is jdbc-30 complaint.
    You need to provide "datasource-classname" and necessary parameters like user, password, URL, server, databasename etc.,
    Thanks,
    -Jagadish

  • Problem connecting weblogic 5.1 to AS400 DB2 version

    Hi All,
    I am having problem connecting from a weblogic server 5.1 version on win2000 machine to AS400 DB2 version using iToolbox jdbc driver "com.ibm.as400.access.AS400JDBCDriver".The following is the weblogic connectionpool :
    weblogic.jdbc.connectionPool.DBPool=\
    url=jdbc:as400://3.3.111.111/MySchema,\
    driver=com.ibm.as400.access.AS400JDBCDriver,\
    loginDelaySecs=10,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshTestMinutes=10,\
    props=user=xxx;password=xxx
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.DBPool=\
    everyone
    I am getting the following exception:
    Fri Jan 28 05:38:16 EST 2005:<E> <JDBC Pool> Failed to create connection pool "DBPool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.lang.IllegalMonitorStateException: current thread not owner
         at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:150)
         at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote.java:1831)
         at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java, Compiled Code)
         at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2581)
         at com.ibm.as400.access.AS400.promptSignon(AS400.java, Compiled Code)
         at com.ibm.as400.access.AS400.signon(AS400.java:3375)
         at com.ibm.as400.access.AS400.connectService(AS400.java:821)
         at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:2764)
         at com.ibm.as400.access.AS400JDBCDriver.prepareConnection(AS400JDBCDriver.java:1040)
         at com.ibm.as400.access.AS400JDBCDriver.initializeConnection(AS400JDBCDriver.java, Compiled Code)
         at com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBCDriver.java:355)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:146)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:108)
         at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java, Compiled Code)
         at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java, Compiled Code)
         at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:330)
         at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java, Compiled Code)
         at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:255)
         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(StartupThread.java, Compiled Code)
         at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    Can anyone let me know is there any problem with connection pool configuration or do i have to make any configuration changes on DB2.Why is it throwing current thread not a owner.
    Pl help.

    Hi Joe,
    Can i use jdk1.3.1 version with weblogic 5.1 version to get rid of this problem or will this change in jvm will effect my existing production applications?
    -thanks
    bharani
    Hi Joe,
    Yes the same code put into jsp scriplet is also
    throwing the error
    "java.lang.IllegalMonitorStateException: current
    thread not owner".It would be really wonderfull if
    you can get some info on the stacktrace.The version
    of jdk we are using is jdk1.2.2, is the problem
    anyway related with the jdk version as the standalone
    program i have tested ran on jdk1.3.1 and jdk1.4
    versions.
    Thanking you in advance,
    -bharani
    bharani noudu wrote:
    Hi Joe,
    Thanks for the quick reply.As per your suggestion
    i
    am able to run a simple 15 line
    standalone program with jdk versions of jdk1.3.1and jdk1.4.1 and jt400.jar in the
    classpath, but i am not able to use the sameconfiguration details in the connection
    pool created in weblogic or the same code pasted
    in
    JSP.Both are throwing the exception
    that "current thread is not a owner".Is thisanything related with the web container
    implementation of weblogic 5.1 or the jdk
    version
    of weblogic 5.1 ?
    Can you please help.I am pasting the code i usedbelow for your reference.
    Hi. If you can put this code in a JSP it throwsthe
    "current thread" exception?
    Even if there's no pool?
    I would contact IBM or post to their newsgroups to
    explain the stacktrace.
    The Driver.connect() call just takes a URL and
    properties (user and password).
    There's nothing a user could do to cause such a
    problem.
    java.lang.IllegalMonitorStateException: current
    thread not owner
    at
    com.ibm.as400.access.PortMapper.getServerSocket(PortMa
    pper.java:150)
    at
    com.ibm.as400.access.AS400ImplRemote.signonConnect(AS4
    00ImplRemote.java:1831)
    at
    com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplR
    emote.java, Compiled Code)
    at
    com.ibm.as400.access.AS400.sendSignonRequest(AS400.jav
    a:2581)
    at
    com.ibm.as400.access.AS400.promptSignon(AS400.java,
    Compiled Code)
    atcom.ibm.as400.access.AS400.signon(AS400.java:3375)
    at
    com.ibm.as400.access.AS400.connectService(AS400.java:8
    21)
    at
    com.ibm.as400.access.AS400JDBCConnection.setProperties
    (AS400JDBCConnection.java:2764)
    at
    com.ibm.as400.access.AS400JDBCDriver.prepareConnection
    (AS400JDBCDriver.java:1040)
    at
    com.ibm.as400.access.AS400JDBCDriver.initializeConnect
    ion(AS400JDBCDriver.java, Compiled Code)
    at
    com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBC
    Driver.java:355)
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class TestDb2 {
         public static void main(String[] args) {
         Connection connection = null;
         try{               
         DriverManager.registerDriver(newcom.ibm.as400.access.AS400JDBCDriver());          
              connection = DriverManager.getConnection
    ("jdbc:as400://1.11.111.1/MySchema","test","test");
              System.out.println("step 1");          
              Statement st = connection.createStatement();          
              System.out.println("step 2");
              ResultSet rs = st.executeQuery("SELECT * FROMMYDB.EMPLOYEE_V");
              while(rs.next()){
                   System.out.println("empid "+rs.getString(1));
              }catch(Exception e){
                   System.out.println("step 3"+e);
                   e.printStackTrace();
              finally{
                   if(connection!=null){
                        try {
                             connection.close();
                        } catch (SQLException e1) {
         e1.printStackTrace();
    Thanking you in advance,
    -bharani
    Hi. That's a very odd internal IBM driver error.
    It's
    mesage is not helpful, and can't be due to
    anything
    you or WebLogic did. Can you get that driver wowork
    on it's own, using it's own example programs? If
    you can get a simple 15-line program to succeed
    making
    a connection, then we can get WebLogic to do the
    same.
    Show me that program and I'll show you the pool
    definition.
    Joe
    bharani noudu wrote:
    Hi All,
    I am having problem connecting from a weblogicserver 5.1 version on win2000 machine to AS400
    DB2
    version using iToolbox jdbc driver
    "com.ibm.as400.access.AS400JDBCDriver".Thefollowing
    is the weblogic connectionpool :
    weblogic.jdbc.connectionPool.DBPool=\
    url=jdbc:as400://3.3.111.111/MySchema,\
    driver=com.ibm.as400.access.AS400JDBCDriver,\
    loginDelaySecs=10,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshTestMinutes=10,\
    props=user=xxx;password=xxx
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.
    DB
    Pool=\
    everyone
    I am getting the following exception:
    Fri Jan 28 05:38:16 EST 2005:<E> <JDBC Pool>
    Failed
    to create connection pool "DBPool"
    weblogic.common.ResourceException:weblogic.common.ResourceException:
    Could not create pool connection. The DBMS
    driver
    exception was:
    java.lang.IllegalMonitorStateException: currentthread not owner
         at
    com.ibm.as400.access.PortMapper.getServerSocket(Port
    Ma
    pper.java:150)
         at
    com.ibm.as400.access.AS400ImplRemote.signonConnect(A
    S4
    00ImplRemote.java:1831)
         at
    com.ibm.as400.access.AS400ImplRemote.signon(AS400Imp
    lR
    emote.java, Compiled Code)
         at
    com.ibm.as400.access.AS400.sendSignonRequest(AS400.j
    av
    a:2581)
         at
    com.ibm.as400.access.AS400.promptSignon(AS400.java,
    Compiled Code)
         at
    com.ibm.as400.access.AS400.signon(AS400.java:3375)
         at
    com.ibm.as400.access.AS400.connectService(AS400.java
    :8
    21)
         at
    com.ibm.as400.access.AS400JDBCConnection.setProperti
    es
    (AS400JDBCConnection.java:2764)
         at
    com.ibm.as400.access.AS400JDBCDriver.prepareConnecti
    on
    (AS400JDBCDriver.java:1040)
         at
    com.ibm.as400.access.AS400JDBCDriver.initializeConne
    ct
    ion(AS400JDBCDriver.java, Compiled Code)
         at
    com.ibm.as400.access.AS400JDBCDriver.connect(AS400JD
    BC
    Driver.java:355)
         at
    weblogic.jdbc.common.internal.ConnectionEnvFactory.m
    ak
    eConnection(ConnectionEnvFactory.java:146)
         at
    weblogic.jdbc.common.internal.ConnectionEnvFactory.c
    re
    ateResource(ConnectionEnvFactory.java:108)
         at
    weblogic.common.internal.ResourceAllocator.makeResou
    rc
    es(ResourceAllocator.java, Compiled Code)
         at
    weblogic.common.internal.ResourceAllocator.<init>(Re
    so
    urceAllocator.java, Compiled Code)
         at
    weblogic.jdbc.common.internal.ConnectionPool.startup
    (C
    onnectionPool.java:330)
         at
    weblogic.jdbc.common.internal.JdbcInfo.initPools(Jdb
    cI
    nfo.java, Compiled Code)
         at
    weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcI
    nf
    o.java:255)
         at
    weblogic.jdbc.common.internal.JdbcStartup.main(JdbcS
    ta
    rtup.java:11)
         at java.lang.reflect.Method.invoke(Native
    Method)
         at
    weblogic.t3.srvr.StartupThread.runMain(StartupThread
    .j
    ava:219)
         at
    weblogic.t3.srvr.StartupThread.doWork(StartupThread.
    ja
    va, Compiled Code)
         at
    weblogic.t3.srvr.PropertyExecuteThread.run(PropertyE
    xe
    cuteThread.java:62)
    Can anyone let me know is there any problem
    with
    connection pool configuration or do i have tomake
    any configuration changes on DB2.Why is itthrowing
    current thread not a owner.
    Pl help.

  • Coldfusion MX 7 connection timeout

    Hi all,
    This might not really related to Coldfusion MX 7 itself,
    however it's worth a try to ask everyone who has encountered the
    similar problem with our web application setup.
    Coldfusion MX 7.0.2
    Apache 2.2
    Using ModelGlue framework
    Using NLB to share load with Class C Affinity
    Windows Server 2003
    Basically we have reports from few clients in Australia who's
    using Peoplenet and Westnet ISP who's recently get an error
    everytime they try to submit specific page on our web application
    mostly the page involves submitting a lot of data through HTTP post
    such as sending email content.
    They are using ADSL with speed around 256 - 512Kbps
    downstream, and both of them using DLINK ADSL router modem. One of
    them encounter the problem earlier when we had our web servers
    still using IIS, and one of them reporting the problem starts to
    appear when he switched his ADSL modem to DLINK or around the time
    we switched to Apache 2.2.
    Everytime they submit a large HTTP post to the server, the
    page stop responding, sometimes it takes long time to get the
    response from the server, sometimes it times out, and around that
    time when we did PING to the server sometimes the request times
    out. The problem only happens with the Client in Australia, There
    is no issue with the people from overseas even they are using
    dial-up modem.
    The strange thing, when these people who are happing problem
    with the timeout using dial-up modem to connect to our website, it
    works perfectly well without any problem. We even tried to do
    socket connection (Coldfusion Event Gateway) using Offline version
    of the application, but still fails if they are using their ADSL
    connection. and negative result as well for some of our auto save
    AJAX script failed as well when they try to contact the server.
    However these clients don't have any problem with other
    websites for example sending a large email or doing something else,
    so the issue with the timeout is a bit hard to track.
    I'm suspecting that it is something to do with the amount of
    data being posted to our server, however I cannot tell yet if it is
    something to do with their DLINK ADSL modem problem, their ISP
    connection (which might use transparent proxy), our firewall, our
    Coldfusion/Apache settings, or something else.
    So if anyone has ever encountered the similar problem and
    probably know to resolve it, I really appreciate your contribution.

    I just find out that it might not be the Coldfusion
    application itself but the network route from our clients' to our
    website. I tried to trace route to our website and received error
    6 71 ms 45 ms mygateway1.ar7 [10.1.1.1] reports: Destination
    protocol
    unreachable.
    even though I could access the website from Internet browser.
    This might be the problem with their ISP / routing
    protocols.

  • Can ColdFusion 10 connects to Exchange Server 2013?

    There are lots of forums and chats about ColdFusion 10 connecting to Exchange Server 2010. Does anybody knows whether ColdFusion 10 can connects to Exchange Server 2013. If you do know, what are the steps involved? I have tried all the tricks used in ColdFusion 10 connecting to Exchange Server 2010 and still cannot connect to Exchange Server 2013.

    Found a solution. Yes you can connect ColdFusion 10 to Exchange Server 2013 but there is a slight twist to the solution if you want to use cfexchangeXXXXX functionalities.
    1. Ensure that you have imported the Exchange Server 2013 certificate into ColdFusion 10 server.
    2. When calling cfexchangeconnection, add:
    serverversion="2010"
    Protocol="https"
    formbasedauthentication="TRUE"
    formbasedauthenticationURL="XXXXXX"
    If serverversion is missing, it will default to 2007 server.

  • Details on data types for posting data to DB2 on AS400 from XI

    Hi
       We have a scenario in which we post data from XI (3.0, SP23 ) to DB2 on AS400 and we are using jdbc adapters ( jdbc drivers from IBM deployed on XI J2EE server as per SAP's instructions )
    On AS400-DB2, there are two files F1 and F2  that we have to update in a particular library L1 - on a server S1.  Each of the two files has a single field with the same name as that of the file.
    I have the following questions :
    1. How do we construct/specify the data type in order to convert XML from XI to the sql that DB2 needs - I do understand there is a standard data type structure used to convert XML to sql calls when we use JDBC receiver adapter type communication channel. Do we use the same for posting XML data from XI to DB2 too ? 
    2. What is the url for the jdbc driver - to connect to DB2 on AS400 ?
    Please share experiences of XI -- > posting to DB2 using JDBC.

    Used standard xml -->SQL constructs

  • 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

Maybe you are looking for