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 » Class not found - JAR deployed to EG - MB 7

Post new topic  Reply to topic
 Class not found - JAR deployed to EG - MB 7 « View previous topic :: View next topic » 
Author Message
jbanoop
PostPosted: Fri Apr 01, 2011 7:08 am    Post subject: Class not found - JAR deployed to EG - MB 7 Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

All,
env:
WMB 7.0.0.1
AIX 6

We are facing a strange issue with a deployment.
We have a ESQL compute node in a flow which is calling a java method.

The jar is also deployed to the same EG as the flow. However at runtime, it throws out an error ..

Code:
 The Java Method com.aaa.utils.FileUtils.changeFilePermissions' could not be found as its containing class could not be found in the broker classpath


Has anyone faced the same issue? Any direction on how to approach this would be greatly appreciated.
Regards,
Back to top
View user's profile Send private message Yahoo Messenger
lancelotlinc
PostPosted: Fri Apr 01, 2011 7:35 am    Post subject: Reply with quote

Jedi Knight

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

Maybe an old version of the Jar is being found first. This is one reason I prefer to deploy any third party Jars to shared-classes rather than to EGs. It leaves me only one place to update the Jars.
_________________
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
jbanoop
PostPosted: Fri Apr 01, 2011 7:57 am    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

We checked for the deployed jar file in the EG runtime folder
Code:
/var/mqsi/components/QWBRK/08f0ce83-2801-0000-0080-84095360e286/config/JAR


and we see that the jar deployed there does not have the class file in it.

However the jar in the bar file contains .class file inside. Weird behavior I would think.
Wondering if anyone has seen this before....
Back to top
View user's profile Send private message Yahoo Messenger
lancelotlinc
PostPosted: Fri Apr 01, 2011 8:30 am    Post subject: Reply with quote

Jedi Knight

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

This indicates the BAR file deployment was not fully successful. You can check /var/log/messages or /var/mqsi/components/QWBRK/08f0ce83-2801-0000-0080-84095360e286/stdout /var/mqsi/components/QWBRK/08f0ce83-2801-0000-0080-84095360e286/stderr

to see possible causes.

Please try to redeploy the BAR file.
_________________
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
jbanoop
PostPosted: Tue Apr 05, 2011 1:27 pm    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

The stderr did not have any errors pertaining to the same.

However, the issue was resolved by redeployment although we could not identify any particular root cause.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Class not found - JAR deployed to EG - MB 7
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.