Category: "Work/Geek"

Error when updating Windows service using wassservice.exe

September 15th, 2017

Trying to update the nodeagent service following the guideline found at IBM Knowledge Center failed, complaining about the value of the -username was not known.

Unrecognized parameters encountered on the command line: 'wasadmin '

It turned out that I had a slash at the end of the folder name for the washome, which then acted as an escape char for the double qoute

-washome "D:\WebSphere\AppServer\"

Changed to

-washome "D:\WebSphere\AppServer"

and all was fine.

Fresh start

July 31st, 2017

Not first day working after summer holiday, but first day at the office, giving it a fresh start, did wash my water bottle and even the whiteboard - very old doodles meaning nothing - better having a white whiteboard.

My latest book: Microservices Best Practices for Java

May 22nd, 2017

Its a book, but work related, not leisure at all. Read it to get a grasp of IBM WebSphere Liberty.

6000'th celebration

May 16th, 2017

Just noticed my email recycle bin

Error Bad Gateway 502 made pretty

May 7th, 2017

Trying to access http://www.dagbladet.no/ just now it responded with Error Bad Gateway 502. Whatever reason for the error, I found the custom error page really nice

My latest book "The DevOps Handbook"

March 27th, 2017

This book is work related "The DevOps Handbook - How to create world-class agility, realiability & security in technolocy organizations". Provides a broad overview of important DevOps principles and for the first time I do believe that I really have understood what DevOps really means. From the conclusion wrapping up the book I qoute

DevOps requires potentially new cultural and management norms and changes in our technical practives and architecture. This requires a coalition that spans business leadership, product management, development, QA, IT operations, Information security and event marketing where many technology initiatives originate".

If working with anything IT related to operations, security or development I would recommend reading this book.

SVN scary

January 25th, 2017

Sending common_select_deployitenvironment.bat
Transmitting file data .
Committed revision 666.

Better hurry up and commit yet another change.

Testing voice recognition

August 27th, 2016

Did test the iPhones voice recognition, but after way to many attempts my voice was not recogniced. Why it insist on Elin being green beats me

Error during migration of Process Engine / Case Foundation

May 26th, 2016

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.

Code

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);
      }

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

Code

*** 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

WebSphere admin console unavailable due to SRVE0232E: Internal Server Error

January 8th, 2016

Since Google did not return any hits for the error we had on one of our servers I add it here for future references. The error logged in SystemOut.log was

Code

ContainerHelp E   WSVR0501E: Error creating component com.ibm.ws.runtime.component.CompositionUnitMgrImpl@593e2ce7
com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: java.lang.VerifyError: JVMVRFY024 arguments are not type compatible; class="com"/ibm/ws/webcontainer/srt/SRTRequestContext...

The solution was to clear the WebSphere class caches as described in this IBM technote http://www-01.ibm.com/support/docview.wss?uid=swg21607887