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 » Shared-Classes not working - Class not found error

Post new topic  Reply to topic
 Shared-Classes not working - Class not found error « View previous topic :: View next topic » 
Author Message
achocks
PostPosted: Thu Nov 21, 2013 2:56 pm    Post subject: Shared-Classes not working - Class not found error Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Guys,

Need your help. I am using some external jar files to split a PDF or TIFF file. This is working perfectly fine when I include the Jar Files in the Bar files in the build in Windows. But when deployed in Linux, it did not work. Got the Class not found error.

So tried other option of moving to shared-classes. Moved to all levels of shared-classes (Server Level, Broker Level and EG level). No luck. Same class not found error.

Server Level - /var/mqsi/shared-classes/
Broker Level - /var/mqsi/config/mb8broker/shared-classes/
EG Level - /var/mqsi/config/mb8broker/mb8EG/shared-classes/

Here is error I am getting.


Code:

evaluate92.Java Compute93.java.lang.NoClassDefFoundError: java.awt.image.ComponentColorModel (initialization failure)94.java.lang.NoClassDefFoundError95.java.lang.J9VMInternals96.initialize97.J9VMInternals.java



I did not try to add the jar files to the class path since several experts not suggesting that in this forum.

Any guidance will be greatly appreciated.
Back to top
View user's profile Send private message
achocks
PostPosted: Thu Nov 21, 2013 2:59 pm    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Here is the current class path

Code:

opt/ibm/mqsi/8.0.0.2/messages:
/opt/ibm/mqsi/8.0.0.2/classes:
/opt/ibm/mqsi/8.0.0.2/classes/ConfigManagerProxy.jar:
/opt/ibm/mqsi/8.0.0.2/classes/brokerutil.jar:
/opt/mqm/java/lib/com.ibm.mq.jar:
/opt/mqm/java/lib/com.ibm.mqjms.jar:
/opt/mqm/samp/wmqjava/samples:
/opt/mqm/samp/jms/samples:
/var/mqsi/common/wsrr
Back to top
View user's profile Send private message
Simbu
PostPosted: Thu Nov 21, 2013 10:37 pm    Post subject: Reply with quote

Master

Joined: 17 Jun 2011
Posts: 289
Location: Tamil Nadu, India

http://www.mqseries.net/phpBB2/viewtopic.php?t=65960
Back to top
View user's profile Send private message
achocks
PostPosted: Fri Nov 22, 2013 3:04 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Thanks Simbu!

This helps! Any workarounds you found like copy the .so files to some directories? is that even worth to try?

Thanks Again.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Nov 22, 2013 7:38 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So the link Simbu gave (very helpful, btw, ) refers to an APAR
http://www-01.ibm.com/support/docview.wss?uid=swg1IC93861

You can open a PMR and request an iFix for the APAR at the level of broker you're running, which if I remember correctly should be 8.x by now?
Back to top
View user's profile Send private message
achocks
PostPosted: Fri Nov 22, 2013 7:45 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Yes. Jeff. We are in 8.0.0.2!!

Hope everything is going fine at your end.

I opened a PMR with IBM today. Looking at alternative options to merge a filestream in Java Compute node. We used external JARS's sun-jai_codec.jar and sun-jai_core.jar to do the merge, which apparently is using the AWT classes and not working in Linux.

Please suggest me if you know any API which we can utilize.

Thanks in advance.
Back to top
View user's profile Send private message
achocks
PostPosted: Tue Dec 03, 2013 11:25 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Just to update. IBM provided the interim fix for 8.0.0.2 for the PMR
http://www-01.ibm.com/support/docview.wss?uid=swg1IC93861 and it fixed the issue.

Thanks Jeff!
Back to top
View user's profile Send private message
achocks
PostPosted: Tue Dec 03, 2013 11:28 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

IBM was able to provide the interim fix for the PMR and it fixed the external JAR issues.


http://www-01.ibm.com/support/docview.wss?uid=swg1IC93861

Thanks Jeff!
Back to top
View user's profile Send private message
achocks
PostPosted: Tue Dec 03, 2013 11:30 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Update...

The interim fix provided(8.0.0.2) for the PMR (http://www-01.ibm.com/support/docview.wss?uid=swg1IC93861) fixed the issues.

Thanks Jeff!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 03, 2013 11:34 am    Post subject: Reply with quote

Grand High Poobah

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

Please refrain from spaces in the URL. If needed use %20
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
achocks
PostPosted: Tue Dec 03, 2013 11:36 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Thanks fjb_saper.
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 » Shared-Classes not working - Class not found error
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.