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 » MB V6 on AIX: DataFlowEngine abends while starting

Post new topic  Reply to topic
 MB V6 on AIX: DataFlowEngine abends while starting « View previous topic :: View next topic » 
Author Message
prasadpav
PostPosted: Thu Dec 22, 2005 8:03 am    Post subject: MB V6 on AIX: DataFlowEngine abends while starting Reply with quote

Centurion

Joined: 03 Oct 2004
Posts: 142

Hi,
My env is: wMQ V6, WMQI V6, AIX 5.3, DB2 8.2

I did my custom java nodes migration from V5 to V6. When message broker starts, it registers the custom java nodes. During that process, DataFlowEngine abends. In syslog, there is no useful information apart from this:

Quote:
Dec 22 15:35:20 ibmserv1 user:err|error WebSphere Broker v6000[46358]: (NODE1BKR.2f23fd48-0801-0000-0080-929b9ae0c3e8)[1]BIP2228E: Severe error: /build/S000_P/src/CommonServices/Unix/ImbAbend.cpp 536 signal received Abend file: /var/mqsi/common/errors/NODE1BKR.2f23fd48-0801-0000-0080-929b9ae0c3e8.46358.1.abend action: abort

Dec 22 15:35:26 ibmserv1 user:warn|warning WebSphere Broker v6000[13642]: (NODE1BKR)[1543]BIP2060W: The broker has detected that the Execution Group default, process ID 46358, has shutdown. : NODE1BKR.agent: /build/S000_P/src/AdminAgent/ImbAdminAgent.cpp: 4038: ImbAdminAgent::startAndMonitorADataFlowEngine: :

Dec 22 15:35:26 ibmserv1 user:info WebSphere Broker v6000[48892]: (NODE1BKR.default)[1]BIP2201I: Execution Group started: process '48892'; thread '1'; additional information: brokerName 'NODE1BKR'; executionGroupUUID '2f23fd48-0801-0000-0080-929b9ae0c3e8'; executionGroupLabel 'default'; defaultExecutionGroup 'true'; queueManagerName 'NODE1QM'; trusted 'false'; dataSourceName 'NODE1DB'; userId 'wmqi'; migrationNeeded 'false'; brokerUUID '2e23fd48-0801-0000-0080-929b9ae0c3e8'; filePath '/usr/opt/wmqi6'; workPath '/var/mqsi'; ICU Converter Path ''. : NODE1BKR.2f23fd48-0801-0000-0080-929b9ae0c3e8: /build/S000_P/src/DataFlowEngine/ImbMain.cpp: 289: main: :


The abend file looks like this:

