| Author | 
		  Message
		 | 
		
		  | saddankula | 
		  
		    
			  
				 Posted: Fri Oct 18, 2013 5:19 am    Post subject: working of Base64 method in IIB9 | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Oct 18, 2013 5:52 am    Post subject: Re: working of Base64 method in IIB9 | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Fri Oct 18, 2013 5:52 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | saddankula | 
		  
		    
			  
				 Posted: Fri Oct 18, 2013 6:40 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kimbert | 
		  
		    
			  
				 Posted: Fri Oct 18, 2013 6:49 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 29 Jul 2003 Posts: 5543 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | saddankula | 
		  
		    
			  
				 Posted: Fri Oct 18, 2013 7:05 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kimbert | 
		  
		    
			  
				 Posted: Fri Oct 18, 2013 7:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 29 Jul 2003 Posts: 5543 Location: Southampton 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |