You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Damien Byrne <db...@integria.co.uk> on 2004/08/11 18:33:57 UTC

Compile problems with Jetspeed1 CVS

Hey guys. 

I've tried to compile jetspeed 1 and have come across many errors.

The most eye catching error because of it's frequency is this:

[junit] ERROR - Property: driver value: org.hsqldb.jdbcDriver is not 
supported by DataSource: 
org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS

have I missed some important step in the pre-build process?

Thanks
-- 
Damien Byrne
Technical Support Consultant

Integria Solutions
Mercantile Chambers
53 Bothwell Street
Glasgow
G2 6TS

Tel: 0141 222 4900
Mob: 07799 382 001

/"Be liberal in what you accept, and conservative in what you send"
Jon Postel/

Re: Compile problems with Jetspeed1 CVS

Posted by Damien Byrne <db...@integria.co.uk>.
Thanks for the reply.  Going through the test reports, I see that most 
of them, seem to be something like this:

Testcase: 
testVerifyEnvironment(org.apache.jetspeed.services.security.registry.TestAccessController):   
Caused an ERROR
Error in BasePeer.initTableSchema(TURBINE_USER): java.sql.SQLException: 
The database is already in use by another process
java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): 
java.sql.SQLException: The database is already in use by another process
        at 
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTurbineUserPeer.java:154)
        at 
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clinit>(BaseTurbineUserPeer.java:128)
        at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(TurbineUserManagement.java:136)
        at 
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:59)
        at 
org.apache.jetspeed.services.JetspeedSecurity.getUser(JetspeedSecurity.java:240)
        at 
org.apache.jetspeed.services.security.registry.TestAccessController.testVerifyEnvironment(TestAccessController.java:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Now some of the other database related test seem to work fine (that I 
can tell).  Why are these tests throwing this exception?  I have been 
following the instructions on: 
http://portals.apache.org/jetspeed-1/install.html and have downloaded 
from CVS (most recently I think Friday evening UK) and am trying to 
build a war file.  Is there any other command than "maven war" that 
needs to be entered?

Any help would be appreciated.

Thanks
Damien

(By the way, for replying to posts, does this list prefer top posting or 
bottom posting?)

Re: Compile problems with Jetspeed1 CVS

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Aug 11, 2004, at 11:42 AM, Damien Byrne wrote:

> Three quick things:
>
> 1.  There is a hsqldb directory in my .maven repository (C:\Documents 
> and Settings\Damien\.maven\repository\hsqldb\jars\hsqldb-1.7.1.jar)
> How does the class get discovered in the build process, does there 
> need to be any kind of class path reference to the repository?
>
During the build, we connect to HSQL via a configurable port
For the last few months, I've been doing all my builds against MySQL, 
which works well too

> 2.  The only environment variable I have for maven is the MAVEN_HOME 
> variable that points to c:\java\maven so the program location and 
> there is no explicit reference to the .maven directories in my home 
> drive.
>
> 3.  This is at the end of every failed build:
> BUILD FAILED
> File...... C:\Documents and 
> Settings\Damien\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
> Element... fail
> Line...... 181
> Column.... 54
> There were test failures.
> Total time: 10 minutes 21 seconds
> Finished at: Wed Aug 11 19:36:15 BST 2004
>

It means that there were test failures, which could have been caused by 
the database not being started or any number of reasons
Check your target/test-reports directory for details



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Re: Compile problems with Jetspeed1 CVS

Posted by Damien Byrne <db...@integria.co.uk>.
Three quick things:

1.  There is a hsqldb directory in my .maven repository (C:\Documents 
and Settings\Damien\.maven\repository\hsqldb\jars\hsqldb-1.7.1.jar)
How does the class get discovered in the build process, does there need 
to be any kind of class path reference to the repository?

2.  The only environment variable I have for maven is the MAVEN_HOME 
variable that points to c:\java\maven so the program location and there 
is no explicit reference to the .maven directories in my home drive.

3.  This is at the end of every failed build:
BUILD FAILED
File...... C:\Documents and 
Settings\Damien\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
Element... fail
Line...... 181
Column.... 54
There were test failures.
Total time: 10 minutes 21 seconds
Finished at: Wed Aug 11 19:36:15 BST 2004

At first I thought that this might mean that the plugin.jelly was broken 
or something, but now I'm assuming that that is not so.  Am I right?

Thanks

Damien


Scott T. Weaver wrote:

> The maven allBuild command should be downloading HSQL automatically 
> into your local maven repository.
>
> Damien Byrne wrote:
>
>> Hi again.
>>
>> I think that I have sorted the problem, both jetspeed 1 and jetspeed 
>> 2 complain that they can't find org.hsqldb.jdbcDriver
>> Where should this driver be located?  I found a file called 
>> hsqldb.jar among the jetspeed 2 files, but I'm not sure if that is 
>> the right one, or where it should be.
>>
>> Can anyone tell me what's going on?
>>
>> Thanks
>> Damien
>>
>> Damien Byrne wrote:
>>
>>> Hey guys.
>>> I've tried to compile jetspeed 1 and have come across many errors.
>>>
>>> The most eye catching error because of it's frequency is this:
>>>
>>> [junit] ERROR - Property: driver value: org.hsqldb.jdbcDriver is not 
>>> supported by DataSource: 
>>> org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
>>>
>>> have I missed some important step in the pre-build process?
>>>
>>> Thanks
>>
>>
>>
>
>

Re: Compile problems with Jetspeed1 CVS

Posted by "Scott T. Weaver" <sc...@binary-designs.net>.
The maven allBuild command should be downloading HSQL automatically into 
your local maven repository.

Damien Byrne wrote:

> Hi again.
>
> I think that I have sorted the problem, both jetspeed 1 and jetspeed 2 
> complain that they can't find org.hsqldb.jdbcDriver
> Where should this driver be located?  I found a file called hsqldb.jar 
> among the jetspeed 2 files, but I'm not sure if that is the right one, 
> or where it should be.
>
> Can anyone tell me what's going on?
>
> Thanks
> Damien
>
> Damien Byrne wrote:
>
>> Hey guys.
>> I've tried to compile jetspeed 1 and have come across many errors.
>>
>> The most eye catching error because of it's frequency is this:
>>
>> [junit] ERROR - Property: driver value: org.hsqldb.jdbcDriver is not 
>> supported by DataSource: 
>> org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
>>
>> have I missed some important step in the pre-build process?
>>
>> Thanks
>
>


-- 
*******************************************
*           Scott T. Weaver               *
*         <we...@apache.org>             *
*     <http://www.einnovation.com>        *
* --------------------------------------  *
*   Apache Jetspeed Enterprise Portal     *
*     Apache Pluto Portlet Container      *
*                                         *
* OpenEditPro, Website Content Management *
*     <http://www.openeditpro.com>        *
*******************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Re: Compile problems with Jetspeed1 CVS

Posted by Damien Byrne <db...@integria.co.uk>.
Hi again.

I think that I have sorted the problem, both jetspeed 1 and jetspeed 2 
complain that they can't find org.hsqldb.jdbcDriver
Where should this driver be located?  I found a file called hsqldb.jar 
among the jetspeed 2 files, but I'm not sure if that is the right one, 
or where it should be.

Can anyone tell me what's going on?

Thanks
Damien

Damien Byrne wrote:

> Hey guys.
> I've tried to compile jetspeed 1 and have come across many errors.
>
> The most eye catching error because of it's frequency is this:
>
> [junit] ERROR - Property: driver value: org.hsqldb.jdbcDriver is not 
> supported by DataSource: 
> org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
>
> have I missed some important step in the pre-build process?
>
> Thanks