Author |
Message
|
shrek |
Posted: Mon Jan 09, 2006 5:42 am Post subject: IA91 - java.lang.NullPointerException |
|
|
 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 |
|
 |
wschutz |
Posted: Mon Jan 09, 2006 7:03 am Post subject: |
|
|
 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 |
|
 |
shrek |
Posted: Mon Jan 09, 2006 7:40 am Post subject: |
|
|
 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 |
|
 |
wschutz |
Posted: Mon Jan 09, 2006 7:54 am Post subject: |
|
|
 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 |
|
 |
shrek |
Posted: Mon Jan 09, 2006 8:27 am Post subject: |
|
|
 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 |
|
 |
shrek |
Posted: Wed Jan 11, 2006 7:02 am Post subject: |
|
|
 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 |
|
 |
wschutz |
Posted: Wed Jan 11, 2006 7:14 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
shrek |
Posted: Wed Jan 18, 2006 5:27 am Post subject: |
|
|
 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 |
|
 |
wbibrk |
Posted: Wed Jan 18, 2006 11:34 am Post subject: |
|
|
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 |
|
 |
shrek |
Posted: Wed Jan 18, 2006 2:56 pm Post subject: |
|
|
 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 |
|
 |
tfhays |
Posted: Wed Jan 18, 2006 4:37 pm Post subject: Note from the IA91 author |
|
|
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 |
|
 |
asardinas |
Posted: Wed Jan 25, 2006 1:48 pm Post subject: Any headway on the repackaging of IA91 (EOM) |
|
|
 Newbie
Joined: 04 Feb 2005 Posts: 4
|
Has there been any progress on the repackaging of IA91 for V6. |
|
Back to top |
|
 |
tfhays |
Posted: Fri Jan 27, 2006 8:30 am Post subject: re: Any headway... |
|
|
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 |
|
 |
|