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) { > > > >

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 archi

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
pie de ceci est interdite. Ce message sert à l'information seulement et > n'aura pas n'importe quel effet légalement obligatoire. Étant donné que > les email peuvent facilement être sujets à la manipulation, nous ne > pouvons accepter aucune responsabilité pour le contenu fourni.

RE: Debian Tomcat Fail

2009-05-28 Thread Martin Gainty
gt; 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 > freshman). Still very new to all of this, I'll look into that. > > > Caldarale, Charles R wrot

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

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

RE: Debian Tomcat Fail

2009-05-28 Thread trojansnake12
e, Charles R wrote: > >> 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 bein

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 rel

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

Re: Debian Tomcat Fail

2009-05-28 Thread trojansnake12
b mistake. -- View this message 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.ap

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 ...whi

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

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 t

Re: Debian Tomcat Fail

2009-05-26 Thread trojansnake12
ing an uphill battle here 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 unsubs

Re: Debian Tomcat Fail

2009-05-26 Thread Hassan Schroeder
On Tue, May 26, 2009 at 7:22 PM, trojansnake12 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 hassan.schroe...@gmail.com ---

Debian Tomcat Fail

2009-05-26 Thread trojansnake12
tln("error: " + e.getMessage()); // 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 Nab