[JBoss JIRA] Created: (SEAM-58) seam-booking - functional tests fail although the application works as expected
by Jozef Hartinger (JIRA)
seam-booking - functional tests fail although the application works as expected
-------------------------------------------------------------------------------
Key: SEAM-58
URL: https://issues.jboss.org/browse/SEAM-58
Project: Seam 3 Distribution
Issue Type: Bug
Components: Shared Examples
Affects Versions: 3.0.0.CR3
Reporter: Jozef Hartinger
Assignee: Jozef Hartinger
Fix For: 3.0.0.Final
FAILED CONFIGURATION: @BeforeMethod setUp
java.lang.AssertionError: Login failed.
at org.jboss.seam.examples.booking.ftest.AbstractBookingTest.login(AbstractBookingTest.java:69)
at org.jboss.seam.examples.booking.ftest.AbstractBookingTest.login(AbstractBookingTest.java:53)
at org.jboss.seam.examples.booking.ftest.AbstractBookingTest.setUp(AbstractBookingTest.java:45)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
... Removed 28 stack frames
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] Created: (SEAMMAIL-18) Ssl and authentication is not properly supported
by Marek Smigielski (JIRA)
Ssl and authentication is not properly supported
------------------------------------------------
Key: SEAMMAIL-18
URL: https://issues.jboss.org/browse/SEAMMAIL-18
Project: Seam Mail
Issue Type: Bug
Reporter: Marek Smigielski
1. When ssl is configured client hung on:
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:106)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
- locked <0x00000000f84a7420> (a java.io.BufferedInputStream)
at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:84)
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1742)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1523)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:453)
at javax.mail.Service.connect(Service.java:291)
- locked <0x00000000f849d258> (a com.sun.mail.smtp.SMTPTransport)
at javax.mail.Service.connect(Service.java:172)
at javax.mail.Service.connect(Service.java:121)
2. Despite setting authentication credetntials i get from gmail server:
Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530-5.5.1 Authentication Required. Learn more at
530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 q18sm1346208bka.15
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1668) [:1.4.2]
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1207) [:1.4.2]
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:735) [:1.4.2]
at javax.mail.Transport.send0(Transport.java:191) [:1.4.2]
at javax.mail.Transport.send(Transport.java:120) [:1.4.2]
at org.jboss.seam.mail.core.BaseMailMessage.send(BaseMailMessage.java:452) [:3.0.0-SNAPSHOT]
... 244 more
Configuration:
MailConfig mailConfig = new MailConfig();
mailConfig.setServerHost("smtp.gmail.com");
mailConfig.setServerPort(465);
mailConfig.setSsl(true);
mailConfig.setUsername("username");
mailConfig.setPassword("password");
mailConfig.setAuth(true);
Session session = MailUtility.buildMailSession(mailConfig);
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (SEAMMAIL-22) Follow Seam 3 example naming scheme
by Jozef Hartinger (JIRA)
Follow Seam 3 example naming scheme
-----------------------------------
Key: SEAMMAIL-22
URL: https://issues.jboss.org/browse/SEAMMAIL-22
Project: Seam Mail
Issue Type: Task
Reporter: Jozef Hartinger
Priority: Minor
Please, follow these naming constraints for the sample application to be consistent with other Seam 3 demos.
{noformat}
folder name: {example}
artifact id: seam-{module}-example-{example}
context path: {module}-{example}
package: org.jboss.seam.{module}.examples.{example}
{noformat}
* use dashes as delimiters
* if the example name uses dashes ( - ), these are removed in the package name
Currently, the context path (finalName) and package name are wrong.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months