-
1. Re: gadgets & mod_jk - mod_proxy
kien_nguyen Aug 13, 2010 1:05 PM (in response to corep105)You should use JkMount /* or JkMount /portal/*
if not working, please show me your detail configurations
-
2. Re: gadgets & mod_jk - mod_proxy
corep105 Aug 16, 2010 2:29 AM (in response to kien_nguyen)my jkmounts are as follows:
JkUnMount "/503.html" WRK_PORTALTEST
JkUnMount "/html/*" WRK_PORTALTEST
JkMount "/*" WRK_PORTALTEST
and worker.properties:
# WRK_PORTALTEST
worker.WRK_PORTALTEST.type=ajp13
worker.WRK_PORTALTEST.host=localhost
worker.WRK_PORTALTEST.port=8009
worker.WRK_PORTALTEST.socket_timeout=10
worker.WRK_PORTALTEST.lbfactor=10
worker.WRK_PORTALTEST.socket_keepalive=true
everything with the portal works except gadgets.
-
3. Re: gadgets & mod_jk - mod_proxy
corep105 Aug 17, 2010 10:24 AM (in response to corep105)hmmm - looks like i have to look into this a bit more. If i use proxypass with hostname instead of 127.0.0.1 or localhost i have the same problem.
Regards
Kåre
-
4. Re: gadgets & mod_jk - mod_proxy
kien_nguyen Aug 17, 2010 11:37 AM (in response to corep105)Hi,
Look as if you are missing declaration of workers list, such as worker.list=WRK_PORTALTEST
...
everything with the portal works except gadgets.
If you don't have workers list declaration, Apache2 starting process will has error. I wonder when you said the portal works?
The correct worker.properties as yours:
# WRK_PORTALTEST
worker.list=WRK_PORTALTEST
worker.WRK_PORTALTEST.type=ajp13
worker.WRK_PORTALTEST.host=localhost
worker.WRK_PORTALTEST.port=8009
worker.WRK_PORTALTEST.socket_timeout=10
worker.WRK_PORTALTEST.lbfactor=10
worker.WRK_PORTALTEST.socket_keepalive=true
They worked in my testing.
-
5. Re: gadgets & mod_jk - mod_proxy
corep105 Aug 18, 2010 2:58 AM (in response to corep105)i have looked into it a bit more and only using mod_proxy the problem manifests itself like this:
apache2 as frontend
mod_proxy enabled
VirtualHost *:80
Servername PORTALTEST
in the virtualhost section i have:
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>ProxyPass / http://PORTALTEST:8080/
ProxyPassReverse / http://PORTALTEST:8080/and it is not working with gadgets. Everything else on the portal is working. If i change the hostname to either localhost or 127.0.0.1 then gadgets are working.
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/am i the only one with this problem?
Regards
Kåre Pedersen
-
6. Re: gadgets & mod_jk - mod_proxy
corep105 Aug 19, 2010 2:54 AM (in response to corep105)looks like we have something in our skin/theme that triggers the error - it works with a plain stock gatein.
Sorry - a dev issue in our environment apparently.
Thanks for the help anyways :-)
Regards
Kåre
-
7. Re: gadgets & mod_jk - mod_proxy
corep105 Aug 23, 2010 3:02 AM (in response to corep105)looks like the problem was an update to vmware-tools on our test server. It works every where else - so conclusion seems to be with vmware-tools. Can't explain why or what the problem is, but if i move gatein to another machine the same setup works.
Thanks for help etc. :-)
/Kåre
-
8. Re: gadgets & mod_jk - mod_proxy
kien_nguyen Aug 23, 2010 3:14 AM (in response to corep105)Congrats to you
Regards,
Kien