tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saleem Haseeb <haseeb.sal...@afconsult.com>
Subject RE: tomcat and sqlite
Date Tue, 11 Sep 2018 05:50:26 GMT
Hi Christopher,
I am using Linux OS and the so files are somehow the driver file. There is also a .so.lck
file created

Regards,
Haseeb

-----Original Message-----
From: Christopher Schultz [mailto:chris@christopherschultz.net] 
Sent: den 11 september 2018 02:12
To: users@tomcat.apache.org
Subject: Re: tomcat and sqlite

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark and Saleem,

On 9/10/18 04:16, Mark Thomas wrote:
> On 10/09/18 09:12, Saleem Haseeb wrote:
>> HI Mark, The jar file is in the application lib so yes, under 
>> WEB-INF/lib directory :)
> 
> Thanks. That de-registration code looks to be correct to me.
> 
> I suspect that this might require a change in the Driver. Some things 
> to test: - can you delete the files if you shut Tomcat down first? - 
> how does the driver behave if you access it via a stand-along Java 
> application
> 
> I suggest you try and recreate this with a stand-alone Java app and if 
> you still see the problem. If you do, I'd suggest opening an issue 
> against the driver.

What are those ".so" files? What is your OS?

I'm wondering if the driver is dropping shared libraries onto the disk and then loading them
using e.g. System.loadLibrary.

As far as I know, it is not possible to System.unloadLibrary, so weird things might happen
if/when you try to load the JDBC driver multiple times. Even loading it once might end up
with files that the JVM/OS is unwilling to unlock.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAluXCGwACgkQHPApP6U8
pFgpSg//StH3zUrM5AKPueBcBjC+bpU1ZZV3v8UUhLSsNBgJPOc/M9MbJUXaFt90
TcSL6jX85/Dd5zUc2JyUFvmEiw1JFU+bnnTwqnV4y9tuSbLAhrIQw7a3bc9muhAd
M5ri5Wb8X81h0jj3pyVOAI+kU86boR3z7bbA2BI2Nbh6zjnTF+GgkZFXGkIY+05u
5jH+zXcvQAV7z7/auDvnIELd5KFyWF9nskelpaXOsJl5HxB89fkLwtyG75dJfLrE
2JoLoZbBaOuvQLYzUSCCSGRaOdSezlejAPoMfUlks8mkkmiQ17jYfa4EvwSKYy+n
gc+W32KZHk3loJ7C+zPj1RwqfT1aHBU8Yfky5KTQintOvPYXa9f3YB6s30Dh8oxD
TD6q/Ly9NGi5UlQmMJ3vEqFoT8jnu9uFlfAZgg3KKDGMFrCXKdfWNTP8bRiCs29D
1lc2DIitKLnq7xg89BXPFzYBqO7HBFVY/zKZnhKlnTZAyQ1QnMN+KFxq2wXXPjNL
36zfVhJ9/xWCnxH2jzZnKYaA0rHqasS4lyFUSQVrAMZg26fw02wZeoIQ/OeE4wTa
Vs9vYJmkcFPzOxcU9HXB12fvVI3R5rTJJT079xb/GC72kE4HIiuY4Uev1AWyvAtB
7sFlZIzF57eoIG+TfbJf8m23GD1Hd4lOPbW3LysaUzwv+Jg1HqY=
=dKRo
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

Mime
View raw message