We have a COBOL back end that handles the core functions of our product.
The only way we have for the servlet based front end to get at that data is
via a type 1 odbc driver.  It is a real pain because it is not thread safe
so we have to funnel all the traffic through a single thread.

Anyway, I got the APR working and managed to fire up Tomcat with the APR
connector but my original problem (in another email) remains. That being
that calls to a Comet servlet I created return a 400 response saying that
the URL does not support get requests.  I tried NIO first and thought that
APR would perhaps solve my problem. So now I am giving up and trying to
have a go with glassfish instead.

Thanks for your help!!


On Thu, Jan 24, 2013 at 12:18 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Andrew,
>
> On 1/23/13 9:54 PM, Andrew Winter wrote:
> > Sorry I forgot the versions of things I am using.
> >
> > Tomcat 6.0.36 Red Hat Enterprise Linux Server release 6.2
> > (Santiago) Java 7u11 (32 bit)
> >
> > I think I found the problem, though. I have to run a 32 bit jvm
> > because a COBOL odbc driver we have to use only comes in a 32 bit
> > version. But the Red Hat box is 64 bit and when I ran 'file' on the
> > libtcnative.so I compiled I found that it is 64 bit. So I think I
> > just need to do a little Googling to see how to compile a 32 bit
> > version and it could work.
>
> I think you'll need 32-bit APR and OpenSSL as well, but I've never
> tried to do mixed 32-bit and 64-bit support libraries. libtcnative.so
> absolutely must be 32-bit to be loaded by a 32-bit JVM.
>
> Reading the Debian multi-arch docs (I'm on Debian), it doesn't sound
> like a simple "install -32 libapr"... you'll need a whole set of
> 32-bit support libraries, etc.
>
> What's a COBOL ODBC driver? :(
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEAREIAAYFAlEBbNAACgkQ9CaO5/Lv0PBmMgCfWS3jc3OFGHamEj6vYsKw7Mun
> 9PgAoKzOudT+RxkvNkcu7v0CEPwoXPmK
> =nibJ
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to