2.13 to 2.14 Servlet Migration not working

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Tatanan
Posts: 112
Joined: 07 Jan 2014, 12:12
Contact:

2.13 to 2.14 Servlet Migration not working

Postby Tatanan » 21 Jan 2020, 10:04

Hi,

I am trying to migrate from 2.13 to 2.14 but web application is not working on Tomcat.

I have followed the migration instructions moving api.war file from old www folder to the new www folder.

If I list the web application on the Tomcat dashboard, api app is shown on route /api but when I try to access a 404 error is shown.

screenshot_1.png
(14.96 KiB) Not downloaded yet


screenshot_2.png
(19.86 KiB) Not downloaded yet


Is there any information on the documentation related on web apps deployment with SFS2X?

Thanks.
User avatar
Lapo
Site Admin
Posts: 21647
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: 2.13 to 2.14 Servlet Migration not working

Postby Lapo » 21 Jan 2020, 15:35

Hi,
Tomcat and Jetty implement the servlet specifications by Java, though Jetty is probably a little less strict in its implementation.

The fact that your web app shows in Tomcat's manager as running seems like a good sign. Maybe it's a mapping issue.
Can I see the web.xml file deployed in the war file?

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 20 guests