You should find the reason for the test failures under target/surefire-reports.
Mike. 2009/6/29 Choe <tchoes...@gmail.com> > > Hi all! > > I am trying the Modular JSF project (jsfModular)and all works fine when I > use Mysql DB and James as SMTP server. > On the production server we would be using exchange server for SMTP Server. > Following are the configuration I prepared for the exchange server. > > jsfModular\core\src\main\resources\applicationContext-service.xml > > <bean id="mailSender" > class="org.springframework.mail.javamail.JavaMailSenderImpl"> > <property name="host" value="${mail.host}" /> > <property name="port" value="${mail.port}" /> > <property name="username" value="${mail.username}" /> > <property name="password" value="${mail.password}" /> > <property name="javaMailProperties"> > <props> > <prop key="mail.smtp.starttls.enable">true</prop> > <prop key="mail.smtp.auth">true</prop> > <prop key="mail.mime.address.strict">false</prop> > <prop key="mail.mime.charset">UTF-8 </prop> > </props> > </property> > </bean> > > > jsfModular\web\src\main\resources\mail.properties > > mail.default.from=usern...@exchange > mail.debug=true > mail.auth=true > mail.port=587 > mail.transport.protocol=smtp > mail.host=exchange.server > mail.username=username > mail.password=secret > > The build fails with the following test errors: > > testAddExistingUser(com.jsf.app.service.UserExistsExceptionTest) > testGetUser(com.jsf.app.service.UserManagerTest) > testAddAndRemoveUser(com.jsf.app.service.UserManagerTest) > testSaveUser(com.jsf.app.service.UserManagerTest) > testSend(com.jsf.app.service.MailEngineTest) > testSendMessageWithAttachment(com.jsf.app.service.MailEngineTest) > > Can any one tell me where i am making the mistake. > > Thanks, > Choesang Tenzin > -- > View this message in context: > http://www.nabble.com/Build-fails-when-moving-from-James-to-Exchange-server-tp24254141s2369p24254141.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > >