Mike Pritchard
Mon, 04 Apr 2005 08:46:35 -0700
The following is taken directly from my jetspeed.xml file (which is in
CATALINA_HOME\conf\Catalina\localhost)
<Resource
auth="Container"
description="DB Connection"
name="jdbc/jetspeed"
type="javax.sql.DataSource"
password=""
driverClassName="org.hsqldb.jdbcDriver"
maxIdle="2"
maxWait="5000"
username="sa"
url="jdbc:hsqldb:hsql://127.0.0.1:9001"
maxActive="4"/>
Hope that helps,
-Mike
-----Original Message-----
From: Taylor Dondich [mailto:[EMAIL PROTECTED]
Sent: Friday, April 01, 2005 8:24 PM
To: Jetspeed Users List
Subject: Re: No luck getting JetSpeed2 working
What were the configuration parameters that you used to configure the
data source?
Taylor
Mike Pritchard wrote:
>I had the same problems, it may have to do with setting up the
>DataSource correctly. I'm using Tomcat and Jetspeed with the default
>hpersonic database - I solved it by setting up the DataSource
correctly.
>To do this, I had to find the HSQL jdbc jar file, and copy it into
>CATALINA_HOME\common\lib directory. Then I set up the database using
>the Tomcat admin page.
>
>-Mike
>
>-----Original Message-----
>From: Taylor Dondich [mailto:[EMAIL PROTECTED]
>Sent: Friday, April 01, 2005 3:39 PM
>To: jetspeed-user@jakarta.apache.org
>Subject: No luck getting JetSpeed2 working
>
>I first tried following the Getting Started part of the documentation,
>but it appears that the JRE that I am using (1.4.2), for FreeBSD has a
>bug which is known with propertie setting classes (as seen on the
wiki).
>Trying to use the Linux JDK 1.4.2_08 causes maven to just sit there and
>do nothing (running under Linux emulation layer on FreeBSD).
>
>Soooo, I tried installing everything on Windows. Got farther, but
>getting this error message in Tomcat's error logs:
>
>org.apache.jetspeed.execption.JetspeedException: Unable to create
>Engine
>
>Which if you go all the way to the bottom, is caused by:
>
>org.apache.jetspeed.prefs.PreferencesException: Failed to initialize
>prefs api.
>org.springframework.transaction.CAnnotCreateTransactionException: Could
>not create OJB transaction; nested exception is
>org.apache.ojb.broker.accesslayer.LookupException: SQLException thrown
>while trying to get Connection from Datasource
>(java:comp/env/jdbc/jetspeed)
>
>Any ideas?
>
>Taylor
>
>---------------------------------------------------------------------
>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]
>
>
>
---------------------------------------------------------------------
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]