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 » Java function not updated

Post new topic  Reply to topic
 Java function not updated « View previous topic :: View next topic » 
Author Message
Frik
PostPosted: Wed Aug 02, 2017 6:09 am    Post subject: Java function not updated Reply with quote

Acolyte

Joined: 25 Nov 2009
Posts: 69

Hello,
I'm calling java function referenced by ESQL (CREATE PROCEDURE ... LANGUAGE JAVA ....) using jar called InfraCommon.jar.

One of the java classes changed, and I got a new jar, with the same name.
I overwrited it on the project, rebuilded the Application using that jar, and even noticed that its size was changed in the bar.
All great!
Then, I deployed the Application but unfortunately - the functionality of the relevant class didn't change and it's look the application using the old jar! !
I looked for the same jar name in the shared-classes of the broker, the Integration brokers and in the workpath, but nothing.
Checked for the same jar in the class path but nothing.
The only thing I can think of is that somehow - other applications on the same Integration broker using the old jar affects the application with the new jar.

Sp, I deployed the Application to new differenet Integration broker - and the functionality updated and it is works great!

What the hell is going on here???
Back to top
View user's profile Send private message
Frik
PostPosted: Wed Aug 02, 2017 6:27 am    Post subject: Reply with quote

Acolyte

Joined: 25 Nov 2009
Posts: 69

Well, found the solution. Its java isolation
https://developer.ibm.com/integration/blog/2015/06/23/application-isolation-for-java-in-ibm-integration-bus-v10-and-v9-0-0-3/

Thanks.
Back to top
View user's profile Send private message
Android 23
PostPosted: Wed Aug 02, 2017 11:13 pm    Post subject: Re: Java function not updated Reply with quote

Apprentice

Joined: 27 Mar 2017
Posts: 38

Frik wrote:
Hello,
I'm calling java function referenced by ESQL (CREATE PROCEDURE ... LANGUAGE JAVA ....) using jar called InfraCommon.jar.

One of the java classes changed, and I got a new jar, with the same name.
I overwrited it on the project, rebuilded the Application using that jar, and even noticed that its size was changed in the bar.
All great!
Then, I deployed the Application but unfortunately - the functionality of the relevant class didn't change and it's look the application using the old jar! !
I looked for the same jar name in the shared-classes of the broker, the Integration brokers and in the workpath, but nothing.
Checked for the same jar in the class path but nothing.
The only thing I can think of is that somehow - other applications on the same Integration broker using the old jar affects the application with the new jar.

Sp, I deployed the Application to new differenet Integration broker - and the functionality updated and it is works great!

What the hell is going on here???


To update the jar file in shared-classes folder.You need restart your broker , So that it effects take place in it.
I think it's not related to Java Isolation .By default we can see tick mark in it.
And no need of creating new broker and execution group in it.
Thanks & Regards
Android 23
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 » Java function not updated
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.