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 » IA91 - java.lang.NullPointerException

Post new topic  Reply to topic
 IA91 - java.lang.NullPointerException « View previous topic :: View next topic » 
Author Message
shrek
PostPosted: Mon Jan 09, 2006 5:42 am    Post subject: IA91 - java.lang.NullPointerException Reply with quote

Acolyte

Joined: 19 Feb 2005
Posts: 61
Location: Gudivada,India

All: I'm recieving the below error when trying to use the CachePut Node. I suspect that it has something to do with the JVM Version(1.5 on my workstation) because of the nature of the exception

Also, Does anyone know more about the IY77292 APAR?. I'm getting a ClassNot found exception when trying to use the ESQL function's(putIntoCache,getFromCache etc)

Quote:
BIP4395E: Java exception: 'java.lang.NullPointerException'; thrown from class name: 'com.goakes.CacheNode.CacheNode', method name: 'initialiseThread', file: 'CacheNode.java', line: '116'

The message contains that data associated with a Java exception.

No user action required.



Quote:
BIP4366E: Unable to create Java node 'Test_CachePut#FCMComposite_1_11' of type 'CachePutNode'.

An exception has occurred during the creation of the Java node: java.lang.NullPointerException

Contact the node provider for further details.


Any help to overcome these errors are highly appreciated.
Back to top
View user's profile Send private message
wschutz
PostPosted: Mon Jan 09, 2006 7:03 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Are you using MB v6? 77292 is for MB v6. It fixes a problem where plug-in's cannot load external jars.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
shrek
PostPosted: Mon Jan 09, 2006 7:40 am    Post subject: Reply with quote

Acolyte

Joined: 19 Feb 2005
Posts: 61
Location: Gudivada,India

I'm using MB6.

I can see that the Message Nodes are visible in the ToolKit and Broker is not having any issue with the restart process. The only problem i see is when I'm trying to deploy the IA91 nodes, I'm recieving a nullPointerException.

I have the CacheNode.jar located under

<workpath>\shared-classes
<install-dir>\jplugin

I still dont seem to understand the problem and the fix available with IY77292.
Back to top
View user's profile Send private message
wschutz
PostPosted: Mon Jan 09, 2006 7:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Download the latest IA91. If you look at the prereq's on the s/p page, Tony clearly indicates IY77292 is required.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
shrek
PostPosted: Mon Jan 09, 2006 8:27 am    Post subject: Reply with quote

Acolyte

Joined: 19 Feb 2005
Posts: 61
Location: Gudivada,India

Is IY77292 also required for Execution Group level availability of Cached data?

At the end of Section 6 in the pdf, it was mentioned the IY77292 is required for Broker level availability. Here is what I found on the

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24005877&loc=en_US&cs=utf-8&lang=en

Quote:
Prerequisites
This SupportPac requires:
WebSphere BI Message Broker
WebSphere MQ (for broker cache)
V5 only – Requires CSD04 or higher to use ESQL functions
V6 only – Requires fix IY77292 for broker level caching


Thanks.
Back to top
View user's profile Send private message
shrek
PostPosted: Wed Jan 11, 2006 7:02 am    Post subject: Reply with quote

Acolyte

Joined: 19 Feb 2005
Posts: 61
Location: Gudivada,India

I tried downgrading the JRE from 1.5 to 1.4.x and now I'm recieving Java Class not found error. We tried to download IY77292 but it looks like the status of APAR IY77292 is still open. Any Ideas?
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jan 11, 2006 7:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Are you saying you can't download the APAR? See this post for its location:
http://www.mqseries.net/phpBB2/viewtopic.php?t=26221&highlight=iy77292
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
shrek
PostPosted: Wed Jan 18, 2006 5:27 am    Post subject: Reply with quote

Acolyte

Joined: 19 Feb 2005
Posts: 61
Location: Gudivada,India

We got the IY77292 from IBM. Did anyone noticed that ESQL class is not included in the CacheNode.jar file? Without that class, we will not be able to use the putIntoCache & getFromCache functions in WMB6.0.

ESQL class is included in WBIMB V5 package.

Thanks.
Back to top
View user's profile Send private message
wbibrk
PostPosted: Wed Jan 18, 2006 11:34 am    Post subject: Reply with quote

Apprentice

Joined: 09 Jul 2005
Posts: 46

With WMB v6 Java 1.5 is not supported. If you are getting the class not found errors with Java 1.4.2, then try adding com.ibm.mq.jms and jms.jar to the CLASSPATH as you the plugin has a dependency on them
Back to top
View user's profile Send private message Send e-mail
shrek
PostPosted: Wed Jan 18, 2006 2:56 pm    Post subject: Reply with quote

Acolyte

Joined: 19 Feb 2005
Posts: 61
Location: Gudivada,India

I'm on Java 1.4.x and specified jar files are part of the CLASSPATH. If you open <install-dir>/jplugin/CacheNode.jar for V6, you will not see ESQL class.

You can see the same for V5.

Thanks.
Back to top
View user's profile Send private message
tfhays
PostPosted: Wed Jan 18, 2006 4:37 pm    Post subject: Note from the IA91 author Reply with quote

Newbie

Joined: 18 Jan 2006
Posts: 8

First, I want to apologize about any confusion this is causing. There are a couple of things wrong with IA91 under V6.

The new ESQL stuff works fine under V5, but I found out that I neglected to include the class file in the V6 jar code. Normallly, I could just repackage it, but it turns out that it actually does not work under V6 after all.

The new classloader hierarchy is apparently causing the ESQL cache to be separate from the Cache used by the nodes. Meaning you can use the ESQL cache -OR- you can use the normal nodes, but not both. At least for now. I'm working to try to correct this right now, so if you can not use the ESQL in V6 for now, it may be best. I'm hoping to spend time this weekend making it work.

You do absolutely need the IY77292 fix just to make the pub/sub part of the cache nodes work in V6.

The java version should be whatever came with V5 or V6; I have no specific JRE dependencies that I know of, other than the V5 or V6 broker code.

Again, I'd like to apologize for any problems anyone is having. I should be able to have a new version (barring major problems) after this weekend.

Regards, T.
Back to top
View user's profile Send private message
asardinas
PostPosted: Wed Jan 25, 2006 1:48 pm    Post subject: Any headway on the repackaging of IA91 (EOM) Reply with quote

Newbie

Joined: 04 Feb 2005
Posts: 4

Has there been any progress on the repackaging of IA91 for V6.
Back to top
View user's profile Send private message
tfhays
PostPosted: Fri Jan 27, 2006 8:30 am    Post subject: re: Any headway... Reply with quote

Newbie

Joined: 18 Jan 2006
Posts: 8

It's still in progress. Enabling the ESQL for V6 appears to basically require a restructuring of the code, which in itself is going quite well. Testing has shown that I introduced a few new bugs in this last release as well, so it is taking a bit longer than I had hoped, but the end result should be tighter code. So thanks for being patient while I work on it. I will certainly post something here when it's ready.

Regards, T.
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 » IA91 - java.lang.NullPointerException
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.