RE: Debian Tomcat Fail

2009-06-01 Thread trojansnake12
manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Thu, 28 May 2009 14:51:28 -0700 From: boppn...@swbell.net To: users@tomcat.apache.org Subject: RE: Debian Tomcat Fail Sorry, this code was provided to me by a graduate student (I'm a lowly

Re: Debian Tomcat Fail

2009-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 TS, On 6/1/2009 3:15 PM, trojansnake12 wrote: Basically, what I am sending to the server is a byte array that is a picture taken from a cell-phone camera. My client-side code looks like this: url = new URL(urlString);

Re: Debian Tomcat Fail

2009-06-01 Thread trojansnake12
Thanks Chris. I don't doubt this is sloppy, but I was able to change around some things and get this working properly. I appreciate the help. -- View this message in context: http://www.nabble.com/Debian-Tomcat-Fail-tp23734947p23823034.html Sent from the Tomcat - User mailing list archive

RE: Debian Tomcat Fail

2009-06-01 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Debian Tomcat Fail i = 0; len = 0; while((i = is.read(raw)) != -1) { } That's an interesting idiom. I had to read

Re: Debian Tomcat Fail

2009-05-28 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 trojansnake12 wrote: I am about at my wits' end here with Tomcat on Debian. I have an app called Project.java, and all it should do is grab a file from the file system, Debian's Tomcat runs with the security manager enabled by default. You need

Re: Debian Tomcat Fail

2009-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 5/26/2009 10:22 PM, trojansnake12 wrote: I am about at my wits' end here with Tomcat on Debian. With one exception, I think all your problems are self-inflicted. Let's see... I have an app called Project.java ...which

Re: Debian Tomcat Fail

2009-05-28 Thread trojansnake12
in context: http://www.nabble.com/Debian-Tomcat-Fail-tp23734947p23769264.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail

RE: Debian Tomcat Fail

2009-05-28 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Debian Tomcat Fail ...which isn't in a package, violating the servlet specification. Not true. Only JSPs are required to be in a package, servlets are not. Regardless, it's still a good idea to use some

RE: Debian Tomcat Fail

2009-05-28 Thread Caldarale, Charles R
From: trojansnake12 [mailto:boppn...@swbell.net] Subject: Re: Debian Tomcat Fail The ../webapps/geosim/WEB-INF/classes/Project.java does not work correctly. When used from where? What's the action being performed? What is the default relative path starting point? For what kind

RE: Debian Tomcat Fail

2009-05-28 Thread trojansnake12
[mailto:boppn...@swbell.net] Subject: Re: Debian Tomcat Fail The ../webapps/geosim/WEB-INF/classes/Project.java does not work correctly. When used from where? What's the action being performed? What is the default relative path starting point? For what kind of operation? - Chuck

RE: Debian Tomcat Fail

2009-05-28 Thread Caldarale, Charles R
From: trojansnake12 [mailto:boppn...@swbell.net] Subject: RE: Debian Tomcat Fail File myGifImage = new File(../webapps/geosim/WEB-INF/images/test.jpg); Very bad form. The servlet container (Tomcat) is under no obligation to provide *any* access to the underlying file system

RE: Debian Tomcat Fail

2009-05-28 Thread trojansnake12
Sorry, this code was provided to me by a graduate student (I'm a lowly freshman). Still very new to all of this, I'll look into that. Caldarale, Charles R wrote: From: trojansnake12 [mailto:boppn...@swbell.net] Subject: RE: Debian Tomcat Fail File myGifImage = new File(../webapps/geosim

RE: Debian Tomcat Fail

2009-05-28 Thread Martin Gainty
@tomcat.apache.org Subject: RE: Debian Tomcat Fail Sorry, this code was provided to me by a graduate student (I'm a lowly freshman). Still very new to all of this, I'll look into that. Caldarale, Charles R wrote: From: trojansnake12 [mailto:boppn...@swbell.net] Subject: RE: Debian Tomcat Fail

Debian Tomcat Fail

2009-05-26 Thread trojansnake12
()); // os.writeBytes(error: + e.getMessage()); } } } -- View this message in context: http://www.nabble.com/Debian-Tomcat-Fail-tp23734947p23734947.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Debian Tomcat Fail

2009-05-26 Thread Hassan Schroeder
On Tue, May 26, 2009 at 7:22 PM, trojansnake12 boppn...@swbell.net wrote: I am about at my wits' end here I'm using ... gcj4.3 on the debian box. Correlation? :-) Place your bets, ladies and gentlemen, place your bets... -- Hassan Schroeder

Re: Debian Tomcat Fail

2009-05-26 Thread trojansnake12
with Tomcat and debian? -- View this message in context: http://www.nabble.com/Debian-Tomcat-Fail-tp23734947p23735447.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

RE: Debian Tomcat Fail

2009-05-26 Thread Caldarale, Charles R
From: trojansnake12 [mailto:boppn...@swbell.net] Subject: Re: Debian Tomcat Fail I've switched to using Sun Java 6, and now my stuff doesn't crash, but I get internal errors all over the place. Now that you've switched to a real JVM, try a real Tomcat to go with it - one downloaded from

RE: Debian Tomcat Fail

2009-05-26 Thread trojansnake12
Thanks so much. I had no idea the debian version of tomcat was so messed up. I've installed apache's Tomcat6, and it is working great. -- View this message in context: http://www.nabble.com/Debian-Tomcat-Fail-tp23734947p23735892.html Sent from the Tomcat - User mailing list archive