2.14.0 upgraded and http 405 seen

Hi ,


I tried to upgrade from 2.13.0 to 2.14.0, then saw the error message as attached file shows (http_405_2.14.0.gif)

Could you assist to identify if I missed something ?
To be more clear.

According to this upgrade (2.13.0 to 2.14.0)

Only GetDocumentPageImageHandlerServlet and application.properties,the two files were modified

The http status 405 occurred on ViewDocumentHandlerServlet is quite unexpeced.


Hello ,

Thank you for your inquiry.

We are sorry that you have the issue, but we can't reproduce your issue with our servlet example on our side. This servlet (ViewDocumentHandlerServlet) works well for us. Could you please share with us your changes in the application.properties file and also the logs of the TomCat server , or logs from other web server that you use.

We will investigate these details and will be glad to help you .

-------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Hi Evgen ,


Tomcat version is 7.0.55,tomcat log is attached

2016:14:07:30 try on IE version 11.0.9600.17041
error screenshot could refer to attachment “IE11_error_screenshot.gif
error mesage
SCRIPT438: Object doesn’t support property or method 'endsWith’
File: GetJsHandler, Line: 1, Column: 103
2016:14:07:44 try on Chrome Version 47.0.2526.106 m

application.zip contains the application.properties
Hello,

Thank you for coming back.

We are sorry but we still can't reproduce the issue on our side. We have checked your files and configured our samples in the same way as you do , but it works well for us. Could you please share with us your example that can reproduce the error and we will investigate and fix it for you. Or you can download our last servlet example for the 2.14.0 version and recheck with your sources .

About IE issue - yes, we have reproduced it and we have logged it in our issue tracking system . You will be notified when it will be resolved.

------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Hi Evgen ,

I tried to download 2.14.0 from here and saw the same issue as well.

Run mode:HTML based mode
Document consume method:URL TO FILE
groupdocs library:2.14.0

Let me describe process flow

1. received request
2. send http request to some where
3. receive http response with parameter which is the URL to consume the document
4. dispatch request to IndexServlet

p.s. IndexServlet is based on servlet sampe code

request.getRequestDispatcher(IndexServlet+ "/?file=" + URL);

URL : http://somewhere/context_name/incremental_value.extension_name
example 1 : http://somewhere/context_name/12345.doc
example 2: http://somewhere/context_name/12346.doc

5. Use URL to File to render the document view
Attached IndexServlet.java and application log , tomcat log
Hello,

Thank you for your details.

We also tried to use this method (url to file) to view a .doc file, but it also works well for us with our GroupDocs.Viewer for Java Servlet example for 2.14.0 version, as you can see on the screenshot.

Could you please specify next:
1 Does the URL works well if you open the file from the storage folder directly or you have the same issue?
2. Did you try to remove browser cache via ctrl+F5 or use other browsers?
3. Please share with us the url for the file that you used and your current example of the application, seems to me that we have missed something .

From your logs file we can't find anything that can be related to your issue.

We will wait your details.

-------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Hi Evgen ,


Http status 405 issue is resulted from bad configuration of web.xml (refer to servlet sample@github) which might lead to javascript exception.

It’s my negligence

thanks

Hello,


Glad to hear that you have resolved the issue.

If you will have more questions please feel free to contact us.

---------

Best regards,

Evgen Efimov


http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+