| Author | 
		  Message
		 | 
		
		  | Frik | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 5:37 am    Post subject: Same Application, different behavior | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 25 Nov 2009 Posts: 69
  
  | 
		  
		    
			  
				Hello, 
 
I have an application that contains a flow, that calls a java procedure  I changed lately. I call the java procedure using esql call ("Create Procedure... language java").
 
 
I have created a bar file, and deployed it to exexcution group that contains some more applications, and for some reason - the changes didn't affect, and it seems that the application is using the old version of the procedure.
 
 
I created a new Execution Group, and deployed the application to it , and it's working and the changes affect the behvaior.
 
 
We are talking about the same bar file, only different execution groups.
 
 
How does it possible? what might happened?
 
 
I checked the shared-classes  folders for the broker and the execution groups - they are all empty.
 
 
Any ideas? I'm lost. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 5:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				Where's the jar file for the procedure? _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Frik | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 5:59 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 25 Nov 2009 Posts: 69
  
  | 
		  
		    
			  
				
   
	| mqjeff wrote: | 
   
  
	| Where's the jar file for the procedure? | 
   
 
 
 
In a library that contains the java project.
 
This library is one of the projects that referenced by the application. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 6:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				Is the library deployed in the bar file? _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Frik | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 6:06 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 25 Nov 2009 Posts: 69
  
  | 
		  
		    
			  
				As part of  the application only. 
 
Not as is.
  Last edited by Frik on Wed Jun 29, 2016 6:22 am; edited 1 time in total | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 6:08 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				The bar file deploy should have done this, but what happens if you stop and start the application?
 
 
Also, does the java procedure use any kind of JVM resources - static data or etc? Those might not have gotten cleared out by the deploy... _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Frik | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 6:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 25 Nov 2009 Posts: 69
  
  | 
		  
		    
			  
				yes, that what i meant - the bar file did it.
 
 
I stopped and started the application (and reloaded the execution group, and after that - restarted the boker... nothing) - the behavior is the same.
 
the java procedure uses no jvm resources (BTW, how do you clear jvm resources?). | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 6:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				Stop and remove the application.  
 
 
Deploy the bar file.
 
 
(You clear JVM resources by restarting the JVM.  restarting the EG/IntegrationServer does this). _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Frik | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 7:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 25 Nov 2009 Posts: 69
  
  | 
		  
		    
			  
				Thanks, mqjeff, but the behavior is the same    | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 7:58 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				user trace followed by PMR. _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | stoney | 
		  
		    
			  
				 Posted: Wed Jun 29, 2016 2:59 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 03 Apr 2013 Posts: 140
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |