ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » NoClassDefFoundError exception on IIB v10

Post new topic  Reply to topic
 NoClassDefFoundError exception on IIB v10 « View previous topic :: View next topic » 
Author Message
karthik_ps
PostPosted: Wed May 09, 2018 7:19 am    Post subject: NoClassDefFoundError exception on IIB v10 Reply with quote

Apprentice

Joined: 10 Dec 2008
Posts: 43

Hello,

I am migrating the IIB server from solaris server to red hat linux server. Since we have maintain same fixpack level ( IIB v10.0.0.6) in both servers, i have used mqsiback and mqsirestore commands to export/import broker properties and deployable objects. That option worked well, however the interfaces are not working. while, i checked /var/adm/messages, i found exceptions on all msgsflows.

Currently, i have started the broker and facing "NoClassDefFoundError exception" for all the existing message flows.

result of echo $PATH, shows that it points to right java directory.

$ echo $PATH
/opt/IBM/mqsi/iib-10.0.0.6/common/jdk/jre/bin:/var/mqsi/extensions/10.0.0/server/bin:/var/mqsi/extensions/10.0.0/bin:/opt/IBM/mqsi/iib-10.0.0.6/server/bin/mosquitto:/opt/IBM/mqsi/iib-10.0.0.6/server/bin:/opt/IBM/mqsi/iib-10.0.0.6/common/node/bin:/opt/IBM/mqsi/iib-10.0.0.6/server/isadc:/opt/mqm/bin:/opt/IBM/mqsi/iib-10.0.0.6/tools:/opt/ActivePerl-5.10/bin/:/opt/ActivePerl-5.10/site/bin/:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/admin/bin:/ora/u01/oracle/v112/db1//bin

exception sample :-

May 9 08:52:42 servername IIB[10483]: IBM Integration Bus v10006 (BRK.EG1) [Thread 10483] (Msg 1/1) BIP2116E: Integration node internal error: diagnostic information 'Fatal Error; exception thrown before initialisation completed', 'Load LILs', '10483', '10483', '29', '28'.
May 9 08:52:42 servername IIB[10483]: IBM Integration Bus v10006 (BRK.EG1) [Thread 10483] (Msg 1/3) BIP2203E: An integration server has encountered a problem whilst starting.
May 9 08:52:42 servername IIB[10483]: IBM Integration Bus v10006 (BRK.EG1) [Thread 10483] (Msg 2/3) BIP4368S: The method 'registerAllPlugins' has thrown the following exception: java.lang.NoClassDefFoundError: com.ibm.xml.xapi.XModuleResolver.
May 9 08:52:42 servername IIB[10483]: IBM Integration Bus v10006 (BRK.EG1) [Thread 10483] (Msg 3/3) BIP4395E: Java exception: 'java.lang.NoClassDefFoundError'; thrown from class name: 'java.lang.ClassLoader', method name: 'defineClass', file: 'ClassLoader.java', line: '331'
May 9 08:52:42 servername IIB[10483]: IBM Integration Bus v10006 (BRK.EG1) [Thread 10483] (Msg 1/1) BIP2204I: Integration server using process '10483' thread '10483' stopped.

Please help on how to resolve it.

Thank you,
Karthik
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 09, 2018 9:11 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Easy,

Delete the broker and recreate it from scratch including configured services by using the scripts you saved for doing so... You cannot use mqsibackupbroker and mqsirestorebroker across platforms...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
karthik_ps
PostPosted: Thu May 10, 2018 2:44 am    Post subject: Reply with quote

Apprentice

Joined: 10 Dec 2008
Posts: 43

Thanks for the reply.

I have deleted the broker and recreated it. Even then, i am unable to create any executiongroup. I have two iib version ( 10.0.0.6, 10.0.0.12 ) in the redhat server. But i am getting same exception in both fixpack versions.

Error on IIB v10.0.0.6 while creating execution group

May 10 10:07:52 serverxyz IIB[74011]: IBM Integration Bus v10006 (BRK1.Testidoc) [Thread 74011] (Msg 1/1) BIP2116E: Integration node internal error: diagnostic information 'Fatal Error; exception thrown before initialisation completed', 'Load LILs', '74011', '74011', '29', '28'.
May 10 10:07:52 serverxyz IIB[74011]: IBM Integration Bus v10006 (BRK1.Testidoc) [Thread 74011] (Msg 1/3) BIP2203E: An integration server has encountered a problem whilst starting.
May 10 10:07:52 serverxyz IIB[74011]: IBM Integration Bus v10006 (BRK1.Testidoc) [Thread 74011] (Msg 2/3) BIP4368S: The method 'registerAllPlugins' has thrown the following exception: java.lang.NoClassDefFoundError: com.ibm.xml.xapi.XModuleResolver.
May 10 10:07:52 serverxyz IIB[74011]: IBM Integration Bus v10006 (BRK1.Testidoc) [Thread 74011] (Msg 3/3) BIP4395E: Java exception: 'java.lang.NoClassDefFoundError'; thrown from class name: 'java.lang.ClassLoader', method name: 'defineClassImpl', file: 'ClassLoader.java', line: '-2'
May 10 10:07:52 serverxyz IIB[74011]: IBM Integration Bus v10006 (BRK1.Testidoc) [Thread 74011] (Msg 1/1) BIP2204I: Integration server using process '74011' thread '74011' stopped.
May 10 10:07:57 serverxyz IIB[72055]: IBM Integration Bus v10006 (BRK1) [Thread 73334] (Msg 1/1) BIP2060W: The integration node has detected that the integration server Testidoc, process ID 74011, has shutdown.

