Aspose email is not working with oc4j- problem in setting license

We are facing issue with Aspose in our application which runs on OC4J server.

We are receiving below error when we try to set Aspose licence.

!META-INF/MANIFEST.MF not found in file:/u01/app/xchange/oc4j/j2ee/home/applications/imr-xma/aspose-email-2.0.0-jdk14.jar

Below is code snippet which tries to set licence:

private static void setLicense() throws EmailParserException {

try {

// Set license. Provide full path and license file name

com.aspose.email.License licEmail = new com.aspose.email.License();

String path = EmailParserImpl.class.getProtectionDomain().getCodeSource().getLocation().getPath();

String decodedPath = URLDecoder.decode(path, "UTF-8");

decodedPath = decodedPath.replace("emailparser.jar","");

final File file = new File( decodedPath+"/"+PropertyReader.getProperty("aspose_licence"));

final FileInputStream inputStream = new FileInputStream(file);

licEmail.setLicense(inputStream);

} catch (Exception ex) {

logger.fatal(ex.getMessage());

throw new EmailParserException("TECHNICAL_ERR_MSG");

}

}

I also found this is a known issue of Aspose and something similar can be found at https://forum.aspose.com/t/121244

But it is not resolving my concern.

Our configurations are:

Oc4j - 10.1.3.3.0

JDK - jdk1.5.0

Hi Sachin,


I have logged your mentioned issue as NETWRKJAVA-33198 in our bug tracking system and you can follow your original post HERE for tracking the status of this issue.


Hi Kashif,

We purchased your api and this issue is road block for us
Can you tell me the SLA\escalation point for resolving this issue.

Thanks,
Sachin

Hi Sachin,


Please accept our apology for any inconvenience caused to you.

I have passed on your concern to the development team and asked for the ETA. I will write back you here as soon as some feedback is received from the developers.

Your patience and understanding is highly appreciated in this regard.


Hi Sachin,


Thank you for your patience.

Please download and try the Quick fix Aspose.Email for Java 2.2.0.3 as attached here, and let us know your feedback.

Thanks for your co-ordination.
Now, it is working fine in OC4J environment. We really appreciate your effort.

Hi Sachin,


Thanks for the feedback.

We are glad that your issue is resolved now and things have started working at your end as expected. Please feel free to contact us if we can be of additional help to you.

Have a good day ahead!

Hi,

Can you please confirm the final date of formal release with this fix


Thanks,
Sachin

Hi Sachin,


I would like to share with you that product release of Aspose.Email for Java 2.3.0 is due by the end of this week. We will update you here once the release is in place. Thank you for your patience in this regard.

The issues you have found earlier (filed as NETWRKJAVA-33198) have been fixed in this update.


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