Teapot Cache Bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Teapot Cache Bug

ATTIOGBE Damessi Douwonou

Hi, All I'm from AFRICA/TOGO,
I use Teapot, its Works, but the Routes cache stores the last Teapot routes,
When i remove the route and restart Teapot server, after one requets, Teapot Report ERROR and show the route which i removed.

Egg.

GET:/name/<name> -> [ :req | req at:#name ]

GET:/user/<name> -> [ :req | req at:#username ]

after removeĀ  the first route and do: ZnEasy get:'http://localhost:8080/name/John',
Its works the first time.

After if I do: GET:/user/<name> -> [ :req | req at:#username ]


Have this Error: TeaNoSuchParam: Param 'name' not foundĀ 
rrefer to the first route. if i remove the route, the message persist.

--
John ATTIOGBE.

Reply | Threaded
Open this post in threaded view
|

Re: Teapot Cache Bug

Attila Magyar
Haven't you forgot to stop the old server? If you use the latest Teapot then there will be a Teapot menu item in the world menu where you can check how many instances are currently running. You can stop them from the context menu. Or try to evaluate Teapot stopAll to stop all of them.