I would be curious to know which thread causes it and the full stack trace - configuring log pattern you should be able to get it.
In all cases try to not put your drivers in webapps if you can. Le 6 avr. 2015 15:48, "bmattler" <[email protected]> a écrit : > Thanks for responding. > > The application is deployed as a war. It is deployed as root. > > The sql driver is in both the tomee/lib and in > tomee/webapps/ROOT/WEB-INF/lib/. I tried removing the jar from > tomee/webapps/ROOT/WEB-INF/lib/ and I get the same results. This seems to > be a redeploy issue. If I reboot the server I don't get this issue. Well > at least not in the last 5 days. > > My tomee.xml is: > > <Resource id="sql-server-ds" type="DataSource"> > JdbcDriver = com.microsoft.sqlserver.jdbc.SQLServerDriver > JdbcUrl = jdbc:sqlserver://10.10.2.120:1433;database=app; > UserName = user > Password = pasword > TestOnBorrow=true > ValidationQuery= select 1 > MaxActive = 1000 > MinIdle = 10 > RemoveAbandoned = true > ValidationInterval = 30000 > SuspectTimeout = 60 > TimeBetweenEvictionRunsMillis = 30000 > MinEvictableIdleTimeMillis = 60000 > > </Resource> > > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Intermittently-java-lang-NoClassDefFoundError-tp4674238p4674294.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
