Re: How to run Tomcat as Service on windows start up.

2012-04-27 Thread Jacques Desodt
Hi Kiran, On Windows 7, you can't run batch files as services. See : http://stackoverflow.com/questions/8972679/windows-7-bat-file-not-starting-as-a-service Your first step : compile the .bat file into .exe Then create the service, and after change the service register values with regedit. This i

Re: In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-19 Thread Jacques Desodt
s app :) 2012/4/18 Konstantin Kolinko > 2012/4/18 Jacques Desodt : > > Well, a little bit disappointed... > > I changed my code : > > > >public void sendTestMultipartMail(String host, final String username, > > final String password, String from, String to) throws

Re: In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-18 Thread Jacques Desodt
.JavaMail.e-soa@Jack-PC> Subject: Test MultiPart Mail MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_Part_0_623107838.1334768449974" ... and that's all... Why ? I don't understand. Same method, same smtp server. Any idea ? Jacques 2012/4/18 Jacques

Re: In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-18 Thread Jacques Desodt
your great project. Jacques 2012/4/18 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jacques, > > On 4/17/12 12:45 PM, Jacques Desodt wrote: > > I try to send a Multipart email in a simple java method, using > > Javamail. When i use the met

In webapp, sending multipart email with Javamail : noname attachment instead of message

2012-04-17 Thread Jacques Desodt
Hi, I try to send a Multipart email in a simple java method, using Javamail. When i use the method in a local java app, everything is fine. When i use the same method in a webapp hosted by Tomcat, i got no message, but a file "noname" in attachment. Here is the method : public void sendTestMulti