We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Words for Java cannot be run in Caucho Resin 4.0.x

Hello,

Aspose.Words v.13.x cannot be loaded in Resin classloaders due to non-latin filenames of Aspose obfuscated classes.

To reproduce the problem just deploy the given wars to Resin 4.0.x
The war with Aspose 11.0.0 works properly.
The war with Aspose 13.8.0 gives the NoClassDefFoundError.

----
{resin-port-80-31} java.lang.NoClassDefFoundError: com/aspose/words/?F9
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at com.caucho.loader.DynamicClassLoader.loadClassEntry(DynamicClassLoader.java:1889)
at com.caucho.loader.DynamicClassLoader.findClassImpl(DynamicClassLoader.java:1731)
at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1612)
at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1590)
at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1521)
at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1502)
at _jsp._index__jsp._jspService(_index__jsp.java:57)
--------

Best regards, Evgeniy

Hi Evgeniy,

Thanks for your inquiry. Please try the latest version of Aspose.Words for Java 13.9.0 and let us know how it goes on your side. If the problem still remains, please share following detail for investigation purposes.

What environment are you running on?

  • Operating System
  • Architecture (32 / 64 bit)
  • Java version
  • Please create a new War file with latest version of Aspose.Words for Java 13.9.0 and share it here for testing.

Hi Tahir,


Please see attached the sample application with Aspose.Words 13.0.9

The error can be reproduced in two environments.

1. Windows 7 64bit, Java 1.6.0_43 64bit, Resin 4.0.37
2. Linux 32bit, Java 1.6.0_38, Resin 4.0.25

Seems the problem is in the names of the obfuscated classes of the Aspose library and Resin cannot load these classes.

Best regards, Evgeniy

Hi Evgeniy,

Thanks for sharing the details. I have logged a new Task in our issue tracking system as WORDSJAVA-797 to setup Resin 4.0.37 for Aspose.Words for Java. I will prepare the required platform to
simulate the environment as of yours. As soon as everything is setup,
we will test the issue at our end and will post the results here for
your kind reference.


Thank you for your patience and understanding.

Hi Evgeniy,

Thanks for your patience. I have managed to reproduce the same issue at my side. I have logged this issue as WORDSJAVA-803 in our issue tracking system. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Tahir,


When do you plan to fix the issue? Is it possible to get it for the next release of Aspose.Words 13.11.0?

Best regards, Evgeniy

Hi Evgeniy,

Thanks for your inquiry. I would like to share with you that issues are
addressed and resolved based on first come first serve basis. Currently,
your issue is pending for analysis and is in the queue. I am afraid, I
cannot provide you any reliable estimate at the moment. Once your issue
is analyzed, we will then be able to provide you an estimate.


Thank you for your patience and understanding.

The issues you have found earlier (filed as WORDSJAVA-803) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.