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 code seems to be not updated

Post new topic  Reply to topic
 Java code seems to be not updated « View previous topic :: View next topic » 
Author Message
ceteareth
PostPosted: Mon Sep 10, 2012 12:41 am    Post subject: Java code seems to be not updated Reply with quote

Acolyte

Joined: 12 Aug 2012
Posts: 51

I am having an issue with my application I am not sure if this is covered on this forum. I am using logback as my logger. The logger is already working but I was asked to update some stuffs. I updated my java code, generated a new BAR file then deployed the
BAR file.
When i run it in debug mode there are code lines which are being skipped even though i am just pressing F6 for next line.
I updated the log message and then built the bar file again and deploy. the updated message is not being logged. the log message still shows the previous log message.
i took out the class file in my BAR file and then used a decompiler to see if the code is updated. and as expected the decompiled class shows my changes.
I already have tried restarting the broker. deleting the bar file then generating a new one for deployment. but still no luck. it seems that the application is looking elsewhere.
Do you have any ideas on this one?

I am using WMB8.
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Mon Sep 10, 2012 1:13 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi ceteareth,

Are you 100% sure you should be using jars deployed into your EG? Does your environment have JavaClassLoader configurable services or are your jars in shared-classes folders?

--
Marko
Back to top
View user's profile Send private message Visit poster's website
lancelotlinc
PostPosted: Mon Sep 10, 2012 5:03 am    Post subject: Re: Java code seems to be not updated Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

ceteareth wrote:
When i run it in debug mode


A Trace node is much more useful than the interactive debugger in some cases.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Sep 10, 2012 5:18 am    Post subject: Re: Java code seems to be not updated Reply with quote

Grand High Poobah

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

lancelotlinc wrote:
ceteareth wrote:
When i run it in debug mode


A Trace node is much more useful than the interactive debugger in some cases.


In almost all cases....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ceteareth
PostPosted: Mon Sep 10, 2012 3:57 pm    Post subject: Reply with quote

Acolyte

Joined: 12 Aug 2012
Posts: 51

Hi Marko, I have a java project which is being referenced by the Application. The java project is then built into jar and then gets to be archive inside the BAR file. I create the BAR file using WMB Toolkit.
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 code seems to be 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.