|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Java function not updated |
« View previous topic :: View next topic » |
Author |
Message
|
Frik |
Posted: Wed Aug 02, 2017 6:09 am Post subject: Java function not updated |
|
|
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 |
|
 |
Frik |
Posted: Wed Aug 02, 2017 6:27 am Post subject: |
|
|
Acolyte
Joined: 25 Nov 2009 Posts: 69
|
|
Back to top |
|
 |
Android 23 |
Posted: Wed Aug 02, 2017 11:13 pm Post subject: Re: Java function not updated |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|