As400/db2 to mysql migration

Hi There,
I'd like to migrate as400/db2 to MYSQL using MYSQL WORKBENCH. The as400 database has more than 40 GB and version is AS400 - db2vyr1.
Will this tool be useful to migrate? or suggest any other tool which suit for migration.
Thanks with anticipation
Guru

You're using an Oracle forum to ask about MySQL tools. Please use the MySQL forum MySQL :: MySQL Forums instead and close this thread.
- Klaus

Similar Messages

  • Migrate AS400 Db2 data to oracle 11 g

    Hi All,
    Any idea how to migrate data from As400 Db2 to Oracle 11 g?
    Thanks,

    Hi,
      If your AS400 DB2  is v4.3 or v4.5 then you could use the Oracle Migration Workbench 10.1.0.4.0.  If you have a later version then the current SQL*Developer migration tool cannot be used.  It is planned for this to support later AS400 DB2 versions but there is no date for this.
    The only option is to manually migrate the tables.
    If you have access to My Oracle Support then the following may help -
    How To Migrate Non-Oracle Databases For Which a SQL*Developer or Migration Workbench Option Is Not Available (Doc ID 393760.1)
    Regards,
    Mike

  • Migration from as400 db2

    Hi,
    i like to migrate a As400 DB2 database objects to oracle database,
    How can do get it?
    I'm use the Workbench, but did not functio
    I may to install the client Access for AS400 software?
    Thanks,
    Arturo

    GRS,
    There is no public plugin for DB2 on the iSeries. however, contact Bernhard Duechting @ [email protected] and he will be able to provide you with the information you need to progress this.
    Barry

  • Weblogic5.1, Transaction involving SQL Svr and AS400/DB2

              Hi, after reading quite a few posts regarding this issue I believe to demarcate a
              transaction involving SQL Server and AS400/DB2 is not impossible. But we have to
              handle the rollback and other stuff on our own. Am I correct? Is there any hack around
              this?
              I've tried to use an EJB(ejbY) that will insert a record in AS400/DB2 and subsequently
              in ejbY, I invoke another EJB(ejbX) that reside in another WL5.1 to insert a record
              in SQL Server. Of course this is demarcated with UserTransaction. Technically is
              this possible? This is because I've encountered some exceptions with this hack and
              would like to seek some advise.
              Thanks.
              [apps.zip]
              

    Hi,
      If you have access to My Oracle Support then have a look at this note -
    How To Migrate Non-Oracle Databases For Which a SQL*Developer or Migration Workbench Option Is Not Available (Doc ID 393760.1)
    Regards,
    Mike

  • Issues with universes for AS400 DB2 databases

    I create Business Objects universes and Webi reports accessing data from AS400 DB2 databases (via ODBC). I have a couple of queries that I have been having trouble resolving. I hope someone in the forum is working on a similar set-up.
    My queries are as follows:
    1. If I have 2 different libraries with identical set of tables (physical files), after creating a universe in designer based on the tables in one library, is there an automated way to create another identical universe pointing to or referring to the 2nd library?  Every physical file and field structure within it are the same. The only difference is that they are located in 2 different libraries, containing different data.
    2. For physical files with 'multiple members', the reports generated by Business Objects seem to only access the data in the first member of the file. Is there a setting where this behavior can overidden or by passed.  I think 'multiple members' is a characteric that unique to tables in AS400 DB2.
    Would really appreciate the help! Thanks!

    Since it doesn't appear the Online Capture for DB2 is supported, I am trying to work around this and do the Offline capture.
    I copied the generated files from the Offline Capture option (startDump.sh,getForeignKeys.sh,getProcedures.sh, and db2v9.ocp)to the Linux box where the DB2 Database resides.
    After connecting to the DB2 Database (DB2DB1), I entered:
    sh startDump.sh DB2DB1 USRNAME USRPSWD
    to run the script startDump.sh. It produced files:
    Connect.dat
    Schemas.dat
    It also created a subfolder (DB2DB1) containing:
    checkConstraints.dat
    foreignKeys.dat
    indexes.dat
    primarykeys.dat
    routines.dat
    synonyms.dat
    tables.dat
    triggers.dat
    views.dat.
    My question is what do I do with these files? I believe the documentation said that file db2v9.ocp was supposed to be modified, but it wasn’t modified after I ran startDump.sh. Was I supposed to run getForeignKeys.sh and getProcedures.sh, or did startDump.sh already run these? Can anyone provide an example of how this is to be run? The documentation doesn't provide a DB2 example.
    Note: The DB2 Supplement: http://download.oracle.com/docs/cd/E15846_01/doc.21/e15286.pdf doesn't seem to discuss the offline capture. It doesn't reference the startDump.sh file at all.

  • Not Able to create ODBC Connections to AS400 DB2 from OWB 11g

    Hi,
    Currently i am in the process of setting up of database connections to AS400 DB2 Database from Oracle Warehouse Builder 11g.
    I installed Oracle 11.1.0.6.0 and upgraded to 11.1.0.7.0.
    I am able to create database links manually but not able to create using oracle warehouse builder.
    The error i am getting error
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL7973 - SQL create package for DG4ODBCFBA in REMOTEDB has failed.
    ORA-02063: preceding 2 lines from OWB_82
    I am trying different methods from the last 2 days.
    Please help me in this situation.
    Thanks.
    Salih KM

    My Http server port is 7777. used that , it doesn't work. Using 7101(admin server port) also doesn't work.
    Testing JSR-160 Runtime ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime ... skipped.
    Testing JSR-88 ... skipped.
    Testing JSR-88-LOCAL ... skipped.
    Testing JNDI ... skipped.
    Testing JSR-160 Edit ... skipped.
    Testing HTTP ... success.
    Testing Server MBeans Model ... skipped.
    1 of 8 tests successful.
    Both the cases only HTTP is success.
    Thanks
    Manish

  • 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.

  • Query on AS400/DB2

    Hello,
    I am using kodo2.5.0 with the DB2 for OS/400 JDBC Driver.
    The following simple code return empty result.
    Transaction tran = pm.currentTransaction();
    tran.begin();
    Query qry = pm.newQuery(Customer.class, "name == \"Mark\"");
    Collection result = qry.execute();
    System.out.println("Size = " + resutl.size());
    tran.commit();
    The size SHOULDN'T be zero.
    but the following code return the correct obj.
    Transaction tran = pm.currentTransaction();
    tran.begin();
    CustomerId objId = new CustomerId("Mark");
    Customer customer = (Customer)pm.getObjectById(objId, true);
    tran.commit();
    Both codes work fine against DB2 on Windows. only make differents on
    DB2/AS400.
    The JDBC driver for AS400 should be fine. It works fine for JDBC,
    PerparedStatement etc.
    It seems all the queries do AS400/DB2 returning emtpy collection.
    Is there anyway I can see how many rows get back
    from DB by using Kodo?
    Any hints are welcome.
    Thanks,
    pike

    It works.
    Thanks, Harald.
    Harald wrote:
    pike wrote:
    Hello,
    I am using kodo2.5.0 with the DB2 for OS/400 JDBC Driver.
    The following simple code return empty result.
    Transaction tran = pm.currentTransaction();
    tran.begin();
    Query qry = pm.newQuery(Customer.class, "name == "Mark"");
    Collection result = qry.execute();
    System.out.println("Size = " + resutl.size());
    tran.commit();
    The size SHOULDN'T be zero.
    but the following code return the correct obj.
    Transaction tran = pm.currentTransaction();
    tran.begin();
    CustomerId objId = new CustomerId("Mark");
    Customer customer = (Customer)pm.getObjectById(objId, true);
    tran.commit();
    Both codes work fine against DB2 on Windows. only make differents on
    DB2/AS400.
    The JDBC driver for AS400 should be fine. It works fine for JDBC,
    PerparedStatement etc.
    It seems all the queries do AS400/DB2 returning emtpy collection.
    Is there anyway I can see how many rows get back
    from DB by using Kodo?
    Any hints are welcome.
    Thanks,
    pike
    Hello,
    i had the same problem (also DB2/AS400 and kodo2.5.2). After setting
    com.solarmetric.kodo.DefaultFetchThreshold:-1
    in kodo.properties it worked.
    hope it help,
    Harald

  • SAP -- XI -- AS400(DB2) scenario configuration?

    Hi Experts,
    I have a scenario SAP -->XI -->AS400(DB2).
    I would like to know the step by step configuration of XI >AS400 (DB2). It will be great if any one can share the docs. Is it a good option to use JDBC adaptor for this scenario? If yes please let me know the steps for XIAS400 configuration.
    Thanks & Regards,
    Praveen.

    Hi Praveen,
    You can go for JDBC adapter, But, check this link it is also suggesting to use File adapter..
    R3-AS400
    for JDBC adapter check few links as well
    AS400 acess using JDBC adapter
    Re: JDCB Connection from XI to AS400
    JDBC drivers for DB2 on AS400 V5R3
    Sachin

  • Connecting DS 4.0 to AS400 DB2 7.1

    Hi all,
    We are going to have POC and we have very limited time so that we cannot have lab environment in our company. Our scenario is like this:
    We will have DS 4.0 installed on Linux Suse and the reposistory will be on Oracle. I know this connecting to databases with ODBC we have to do some kind of configuration on DS machine. My first question what do I do to connect DS4 from my client DS 4.0.
    After I connect to DS 4.0, my source database will be AS400 DB2 7.1. We will be loading data from AS400 DB2 7.1 to SAP HANA.  I was checking DS the other day and when I tried to create a Data Store for DB2 there is only 2 options which are DB2 UDB 8.x and DB2 UDB 9.x. My second question, as I mentioned earlier my source will be AS400 DB2 7.1 and since there is no direct connection on DS for 7.X version of DB2, am I going to connect to AS400 DB2 7.1 with Generic ODBC?  Is it downward compatible? Or what do I have to do to connect to this AS400 DB2 7.1 system?
    I really need answers on these 2 questions. I don't have time to set up a lab environment so I have to make everything ready before I start this POC and I have really limited time. I have to finish with installations, ETL and reporting in 2 days.
    Please help.  Thanks a lot.

    Thanks for replay!  I am getting this error when ever i am executing the job..
    we need to update records in DB2 database table on AS/400 using Business Objects Data Integrator 11.7. Data integrator Designer version is 11.7.3 Drivers installed are iSeries ACCESS ODBC Driver 11.0.2,CLIENT ACCESS ODBC DRIVER 11.0.2
    We are able to do the update for a single record, but while doing Bulk Update, we are getting below error message, Can anyone help on this.
    DBS-070401: ODBC DATA SOURCE Error Message for Operation : <[IBM][iSeries Access ODBC Driver]Driver not capable.> RUN-051005: Execution of for target failed. Possible causes: (1) Error in the SQL syntax; (2) Database connection is broken; (3) Database related errors such as transaction log is full, etc.; (4) The user defined in the datastore has insufficient privileges to execute the SQL. If the error is for preload or postload operation, or if it is for regular load operation and load triggers are defined, please check the SQL. Otherwise, for (3) and (4), please contact your local DBA.

  • Reg - iseries/ AS400 & DB2

    Hi Gurus,
      I have knowledge in SAP Basis & Security, i need to study iseries \ As400 & DB2.  Pls inform me  what are the topics i need to covered for my work related.
    My company config is - SAP on DB2 for  i5/0S.
    Thanks & Regards
    Rajesh.

    Hi,
    you should have a look at:
    http://www.easymarketplace.de/iSeries-Docu.php
    especially on:
    - New "Implementing SAP applications on the IBM System i platform with IBM i5/OS" Redbook (SG24-7166-00) in the web
    - New "An Overview of Installing SAP applications on System i models" Redpaper (REDP-4189-00) in the web
    - Old, but still in use "Implementing SAP R/3 on OS/400" Redbook (SG24-4672-03) in the web
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • AS400/DB2 to oracle 11g2 migration

    Hi All,
    I'm new to this migration and  have huge database in as400. Following are the details of AS400
    1. AS400/DB2V7R1
    2. Total records goes more 6 crores
    Question
    1. Is any documentation available to migrate as400 to oracle 11 gr2?
    2. Which tool will be the best to migrate automatically? sql developer or any other..?
    Kindly guide to start and analyze this migration.
    Thanks, Guru

    Hi,
      If you have access to My Oracle Support then have a look at this note -
    How To Migrate Non-Oracle Databases For Which a SQL*Developer or Migration Workbench Option Is Not Available (Doc ID 393760.1)
    Regards,
    Mike

  • Connection pool + db2 + tomcat 5 migration problem

    I succeded in using connection pooling in Tomcat 4.0.x and IBM db2 6.xx and 7.xx.
    Now I am trying to use Tomcat 5 (released with netbeans 3.6) and I have some problems.
    I migrated the context information from server xml to context xml, but I have a username-password problem
    <Context docBase="D:\j2sdk_nb\NetBeans3.6\progetti\Pegaso2" path="/pegaso2" reloadable="true">
    <Resource auth="Container" name="jdbc/pegaso61" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/pegaso61">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>COM.ibm.db2.jdbc.app.DB2Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:db2:pegaso61</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>userxxxx</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>passxxxx</value>
    </parameter>
    </ResourceParams>
    </Context>
    When running my servlets, i get this error:
    Exception in PoolDB2Connector.getConnection():org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause: [IBM][CLI Driver] SQL1403N The username and/or password supplied is incorrect. SQLSTATE=08004
    So it means ( I think !!) that the web-application i getting the right driver ( i got a db2 error) but is having problem with username and password.
    I am using getConnection() method ( with no argouments) in my PoolDB2Connecto class (according to the documentation the getConnection(user,password) method is not supported)
    I have a parallel installation of netbeans 3.5.1 (tomcat 4.0.6) with the same parameters (username, password, url...) and is still perfectly working
    Any help will be greatly appreciated,
    Andrea

    OK, I found the problem !
    It is not due to any configuration issue, but it is due to a BUG in tomcat 5.xx
    I reproduced the problem with mysql db server other than db2 db servver.
    The problem is the presence of the $ sign in the users' s password !!!!
    Probably the xml parser rading server.xml introduce some error finding $ sign.
    The problem is still present in the 5.028 version of tomcat.
    If i modify user's password REMOVING $ sign, everything is OK
    Perhaps $ sign should be escaped (?!?)
    Andrea

  • SQL Developer 1.5.4 MySQL migration bug

    Trying to use SQL Developer 1.5.4 to "Capture" MySQL schema. Getting this Java exception:
    java.lang.Exception: java.lang.NullPointerException
         at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
         at oracle.dbtools.migration.workbench.core.CaptureInitiator.launch(CaptureInitiator.java:94)
    Caused by: java.lang.NullPointerException
         at oracle.dbtools.migration.workbench.plugin.MySQL5Capturer.captureColumnDetails(MySQL5Capturer.java:405)
         at oracle.dbtools.migration.workbench.plugin.MySQLCapturer.captureObjects(MySQLCapturer.java:195)
    Please advise.

    ok, here is one table that results in the Java exception:
    CREATE TABLE user_locations (
    user_id int unsigned NOT NULL,
    location point not null,
    location_source enum ("aaa", "bbb", "ccc") DEFAULT "aaa" NOT NULL,
    address varchar(255),
    last_update datetime,
    UNIQUE (user_id, location(32)),
    INDEX (user_id),
    INDEX (last_update),
    FOREIGN KEY (user_id) REFERENCES users (user_id) on delete cascade on update cascade
    )ENGINE=InnoDB DEFAULT CHARSET=utf8;

  • Sql LOader- Mysql Migration to Oracle

    Hai all,
    I am using Sql loader to migrate Mysql Database to Oracle 10g.
    Almost all the migration is succesfully done but i have got stuck at one point. Since We know that in Mysql there is Null Date format is 0000:00:00 00:00 and when i am trying to load this date in oracle it says that cannot insert 0 in date.
    Since In my mysql there is date combination of both regular dates and 0000:00:00 ..... so i want that what shoud i use in Sql*Loader that .When it seen the 0000:00:00 in date column it insert the date 1900:01:01 and when it sees the reglular date ..it simply insert in date .
    Thanks and Regards!!
    Pankaj

    Hi,
    The decode command I mwntioned means
    if :date = 0000:00:00 00:00
    then
    to_date('1900:01:01','YYYY:MM:DD')
    else
    to_date( <give your date format> )
    end
    Change your command to
    publishtodate "decode(:publishtodate, '0000:00:00 00:00', to_date('1900:01:01','YYYY:MM:DD'), to_date(:publishtodate,'YYYY/MM/DD' ) )"
    The last bit (i.e. to_date(:publishtodate,'YYYY/MM/DD' ) ) is the else part, which will load the actual date data.
    Here you have to give the format of dates of your MySql generated data.
    Whats the format of date data? I guess, its not just YYYY/MM/DD, there must be time component (as the error text says).
    If the dates are like "2007/05/21 23:45", then give the format "YYYY/MM/DD HH24:MI" or else follow your format.
    Cheers

