掲示板
Liferay with Apache web Server
11年前 に padmalaya pradhani によって更新されました。
Liferay with Apache web Server
New Member 投稿: 10 参加年月日: 12/03/16 最新の投稿
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
11年前 に Subhasis Roy によって更新されました。
RE: Liferay with Apache web Server
Expert 投稿: 275 参加年月日: 12/01/20 最新の投稿
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/
11年前 に padmalaya pradhani によって更新されました。
RE: Liferay with Apache web Server
New Member 投稿: 10 参加年月日: 12/03/16 最新の投稿
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
11年前 に Ravi Kumar Gupta によって更新されました。
RE: Liferay with Apache web Server
Liferay Legend 投稿: 1302 参加年月日: 09/06/24 最新の投稿
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
11年前 に David H Nebinger によって更新されました。
RE: Liferay with Apache web Server
Liferay Legend 投稿: 14916 参加年月日: 06/09/02 最新の投稿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
11年前 に Ravi Kumar Gupta によって更新されました。
RE: Liferay with Apache web Server
Liferay Legend 投稿: 1302 参加年月日: 09/06/24 最新の投稿
David, I will try the links shared by you as well.
11年前 に Jitendra Pant によって更新されました。
RE: Liferay with Apache web Server
New Member 投稿: 2 参加年月日: 13/01/31 最新の投稿David 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
10年前 に Andrea Pravato によって更新されました。
RE: Liferay with Apache web Server
New Member 投稿: 3 参加年月日: 13/05/01 最新の投稿
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
10年前 に David H Nebinger によって更新されました。
RE: Liferay with Apache web Server
Liferay Legend 投稿: 14916 参加年月日: 06/09/02 最新の投稿
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
11年前 に Subhasis Roy によって更新されました。
RE: Liferay with Apache web Server
Expert 投稿: 275 参加年月日: 12/01/20 最新の投稿padmalaya 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.
11年前 に Hitoshi Ozawa によって更新されました。
RE: Liferay with Apache web Server
Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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.