cancel
Showing results for 
Search instead for 
Did you mean: 

c3p0-0.9.1-pre6.jar and 1.4.0 SDK

fshipley
Champ in-the-making
Champ in-the-making
I've just upgraded to 1.4.0 and noticed that the c3p0-0.9.1-pre6.jar is no longer present in the alfresco-community-tomcat-1.4.0.zip. It is not present in the SDK neither. However it is still configured in the Eclipse SDK AlfrescoEmbedded project as a library on the java build path. I had to copy the c3p0-0.9.1-pre6.jar from a previous version into the lib/server/dependencies directory of the 1.4.0 SDK in order to build my project. I am using com.mchange.v2.c3p0.ComboPooledDataSource as a datasource.
5 REPLIES 5

davidc
Star Contributor
Star Contributor
In v1.4, we moved away from c3p0 back to dbcp (for various concurrency, performance reasons).

Unfortunately, we missed the SDK project dependency.  That'll get fixed.

I would suggest using dbcp, unless you have a compelling reason to stick w/ c3p0.

dado
Champ in-the-making
Champ in-the-making
It appears that SDK 1.4 is missing these 2 projects.

SDK AlfrescoEmbedded - this project provides references to the libraries required for Alfresco Embedded use.
SDK AlfrescoRemote - this project provides references to the libraries required for Alfresco Remote use.

I see all the other sample projects depends on these projects being present.

renspr
Champ in-the-making
Champ in-the-making
It appears that SDK 1.4 is missing these 2 projects.

SDK AlfrescoEmbedded - this project provides references to the libraries required for Alfresco Embedded use.
SDK AlfrescoRemote - this project provides references to the libraries required for Alfresco Remote use.

Thats not right. The SDK contains the projects. In Eclipse select "File -> Import… -> Existing Projects into workspace". Click "Next". Then select the root folder of the Alfresco SDK. Select all projects. Click "Finish".

The problem is, that c3p0-0.9.1-pre6.jar is no longer present in the SDK but the SDK AlfrescoEmbedded project has still a reference to it which leads to a build error. Because the other projects depend on AlfrescoEmbedded they also have build errors. Just open the project properties of AlfrescoEmebedded in Eclipse, select "Java Build Path -> Libraries" and remove the dependency to c3p0-0.9.1-pre6.jar. Now all projects are fine and can be run inside Eclipse.

rook
Champ in-the-making
Champ in-the-making
thank you for your reactivity ,the crosses have disappeared .

dado
Champ in-the-making
Champ in-the-making
thanks i am up & running now
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.