Fórumok

Context initialization failed

Martin Knotek, módosítva 12 év-val korábban

Context initialization failed

New Member Bejegyzések: 2 Csatlakozás dátuma: 2011.10.06. Legújabb bejegyzések
Hi,
I’m trying use MySQL as DB for Liferay. I had working version Liferay 6 with Tomcat and default Hypersonic (liferay-portal-tomcat-6.0.6-20110225.zip)
Then I have tried use MySQL, I made following steps
- Installed MySQL, created DB, created User, setup rights, ran mysql script
- Changed ROOT.XML
- Downloaded portal.properties, changed DB configuration
Now im getting lots of issues, I have tried google but without success. Had someone same issue?
Log is attached.
Regards
Martin Knotek, módosítva 12 év-val korábban

RE: Context initialization failed (Válasz)

New Member Bejegyzések: 2 Csatlakozás dátuma: 2011.10.06. Legújabb bejegyzések
Problem solved, i found other setup manual, which describes configuration with portal-ext.properties.
So you must not download portal.properties, you must create portal-ext.properties only with db configuration :
#
# MySQL
#
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=lportal
jdbc.default.password=lportal