On Monday 29 November 2004 16:42, Shapira, Yoav wrote: > Hi, Hi,
> Suggestion: show us what the actual error is, e.g. a stack trace. It's > most likely an environment configuration issue as you suggest. But not > likely to be a file permissions issue: rather, check that the mail > server is correctly configured, SMTP port access is setup, etc. I have a similar application that attaches a map of a venue to an e-mail and sends it to the relevant e-mail address. My initial problem was definitely permissions until I gave ownership of the directory to where the files reside to the user that tomcat runs at. Pre version 5.0 it was wwwrun:users, post version 5.0 it is tomcat:tomcat (or at least on SuSE Linux it is). Also make sure that your Security Manager is not preventing you from connecting to the mail server... ...this was also one of my problems. Another problem is to also ensure that you have the correct version of mail.jar and activation.jar in the common/lib and server/lib directories of your tomcat server. Q -- Quinton Delpeche Internal Systems Developer Softline VIP Telephone: +27 12 420 7000 Direct: +27 12 420 7007 Facsimile: +27 12 420 7344 http://www.vippayroll.co.za/ Speaking of Godzilla and other things that convey horror: With a purposeful grimace and a Mongo-like flair He throws the spinning disk drives in the air! And he picks up a Vax and he throws it back down As he wades through the lab making terrible sounds! Helpless users with projects due Scream "My God!" as he stomps on the tape drives, too! Oh, no! He says Unix runs too slow! Go, go, DECzilla! Oh, yes! He's gonna bring up VMS! Go, go, DECzilla!" * VMS is a trademark of Digital Equipment Corporation * DECzilla is a trademark of Hollow Chocolate Bunnies of Death, Inc. -- Curtis Jackson
pgpyKF3z8EXV0.pgp
Description: PGP signature
