Erik van Bloem wrote:
How did you set up Jetspeed?
Will a new download of the trunk help or do I have to change database (if so
how?)?
I built from source, checked out from the head.
Note, I am using the HSQL server, not embedded mode.
(you can run the build in embeddedmode, but the Jetspeed server requires
an HSQL server AFAIK)
I just spent a few hours retesting it, and it seems to work fine, with
one exception. The batched statistics updating on the database fails
under HSQL. Seems that HSQL doesnt support batched updated, at least not
the version of the driver Im using. So you will need to modify your
spring configuration, either:
1. remove statistics.xml from the assembly
2. change statistics.xml to log to a CLF, not a DB
<!-- logToCLF -->
<constructor-arg index='0'
type="boolean"><value>false</value></constructor-arg>
<!-- logToDatabase -->
<constructor-arg index='1'
type="boolean"><value>true</value></constructor-arg>
Here are the general steps for getting HSQL running from SOURCE:
1. edit your build.properties:
org.apache.jetspeed.production.database.default.name=hsql
org.apache.jetspeed.production.database.url =
jdbc:hsqldb:hsql://127.0.0.1:9001
org.apache.jetspeed.production.database.driver = org.hsqldb.jdbcDriver
org.apache.jetspeed.production.database.user = sa
org.apache.jetspeed.production.database.password =
org.apache.jetspeed.production.jdbc.drivers.path=/path-to-driver/hsqldb-1.7.1.jar
2. start up the HSQL server, something like:
java -classpath /path-to-driver/hsqldb-1.7.1.jar org.hsqldb.Server
-database /tmp/hsql/Production -port 9001 -silent true -trace false
3. run the build
maven allClean allBuild j2:quickStart
that should be it
take a look at your jetspeed.xml in tomcat, it should have something like:
<Resource name="jdbc/jetspeed" auth="Container"
factory="org.apache.commons.dbcp.BasicDataSourceFactory"
type="javax.sql.DataSource" username="sa" password=""
driverClassName="org.hsqldb.jdbcDriver"
url="jdbc:hsqldb:hsql://127.0.0.1:9001"
maxActive="100" maxIdle="30" maxWait="10000"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]