Licence

Last post 08-12-2009, 8:20 AM by codewarior. 8 replies.
Sort Posts: Previous Next
  •  07-14-2009, 5:20 AM 188337

    Licence Java

    Hi,

    Licence set up does work with deployment in Tomcat 5.5 but still appears "Evaluation Only. Created with Aspose.Words. Copyright 2003-2008 Aspose Pty Ltd." when i try to activate PDF licence in Tomcat 6.

    I use to do same thing: i put licence activation code in Application Bean.

    What's wrong? Thx.

    My code:

    public ApplicationBean1() {

            com.aspose.words.License licenseWords = new com.aspose.words.License();
            com.aspose.pdf.License licensePdf = new com.aspose.pdf.License();
            try {
                java.io.FileInputStream fis = new java.io.FileInputStream("C:/licensiaAspose/Aspose.Total.Java.lic");
                licenseWords.setLicense(fis);
                fis.close();
                fis = new java.io.FileInputStream("C:/licensiaAspose/Aspose.Total.Java.lic");
                licensePdf.setLicense(fis);
                fis.close();
            }catch(Exception e){}
        }
    Filed under: j2ee;license;tomcat
     
  •  07-14-2009, 10:17 AM 188390 in reply to 188337

    Re: Licence

    Hi

     

    Thanks for your inquiry. Please make sure that this code does not throw exception when you try to set the licenses.

    Also, please check the points described in “Licensing” section in FAQ:

    http://www.aspose.com/community/forums/thread/92096/aspose.words-faq.aspx

     

    Hope this helps.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  07-14-2009, 10:45 AM 188394 in reply to 188390

    Re: Licence

    Hi,

    i've no exception setting license. It works for Word license but evaluation message still appears in pdf. I tried to set only Pdf license but does not work anyway.


    Hope it could be solved quickly.
     
  •  07-14-2009, 11:11 AM 188400 in reply to 188394

    Re: Licence

    Hi

     

    Thank you for additional information. In your first post, you have posted an evaluation message of Aspose.Words. Is this your typo or you see this message in your output document? Please attach your output document with evaluation message.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  08-10-2009, 9:25 AM 192757 in reply to 188400

    Re: Licence Java

    Attachment: Present (inaccessible)
    Hi,

    IN THIS CASE IT'S FOR PDF License (PDF library).

    I'd joined PDF file generated with evaluation message in spite of key passed to license without exception.

    thx.
    Filed under: java license tomcat 6
     
  •  08-10-2009, 10:00 AM 192762 in reply to 192757

    Re: Licence

    Hi

     

    Thank you for additional information. Since the request is related to Aspose.Pdf, I will move this thread to the corresponding forum. My colleagues from Aspose.PDf team will answer you shortly.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  08-10-2009, 11:54 AM 192778 in reply to 192757

    Re: Licence

    Hi,

    I've tested the scenario using the code snippet that you have shared and its working fine at my end, and I'm unable to reproduce the problem.

    Can you please share the license file, so that we can take a look over it and figure out, if its causing an issue. Please visit the following link for information on How to send a license?


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  08-11-2009, 1:51 PM 192928 in reply to 192757

    Re: Licence

    Hi,

    Thanks for sharing the license file.

    I’ve tested the scenario using the code snippet and license file that you have shared, and I’m unable to reproduce the problem. I’m still not sure why you are facing the problem. But still we are looking into this matter.

    Can you please share the code snippet that you using to generate the PDF document.

    We apologize for the inconvenience that you have been facing in this regard.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  08-12-2009, 8:20 AM 193029 in reply to 192757

    Re: Licence

    Hi,

    Adding more to my previous comments, I’ve again tested the scenario over apache-tomcat-6.0.18 and I’m unable to reproduce the problem. I’ve tested the scenario in following ways.

     

    1)      First I created a simple HelloWorld.pdf using Aspose.Pdf for Java, and the output is being generated without evaluation watermark.

    2)      I also tried the excel document to PDF conversion using Aspose.Cells for Java and Aspose.Pdf for Java and the resultant PDF is being generated without evaluation watermark.

    3)      For the sake of confirmation, I removed the license file from the specified path and generate the output and the resultant PDF contained evaluation watermark.

     

    As you have mentioned that you are using the same license file for Aspose.Words and Aspose.Pdf, can you please share that the output that you are generating using Aspose.Words contains the evaluation watermark ? if so is the case, please make sure, you have provided the correct license file path and also make sure your application has access to the path where the license file is placed.

     

    If it does not resolve your problem, please feel free to contact. We are sorry for the inconvenience that you’ve been facing in this regard.

     


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
View as RSS news feed in XML