tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Trouble with jdbc drivers in TC 7
Date Thu, 07 Apr 2011 20:17:22 GMT
Hash: SHA1


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, 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

>> 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
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message