Velocity error status 404

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Velocity error status 404

Postby pasin » Fri May 03, 2019 2:50 pm

Hi, we are migrating the Servoy's versione from 5.2.18 to 2019.
The solution works "well" but i am not able to use the Velocity plugin. On my developer the plugin (version 3.5.67) works perfectly and if i call for example the URL ",Helvetica,Sans-serif&height=0.896cm" i get the image.
When i deploy my solution on the server (the plugin is installed correctly, i think) i can't use the plugin.. if i call the URL "http://<SERVER_IP>:8080/eastwood/genbc?type=code39&fmt=png&msg=7-8B5334-2&res=384&hrsize=8pt&hrfont=Arial,Helvetica,Sans-serif&height=0.896cm" return a 404 error. (Look the attached)
Am i doing something wrong?

PS: The situation doesn't change if i call "http://<SERVER_IP>:8080/eastwood/"

Error 404
velocity.png (36.69 KiB) Viewed 1503 times
Posts: 9
Joined: Thu Feb 20, 2014 11:38 am
Location: Milan

Re: Velocity error status 404

Postby mboegem » Sat May 04, 2019 4:06 pm


I suspect that the problem is the way tomcat handles the import.
Can you launch your solution or servoy-admin page and check what the url looks like?
Most likely it does have an additional 'context' name in the url and you need to modify the url as this:

Hope that helps.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance SAN Developer

User avatar
Posts: 1578
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Velocity error status 404

Postby ptalbot » Wed May 08, 2019 12:02 am

I haven't tested Tomcat 8.5.9 but there shouldn't be any problem.

Did you deploy the eastwood.war in /Tomcat/webapps/ ?
Does it look like the eastwood.war is loaded in the Tomcat manager?

The "http://<SERVER_IP>:8080/eastwood/genbc?type=code39&fmt=png&msg=7-8B5334-2&res=384&hrsize=8pt&hrfont=Arial,Helvetica,Sans-serif&height=0.896cm" URL looks correct to me (eastwood being it's own war, the context in this case is really "eastwood", not SOLUTIONNAME, Marc!)
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
Posts: 1636
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Velocity error status 404

Postby pasin » Thu May 16, 2019 11:41 am

we solved the problem modifing the file "web.xml" inside the package eastood.war
The problem comes with the last Tomcat version.
Sobstitute the old header with the code below and it will works fine.

"<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns=""
Posts: 9
Joined: Thu Feb 20, 2014 11:38 am
Location: Milan

Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 2 guests