You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Noble Long <nl...@zethcon.com> on 2001/11/13 21:41:47 UTC

cannot execute binary file

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

Re: cannot execute binary file

Posted by Noble Long <nl...@zethcon.com>.
yeah i did a chmod 777. I think it probably has to do with my connection. I
am using VPN to connect, then a Reflection telnet session into one machine
and then a telnet into another machine, then su root. I guess when you
transfer from that type of connection even though I am transfering from a
web available FTP site, it screws up your files. Where is Samba when you
need it?

I got it working by just extracting my Oracle driver classes into my classes
directory.

Thanks,
Noble

----- Original Message -----
From: "Martin van den Bemt" <ma...@isallineed.org>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, November 13, 2001 2:42 PM
Subject: RE: cannot execute binary file


> You don't have sufficient rights on the file
> It probabably only has read access , so do a chmod 555 or something like
> that (don't know your system, so you have to figure that out..)
>
> Mvgr,
> Martin
>
> > -----Original Message-----
> > From: Noble Long [mailto:nlong@zethcon.com]
> > Sent: Tuesday, November 13, 2001 9:42 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: cannot execute binary file
> >
> >
> > 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
> >
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: cannot execute binary file

Posted by Martin van den Bemt <ma...@isallineed.org>.
You don't have sufficient rights on the file
It probabably only has read access , so do a chmod 555 or something like
that (don't know your system, so you have to figure that out..)

Mvgr,
Martin

> -----Original Message-----
> From: Noble Long [mailto:nlong@zethcon.com]
> Sent: Tuesday, November 13, 2001 9:42 PM
> To: tomcat-user@jakarta.apache.org
> Subject: cannot execute binary file
>
>
> 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
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>