I experienced the same error with the Struts 2 Basic Archetype.  

Making the suggested changes to web-tests.xml corrected the problem. 
However, I don't understand why.

-- david


Matt Raible-3 wrote:
> 
> If you change web-tests.xml (in src/test/resources) from:
> 
>     <property file="${basedir}/target/${webapp.name
> }/WEB-INF/classes/ApplicationResources_${user.language}.properties"/>
>     <property file="${basedir}/target/${webapp.name
> }/WEB-INF/classes/ApplicationResources.properties"/>
> 
> to:
> 
>     <property file="${basedir}/target/classes/ApplicationResources_${
> user.language}.properties"/>
>     <property
> file="${basedir}/target/classes/ApplicationResources.properties"/>
> 
> Does it fix the problem?
> 
> What web framework are you using? I can try to reproduce the problem
> locally
> if you tell me what archetype you used.
> 
> Matt
> 
> On 2/6/07, jason.jiang <[EMAIL PROTECTED]> wrote:
>>
>>
>> my OS is WinXP_cn local is "zh"
>>
>> this my all log :
>>
>> E:\dev\appfuse2.0\M3\kooyueproject>mvn integration-test
>> [INFO] Scanning for projects...
>> [INFO]
>>
>> ----------------------------------------------------------------------------
>> [INFO] Building AppFuse JSF Application
>> [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] Nothing to compile - all classes are up to date
>> [INFO] [resources:testResources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] Preparing hibernate3:hbm2ddl
>> [WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive
>> invocation.
>> [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.
>> [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is
>> invalid.
>> It will be ignored for a
>> rtifact resolution. Reason: Parse error reading POM. Reason: TEXT must be
>> immediately followed by EN
>> D_TAG and not START_TAG (position: START_TAG seen
>> ...<licenses>\n\t\t\t<license>... @12:13)
>> [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is
>> invalid.
>> It will be ignored for a
>> rtifact resolution. Reason: Parse error reading POM. Reason: TEXT must be
>> immediately followed by EN
>> D_TAG and not START_TAG (position: START_TAG seen
>> ...<licenses>\n\t\t\t<license>... @12:13)
>> [INFO] [hibernate3:hbm2ddl {execution: default}]
>> [INFO] Configuration XML file loaded:
>> E:\dev\appfuse2.0\M3\kooyueproject\src\main\resources\hibernat
>> e.cfg.xml
>> [INFO] Configuration XML file loaded:
>> E:\dev\appfuse2.0\M3\kooyueproject\src\main\resources\hibernat
>> e.cfg.xml
>> [INFO] Configuration Properties file loaded:
>> E:\dev\appfuse2.0\M3\kooyueproject\target\classes\jdbc.
>> properties
>> create table app_user (id bigint not null auto_increment, username
>> varchar(50) not null unique, emai
>> l varchar(255) not null unique, password_hint varchar(255), first_name
>> varchar(50) not null, last_na
>> me varchar(50) not null, phone_number varchar(255), website varchar(255),
>> account_expired bit not nu
>> ll, account_locked bit not null, credentials_expired bit not null, city
>> varchar(50) not null, provin
>> ce varchar(100), postal_code varchar(15) not null, address varchar(150),
>> country varchar(100), accou
>> nt_enabled bit, version integer, password varchar(255) not null, primary
>> key
>> (id)) type=InnoDB;
>> [ERROR] SchemaExport - Unsuccessful: create table app_user (id bigint not
>> null auto_increment, usern
>> ame varchar(50) not null unique, email varchar(255) not null unique,
>> password_hint varchar(255), fir
>> st_name varchar(50) not null, last_name varchar(50) not null,
>> phone_number
>> varchar(255), website var
>> char(255), account_expired bit not null, account_locked bit not null,
>> credentials_expired bit not nu
>> ll, city varchar(50) not null, province varchar(100), postal_code
>> varchar(15) not null, address varc
>> har(150), country varchar(100), account_enabled bit, version integer,
>> password varchar(255) not null
>> , primary key (id)) type=InnoDB
>> [ERROR] SchemaExport - Table 'app_user' already exists
>> create table role (id bigint not null auto_increment, name varchar(20),
>> description varchar(64), pri
>> mary key (id)) type=InnoDB;
>> [ERROR] SchemaExport - Unsuccessful: create table role (id bigint not
>> null
>> auto_increment, name varc
>> har(20), description varchar(64), primary key (id)) type=InnoDB
>> [ERROR] SchemaExport - Table 'role' already exists
>> create table user_role (user_id bigint not null, role_id bigint not null,
>> primary key (user_id, role
>> _id)) type=InnoDB;
>> [ERROR] SchemaExport - Unsuccessful: create table user_role (user_id
>> bigint
>> not null, role_id bigint
>> not null, primary key (user_id, role_id)) type=InnoDB
>> [ERROR] SchemaExport - Table 'user_role' already exists
>> alter table user_role add index FK143BF46AF503D155 (user_id), add
>> constraint
>> FK143BF46AF503D155 fore
>> ign key (user_id) references app_user (id);
>> [ERROR] SchemaExport - Unsuccessful: alter table user_role add index
>> FK143BF46AF503D155 (user_id), a
>> dd constraint FK143BF46AF503D155 foreign key (user_id) references
>> app_user
>> (id)
>> [ERROR] SchemaExport - Duplicate key name 'FK143BF46AF503D155'
>> alter table user_role add index FK143BF46A4FD90D75 (role_id), add
>> constraint
>> FK143BF46A4FD90D75 fore
>> ign key (role_id) references role (id);
>> [ERROR] SchemaExport - Unsuccessful: alter table user_role add index
>> FK143BF46A4FD90D75 (role_id), a
>> dd constraint FK143BF46A4FD90D75 foreign key (role_id) references role
>> (id)
>> [ERROR] SchemaExport - Duplicate key name 'FK143BF46A4FD90D75'
>> [WARNING] 5 errors occurred while performing <hbm2ddl>.
>> [ERROR] Error #1: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
>> Table
>> 'app_user' already exis
>> ts
>> [ERROR] Error #1: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
>> Table
>> 'role' already exists
>> [ERROR] Error #1: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
>> Table
>> 'user_role' already exi
>> sts
>> [ERROR] Error #1: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
>> Duplicate key name 'FK143BF46
>> AF503D155'
>> [ERROR] Error #1: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
>> Duplicate key name 'FK143BF46
>> A4FD90D75'
>> [INFO] [compiler:testCompile]
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO] [dbunit:operation {execution: test-compile}]
>> [INFO] [surefire:test]
>> [INFO] Surefire report directory:
>> E:\dev\appfuse2.0\M3\kooyueproject\target\surefire-reports
>>
>> -------------------------------------------------------
>> T E S T S
>> -------------------------------------------------------
>> Running com.kooyue.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 kooyueproject in
>> E:\dev\appfuse2.0\M3\kooyueproject\target\kooyueproject-1.
>> 0-SNAPSHOT
>> [INFO] Copy webapp webResources to
>> E:\dev\appfuse2.0\M3\kooyueproject\target\kooyueproject-1.0-SNAPS
>> HOT
>> [INFO] Overlaying 2 war(s).
>> [INFO] Generating war
>> E:\dev\appfuse2.0\M3\kooyueproject\target\kooyueproject-1.0-SNAPSHOT.war
>> [INFO] Building war:
>> E:\dev\appfuse2.0\M3\kooyueproject\target\kooyueproject-1.0-SNAPSHOT.war
>> [INFO] [cargo:start {execution: start-container}]
>> [INFO] [talledLocalContainer] Tomcat 5.5.17 starting...
>> [INFO] [CopyingLocalDeployer] Deploying
>> [E:\dev\appfuse2.0\M3\kooyueproject\target\kooyueproject-1.0
>> -SNAPSHOT.war] to
>> [E:\dev\appfuse2.0\M3\kooyueproject\target\tomcat5x\container\webapps]...
>> [INFO] [talledLocalContainer] Tomcat 5.5.17 started on port [8081]
>> [INFO] [antrun:run {execution: default}]
>> [INFO] Executing tasks
>>    [delete] Deleting:
>> E:\dev\appfuse2.0\M3\kooyueproject\target\webtest-data\web-
>> tests-result.xml
>>      [echo] Testing 'kooyueproject-1.0-SNAPSHOT' with locale 'zh'
>>
>> Login:
>> log4j:WARN No appenders could be found for logger
>> (com.canoo.webtest.ant.TestStepSequence).
>> log4j:WARN Please initialize the log4j system properly.
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error executing ant tasks
>>
>> Embedded error: The following error occurred while executing this line:
>> E:\dev\appfuse2.0\M3\kooyueproject\src\test\resources\web-tests.xml:23:
>> Canoo Webtest: R_1454.
>> Test failed.
>> Exception raised: com.canoo.webtest.engine.StepExecutionException:
>> Unexpected exception caught: java
>> .util.regex.PatternSyntaxException: Dangling meta character '?' near
>> index
>> 3
>> .*??.*
>>    ^, Step: VerifyTitle at
>> E:\dev\appfuse2.0\M3\kooyueproject\src\test\resources\login.xml:2:  with
>> (taskName="verifytitle")com.canoo.webtest.engine.StepExecutionException:
>> Unexpected exception caught
>> : java.util.regex.PatternSyntaxException: Dangling meta character '?'
>> near
>> index 3
>> .*??.*
>>    ^, Step: VerifyTitle at
>> E:\dev\appfuse2.0\M3\kooyueproject\src\test\resources\login.xml:2:  with
>> (taskName="verifytitle")
>>         at
>> com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:413)
>>         at com.canoo.webtest.steps.Step.execute(Step.java:109)
>>         at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>>         at org.apache.tools.ant.Task.perform(Task.java:364)
>>         at
>> com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence.java
>> :43)
>>         at
>> com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.java:31)
>>         at com.canoo.webtest.steps.Step.execute(Step.java:106)
>>         at org.apache.tools.ant.Task.perform(Task.java:364)
>>         at
>> com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:164)
>>         at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>>         at org.apache.tools.ant.Task.perform(Task.java:364)
>>         at org.apache.tools.ant.Target.execute(Target.java:341)
>>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>>         at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>>         at
>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(
>> SingleCheckExecutor.java:3
>> 7)
>>         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>>         at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>>         at org.apache.tools.ant.Task.perform(Task.java:364)
>>         at org.apache.tools.ant.Target.execute(Target.java:341)
>>         at
>> org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
>> AbstractAntMojo.java:108)
>>         at
>> org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)
>>         at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>> DefaultPluginManager.java:412)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>> (DefaultLifecycleExecutor
>> .java:534)
>>         at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>> (DefaultLifec
>> ycleExecutor.java:475)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
>> (DefaultLifecycleExecutor.
>> java:454)
>>         at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>> (DefaultL
>> ifecycleExecutor.java:306)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
>> (DefaultLifecycleE
>> xecutor.java:273)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>> DefaultLifecycleExecutor.java
>> :140)
>>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>> :39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>         at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: java.util.regex.PatternSyntaxException: Dangling meta
>> character
>> '?' near index 3
>> .*??.*
>>    ^
>>         at java.util.regex.Pattern.error(Pattern.java:1650)
>>         at java.util.regex.Pattern.sequence(Pattern.java:1787)
>>         at java.util.regex.Pattern.expr(Pattern.java:1687)
>>         at java.util.regex.Pattern.compile(Pattern.java:1397)
>>         at java.util.regex.Pattern.<init>(Pattern.java:1124)
>>         at java.util.regex.Pattern.compile(Pattern.java:840)
>>         at
>> com.canoo.webtest.engine.RegExStringVerifier.verifyStrings(
>> RegExStringVerifier.java:28)
>>         at
>> com.canoo.webtest.steps.verify.AbstractVerifyTextStep.verifyStrings
>> (AbstractVerifyTextSte
>> p.java:61)
>>         at
>> com.canoo.webtest.steps.verify.AbstractVerifyTextStep.verifyText(
>> AbstractVerifyTextStep.j
>> ava:65)
>>         at
>> com.canoo.webtest.steps.verify.VerifyTitle.doExecute(VerifyTitle.java:25)
>>         at com.canoo.webtest.steps.Step.execute(Step.java:106)
>>         ... 38 more
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 2 minutes 2 seconds
>> [INFO] Finished at: Wed Feb 07 14:47:54 CST 2007
>> [INFO] Final Memory: 19M/34M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> E:\dev\appfuse2.0\M3\kooyueproject>
>>
>>
>> thanks!
>>
>>
>>
>>
>>
>>
>>
>> Matt Raible-3 wrote:
>> >
>> > Do you have more information from your logs - like what locale your OS
>> is
>> > using?  I need to reproduce the problem locally in order to fix.
>> >
>> > Matt
>> >
>> > On 2/6/07, jason.jiang <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> now i use M3(JSF Basic) run integration-test, but still ERROR!
>> >>
>> >> this my pom.xml:
>> >>             .............
>> >>             <plugin>
>> >>                 <groupId>org.codehaus.mojo</groupId>
>> >>                 <artifactId>native2ascii-maven-plugin</artifactId>
>> >>                 <version>1.0-beta-1-SNAPSHOT</version>
>> >>                 <configuration>
>> >>                     <dest>target/classes</dest>
>> >>                     <src>src/main/resources</src>
>> >>                 </configuration>
>> >>                 <executions>
>> >>                     <execution>
>> >>                         <id>native2ascii-utf8</id>
>> >>                         <goals>
>> >>                             <goal>native2ascii</goal>
>> >>                         </goals>
>> >>                         <configuration>
>> >>                             <encoding>UTF8</encoding>
>> >>
>> <includes>ApplicationResources_zh*</includes>
>> >>                         </configuration>
>> >>                     </execution>
>> >>                     <execution>
>> >>                         <id>native2ascii-8859_1</id>
>> >>                         <goals>
>> >>                             <goal>native2ascii</goal>
>> >>                         </goals>
>> >>                         <configuration>
>> >>                             <encoding>8859_1</encoding>
>> >>                             <includes>
>> >>
>> >>
>> >> ApplicationResources_zh*.properties,
>> >>                                 ApplicationResources_de.properties,
>> >>                                 ApplicationResources_fr.properties,
>> >>                                 ApplicationResources_nl.properties,
>> >>                                 ApplicationResources_pt*.properties
>> >>                             </includes>
>> >>                         </configuration>
>> >>                     </execution>
>> >>                 </executions>
>> >>             </plugin>
>> >>         </plugins>
>> >>         <resources>
>> >>             <resource>
>> >>                 <directory>src/main/resources</directory>
>> >>                 <excludes>
>> >>
>> >> <exclude>ApplicationResources_zh*.properties</exclude>
>> >>
>> <exclude>ApplicationResources_de.properties</exclude>
>> >>
>> <exclude>ApplicationResources_fr.properties</exclude>
>> >>
>> <exclude>ApplicationResources_nl.properties</exclude>
>> >>
>> >> <exclude>ApplicationResources_pt*.properties</exclude>
>> >>                 </excludes>
>> >>                 <filtering>true</filtering>
>> >>             </resource>
>> >>         </resources>
>> >>        ............
>> >>
>> >>
>> >> error:
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [ERROR] BUILD ERROR
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Error executing ant tasks
>> >>
>> >> Embedded error: The following error occurred while executing this
>> line:
>> >>
>> E:\dev\appfuse2.0\M3\kooyueproject\src\test\resources\web-tests.xml:23:
>> >> Canoo We
>> >> btest: R_1454.
>> >> Test failed.
>> >> Exception raised: com.canoo.webtest.engine.StepExecutionException:
>> >> Unexpected ex
>> >> ception caught: java.util.regex.PatternSyntaxException: Dangling meta
>> >> character
>> >> '?' near index 3
>> >> .*??.*
>> >>    ^, Step: VerifyTitle at
>> >> E:\dev\appfuse2.0\M3\kooyueproject\src\test\resources
>> >> \login.xml:2:  with
>> >> (taskName="verifytitle")com.canoo.webtest.engine.StepExecuti
>> >> onException: Unexpected exception caught:
>> >> java.util.regex.PatternSyntaxException
>> >> : Dangling meta character '?' near index 3
>> >> .*??.*
>> >>    ^, Step: VerifyTitle at
>> >> E:\dev\appfuse2.0\M3\kooyueproject\src\test\resources
>> >> \login.xml:2:  with (taskName="verifytitle")
>> >>         at
>> >> com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:413)
>> >>
>> >>         at com.canoo.webtest.steps.Step.execute(Step.java:109)
>> >>         at
>> >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>> >>         at org.apache.tools.ant.Task.perform(Task.java:364)
>> >>         at
>> >> com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence.
>> >> java:43)
>> >>         at
>> >> com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.jav
>> >>
>> >> :( !!!!!
>> >>
>> >>
>> >> Matt Raible-3 wrote:
>> >> >
>> >> > The following diff should show you how to add it:
>> >> >
>> >> > http://tinyurl.com/2hqlnf
>> >> >
>> >> > Note that you'll also need to exclude these resources from getting
>> >> > processed
>> >> > in your pom.xml:
>> >> >
>> >> >
>> >> > 280221         <resources>  281222             <resource>  282223
>> >> >                 <directory>src/main/resources</directory> [image:
>> >> > <]<
>> >>
>> http://fisheye4.cenqua.com/browse/appfuse/trunk/archetypes/appfuse-basic-struts/src/main/resources/archetype-resources/pom.xml?r1=2424&r2=2421&u=3&ignore=&k=#seg1
>> >> >[image:
>> >> >>]<
>> >>
>> http://fisheye4.cenqua.com/browse/appfuse/trunk/archetypes/appfuse-basic-struts/src/main/resources/archetype-resources/pom.xml?r1=2424&r2=2421&u=3&ignore=&k=#seg3
>> >> >
>> >> >  224+                <excludes>   225+
>> >> >
>> >> <exclude>ApplicationResources_zh*.properties</exclude>
>> >> >  226+
>> >> >
>> >> <exclude>ApplicationResources_de.properties</exclude>
>> >> > 227+
>> >> >
>> >> <exclude>ApplicationResources_fr.properties</exclude>
>> >> > 228+
>> >> >
>> >> <exclude>ApplicationResources_nl.properties</exclude>
>> >> > 229+
>> >> >
>> >> <exclude>ApplicationResources_pt*.properties</exclude>
>> >> >  230+                </excludes>
>> >> > 283231                 <filtering>true</filtering>  284232
>> >> >             </resource>  285233         </resources>
>> >> > Hope this helps,
>> >> >
>> >> > Matt
>> >> >
>> >> > On 2/6/07, jason.jiang <[EMAIL PROTECTED]> wrote:
>> >> >>  i create my project today and i not search "native2ascii" my OS
>> >> default
>> >> >> local is "", how i add native2ascii plugin in my pom.xml?
>> >> >>
>> >> >
>> >>
>> -----------------------------------------------------------------------------------------------------------------------
>> >> >> [INFO] [antrun:run {execution: default}] [INFO] Executing tasks
>> >> [delete]
>> >> >> Deleting:
>> >> >> E:\dev\appfuse2.0\modular-jsf\web\target\webtest-data\web-
>> >> >> tests-result.xml [echo] Testing 'modular-jsf-webapp-1.0-SNAPSHOT'
>> with
>> >> >> locale 'zh' Login: log4j:WARN No appenders could be found for
>> logger
>> >> >> (com.canoo.webtest.ant.TestSte pSequence). log4j:WARN Please
>> >> initialize
>> >> > the
>> >> >> log4j system properly. [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [ERROR] BUILD ERROR [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [INFO] Error executing ant tasks
>> >> >>
>> >> >
>> >>
>> ----------------------------------------------------------------------------------------------------------------------------------
>> >> >> thinks!
>> >> >>
>> >> >> Matt Raible-3 wrote:
>> >> >>  When did you create your project? Is there a native2ascii plugin
>> in
>> >> your
>> >> >> pom.xml? Just search for "native2ascii" to see. What is the default
>> >> >> locale
>> >> >> on your OS? It's possible there's some encoding issues with bundles
>> >> other
>> >> >> than English (but hopefully not!). Matt On 2/6/07, Michael Horwitz
>> >> wrote:
>> >> >>
>> >> >> It looks like you are checking a title in a test step, and that the
>> >> > regular
>> >> >> > expression you entered as the title is incorrect or that it is
>> >> having
>> >> >
>> >> >> problems with the character set you are using. I'm not sure of any
>> >
>> >> >> tips/tricks for getting the canoo tests to work with UTF-16
>> character
>> >> > sets.
>> >> >> > Perhaps someone else knows? > > Mike. > > > On 2/6/07,
>> >> >> jason.jiangwrote:
>> >> >> > > > > Hi, > > > > I run mvn integration-test with appfuse2.0 M2
>> >> >> (modular-jsf), but throw > > Exception... > > > > > > > > Login: >
>> >
>> >> >> log4j:WARN No appenders could be found for logger > >
>> >> >> (com.canoo.webtest.ant.TestSte > > pSequence). > > log4j:WARN
>> Please
>> >> >> initialize the log4j system properly. > > [INFO] > > >
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> > > [ERROR] BUILD ERROR > > [INFO] > > >
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> > > [INFO] Error executing ant tasks > > > > Embedded error: The
>> >> >> following
>> >> >> error occurred while executing this line: > > >
>> >> >> E:\dev\appfuse2.0\modular-jsf\web\src\test\resources\web-tests.xml
>> :23:
>> >> >> > Canoo > > Web > > test: R_1454. > > Test failed. > > Exception
>> >> raised:
>> >> >> >
>> >> >> com.canoo.webtest.engine.StepExecutionException: > >
>> >> >> Unexpected ex > > ception caught:
>> >> >> java.util.regex.PatternSyntaxException: > Dangling meta > >
>> >> >> character > > '?' near index 3 > > .*??.* > > ^, Step: VerifyTitle
>> at
>> >> >
>> >> >
>> >> >> E:\dev\appfuse2.0\modular-jsf\web\src\test\resources\ > >
>> >> >> login.xml:2: with > > >
>> >> >> (taskName="verifytitle")com.canoo.webtest.engine.StepExecutio
>> >> >> > > nException: Unexpected exception caught: > >
>> >> >> java.util.regex.PatternSyntaxException: > > Dangling meta
>> >> >> character '?' near index 3 > > .*??.* > > ^, Step: VerifyTitle at >
>> >
>> >> >> E:\dev\appfuse2.0\modular-jsf\web\src\test\resources\ > >
>> >> >> login.xml:2: with (taskName="verifytitle") > > at > > >
>> >> >> com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java
>> :413)
>> >> >> > > > > at >
>> >> >> com.canoo.webtest.steps.Step.execute(Step.java:109) > > at
>> >> >> > > >
>> >> >>
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>> >> >> > > at > org.apache.tools.ant.Task.perform(Task.java:364) >
>> >> >> > at > > >
>> >> >> com.canoo.webtest.ant.TestStepSequence.executeSteps
>> (TestStepSequence.
>> >> >> > > java:43) > > at > > >
>> >> >> com.canoo.webtest.ant.TestStepSequence.doExecute(
>> TestStepSequence.jav
>> >> >> > > a:31) > > at >
>> >> >> com.canoo.webtest.steps.Step.execute(Step.java:106) > > at
>> >> >> org.apache.tools.ant.Task.perform(Task.java > :364) > > at
>> >> >> >
>> >> >> com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:164)
>> >> >> > > at > > >
>> >> >>
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>> >> >> > > at org.apache.tools.ant.Task.perform(Task.java > :364)
>> >> >> > > at >
>> >> >> org.apache.tools.ant.Target.execute(Target.java:341) > > at
>> >> >> > org.apache.tools.ant.Target.performTasks(Target.java:369)
>> >> >> > > at > > >
>> >> >> org.apache.tools.ant.Project.executeSortedTargets(Project.java
>> >> >> > :1216) > > at > > >
>> >> >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets
>> (Single
>> >> >> > > CheckExecutor.java:37) > > at >
>> >> >> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>> >> >> > > at org.apache.tools.ant.taskdefs.Ant.execute >
>> >> >> (Ant.java:382) > > at > > >
>> >> >>
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>> >> >> > > at > org.apache.tools.ant.Task.perform(Task.java:364) >
>> >> >> > at org.apache.tools.ant.Target.execute(Target.java >
>> >> >> :341) > > at > > >
>> >> >> org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks
>> (AbstractA
>> >> >> > > ntMojo.java:108) > > at > > >
>> >> >> org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java
>> :83)
>> >> >> > > > > at > > >
>> >> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo
>> >> >> > (DefaultPlugi > > nManager.java:412) > > at > > >
>> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>> (Defa
>> >> >> > > ultLifecycleExecutor.java:534) > > at > > >
>> >> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
>> >> >> > > fecycle(DefaultLifecycleExecutor.java:475) > > at > > >
>> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
>> (Defau
>> >> >> > > ltLifecycleExecutor.java:454) > > at > > >
>> >> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
>> >> >> > > dleFailures(DefaultLifecycleExecutor.java:306) > > at > > >
>> >> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
>> >> >> > > ts(DefaultLifecycleExecutor.java:273) > > at > > >
>> >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
>> >> >> > (DefaultLi > > fecycleExecutor.java:140) > > at >
>> >> >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>> >> >> > > at >
>> >> >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>> >> >> > > at org.apache.maven.cli.MavenCli.main >
>> >> >> (MavenCli.java:256) > > at >
>> >> >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >> >> > > at > > >
>> >> >> sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.
>> >> >> > > java:39) > > at > >
>> >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke >
>> >> >> (DelegatingMethodAcces > > sorImpl.java:25) > > at
>> >> >> java.lang.reflect.Method.invoke(Method.java:585) > > at > > >
>> >> >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> >> >> > > at org.codehaus.classworlds.Launcher.launch >
>> >> >> (Launcher.java:255) > > at > > >
>> >> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
>> :430)
>> >> >> > > > > at >
>> >> >> org.codehaus.classworlds.Launcher.main(Launcher.java:375) >
>> >> >> > Caused by: java.util.regex.PatternSyntaxException : >
>> >> >> Dangling meta character > > '?' n > > ear index 3 > > .*??.* > > ^
>> >
>> >
>> >> at
>> >> >> java.util.regex.Pattern.error(Pattern.java:1650) > > at >
>> >> >> java.util.regex.Pattern.sequence(Pattern.java:1787) > > at
>> >> >> java.util.regex.Pattern.expr (Pattern.java:1687) > > at
>> >> >> java.util.regex.Pattern.compile(Pattern.java:1397) > > at
>> >> >> java.util.regex.Pattern.(Pattern.java:1124) > > at
>> >> >> java.util.regex.Pattern.compile(Pattern.java:840) > > at > > >
>> >> >> com.canoo.webtest.engine.RegExStringVerifier.verifyStrings
>> (RegExStrin
>> >> >> > > gVerifier.java:28) > > at > > >
>> >> >> com.canoo.webtest.steps.verify.AbstractVerifyTextStep.verifyStrings
>> (A
>> >> >> > > bstractVerifyTextStep.java:61) > > at > > >
>> >> >> com.canoo.webtest.steps.verify.AbstractVerifyTextStep.verifyText
>> (Abst
>> >> >> > > ractVerifyTextStep.java:65) > > at > > >
>> >> >> com.canoo.webtest.steps.verify.VerifyTitle.doExecute(
>> VerifyTitle.java
>> >> >> > > :25) > > at com.canoo.webtest.steps.Step.execute >
>> >> >> (Step.java:106) > > ... 38 more > > > > [INFO] > > >
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> > > [INFO] For more information, run Maven with the -e switch > >
>> >> [INFO]
>> >> >> >
>> >> >>
>> >> >> >
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> > > [INFO] Total time: 2 minutes 59 seconds > > [INFO] Finished at:
>> >> Tue
>> >> > Feb
>> >> >> 06 16:46:42 CST 2007 > > [INFO] Final Memory: 20M/36M > > [INFO] >
>> >
>> >
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> > > > > > > How that thing occur? Any idea about how to fix it? > >
>> >
>> >> >
>> >> >> Thanks! > > > > jason.jiang > > > > -- > > View this message in
>> >> context:
>> >> >> >
>> >> >>
>> >> >
>> >>
>> http://www.nabble.com/Run-mvn-integration-test--Canoo-Web-test-Error%21%21%21-tf3179622s2369.html#a8822956
>> >> >> > > Sent from the AppFuse - User mailing list archive at
>> Nabble.com.
>> >
>> >> >
>> >> >> >
>> >> >>
>> >> >> >
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> > > To unsubscribe, e-mail: >
>> >> >> [EMAIL PROTECTED] > > For additional
>> >> >> commands, e-mail: [EMAIL PROTECTED] > > > > > > --
>> >> >> http://raibledesigns.com
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail:
>> >> >> [EMAIL PROTECTED] For additional
>> >> >> commands, e-mail: [EMAIL PROTECTED]
>> >> >> ________________________________
>> >> >>  View this message in context: Re: Run mvn integration-test Canoo
>> Web
>> >> >> test
>> >> >> Error!!!
>> >> >>
>> >> >>  Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > http://raibledesigns.com
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Run-mvn-integration-test--Canoo-Web-test-Error%21%21%21-tf3179622s2369.html#a8839187
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > http://raibledesigns.com
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Run-mvn-integration-test--Canoo-Web-test-Error%21%21%21-tf3179622s2369.html#a8840692
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Run-mvn-integration-test--Canoo-Web-test-Error%21%21%21-tf3179622s2369.html#a9597982
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to