[openCRX-developers] Deploying the sample custom project
professional CRM and groupware service, ready for the cloud
Brought to you by:
wfro
|
From: Lorenz S. <lor...@gm...> - 2010-03-25 11:18:13
|
Hi To all those following the custom-project guide in the wiki[1], succeeding to build and deploy that thing, enthusiastically entering the standard credentials at the login screen only to discover that they never get past that damn thing wading through tons of stacktraces in the catalina log file... just add the following directive to your web.xml (sample/src/data/org.opencrx.sample/WEB-INF/web.xml): <resource-ref> <res-ref-name>jdbc_opencrx_CRX</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> Or apply the attached patch: $ cd /path/to/opencrx-custom $ patch -p0 /path/to/fix-missing-jdbc-ref.patch It would be nice if someone could update the opencrx-sample projects on the wiki. Should i submit a ticket for that? Cheers Lorenz 1) http://sourceforge.net/apps/trac/opencrx/wiki/Sdk24.CustomProject |