rblog

Error during migration of Process Engine / Case Foundation

We are in the process of migrating our IBM Filenet 5.1 environment to 5.2. During migration of the process engine, while running the script rmove.bat the script failed while migrating the table with most data. The error was:
Creating Table PE_DB.VWLOG3_911
Exception occurred while executing SQL statement.
Exception = java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

We did not entierly believe that this was the root cause, but more suspected a timeout. After some investigation, one of our developers took a closer look into the .jar file used (regmove.jar). There he found out the following

The utility tries to create a temp table as a copy of all rows in the log. That probably fails due to out of space for extending the segments.
Then it tries to drop the temp table and fails here.


static final int DB_ORACLE = 4;

     if (srcDb.type == 4)
      {
        SQLHelper.execSQLStmt(srcDb.connection, "create table " + tmpTbl + " as " + "(select * from " + srcDb.schema + "." + sourceTableName + ")");

        srcRs = srcStmt.executeQuery("select * from " + tmpTbl);
      }
      else
      {
        srcRs = srcStmt.executeQuery("select * from " + srcDb.schema + "." + sourceTableName);
      }

      copyRows(srcDb, destDb, table, sourceTableName, destinationTableName, srcRs, batchSize);

      JDBCHelper.closeDBObject(srcStmt);
      JDBCHelper.closeDBObject(srcRs);
      JDBCHelper.closeDBObject(destStmt);
      if (srcDb.type == 4)
      {
        SQLHelper.dropTable(srcDb, tmpTbl);
      }

… This was also confirmed by the DBA. So he then increased the available space for the schema. We then had to drop all tables in the new schema and rerun the script, now with success. Or actually, it did fail yet another time, but this time the developers of the script had managed to provide the correct error message

*** Creating indices in destination region
Exception occurred while executing SQL statement.
Exception = java.sql.SQLException: ORA-01652: unable to extend temp segment by 1
28 in tablespace PE_DB_TS

Minjarudkollen

Actually almost two weeks ago, but we had the day off and together with friends and their kids we all went to Minjarudkollen http://www.ut.no/tur/2.15628/ A nice walk for all of us, about an hour each direction, highest point in Fetsund.

Exploring the neighbourhood: Up to Trollkjerka and home over Basteheia

Very nice weather today, first time “short/short” when biking. Headed to Tyrihjell and then up to Trollkjerka on the forest road.

A bit steep at the beginning, but still possible to ride the bike.

View south towards Hølands Varde.

Still easy to ride the bike

Almost at the top, single track, had to push the bike every now and then, but mostly it was possible to ride the bike.

Heading down from Trollkjerka, passing by Langvannet

Now down from Basteheia towards Fosser

Still Basteheia, very fun to ride the bike here. All dried up, very good conditions today.

Garden tending

The retaining wall for the flower bed needed some maintenance. Must admit that I would most of all prefer to remove the whole flower bed, but to much work doing that now. Added to my to-do list for next year or the year after.

A good wife – spending a night at a hotel

Last weekend together with colleagues from work I did participate in Holmenkollstafetten. Good day, did run 24 seconds faster than last year (7:57), I got the night off as well from home so I could attend to the banquet and sleep a whole night – staying at Scandic Hotel at Helsfyr…luxury!

Hjem