Author |
Message
|
achocks |
Posted: Thu Nov 21, 2013 2:56 pm Post subject: Shared-Classes not working - Class not found error |
|
|
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 |
|
 |
achocks |
Posted: Thu Nov 21, 2013 2:59 pm Post subject: |
|
|
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 |
|
 |
Simbu |
Posted: Thu Nov 21, 2013 10:37 pm Post subject: |
|
|
 Master
Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India
|
|
Back to top |
|
 |
achocks |
Posted: Fri Nov 22, 2013 3:04 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Fri Nov 22, 2013 7:38 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
achocks |
Posted: Fri Nov 22, 2013 7:45 am Post subject: |
|
|
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 |
|
 |
achocks |
Posted: Tue Dec 03, 2013 11:25 am Post subject: |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
|
Back to top |
|
 |
achocks |
Posted: Tue Dec 03, 2013 11:28 am Post subject: |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
|
Back to top |
|
 |
achocks |
Posted: Tue Dec 03, 2013 11:30 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Tue Dec 03, 2013 11:34 am Post subject: |
|
|
 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 |
|
 |
achocks |
Posted: Tue Dec 03, 2013 11:36 am Post subject: |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
|
Back to top |
|
 |
|