# Managing servlet and restful web service

**URL:** <https://forum.servoy.com/t/managing-servlet-and-restful-web-service/18962>\
**Category:** Classic Servoy\
**Created:** [September 2, 2016, 4:30pm UTC](https://forum.servoy.com/t/managing-servlet-and-restful-web-service/18962 "2016-09-02T16:30:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![studiomiazzo](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@studiomiazzo](https://forum.servoy.com/u/studiomiazzo)\
**Post date:** [September 2, 2016, 4:30pm UTC](https://forum.servoy.com/t/managing-servlet-and-restful-web-service/18962/1 "2016-09-02T16:30:23Z")

</div>

Hi,  
I really don’t understand why but after upgrading application server from version 7.4.3 to 7.4.5 (or next), a previous existing servlet doesn’t working anymore.  
An example of request is the following:  
_[http://www.x.it/rp\_servlet?idgiustificativotesta=539&cliente=Cliente\_DEMO&operatore=158&wsurl=http://srv-epiweb/Leaf&userid=161&othersid=158&confirmsid=&refusesid=&status=1](http://www.x.it/rp_servlet?idgiustificativotesta=539&cliente=Cliente_DEMO&operatore=158&wsurl=http://srv-epiweb/Leaf&userid=161&othersid=158&confirmsid=&refusesid=&status=1)_

I get a 404 error from Tomcat :  
-type Status report  
-message /rp\_servlet  
-description The requested resource is not available.

I really don’t know what to do (I don’t have a 7.4.3 version of servoy\_installer and I can’t get it from site)  
I’ve just updated the application server!

---

<div class="post-metadata">

**Author:** ![kwpsd](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kwpsd](https://forum.servoy.com/u/kwpsd)\
**Post date:** [September 2, 2016, 9:55pm UTC](https://forum.servoy.com/t/managing-servlet-and-restful-web-service/18962/2 "2016-09-02T21:55:05Z")

</div>

I have a copy of the 7.4.3 installer that I am willing to send to you. Do you have a dropbox (it’s a large file)?

---

<div class="post-metadata">

**Author:** ![marco.rossi](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@marco.rossi](https://forum.servoy.com/u/marco.rossi)\
**Post date:** [September 4, 2016, 5:10pm UTC](https://forum.servoy.com/t/managing-servlet-and-restful-web-service/18962/3 "2016-09-04T17:10:35Z")

</div>

Reading the error message, seems that the resource (the solution?) cannot be reached anymore.  
Did you try to import the solution you use as restfull webservice again?

On what OS is intalled the applicazione server? I have a 7.4.3 installation but only for Windows.

---

<div class="post-metadata">

**Author:** ![studiomiazzo](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@studiomiazzo](https://forum.servoy.com/u/studiomiazzo)\
**Post date:** [September 5, 2016, 6:51am UTC](https://forum.servoy.com/t/managing-servlet-and-restful-web-service/18962/4 "2016-09-05T06:51:39Z")

</div>

Hi, thanks for the support!  
I got the solution, it’s not server version’s fault:  
when you upgrade an existing application server, the file **_web.xml_** is overwritten, so if you made changes on it they get lost!  
I know it was a bit weird and I didn’t explain well but I opened an issue regardings this: [Jira](https://support.servoy.com/browse/SVY-10359)
