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.

Reply via email to