You can set TOMCAT_OPTS in your environment, and tomcat will use them as
part of it's startup env. When I added the classes12.zip to my TC
environment, I just added it directly to the tomcat.sh as well, and it works
fine.

Why don't you put together a small test program that loads the driver, and
just run it in Java and see if it works?  If it works, then you know it's
not the driver.

jchuang

----- Original Message -----
From: "Noble Long" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 14, 2001 7:58 AM
Subject: Re: cannot execute binary file


> I actually added it to the tomcat.sh (dirty I know) but I wanted to make
> sure it was definitely loaded. But even when I add it to /etc/profile or
> /root/.bashrc, /root/.cshrc I get the same messages, the files must have
> been getting corrupted in transfer.
>
> Where is TOMCAT_OPTS?
>
> Noble
> ----- Original Message -----
> From: "James Chuang" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 13, 2001 7:58 PM
> Subject: Re: cannot execute binary file
>
>
> > Oracle JDBC thin drivers are supposed to be used as .zip.  I've never
had
> to
> > uncompress them, neither on NT, Solaris, or Linux.
> >
> > The question is, why is tomcat trying to execute that file?  It sounds
> like
> > there is something wrong with the startup command.  How did you add it
to
> > your classpath?  in TOMCAT_OPTS?
> >
> > jchuang
> >
> > ----- Original Message -----
> > From: "Eric Strain" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, November 13, 2001 5:36 PM
> > Subject: Re: cannot execute binary file
> >
> >
> > > Hi:
> > > I hate to be simplistic, but, is your classes12.zip file still
> compressed?
> > > If so just unzip it to a safe location and alter your classpath
> > >
> > >
> > > >From: "Noble Long" <[EMAIL PROTECTED]>
> > > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > >To: <[EMAIL PROTECTED]>
> > > >Subject: cannot execute binary file
> > > >Date: Tue, 13 Nov 2001 14:41:47 -0600
> > > >
> > > >I am using the Oracle jdbc thin client in my application. I added it
to
> > my
> > > >classpath /usr/local/classes12.zip , but when I start Tomcat I am
> > getting -
> > > >
> > > >bin/tomcat.sh: /usr/local/classes12.zip: cannot execute binary file
> > > >
> > > >I tried other jar, files, etc. and everyone I transefered either in
> > binary
> > > >mode or ascii via FTP, XMODEM or ZMODEM gives me the same message.
> > > >
> > > >Is my file being corrupted between windows and linux. I am working
with
> a
> > > >remote telnet session so I can't exactly download from Oracle's
website
> > to
> > > >that machine. Funny thing is ... I have the same Red Hat 6.2
> environment
> > > >here except I'm using tomcat 3.2.3 instead of 3.2.1 (would it make a
> > > >difference?)
> > > >
> > > >Noble
> > >
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
> > >
> > >
> > > --
> > > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > > For additional commands: <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to