I ran into an issue of server timeouts with embedded Tomcat in my Maven build once I moved to my Linux Build Server.

I defined the cargo plugin as that is starting my embedded Tomcat during the build:

<!-- ThisĀ  setting holds the container at your prompt -->
The issue stemmed from:
The server would not seem to get the zip downloaded sometimes.
My solution was to add an entry in my settings.xml on the build machine to point to a local copy of my tomcat binaries like:
So I did manually download apache-tomcat-5.5.26.zip and add it to my file system, but I have not had any issues with timeouts since.

Mick Knutson

Java, JavaEE, J2EE, WebLogic, WebSphere, JBoss, Tomcat, Oracle, Spring, Maven, Architecture, Design, Mentoring, Instructor and Agile Consulting. http://www.baselogic.com/blog/resume

View all posts

Java / JavaEE / Spring Boot Channel

BLiNC Supporters

BLiNC Adsense