-----Original Message----- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 1:58 PM To: Tomcat Users List Subject: Re: tomcat working space permisions and javamail - linux
You'd have to give us a little more information. Are you squashing exception output with try/catch blocks? You would see an exception if your app was trying to read a file and couldn't. NO TRY CATCH BLOCKS AND NO EXCEPTIONS ARE THROWN Are you able to mail from your app without attachments? YES Are you sure the file is there? YES I HAVE PUT A COPY If so, have you tried opening up the permissions on the file? DO I HAVE TO OPEN THE PERMITIONS ONLY IN THAT FILE OR THE WHOLE PATH? Have you put any kind of logging statements in your code to determine where it's failing? Also, a lot of people on this list (and on the other, I assume) will ignore your question because you've cross-posted it. I THOUGHT THAT THIS POST IS RELEVANT TO BOTH LISTS On Tue, 2004-11-23 at 05:34, Kantartzis Vasilis wrote: > Hello all, > I am dealing with a problem combining java mail and tomcat that might have to > do with read permitions > 1.I am trying to add a file in a multipart mesage to construct a mail > attachment. > 2. The file is placed in one of the tomcat webapps applications (file is > uploaded there through a form) > 3. I get no exceptions from tomcat but the e-mail is never send > > > the file is placed as follows > webapps-- > |-filespace- > | > uploads- > | > |-fileTosend > > > > > i fear that the message is not constructed, because the file is not read. > does any one else have something to propose > > please can some-one advice what can i do? > > thank you > Billy Kantartzis > > IT Specialist > > OTE SA > > Operational Systems Branch > > Organisational and Quallity Devision > > 99 Kifisias Ave > > 15124,Marousi, > > Athens ,Greece > > Phone +30-210-6117266 > > email:[EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
