Foros de discusión

apache2/mod_jk/liferay412 config issues

George R Sanders, modificado hace 17 años.

apache2/mod_jk/liferay412 config issues

New Member Mensaje: 1 Fecha de incorporación: 27/10/06 Mensajes recientes
Folks,

Been fighting configuration issues for a couple weeks now, any idea's would be helpful.

What I currently have working:

http:/mydomain/

What I want:

http://mydomain/liferay

I have mod_jk setup with JkMount /* to at least get http://mydomain to work (and it works well).

I've tried suggestions I've read here such as adjusting portal.ctx in portal-ext.properties, adjusting the root-path in web.xml for ROOT and also adjusting the Portal and Home settings in the admin -> enterprise tab of liferay. None of this worked. And it seems that whenever I made any of these changes liferay would always error at startup with jdbc SQL errors like this:

Starting Liferay Portal Professional 4.1.2 (Cowper / Build 3102 / August 31, 2006)
WARN JDBCExceptionReporter - SQL Error: -22, SQLState: S0002
ERROR JDBCExceptionReporter - Table not found in statement [select release0_.releaseId as releaseId25_0_, release0_.createDate as createDate25_0_, release0_.modifiedDate as modified3_25_0_, release0_.buildNumber as buildNum4_25_0_, release0_.buildDate as buildDate25_0_ from Release_ release0_ where release0_.releaseId=?]
ERROR MainServlet - com.liferay.portal.struts.ActionException: com.liferay.portal.struts.ActionException: com.liferay.portal.SystemException: org.hibernate.exception.SQLGrammarException: could not load an entity: [com.liferay.portal.model.Release#1]
WARN JDBCExceptionReporter - SQL Error: -22, SQLState: S0002
ERROR JDBCExceptionReporter - Table not found in statement [select company0_.companyId as companyId5_0_, company0_.key_ as key2_5_0_, company0_.portalURL as portalURL5_0_, company0_.homeURL as homeURL5_0_, company0_.mx as mx5_0_ from Company company0_ where company0_.companyId=?]
ERROR MainServlet - com.liferay.portal.SystemException: org.hibernate.exception.SQLGrammarException: could not load an entity: [com.liferay.portal.model.Company#liferay.com]

What is the trick to get apache2/mod_jk/liferay412 all configured to work with a URL of http://mydomain/liferay ?

Thanks!

geo