Setup Issue - Controller logic called twice

18 views
Skip to first unread message

TroyS

unread,
Mar 31, 2020, 5:44:56 PM3/31/20
to ninja-framework
I have started using the simple servlet mvn archetype and it seems the ApplicationController.index() is called twice? 
Adding a simple logging statement and I get duplicate log messages, 13ms apart.

Can anyone recognise the obvious configuration mistake I might have made here? 

Raphael André Bauer

unread,
Apr 3, 2020, 3:58:48 AM4/3/20
to ninja-f...@googlegroups.com
How did you deploy the application? Does it also happen when you
package as jar and run locally?
For our Ninja apps (6.6.1) everything is working fine.
Cheers,
Raphael
> --
> You received this message because you are subscribed to the Google Groups "ninja-framework" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ninja-framewo...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ninja-framework/aabf0bbe-3dcd-4fd2-8d54-de490b53add6%40googlegroups.com.

Troy Sellers

unread,
Apr 3, 2020, 4:44:14 AM4/3/20
to ninja-f...@googlegroups.com
The archetype I used generates a few versions behind this it seems... updating to 6.6.1 has definitely helped!

Thanks

--
"A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila."
- Mitch Ratcliffe
Reply all
Reply to author
Forward
0 new messages