Troubleshooting
Problem
When the "Migrate connector project" wizard is invoked on an Adapter Connector project version prior to V7.5.0.5, which is the version of Adapters shipped with IBM Integration Designer V8.5, the migration fails.
Symptom
The following exception can be seen in the project's log file (<IID_WORKSPACE_DIR>\.metadata\.log):
!ENTRY com.ibm.j2ca.migration.core 4 2 2013-09-18 16:13:44.331
!MESSAGE java.lang.reflect.InvocationTargetException
!STACK 0
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008)
at com.ibm.j2ca.migration.internal.ui.MigrationWizard.performFinish(MigrationWizard.java:108)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
at com.ibm.j2ca.migration.internal.ui.MigrationWizardDialog.finishPressed(MigrationWizardDialog.java:81)
...
Caused by: java.lang.NoClassDefFoundError: com.ibm.jvm.util.ByteArrayOutputStream
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:85)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:162)
at com.ibm.j2ca.migration.data.ArtifactSet.saveDocument(ArtifactSet.java:75)
at com.ibm.j2ca.migration.XMLFileChange.perform(XMLFileChange.java:44)
at com.ibm.j2ca.migration.internal.changes.OrganizeClasspathChange.perform(OrganizeClasspathChange.java:104)
at com.ibm.j2ca.migration.Change.execute(Change.java:86)
at com.ibm.j2ca.migration.MigrationTask.execute(MigrationTask.java:89)
at com.ibm.j2ca.migration.MigrationParticipant.executeTasks(MigrationParticipant.java:61)
at com.ibm.j2ca.migration.MigrationContext.executeTasks(MigrationContext.java:422)
at com.ibm.j2ca.migration.MigrationContext.executeMigration(MigrationContext.java:398)
at com.ibm.j2ca.migration.internal.ui.MigrationWizard$1.run(MigrationWizard.java:90)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.ClassNotFoundException: com.ibm.jvm.util.ByteArrayOutputStream
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
... 13 more
Cause
By default IBM Integration Designer V8.5 is bundled with Java™ 7. The Adapter migration code expects the class com.ibm.jvm.util.ByteArrayOutputStream ,which is available in Java 6 but not in Java 7.
Business Process Manager runtime V8.5 only supports Java 6.
Resolving The Problem
Refer to APAR JR48037. Contact IBM support for the migration fix.
Related Information
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21650401