I download james-binary-2.3.1.zip and extract it, execute the run.bat, it
shows that the smtp server now runing ......
then I
mvn integration-test -Ppostgresql -Duser.language=en
It doesn't report any smtp error now .
but the following error still remain:
[INFO] Error executing ant tasks
Embedded error: The following error occurred while executing this line:
D:\Study\m2\app\web\src\test\resources\web-tests.xml:175: Wrong document
title f
ound!. Expected value ".*Main Menu.*" but got "Doh! | AppFuse"
D:\Study\m2\app>psql -U postgres -d appfuse
psql: could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "???" and accepting
TCP/IP connections on port 5432?
D:\Study\m2\app>"pg_ctl" -D "D:/pgdata" -l appfuse.log start
server starting
D:\Study\m2\app>psql -U postgres -d appfuse
Welcome to psql 8.2.5, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
appfuse=# \1
Invalid command \1. Try \? for help.
appfuse=# \q
D:\Study\m2\app>mvn integration-test -Ppostgresql -Duser.language=en
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] AppFuse Modular Application
[INFO] AppFuse Modular Application - Core
[INFO] AppFuse Modular Application - Web (Tapestry)
[INFO]
------------------------------------------------------------------------
[INFO] Building AppFuse Modular Application
[INFO] task-segment: [integration-test]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO]
------------------------------------------------------------------------
[INFO] Building AppFuse Modular Application - Core
[INFO] task-segment: [integration-test]
[INFO]
------------------------------------------------------------------------
[INFO] [aspectj:compile {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [sql:execute {execution: create-schema}]
[INFO] Executing file:
D:\Study\m2\app\core\src\test\resources\postgresql-schema
.sql
[INFO] 12 of 12 SQL statements executed successfully
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [dbunit:operation {execution: default}]
[INFO] [surefire:test]
[INFO] Surefire report directory:
D:\Study\m2\app\core\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running CoreTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO]
------------------------------------------------------------------------
[INFO] Building AppFuse Modular Application - Web (Tapestry)
[INFO] task-segment: [integration-test]
[INFO]
------------------------------------------------------------------------
[INFO] [warpath:add-classes {execution: default}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
[INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to D:\Study\m2\app\web\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to D:\Study\m2\app\web\target\test-classes
[INFO] [dbunit:operation {execution: test-compile}]
[INFO] [surefire:test]
[INFO] Surefire report directory:
D:\Study\m2\app\web\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.myappfuse.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] [dbunit:operation {execution: test}]
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Assembling webapp app-webapp in
D:\Study\m2\app\web\target\app-webapp-1.0
-SNAPSHOT
[INFO] Copy webapp webResources to
D:\Study\m2\app\web\target\app-webapp-1.0-SNA
PSHOT
[INFO] Overlaying 2 war(s).
[INFO] Generating war D:\Study\m2\app\web\target\app-webapp-1.0-SNAPSHOT.war
[INFO] Building war: D:\Study\m2\app\web\target\app-webapp-1.0-SNAPSHOT.war
[INFO] [cargo:start {execution: start-container}]
[INFO] [stalledLocalDeployer] Deploying
[D:\Study\m2\app\web\target\app-webapp-1
.0-SNAPSHOT.war] to
[D:\Study\m2\app\web\target/tomcat5x/container/webapps]...
[INFO] [talledLocalContainer] Tomcat 5.x starting...
[INFO] [talledLocalContainer] 2008-6-16 14:43:07
org.apache.coyote.http11.Http11
Protocol init
[INFO] [talledLocalContainer] 信息: Initializing Coyote HTTP/1.1 on http-8081
[INFO] [talledLocalContainer] 2008-6-16 14:43:07
org.apache.catalina.startup.Cat
alina load
[INFO] [talledLocalContainer] 信息: Initialization processed in 1180 ms
[INFO] [talledLocalContainer] 2008-6-16 14:43:07
org.apache.catalina.core.Standa
rdService start
[INFO] [talledLocalContainer] 信息: Starting service Catalina
[INFO] [talledLocalContainer] 2008-6-16 14:43:07
org.apache.catalina.core.Standa
rdEngine start
[INFO] [talledLocalContainer] 信息: Starting Servlet Engine: Apache
Tomcat/6.0.1
4
[INFO] [talledLocalContainer] 2008-6-16 14:43:12
org.apache.catalina.core.Applic
ationContext log
[INFO] [talledLocalContainer] 信息: Initializing Spring root
WebApplicationConte
xt
[INFO] [talledLocalContainer] 2008-6-16 14:43:25
org.apache.catalina.startup.Hos
tConfig deployWAR
[INFO] [talledLocalContainer] 信息: Deploying web application archive
cargocpc.w
ar
[INFO] [talledLocalContainer] 2008-6-16 14:43:25
org.apache.coyote.http11.Http11
Protocol start
[INFO] [talledLocalContainer] 信息: Starting Coyote HTTP/1.1 on http-8081
[INFO] [talledLocalContainer] 2008-6-16 14:43:25
org.apache.catalina.startup.Cat
alina start
[INFO] [talledLocalContainer] 信息: Server startup in 17820 ms
[INFO] [talledLocalContainer] Tomcat 5.x started on port [8081]
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[mkdir] Created dir: D:\Study\m2\app\web\target\webtest-data
[echo] Testing 'app-webapp-1.0-SNAPSHOT' with locale 'en'
Login:
Logout:
PasswordHint:
Signup:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: The following error occurred while executing this line:
D:\Study\m2\app\web\src\test\resources\web-tests.xml:175: Wrong document
title f
ound!. Expected value ".*Main Menu.*" but got "Doh! | AppFuse"
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 34 seconds
[INFO] Finished at: Mon Jun 16 14:44:05 CST 2008
[INFO] Final Memory: 45M/63M
[INFO]
------------------------------------------------------------------------
--
View this message in context:
http://www.nabble.com/Appfuse2.0M3-locale-%27zh%27-unsupported-tp8840662s2369p17858824.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]