Error on IIB v10.0.0.12 while creating execution group

May 10 10:27:12 serverxyz IIB[75832]: IBM Integration Bus v100012 (BRK2.default) [Thread 75832] (Msg 1/1) BIP2208I: Integration server (64) started: process '75832'; thread '75832'; additional information: integrationNodeName 'BRK2' (operation mode 'advanced'); integrationServerUUID '077c9480-c71a-4ffa-b83e-df64c4960c7a'; integrationServerLabel 'default'; queueManagerName 'BRK2'; trusted 'false'; userId 'BRK2bk'; migrationNeeded 'false'; integrationNodeUUID '20010416-543b-11e8-b9e7-0ac940110000'; filePath '/opt/IBM/mqsi/iib-10.0.0.12/server'; workPath '/var/mqsi'; ICU Converter Path ''; ordinality '1'.
May 10 10:27:17 serverxyz IIB[75832]: IBM Integration Bus v100012 (BRK2.default) [Thread 75832] (Msg 1/1) BIP2116E: Integration node internal error: diagnostic information 'Fatal Error; exception thrown before initialisation completed', 'Load LILs', '75832', '75832', '30', '29'.
May 10 10:27:17 serverxyz IIB[75832]: IBM Integration Bus v100012 (BRK2.default) [Thread 75832] (Msg 1/3) BIP2203E: An integration server has encountered a problem whilst starting.
May 10 10:27:17 serverxyz IIB[75832]: IBM Integration Bus v100012 (BRK2.default) [Thread 75832] (Msg 2/3) BIP4368S: The method 'registerAllPlugins' has thrown the following exception: java.lang.NoClassDefFoundError: com.ibm.xml.xapi.XModuleResolver.
May 10 10:27:17 serverxyz IIB[75832]: IBM Integration Bus v100012 (BRK2.default) [Thread 75832] (Msg 3/3) BIP4395E: Java exception: 'java.lang.NoClassDefFoundError'; thrown from class name: 'java.lang.ClassLoader', method name: 'defineClassImpl', file: 'ClassLoader.java', line: '-2'
May 10 10:27:17 serverxyz IIB[75832]: IBM Integration Bus v100012 (BRK2.default) [Thread 75832] (Msg 1/1) BIP2204I: Integration server using process '75832' thread '75832' stopped.

Please give some clue on how to resolve it.

Regards,
Karthik
Back to top
View user's profile Send private message
karthik_ps
PostPosted: Thu May 10, 2018 7:45 am    Post subject: Reply with quote

Apprentice

Joined: 10 Dec 2008
Posts: 43

i have resolved the above issue. Prime reason is to check the $PATH and $CLASSPATH variables.

The broker user was overriding the CLASSPATH and making it not able to find JRE path.

Now i have cleaned the unwanted variable from .profile and i can able to create EG under broker.


Thanks,
Karthik
Back to top
View user's profile Send private message
goldsg
PostPosted: Tue Feb 18, 2020 4:45 pm    Post subject: infinite crash loop with Java exception Reply with quote

Newbie

Joined: 26 Nov 2013
Posts: 5

Code:

Feb 18 16:02:57 icisr051 IIB[6307]: IBM Integration Bus v100019 (TIIBBK02.TIIBEG0210) [Thread 6307] (Msg 1/3) BIP2203E: An integration server has encountered a problem whilst starting.
Feb 18 16:02:57 icisr051 IIB[6307]: IBM Integration Bus v100019 (TIIBBK02.TIIBEG0210) [Thread 6307] (Msg 2/3) BIP4368S: The method 'registerAllPlugins' has thrown the following exception: java.lang.NoClassDefFoundError: com.ibm.xml.xapi.XModuleResolver.
Feb 18 16:02:57 icisr051 IIB[6307]: IBM Integration Bus v100019 (TIIBBK02.TIIBEG0210) [Thread 6307] (Msg 3/3) BIP4395E: Java exception: 'java.lang.NoClassDefFoundError'; thrown from class name: 'java.lang.ClassLoader', method name: 'defineClassImpl', file: 'ClassLoader.java', line: '-2'


What we found is a /tmp was full.
Also, IBM said to look what was defined in TMPDIR and make sure the IIB service account has read/write and has space.

/tmp had a *little* space -- it was weird, we have 46 execution groups; all would start except 2 or 3.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » NoClassDefFoundError exception on IIB v10
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.