It looks like you need to install an SMTP server so your application can send e-mail. Linux and OS X come with one installed by default. Windows has one, but it's not installed or running by default.

http://appfuse.org/display/APF/Installing+an+SMTP+Server

Matt

On Jan 7, 2008, at 6:31 AM, ycharron wrote:


Appfuse JSF-Basic web test failing under windows platform.

Hello,
I’m a newbie regarding this maven automated building system, so please bear with me. I’m trying to get through the appfuse 2 quickstart guide and I’m running into an error when I run the command mvn after having install-it using the archetype jsf-basic. It seems to be failing during the web-test,
here the output:
….
Logout:

PasswordHint:
[INFO] [talledLocalContainer] [appfs2jsf] ERROR [http-8081-3]
MailEngine.send(77
) | Could not connect to SMTP host: localhost, port: 25, response: -1

Signup:
[INFO] [talledLocalContainer] [appfs2jsf] ERROR [http-8081-4]
MailEngine.send(77
) | Could not connect to SMTP host: localhost, port: 25, response: -1
[INFO]
---------------------------------------------------------------------- --
[ERROR] BUILD ERROR
[INFO]
---------------------------------------------------------------------- --
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
C:\dev\sources\appfs2jsf\src\test\resources\web-tests.xml:165: Wrong
document ti
tle found!. Expected value ".*Main Menu.*" but got "Sign Up | AppFuse"
…

Now what I don’t understand is that this process seems to happen only under a windows platform. The quickstart guide worked like a charm under linux
(openSuse10.3).

Also this problem seems to be only with the jsf-basic archetype, I’ve tried
the SpringMVC, the Strut2 and the worked under windows as well.

Under windows, I came across a thread where the recommend to move the Maven repository under a more conventional path location which I did. Still no go.

I’ve attached the stacktrace.

Any ideas?

Thanks guy’s.
http://www.nabble.com/file/p14665985/output.txt output.txt
--
View this message in context: http://www.nabble.com/Appfuse-JSF- Basic-web-test-failing-under-windows-platform- tp14665985s2369p14665985.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to