Re: Tomcat 8 and Java 8

2015-04-16 Thread Greg Huber
I have done some some debugging and it seems to be in org.apache.catalina.startup.ContextConfig.java . protected void processAnnotationsUrl(URL url, WebXml fragment, boolean handlesTypesOnly) { if (url == null) { // Nothing to do. return;

Re: Tomcat 8 and Java 8

2015-04-16 Thread Greg Huber
Hello, It is doing the same with jdk7 jdk1.7.0_51. I do remember a odd Annotation exception in an unrelated folder in the home directory. It looked like it was scanning the home folder for annotations? If I add to the context.xml: it now works OK. So its something to do with the scanning.

Re: Tomcat 8 and Java 8

2015-04-15 Thread Greg Huber
Mark, >See > http://wiki.apache.org/tomcat/HowTo/FasterStartUp?highlight=%28entropy%29#Entropy_Source I tried adding -Djava.security.egd=file:/dev/./urandom and it made no difference. Btw the same setup i

Re: Tomcat 8 and Java 8

2015-04-15 Thread Greg Huber
Mark, Thanks for the reply. I am using Centos 6, not 7 sorry. (7 uses systemd!) > Did you use the packaged version of Tomcat or did you download a > distribution from the ASF? I am using one downloaded from ASF. >Those classes should be part of the examples web application. It is odd >that th

Re: Tomcat 8 and Java 8

2015-04-15 Thread Mark Thomas
On 15/04/2015 03:28, Greg Huber wrote: > Hello, > > I am trying to upgrade my app to Tomcat 8 and Java 8 (1.8.0_40) on centos 7 Did you use the packaged version of Tomcat or did you download a distribution from the ASF? > I have a startup in /etc/rc.d/init.d script that uses the daemon eg: > >