• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Liferay 6.0.5 and Tomcat JDBC Connection Pooling

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just tried my hands on getting Liferay up and running on my machine with a MySQL database. But I encountered the following error:



My portal-ext.properties located under


The Liferay documentation does not mention anything more that needs to be done for 6.2. I seriously doubt if this is correct. Without configuring anything in the Tomcat context path, how would Tomcat know about this JNDI name? And where and how would tomcat find out to look for the datasource configured for this JNDI name?
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Added the following to ROOT.xml (between the context tags) located under tomcat >> conf >> catalina >> localhost and everything worked perfectly.


Make sure also that lportal database exists.

Also make sure that the & after true in the url is & amp ; (without spaces though)


 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to remove the liferay.com system group? I have been trying to do that since morning but without success.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic