tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Trouble with jdbc drivers in TC 7
Date Thu, 07 Apr 2011 20:17:22 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

On 4/7/2011 4:09 PM, David kerber wrote:
> On 4/7/2011 3:35 PM, Christopher Schultz wrote:
> David,
> 
> On 4/7/2011 2:08 PM, David kerber wrote:
>>>> System:  Windows Server 2008 R2 Standard (64-bit)
>>>> JRE:  1.6.0_24 x64
>>>> TC:  7.0.11, installed in c:\Program Files\..., so it detected an x64
>>>> installation
>>>> DB:  Sybase ASA 9.0.2.3951, x64 version
> 
> [snip]
> 
>>>> I have also tried moving jodbc.jar to %catalina_home%/lib,
>>>> but that didn't help either.
> 
>> Is this a "pure" Java driver? JDBC-ODBC drivers (which looks like yours
> 
> It is a jdbc-odbc bridge driver, and has windows dlls.

>> Could you be missing a shared
>> library from your java.library.path? Sometimes, missing shared libs can
>> cause CNFEs.
> 
> The folder where the .dlls are located is on the windows %path%.  Is
> that part of the java.library.path?  If not, where is the best place to
> put them?  JRE\lib\ext\x86?

Are you running Tomcat as a service? If so, the Windows %PATH% might not
be applying. Can you try inspecting your Tomcat 5.5 configuration to see
where those .dll files might be, or if the java.library.path is being
specified somewhere?

Check the configuration options shown by the service configuration
program (tomcat5w.exe?) -- there might be a library path set in there
somewhere.

>> Another possibility is that you are using a 64-bit JVM and a 32-bit
>> native driver, which may cause some problems.
> 
> I checked that long ago; they are both 64-bit.

Glad to see that's not the problem.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2eG9IACgkQ9CaO5/Lv0PDS8QCgoU6uqRGSZsfS5/uElITCMM0/
iGgAn26FDxPeRIdiygOuncRnAXtvNVTG
=NakR
-----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