Managing servlet and restful web service

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Managing servlet and restful web service

Postby studiomiazzo » Fri Sep 02, 2016 6:30 pm

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

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!
User avatar
studiomiazzo
 
Posts: 124
Joined: Thu Jun 16, 2011 10:48 am
Location: Novara (IT)

Re: Managing servlet and restful web service

Postby kwpsd » Fri Sep 02, 2016 11:55 pm

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)?
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: Managing servlet and restful web service

Postby marco.rossi » Sun Sep 04, 2016 7:10 pm

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.
Marco Rossi
Senior Analyst Developer
Freelance Consultant

IT Manager @Mantho
Webmaster @Sitoliquido
marco.rossi
 
Posts: 110
Joined: Sun Apr 12, 2015 9:33 pm

Re: Managing servlet and restful web service

Postby studiomiazzo » Mon Sep 05, 2016 8:51 am

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: https://support.servoy.com/browse/SVY-10359
User avatar
studiomiazzo
 
Posts: 124
Joined: Thu Jun 16, 2011 10:48 am
Location: Novara (IT)


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 1 guest