I have downloaded GroupDocs.Viewer_2.14.0-Java and GroupDocs.Viewer_2.14.0-Java-Examples and deployed them to my local server. But where I upload PDF format file , error message "can’t connent to server " display and an ArrayIndexOutOfBoundsException is thrown out , pls see my screenshots in attachment. could you pls help me to check out what is happening.
Thank you for your inquiry.
Could you please specify, did you have the issue with all your files that you tried to view or only with one specific file? Also please share with us your JAVA_OPTS parameter, seems that you should increase it for example to -Xms1024m -Xmx1024m. If it will not help you, then please share the .pdf file with us and we will investigate it.
We will wait for your results.
I set vm arguments as -Xms4000m -Xmx4000m , and my pdf document for testing is downloaded from your site ,pls see attachment.I also uploaded some other PDFs, but all of them failed.I have attached my property file below , pls check if anything wrong with it.
We have tested your file and checked application.properties file too. We don't find anything that can cause the issue, the application.properties file looks well. We have tested our spring demo sample with these files and for us it works well, as you can see on a screenshot .
So, could you please specify next:
- your jvm version;
- type of project that you try to run (spring , dropwizard or servlet sample);
- your webserver version.
We will wait for your details.