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 » issues with java and WMB v7.0.0.3

Post new topic  Reply to topic Goto page Previous  1, 2
 issues with java and WMB v7.0.0.3 « View previous topic :: View next topic » 
Author Message
Vitor
PostPosted: Tue Nov 06, 2012 10:21 am    Post subject: Re: issues with java and WMB v7.0.0.3 Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Shuyin wrote:
mmm ok, your opinion is very helpful!!


And one I concur with because...

Shuyin wrote:
what could i read just for understand about java-broker?


...with some training you'd understand that you can't deal with "java-broker" in isolation.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Shuyin
PostPosted: Tue Nov 06, 2012 11:34 am    Post subject: Re: issues with java and WMB v7.0.0.3 Reply with quote

Novice

Joined: 26 Jul 2012
Posts: 23

Vitor wrote:
Shuyin wrote:
mmm ok, your opinion is very helpful!!


And one I concur with because...

Shuyin wrote:
what could i read just for understand about java-broker?


...with some training you'd understand that you can't deal with "java-broker" in isolation.


sorry, i can't undertand your response, so is just possible use a jcn with JavaMail API and the WMB?
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Nov 06, 2012 11:52 am    Post subject: Re: issues with java and WMB v7.0.0.3 Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Shuyin wrote:
sorry, i can't undertand your response


I sort of expected that.

Shuyin wrote:
so is just possible use a jcn with JavaMail API and the WMB?


It's possible. It's pointless. It won't help this issue in all likehood.

But if you feel that's best then go in peace with your decision.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Shuyin
PostPosted: Tue Nov 06, 2012 3:29 pm    Post subject: Re: issues with java and WMB v7.0.0.3 Reply with quote

Novice

Joined: 26 Jul 2012
Posts: 23

Vitor wrote:
Shuyin wrote:
sorry, i can't undertand your response


I sort of expected that.

Shuyin wrote:
so is just possible use a jcn with JavaMail API and the WMB?


It's possible. It's pointless. It won't help this issue in all likehood.

But if you feel that's best then go in peace with your decision.


thanks to all for your time! and you Vitor, sorry but only say bla bla bla and don't help!! Remember that you were rookie too!!
Back to top
View user's profile Send private message Send e-mail
Shuyin
PostPosted: Tue Nov 06, 2012 3:34 pm    Post subject: Re: issues with java and WMB v7.0.0.3 Reply with quote

Novice

Joined: 26 Jul 2012
Posts: 23

Shuyin wrote:
Vitor wrote:
Shuyin wrote:
sorry, i can't undertand your response


I sort of expected that.

Shuyin wrote:
so is just possible use a jcn with JavaMail API and the WMB?


It's possible. It's pointless. It won't help this issue in all likehood.

But if you feel that's best then go in peace with your decision.


thanks to all for your time! and you Vitor, sorry but only say bla bla bla and don't help!! Remember that you were rookie too!!



And about my problem, it was the way that i used the BrokerProxy class, because this was causing the memory leak!!

Have a great life!!
Back to top
View user's profile Send private message Send e-mail
rekarm01
PostPosted: Wed Nov 07, 2012 1:19 am    Post subject: Re: issues with java and WMB v7.0.0.3 Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

Shuyin wrote:
I use the clearmessage method, but it still "eating" memory and CPU. Is there any other way to clean the objects?

Again, without seeing any actual code, it's really impossible to diagnose anything. The clearMessage() method is only useful for freeing up memory associated with MbMessage objects, but the JCN could be creating other types of objects ...

Shuyin wrote:
And about my problem, it was the way that i used the BrokerProxy class, because this was causing the memory leak!!

It's not at all obvious why a JCN meant to "retrieve email with javamail API" would be using the BrokerProxy class, but as long as the problem is resolved ...

Shuyin wrote:
Have a great life!!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 07, 2012 5:46 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Can you please be more specific in how your issue got resolved.
I am sure that there are more people out there using the broker proxy or planning to use it that would love to know.... Thanks
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Shuyin
PostPosted: Wed Nov 07, 2012 8:45 am    Post subject: Reply with quote

Novice

Joined: 26 Jul 2012
Posts: 23

fjb_saper wrote:
Can you please be more specific in how your issue got resolved.
I am sure that there are more people out there using the broker proxy or planning to use it that would love to know.... Thanks


Oh it's so simple, when you get the localinstance of broker proxy, you have to do'it only one time, and i was getting each time i execute the evaluate function. it was causing the leak memory.

regards!!
Back to top
View user's profile Send private message Send e-mail
Shuyin
PostPosted: Wed Nov 07, 2012 8:51 am    Post subject: Re: issues with java and WMB v7.0.0.3 Reply with quote

Novice

Joined: 26 Jul 2012
Posts: 23

rekarm01 wrote:
Shuyin wrote:
I use the clearmessage method, but it still "eating" memory and CPU. Is there any other way to clean the objects?

Again, without seeing any actual code, it's really impossible to diagnose anything. The clearMessage() method is only useful for freeing up memory associated with MbMessage objects, but the JCN could be creating other types of objects ...

Shuyin wrote:
And about my problem, it was the way that i used the BrokerProxy class, because this was causing the memory leak!!

It's not at all obvious why a JCN meant to "retrieve email with javamail API" would be using the BrokerProxy class, but as long as the problem is resolved ...

Shuyin wrote:
Have a great life!!



Hi rekarm01!

sorry because i don't post my code, but i was busy searching for information about JVM-WMB.

I was using the BrokerProxy class for retrieving "UserDefined" properties.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Nov 07, 2012 6:37 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Shuyin wrote:

Oh it's so simple, when you get the localinstance of broker proxy, you have to do'it only one time, and i was getting each time i execute the evaluate function. it was causing the leak memory.

regards!!

I hope you opened a PMR with IBM. This memory leak should not happen especially if you disconnect every time you are done with using it...

Just as an additional information what did you do? Create the brokerproxy as an initialized field?


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rekarm01
PostPosted: Thu Nov 08, 2012 3:57 am    Post subject: Re: issues with java and WMB v7.0.0.3 Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

Shuyin wrote:
I was using the BrokerProxy class for retrieving "UserDefined" properties.

Typically, the JavaCompute node uses its own getUserDefinedAttribute() method for that ... not the Message Broker Java API.
Back to top
View user's profile Send private message
Esa
PostPosted: Thu Nov 08, 2012 4:02 am    Post subject: Re: issues with java and WMB v7.0.0.3 Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

rekarm01 wrote:
Shuyin wrote:
I was using the BrokerProxy class for retrieving "UserDefined" properties.

Typically, the JavaCompute node uses its own getUserDefinedAttribute() method for that ... not the Message Broker Java API.


I think the OP fetches the properties from an user defined configurable service. For that, you need to use the Broker proxy API.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » issues with java and WMB v7.0.0.3
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.