java - Tomcat starts and then crashes unless I make a call -
i've been beating head on issue day.
i have simple web service. listens incoming requests , performs them. it's java app loads dll , performs various tasks based on requests. on tomcat startup can see initialize single service. in constructor of object can make calls dll , seems great. tomcat gives clear, deployment in 5.42 sec. if hurry , make request webservice, fine. service stable , well, walk away 2 hours come , make call , fulfill request no problems.
if if make no requests 12 seconds (usually though takes longer 2 min) tomcat inexplicably dies , no services of kind can reached.
i supply web.xml , sorts of other code if needed simple. seems i'm not understanding @ fundamental level? i've scoured hours looking @ logs everywhere there no clue find.
i'm open suggestions? hoping else has run issue?
i same behavior on tomcat 7 , tomcat 8.
Comments
Post a Comment