Re: Data sources definitions are lost in memory

2012-12-14 Thread Robert Anderson
Hi, We've found a suspect application: [root@tomcat3 webapps]# locate fscontext.jar /usr/java/tomcat/webapps/ebookapp/WEB-INF/lib/fscontext.jar [root@tomcat3 lib]# jar -tf /usr/java/tomcat/webapps/ebookapp/WEB-INF/lib/fscontext.jar META-INF/ META-INF/MANIFEST.MF com/sun/jndi/fscontext/ com/sun/jn

Re: Data sources definitions are lost in memory

2012-12-14 Thread Robert Anderson
Hi Christopher, I'm suspecting that some webapp is causing this problem, because nothing has changed neither in JVM nor Tomcat (I'm a sysadmin in this company). We will investigate each application looking for suspects JARs (Developers have access to webapp directory and can deploy applications wi

Re: Data sources definitions are lost in memory

2012-12-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Robert, On 12/13/12 3:34 PM, Robert Anderson wrote: > Caused by: java.lang.ClassNotFoundException: > com.sun.jndi.fscontext.RefFSContextFactory In my Oracle 1.7.0 JRE's rt.jar, I can find a few JNDI ContextFactory classes, but not this one. I look

Re: Data sources definitions are lost in memory

2012-12-13 Thread Robert Anderson
Hi, Today the problem happened again, but this time we were monitoring the logs: 13/12/2012 15:49:46 org.apache.catalina.core.ApplicationContext log GRAVE: java.sql.SQLException java.lang.RuntimeException: java.sql.SQLException at com.sun.data.provider.impl.CachedRowSetDataProvider.setCur

Re: Data sources definitions are lost in memory

2012-12-05 Thread Robert Anderson
Hi Konstantin, 1. This NullPointerException happens when an application starts up? (Do the apps perform the lookup once and cache the result, or they perform multiple lookups?) No, it happens after application starts up. The applications perform multiple lookups. 2. What is seen in JNDI context

Re: Data sources definitions are lost in memory

2012-12-04 Thread Konstantin Kolinko
2012/11/28 Robert Anderson : > Hi, > > > We've some data sources defined in server.xml as following: > > ... > > ... >type="javax.sql.DataSource" removeAbandoned="true" > removeAbandonedTimeout="300" >maxActive="400" maxIdle="30" > maxWait="1"

Data sources definitions are lost in memory

2012-11-28 Thread Robert Anderson
Hi, We've some data sources defined in server.xml as following: ... ... ... ... conf/context.xml ... ... Everything has worked normal during many months...until now. At least once a day, since 11/21, webapplications throw NullPointerException because t