Hi Mark!

The negative IDs are not created by the DB, these are default values
inserted via dbunit during the maven test phase.
See sample-data.xml for these entries

Bye,

Peter

2008/10/6 md10024 <[EMAIL PROTECTED]>

>
>
> Hi,
> I am getting started with Spring MVC Basic on a WinXP development platform.
> I'm new to Maven but have used Appfuse for several different projects.
>
> I have two issues/questions:
>
> When I run this command
> mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> -DarchetypeArtifactId=appfuse-basic-spring
> -DremoteRepositories=http://static.appfuse.org/releases
> -DarchetypeVersion=2.0.2<http://static.appfuse.org/releases-DarchetypeVersion=2.0.2>-DgroupId=com.mycompany.app
>  -DartifactId=myproject
>
> first, I get a list of these warnings:
>
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: refe
> rence : template = archetype-resources/pom.xml [line 50,column 26] : ${a
> ppfuse.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: refe
> rence : template = archetype-resources/pom.xml [line 52,column 34] : ${a
> mp.genericCore} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException: refe
> rence : template = archetype-resources/pom.xml [line 53,column 33] : ${a
> mp.fullSource} is not a valid reference.
>
>
> Am I missing something?
>
>
> Secondly, further down, I get this error:
>
> Signup:
> [INFO] [talledLocalContainer] [zoomWeb] WARN [http-8081-4] JDBCException
> Reporter.logExceptions(77) | SQL Error: 1467, SQLState: HY000
> [INFO] [talledLocalContainer] [zoomWeb] ERROR [http-8081-4] JDBCExceptio
> nReporter.logExceptions(78) | Failed to read auto-increment value from s
> torage engine
> [INFO] -----------------------------------------------------------------
>
> I'm running MySQL 5.1.28-rc-community (utf-8) and looking at my DB tables I
> see this in the app_user table:
> -2      false   false           Denver  US      80210   CO      false
> [EMAIL PROTECTED]
> -1      false   false           Denver  US      80210   CO      false
> [EMAIL PROTECTED]
>
> I'm not sure how these got created with negative value ID's. Note, I am
> able
> to reproduce this with the JSF archetype also.
>
> Any hints as to what is going on here would be much appreciated.
>
> Mark
> --
> View this message in context:
> http://www.nabble.com/Failed-to-read-auto-increment-value-tp19831354s2369p19831354.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]
>
>

Reply via email to