Quote:
abend record for pid 48892 tid 1 time in seconds since 01/01/1970: 1135265730
File: /build/S000_P/src/CommonServices/Unix/ImbAbend.cpp
Line: 536
Function: signal received
---- Inserts ----
6
@(#) 1.33.1.16 CommonServices/Unix/ImbAbend.cpp, CommonServices, S000 05/02/17 13:14:39 [2/17/05 14:29:09]
804379568
-----------------
----------------------------- Stack dump for current thread ( 1)
(0xd005fcf0+0x00000080) pthread_kill [/usr/lib/libpthreads.a(shr_xpg5.o)]
(0xd005f7d4+0x00000058) _p_raise [/usr/lib/libpthreads.a(shr_xpg5.o)]
(0xd0236fbc+0x00000030) raise [/usr/lib/libpthreads.a(shr_xpg5.o)]
(0xd0264470+0x000000b8) abort [/usr/lib/libpthreads.a(shr_xpg5.o)]
(0xd89378a8+0x00000094) jni_FatalError [/usr/opt/wmqi6/jre/bin/classic/libjvm.a]
(0xd8959370+0x00000258) xeRunJniMethod [/usr/opt/wmqi6/jre/bin/classic/libjvm.a]
(0xd89367d8+0x00000104) invokeJniMethod [/usr/opt/wmqi6/jre/bin/classic/libjvm.a]
(0xd8933f88+0x0000003c) jni_CallLongMethodV [/usr/opt/wmqi6/jre/bin/classic/libjvm.a]
(0xdac15a28+0x00000078) mbBrokerExceptionToNativeException__21ImbJavaExceptionUtilsFP7JNIEnv_P11_jthrowable [/usr/opt/wmqi6/lib/libimbjplg.a]
(0xdac0fe68+0x000000e8) handleJavaException__21ImbJavaExceptionUtilsFP7JNIEnv_iP10ImbWstringT2P11_jthrowableP8_jobject [/usr/opt/wmqi6/lib/libimbjplg.a]
(0xdacc0440+0x00000014) handleJavaException__21ImbJavaExceptionUtilsFP7JNIEnv_iP10ImbWstringT2P11_jthrowable [/usr/opt/wmqi6/lib/libimbjplg.a]
(0xdacea868+0x00000388) bipGetJavaPluginNodeFactory [/usr/opt/wmqi6/lib/libimbjplg.a]
(0xdabf2128+0x00000010) bipGetMessageflowNodeFactory [/usr/opt/wmqi6/lil/imbjplug2.lil]
(0xd7280254+0x0000083c) __ct__10ImbLibraryFRC10ImbWstring [/usr/opt/wmqi6/lib/libMessageServices.a(libMessageServices.a.so)]
(0xd727f9b8+0x000000dc) loadLibrary__18ImbResourceManagerFRC10ImbWstring [/usr/opt/wmqi6/lib/libMessageServices.a(libMessageServices.a.so)]
(0xd950db88+0x00002b3c) start__7ImbMainFR18ImbStartParameters [/usr/opt/wmqi6/lib/libbipmain.a]
(0x10002058+0x00000408) main [DataFlowEngine]
(0x10000128+0x0000008c) __start [DataFlowEngine]
----------------------------------------------------------------------
w


All the dependant jars & plugin jar are present in a seperate directory (/home/wmqi/dep_classes & /home/wmqi/plugin_classes) which are made available to broker using mqsichangebroker command.

Any ideas?

Prasad
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 22, 2005 8:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Can you see or cause to see in some way if the initialization method of your plugin is called?

If it's not getting that far, then I'd guess it's a packaging problem or a permissions problem on the jars. If it is getting that far, then it might be something in your code.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
prasadpav
PostPosted: Thu Dec 22, 2005 8:41 am    Post subject: Reply with quote

Centurion

Joined: 03 Oct 2004
Posts: 142

I think it must have done initialization because message broker used to complain about "NoClassDefFound" while loading the custom java nodes. When I fixed those problems, then this one.

I don't think it would be a problem with the code because when I installed the same custom java nodes on windows platform it worked. I can even deploy message flows which uses those custom java nodes.

Prasad
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 22, 2005 8:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Is your code using JNI at all?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Ian
PostPosted: Wed Dec 28, 2005 4:04 am    Post subject: Reply with quote

Disciple

Joined: 22 Nov 2002
Posts: 152
Location: London, UK

Quote:
message broker used to complain about "NoClassDefFound" while loading the custom java nodes. When I fixed those problems, then this one.


How did you fix this ?

I have just posted a reply to this type of error over here which says that when running WMB v6 GA and using Java plugin nodes you will get a "BIP4512S: java.lang.NoClassDefFoundError:" failure loading Java classes. This has been fixed under APAR IY77292. You will need to contact the WMB support team and request this fix.
_________________
Regards, Ian
Back to top
View user's profile Send private message
prasadpav
PostPosted: Tue Jan 03, 2006 2:23 am    Post subject: Reply with quote

Centurion

Joined: 03 Oct 2004
Posts: 142

Hi,
Sorry for the late response. I was on leave during christmas and new year.

Quote:
How did I fixed NoClassDefFound?
I used "mqsichangebroker" to mention the lil path. I used 2 directories: one directory for dependant jars and another one for custom java plugin nodes.

After doing this, when I restart my broker, data flow engine abends creating the abend file above.

Quote:
Is your code using JNI at all?

No

The problem is not resolved yet. I'm also following up with IBM.

Prasad
Back to top
View user's profile Send private message
prasadpav
PostPosted: Wed Jan 04, 2006 9:19 am    Post subject: Reply with quote

Centurion

Joined: 03 Oct 2004
Posts: 142

Finally it is working now. Solution is to install APAR IY77292. Thanks Ian for pointing me to right direction.

Thanks everyone
Prasad
Back to top
View user's profile Send private message
powerlord
PostPosted: Thu Jan 19, 2006 7:11 am    Post subject: Reply with quote

Novice

Joined: 02 Sep 2005
Posts: 19

prasadpav wrote:
Finally it is working now. Solution is to install APAR IY77292. Thanks Ian for pointing me to right direction.

Thanks everyone
Prasad



Just a note for people with a similar problem. This APAR is a new bootstrap.jar.

This appears to change the way the classloader(s) work. Which although it does fix this problem, does mean that (for me anyway) that some JNI call back code I had is now failing for a classnot found. Removing the APAR 'fixes' this.


I kind of doubt anyone else is using JNI callbacks into MB, so I don't think raising this with IBM is worth the hassle, I'm going to continue to look into it myself.

If anyone is interested we use a JNI callback in MB/JVM to start our flow using a custom input node:

HTTP SOAP message > out own soap handling adapter > C++ dll IPC bridge > MB/JVM.

stu
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 » MB V6 on AIX: DataFlowEngine abends while starting
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.