Re: Tomcat migration from T5 to T5.5 mail

2008-10-08 Thread Mark Thomas
AlexM3 wrote: > Resolved!!! > > There was a mailapi.jar in the application. Tomcat 5 priorzed his library in > front of that one, however, the new Tomcat 5.5 prioriced that aplication > library before his lib and it crashed. > > Is there any place where you can configure that? I am afraid not. I

Re: Tomcat migration from T5 to T5.5 mail

2008-10-08 Thread AlexM3
Resolved!!! There was a mailapi.jar in the application. Tomcat 5 priorzed his library in front of that one, however, the new Tomcat 5.5 prioriced that aplication library before his lib and it crashed. Is there any place where you can configure that? Thanks a lot for your help! -- View this mes

Re: Tomcat migration from T5 to T5.5 mail

2008-09-30 Thread David Fisher
Hi, Just a thought, but you might want to check the permissions on the jar files. I've gotten errors like that when I lacked permission to read. Regards, Dave On Sep 30, 2008, at 6:54 AM, AlexM3 wrote: Hello, Firt of all thanks for your fast answer. - My Java versión is jdk1.5.0_06, it'

Re: Tomcat migration from T5 to T5.5 mail

2008-09-30 Thread albrecht andrzejewski
Quoting AlexM3 <[EMAIL PROTECTED]>: Hello, Here is the result of a find in the tomcat5.5 directory #> find /usr/local/tomcat5.5_svh/ -name "*mail*" /usr/local/tomcat5.5_svh/common/lib/mail.jar #> Is there any path that Tomcat could be loading? Check for smtp.jar too (i don't know if you use

Re: Tomcat migration from T5 to T5.5 mail

2008-09-30 Thread Johnny Kewl
- Original Message - From: "AlexM3" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 30, 2008 12:53 PM Subject: Tomcat migration from T5 to T5.5 mail Hello, I'm migrating a Tomcat Cluster, when I thought everything was working fine, session cluster, balancing,etc, I noticed that

Re: Tomcat migration from T5 to T5.5 mail

2008-09-30 Thread AlexM3
Sorry the second error was obviosly without activation.jar, no mail.jar again. AlexM3 wrote: > > Hello, > > Here is the result of a find in the tomcat5.5 directory > #> find /usr/local/tomcat5.5_svh/ -name "*mail*" > /usr/local/tomcat5.5_svh/common/lib/mail.jar > #> > > Is there any path that

Re: Tomcat migration from T5 to T5.5 mail

2008-09-30 Thread AlexM3
Hello, Here is the result of a find in the tomcat5.5 directory #> find /usr/local/tomcat5.5_svh/ -name "*mail*" /usr/local/tomcat5.5_svh/common/lib/mail.jar #> Is there any path that Tomcat could be loading? If I move mail.jar out of $CATALINA_HOME it says the same: javax.mail.NoSuchProviderExc

Re: Tomcat migration from T5 to T5.5 mail

2008-09-30 Thread albrecht andrzejewski
Any idea? Your configuration all looks good. Which version of Tomcat are you running? Are you sure there isn't another copy of mail.jar hanging around? What happens if you remove the one you are using? Mark It sounds right, Mark. Although i have said that it wasn't "double mail.jar error", it

Re: Tomcat migration from T5 to T5.5 mail

2008-09-30 Thread Mark Thomas
AlexM3 wrote: > Hello, > > Firt of all thanks for your fast answer. > > - My Java versión is jdk1.5.0_06, it's the same that is using the old Tomcat > 5 and it works. Anyway I've tried to remove aplication.jar and an error asks > for him. You'll need that file, it is only included in 1.6 JDKs >

Re: Tomcat migration from T5 to T5.5 mail

2008-09-30 Thread AlexM3
Hello, Firt of all thanks for your fast answer. - My Java versión is jdk1.5.0_06, it's the same that is using the old Tomcat 5 and it works. Anyway I've tried to remove aplication.jar and an error asks for him. - I've tested my linux system "mail" function and it works, the aplication deployed

Re: Tomcat migration from T5 to T5.5 mail

2008-09-30 Thread Mark Thomas
AlexM3 wrote: > Hello, > > I'm migrating a Tomcat Cluster, when I thought everything was working fine, > session cluster, balancing,etc, I noticed that the mails were not send by > the java aplication. > > I installed the library mail.jar and activation.jar and configured the > web.xml and the c

Re: Tomcat migration from T5 to T5.5 mail

2008-09-30 Thread albrecht andrzejewski
I've written this step by step recipe, tested with my tomcat 5.5. You could follow up these instructions and mail sending should work. http://haveacafe.wordpress.com/2008/09/26/113/ Otherwise, can you post your context.xml ? Btw, according SUN's informations, activation.jar is part of the jdk