Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Martin Knotek
Context initialization failed
October 11, 2011 2:15 AM
Answer

Martin Knotek

Rank: New Member

Posts: 2

Join Date: October 6, 2011

Recent Posts

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
Attachments: ROOT.xml (0.9k), log.txt (34.1k), portal.properties (279.8k)
Martin Knotek
RE: Context initialization failed
October 11, 2011 3:10 AM
Answer

Martin Knotek

Rank: New Member

Posts: 2

Join Date: October 6, 2011

Recent Posts

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