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 » Same Application, different behavior

Post new topic  Reply to topic
 Same Application, different behavior « View previous topic :: View next topic » 
Author Message
Frik
PostPosted: Wed Jun 29, 2016 5:37 am    Post subject: Same Application, different behavior Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 29, 2016 5:50 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Where's the jar file for the procedure?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Frik
PostPosted: Wed Jun 29, 2016 5:59 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 29, 2016 6:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Is the library deployed in the bar file?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Frik
PostPosted: Wed Jun 29, 2016 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 29, 2016 6:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Frik
PostPosted: Wed Jun 29, 2016 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 29, 2016 6:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Frik
PostPosted: Wed Jun 29, 2016 7:32 am    Post subject: Reply with quote

Acolyte

Joined: 25 Nov 2009
Posts: 69

Thanks, mqjeff, but the behavior is the same
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 29, 2016 7:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

user trace followed by PMR.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
stoney
PostPosted: Wed Jun 29, 2016 2:59 pm    Post subject: Reply with quote

Centurion

Joined: 03 Apr 2013
Posts: 140

If the Java procedure is in a library, is that library deployed in multiple applications on the integration server showing the problems?
If this is the case, then you have multiple copies of the same Java class deployed to that integration server.
This would mean that you are running into the lack of application isolation for Java at whatever version you're running with (WMBv8 or IIBv9?).
You can read about that here: https://developer.ibm.com/integration/blog/2015/06/23/application-isolation-for-java-in-ibm-integration-bus-v10-and-v9-0-0-3/
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 » Same Application, different behavior
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.