Your jetspeed-mvn-settings.xml setting for 
o.a.j.production.database.default.name is incorrect.
If you are using postgresql, it should have value postgresql, not portal (which 
is an invalid/unknown database type):
  
<org.apache.jetspeed.production.database.default.name>postgresql</org.apache.jetspeed.production.database.default.name>

Regards,

Ate

On 03/02/2010 03:13 AM, liguicheng wrote:
> hello all,
> 
> i am following this website 
> http://portals.apache.org/jetspeed-2/buildguide/jetspeed-archetype.html
>   to build a Jetspeed Portal project but failed. I follow the steps to 
> "Building Hello Portal Application Example", edit the 
> jetspeed-mvn-settings.xml, and use "mvn 
> org.apache.portals.jetspeed-2:jetspeed-mvn-maven-plugin:mvn -Dtarget=all" to 
> build. The error message is " BUILD ERROR  SQL script file 
> \HelloPortal\HelloPortal-portal\target\ddl\portal\drop-schema.sql not found".
> i try to copy the sql script to the directory, but it will be cleaned.
> what and how should i do?
> 
> Oh, i use tomcat 6.0.18 and Postgres 8.3, the jetspeed-mvn-settings.xml as 
> follow:
> ....
> <properties>
>          <org.apache.jetspeed.server.home>C:/Apache Software 
> Foundation/Tomcat 6.0.18</org.apache.jetspeed.server.home>
>          
> <org.apache.jetspeed.catalina.version.major>6.0.18</org.apache.jetspeed.catalina.version.major>
> 
>          
> <org.apache.jetspeed.production.jdbc.driver.groupId>postgresql</org.apache.jetspeed.production.jdbc.driver.groupId>
>          
> <org.apache.jetspeed.production.jdbc.driver.artifactId>postgresql</org.apache.jetspeed.production.jdbc.driver.artifactId>
> 
>          
> <org.apache.jetspeed.production.jdbc.driver.version>8.3-603.jdbc3</org.apache.jetspeed.production.jdbc.driver.version>
>          
> <org.apache.jetspeed.production.database.default.name>portal</org.apache.jetspeed.production.database.default.name>
>          
> <org.apache.jetspeed.production.database.url>jdbc:postgresql://localhost:5432/portal</org.apache.jetspeed.production.database.url>
>          
> <org.apache.jetspeed.production.database.driver>org.postgresql.Driver</org.apache.jetspeed.production.database.driver>
>          
> <org.apache.jetspeed.production.database.user>user</org.apache.jetspeed.production.database.user>
>          
> <org.apache.jetspeed.production.database.password>password</org.apache.jetspeed.production.database.password>
> </properties>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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