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 » working of Base64 method in IIB9

Post new topic  Reply to topic
 working of Base64 method in IIB9 « View previous topic :: View next topic » 
Author Message
saddankula
PostPosted: Fri Oct 18, 2013 5:19 am    Post subject: working of Base64 method in IIB9 Reply with quote

Acolyte

Joined: 27 Jun 2013
Posts: 51

Hello Team,

I am trying to the payload string is Encode with Base64 method in java class " .I am accessing that java class in java compute node .

I Encode the payload string using Base64 methods
It is working fine in MBV8, but it gives exception in IIB9.

In following statement the exception occur
l_encodedPayload = Base64.encode(l_payload.getBytes("UTF8"));

here l_payload is blob data.

Can any one give the solution for this .
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 18, 2013 5:52 am    Post subject: Re: working of Base64 method in IIB9 Reply with quote

Grand High Poobah

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

saddankula wrote:
Hello Team,

I am trying to the payload string is Encode with Base64 method in java class " .I am accessing that java class in java compute node .

I Encode the payload string using Base64 methods
It is working fine in MBV8, but it gives exception in IIB9.

In following statement the exception occur
l_encodedPayload = Base64.encode(l_payload.getBytes("UTF8"));

here l_payload is blob data.

Can any one give the solution for this .


A million and one reasons... nowhere did you say that l_payload was defined as a String...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Fri Oct 18, 2013 5:52 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

It would really help to see the exception list and/or the full error text
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
saddankula
PostPosted: Fri Oct 18, 2013 6:40 am    Post subject: Reply with quote

Acolyte

Joined: 27 Jun 2013
Posts: 51

I have defined as l_payload as a String. after i tried to encode that data.

exception is :



ExceptionList
RecoverableException
File:CHARACTER:F:\build\slot1\S000_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp
Line:INTEGER:1153
Function:CHARACTER:ImbDataFlowNode::createExceptionList
Type:CHARACTER:ComIbmTryCatchNode
Name:CHARACTER:EAI/GB/SRC_MAINFRAME/GB_MAINFRAME_I0089_ENTRY_FLOW#FCMComposite_1_2.EAI/COMMON/COMMON_ENTRY_FLOW#FCMComposite_1_5.GLOBAL/AUDIT/WW_AUDIT_INVOKER_FLOW#FCMComposite_1_1
Label:CHARACTER:EAI.GB.SRC_MAINFRAME.GB_MAINFRAME_I0089_ENTRY_FLOW.EAI Entry Subflow.Audit Invoker Call.Try Catch
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Node throwing exception
RecoverableException
File:CHARACTER:F:\build\slot1\S000_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp
Line:INTEGER:1304
Function:CHARACTER:ImbJniNode::evaluate
Type:CHARACTER:ComIbmJavaComputeNode
Name:CHARACTER:EAI/GB/SRC_MAINFRAME/GB_MAINFRAME_I0089_ENTRY_FLOW#FCMComposite_1_2.EAI/COMMON/COMMON_ENTRY_FLOW#FCMComposite_1_5.GLOBAL/AUDIT/WW_AUDIT_INVOKER_FLOW#FCMComposite_1_2
Label:CHARACTER:EAI.GB.SRC_MAINFRAME.GB_MAINFRAME_I0089_ENTRY_FLOW.EAI Entry Subflow.Audit Invoker Call.Audit Message Creation
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
RecoverableException
File:CHARACTER:F:\build\slot1\S000_P\src\DataFlowEngine\PluginInterface\com_ibm_broker_plugin_CMbService.cpp
Line:INTEGER:1871
Function:CHARACTER:ImbJavaExceptionUtils::throwableToNativeException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:4367
Text:CHARACTER:Unhandled exception in plugin method.
Insert
Type:INTEGER:5
Text:CHARACTER:evaluate
Insert
Type:INTEGER:5
Text:CHARACTER:EAI Entry Subflow.Audit Invoker Call.Audit Message Creation
Insert
Type:INTEGER:5
Text:CHARACTER:java.lang.NoClassDefFoundError: com.ibm.broker.javacompute.Base64
RecoverableException
File:CHARACTER:F:\build\slot1\S000_P\src\DataFlowEngine\PluginInterface\com_ibm_broker_plugin_CMbService.cpp
Line:INTEGER:1889
Function:CHARACTER:ImbJavaExceptionUtils::throwableToNativeException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:4395
Text:CHARACTER:Unhandled exception in plugin method
Insert
Type:INTEGER:5
Text:CHARACTER:java.lang.NoClassDefFoundError
Insert
Type:INTEGER:5
Text:CHARACTER:com.walmart.audit.global.AuditMessageCreation
Insert
Type:INTEGER:5
Text:CHARACTER:setPayloadMessage
Insert
Type:INTEGER:5
Text:CHARACTER:AuditMessageCreation.java
Insert
Type:INTEGER:2
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Oct 18, 2013 6:49 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
java.lang.NoClassDefFoundError: com.ibm.broker.javacompute.Base64
This is a classpath configuration problem. There is a lot of information in the info center about how to configure the classpath.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
saddankula
PostPosted: Fri Oct 18, 2013 7:05 am    Post subject: Reply with quote

Acolyte

Joined: 27 Jun 2013
Posts: 51

Can you give any idea regarding how to configure the classpath ( for com.ibm.broker.javacompute.Base64) to message broker environment
_________________
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Oct 18, 2013 7:50 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

http://pic.dhe.ibm.com/infocenter/wmbhelp/v8r0m0/topic/com.ibm.etools.mft.doc/ac37125_.htm
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
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 » working of Base64 method in IIB9
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.