Fórum
Liferay with Apache web Server
padmalaya pradhani, modificado 11 Anos atrás.
Liferay with Apache web Server
New Member Postagens: 10 Data de Entrada: 16/03/12 Postagens Recentes
Hi
Can any one help me with simple steps of running liferay instance on apache web server.
I did follow the documentation available in wiki, however the same is not helpful.
Thanks in advance
Padmalaya
Can any one help me with simple steps of running liferay instance on apache web server.
I did follow the documentation available in wiki, however the same is not helpful.
Thanks in advance
Padmalaya
Subhasis Roy, modificado 11 Anos atrás.
RE: Liferay with Apache web Server
Expert Postagens: 275 Data de Entrada: 20/01/12 Postagens Recentes
hi,
please try the following
http://etapix.com/2011/06/14/tomcat-6-0-26-liferay-6-and-apache-web-server-setup/
please try the following
http://etapix.com/2011/06/14/tomcat-6-0-26-liferay-6-and-apache-web-server-setup/
padmalaya pradhani, modificado 11 Anos atrás.
RE: Liferay with Apache web Server
New Member Postagens: 10 Data de Entrada: 16/03/12 Postagens Recentes
Hi Subhasis ,
Thanks for the link!!
I could see I need to make changes in server.xml of Tomcat server and add the following lines
But on including the same I get the below error:
Please help me fix this .
Thanks in advance
Padmalaya
Thanks for the link!!
I could see I need to make changes in server.xml of Tomcat server and add the following lines
<listener classname="”org.apache.jk.config.ApacheConfig”" forwardall="”false”" noroot="”false”" modjk="”/usr/lib/apache2/modules/mod_jk.so”" confighome="”/etc/apache2″" jkconfig="”/etc/apache2/conf/mod_jk.conf”" jkworker="”localtomcat”" jklog="”/var/log/apache2/mod_jk.log”" jkdebug="”debug”" workerconfig="”/etc/apache2/workers.properties”/"></listener>
But on including the same I get the below error:
WARNING: Catalina.start using conf/server.xml:
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:684)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:554)
Please help me fix this .
Thanks in advance
Padmalaya
Ravi Kumar Gupta, modificado 11 Anos atrás.
RE: Liferay with Apache web Server
Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
If I wanted apache in front of liferay, I would be following just two steps. And none of those is on liferay server.
1. Enable mod_proxy, mod_proxy_http
2. Add conf for
<IfModule proxy_module>
<IfModule proxy_http_module>
#
# Reverse Proxy
#
ProxyRequests Off
ProxyPreserveHost Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://rkg.test:8080/
ProxyPassReverse / http://rkg.test:8080/
</IfModule>
</IfModule>
HTH
1. Enable mod_proxy, mod_proxy_http
2. Add conf for
<IfModule proxy_module>
<IfModule proxy_http_module>
#
# Reverse Proxy
#
ProxyRequests Off
ProxyPreserveHost Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://rkg.test:8080/
ProxyPassReverse / http://rkg.test:8080/
</IfModule>
</IfModule>
HTH
David H Nebinger, modificado 11 Anos atrás.
RE: Liferay with Apache web Server
Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens RecentesRavi Kumar Gupta:
If I wanted apache in front of liferay, I would be following just two steps. And none of those is on liferay server.
1. Enable mod_proxy, mod_proxy_http
2. Add conf for
Then you would totally be missing out on the advantages of Apache, including serving static files.
My favorite apache + tomcat reference is here: https://www.dnebinger.com/wiki/-/wiki/Setup+and+Configuration/Fronting+Liferay+Tomcat+with+Apache+HTTPd+daemon
Ravi Kumar Gupta, modificado 11 Anos atrás.
RE: Liferay with Apache web Server
Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
David, I will try the links shared by you as well.
Jitendra Pant, modificado 11 Anos atrás.
RE: Liferay with Apache web Server
New Member Postagens: 2 Data de Entrada: 31/01/13 Postagens RecentesDavid H Nebinger:
Ravi Kumar Gupta:If I wanted apache in front of liferay, I would be following just two steps. And none of those is on liferay server.
1. Enable mod_proxy, mod_proxy_http
2. Add conf for
Then you would totally be missing out on the advantages of Apache, including serving static files.
My favorite apache + tomcat reference is here: https://www.dnebinger.com/wiki/-/wiki/Setup+and+Configuration/Fronting+Liferay+Tomcat+with+Apache+HTTPd+daemon
The link is not working, can you share me some other link where you described it
Andrea Pravato, modificado 10 Anos atrás.
RE: Liferay with Apache web Server
New Member Postagens: 3 Data de Entrada: 01/05/13 Postagens Recentes
I have re-found that, searching in google the title of the article: http://www.liferay.com/web/26526/blog/-/blogs/fronting-liferay-tomcat-with-apache-httpd-daemon
David H Nebinger, modificado 10 Anos atrás.
RE: Liferay with Apache web Server
Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
I reposted it on Liferay.com as a blog entry here: http://www.liferay.com/web/26526/blog/-/blogs/fronting-liferay-tomcat-with-apache-httpd-daemon
Subhasis Roy, modificado 11 Anos atrás.
RE: Liferay with Apache web Server
Expert Postagens: 275 Data de Entrada: 20/01/12 Postagens Recentespadmalaya pradhani:
But on including the same I get the below error:WARNING: Catalina.start using conf/server.xml: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence. at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:684) at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:554)
The Exception occurs when there is some special UTF-8 characters inside a XML file, and SAX’s parser is not configure to parse the UTF-8 properly. I guess there is some special characters in your xml file. Can you please do one thing.
Try to put the double quotes again. I mean to say
forwardAll=”false” --> In this line delete the quote and then again put the quote using key board. Don't copy and paste it from the example I have given.
Hitoshi Ozawa, modificado 11 Anos atrás.
RE: Liferay with Apache web Server
Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Ravi's right. You don't need to edit tomcat server's server.xml file.
You probably added BOM to your xml file.
You probably added BOM to your xml file.