tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Anderson <ranom...@gmail.com>
Subject Re: Data sources definitions are lost in memory
Date Fri, 14 Dec 2012 18:07:28 GMT
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/jndi/fscontext/RefFSContextFactory.class
com/sun/jndi/fscontext/FSContext.class
com/sun/jndi/fscontext/FSContext$FSFile.class
com/sun/jndi/fscontext/FSContext$FileBindingEnumeration.class
com/sun/jndi/fscontext/FSNameParser.class
com/sun/jndi/fscontext/FileNameClassEnumeration.class
com/sun/jndi/fscontext/FSContextFactory.class
com/sun/jndi/fscontext/RefFSContext.class
com/sun/jndi/fscontext/RefFSContext$ObjectBindingEnumeration.class
com/sun/jndi/fscontext/ObjectNameClassEnumeration.class
com/sun/jndi/fscontext/AggregateNamingEnumeration.class
com/sun/jndi/url/file/
com/sun/jndi/url/file/fileURLContext.class
com/sun/jndi/url/file/fileURLContextFactory.class


It's a third party application. Now we need to get in touch with suppliers.

Best regards,

Robert

On Fri, Dec 14, 2012 at 2:33 PM, Robert Anderson <ranomail@gmail.com> wrote:

> 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 without the
> intervention of sysadmins :( ).
>
> It's a powerfull and bad jar! It makes two tomcats (load balanced) lose
> all data sources definitions and we need restart them. The strange thing is
> that most of the time everything works normal.
>
>
> Thanks,
>
> Robert
>
>
> On Fri, Dec 14, 2012 at 1:58 PM, Christopher Schultz <
> chris@christopherschultz.net> wrote:
>
>> -----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 looked in 1.6.0 but couldn't find that
>> class, either. I looked in other JARs but couldn't find anything
>> containing the "fscontext" package.
>>
>> Are you using an alternative JNDI provider?
>>
>>
>> http://www.jarfinder.com/index.php/java/info/com.sun.jndi.fscontext.RefFSContextFactory
>>
>> Looks like you may have some old stuff sitting around in your JRE
>> installation, or even in your webapp.
>>
>> - -chris
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with undefined - http://www.enigmail.net/
>>
>> iEYEAREIAAYFAlDLWsoACgkQ9CaO5/Lv0PAXDACfXjUbGlPbzJJy5qhJDBxUfqUN
>> ljgAn0RZCDKnYkt51GIUfvtYzeMbwxAo
>> =sylS
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message