Hi Mansour,

I think you met a problem with database settings.
In my case, I use MySQL with the following database settings in 
build.properties:


org.apache.jetspeed.test.database.url = jdbc:mysql://localhost/j2
org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver
org.apache.jetspeed.test.database.user = j2
org.apache.jetspeed.test.database.password = XX

org.apache.jetspeed.test.jdbc.drivers.path =
/home/woonsan/mysql-connector-java-5.0.5/mysql-connector-java-5.0.5-bin.jar
org.apache.jetspeed.test.database.default.name = mysql

org.apache.jetspeed.production.database.url = jdbc:mysql://localhost/j2
org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver
org.apache.jetspeed.production.database.user = j2
org.apache.jetspeed.production.database.password = XX

org.apache.jetspeed.production.jdbc.drivers.path =
/home/woonsan/mysql-connector-java-5.0.5/mysql-connector-java-5.0.5-bin.jar
org.apache.jetspeed.production.database.default.name = mysql


Also, MySQL should be accessible at the build time! If you use the default 
settings (e.g. HSQL
DB), then you should start an instance of HSQL DB first.

> Therefore, jetexpress directory is the portal 
> application of jetspeed and any other directory I copy or deploy is a 
> portlet application (ie. j2-admin), am I right here?

Yes, you're right.


-Woonsan

--- Mansour <[EMAIL PROTECTED]> wrote:

> Is my question that hard? Is it missing any details?
> Please, let me know if there's more info I need to include to get an answer.
> 
> 
> 
> Mansour wrote:
> > Hello every one:
> > I am following the build from source tutorial 
> > http://portals.apache.org/jetspeed-2/getting-started-source.html
> >
> > here's my build.properties:
> > ===================================================================
> > org.apache.jetspeed.portal.home                     = 
> > /home/mansour/workspace/jetspeed-dev
> > org.apache.jetspeed.portal.groupId                 = test-grp
> > org.apache.jetspeed.portal.artifactId               =myportal
> > org.apache.jetspeed.portal.name                     = Portal Name
> > org.apache.jetspeed.portal.currentVersion     = 1.0
> >
> > org.apache.jetspeed.server.home                      = /opt/tomcat/
> > org.apache.jetspeed.server.shared                    = 
> > ${org.apache.jetspeed.server.home}/shared/lib/
> > org.apache.jetspeed.deploy.war.dir                   = 
> > ${org.apache.jetspeed.server.home}/webapps/
> > org.apache.jetspeed.services.autodeployment.user     = j2deployer
> > org.apache.jetspeed.services.autodeployment.password = xxxxx
> > org.apache.jetspeed.catalina.version.major           = 6.0
> >
> > maven.repo.remote = http://www.bluesunrise.com/maven/, 
> > http://www.ibiblio.org/maven/, http://dist.codehaus.org/, 
> > http://cvs.apache.org/repository
> >
> > ===================================================================
> >
> > When I get to the step of :
> >
> > maven j2:portal.genapp
> >
> > I get the following error:
> >
> >
> > j2:portal.conf.sql:
> >    [delete] Deleting directory 
> > /home/mansour/workspace/jetspeed-dev/target/portal-sql
> >    [mkdir] Created dir: 
> > /home/mansour/workspace/jetspeed-dev/target/portal-sql
> >    [copy] Copying 1 file to 
> > /home/mansour/workspace/jetspeed-dev/target/portal-sql
> >    [copy] Copying 
> > /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin-resources/sql/drop.sql
> >  
> > to /home/mansour/workspace/jetspeed-dev/target/portal-sql/drop.sql
> > j2:_set.rdbms.props:
> > -------------------------------------------------------------------------------
> >  
> >
> > >> Unable to obtain goal [j2:portal.genapp]
> > >> unsupported target database:
> > -------------------------------------------------------------------------------
> >  
> >
> > BUILD FAILED
> > -------------------------------------------------------------------------------
> >  
> >
> > Total time   : 4 seconds
> > Finished at  : Saturday, September 1, 2007 4:27:34 PM ADT
> > Final Memory : 4M/13M
> >
> > Can someone help me on this?
> >
> > Another Question. It looks like I don't see correctly the big picture. 
> > In the past I used the binary installer and tested it with the 
> > embedded tomcat. Then I copied the files "webapps/jetexpress"  and 
> > "lib/*" and the "jetspeed.xml" to another tomcat installation and 
> > worked great. Therefore, jetexpress directory is the portal 
> > application of jetspeed and any other directory I copy or deploy is a 
> > portlet application (ie. j2-admin), am I right here?
> >
> > Thank you.
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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]
> 
> 



       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

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

Reply via email to