Maybe you are looking for

  • Windows 7 and CIFS

    I've seen a few people bring up the topic already - but no useful answers yet. Has Novell found a way to make Netware CIFS work with Windows 7 yet? I've been experimenting with Windows 7 - worked perfectly, almost at what I'd use for production on on

  • Link to a document - can't edit

    Hi Folks, We are in the midst of setting up a document center for our BPM docs. We have a few main folders with the actual documents uploaded and we have a bunch of other folders that i have created links to the documents in the main folders. here ar

  • Using weblogic unit-of-order (UOO) in osb proxy service

    Hi, I have a JMS Queue deployed to Weblogic server. The messages inside the queue are grouped using the JMS_BEA_Unit-of-order (UOO) Weblogic feature. Now i have a OSB 10g Proxy Service which reads messages from this Queue. The problem is, on recievin

  • CRM Inbound Queue Stuck

    Folks, The status of my inbound queues in CRM is "stop". Tried activating it, unlocking it but it does not seem to work. This is a newly configure box where I just got done making related queue entries in smqr and trying to download a object in R/3.

  • AE  is connected but no audio output??

    I use my AE to send audio output from iTunes to my stereo system and it was working fine until just recently. The Airport Utility shows that my iMac sees my AE, and the green line is shining on the AE, but there is no sound coming out of the stereo (