Fórum

usage help: 2 questions

Peter De Lucia, modificado 15 Anos atrás.

usage help: 2 questions

New Member Postagens: 12 Data de Entrada: 07/01/09 Postagens Recentes
Hello,

I am new to liferay and have two dumb questions:

1. how/where do I set the http proxy for accessing external sites?

2. How easy/hard is it to embed and existing web application inside liferay?


thank you for any help in advance,
peter.
thumbnail
Jonas Yuan, modificado 15 Anos atrás.

RE: usage help: 2 questions

Liferay Master Postagens: 993 Data de Entrada: 27/04/07 Postagens Recentes
Hi Peter,

Here are quick answers (it is simple):

1. how/where do I set the http proxy for accessing external sites?

use Web Proxy Portlet

2. How easy/hard is it to embed and existing web application inside liferay?

use IFrame Portlet.

Liferay portal is robust. You can integrate exiting applications at different levels

Thanks

Jonas Yuan

Liferay Book: Liferay Portal Enterprise Intranets
Peter De Lucia, modificado 15 Anos atrás.

RE: usage help: 2 questions

New Member Postagens: 12 Data de Entrada: 07/01/09 Postagens Recentes
Thanks for responding Jonas.


1. web proxy portlet:
a. I tried using this to simply go to http://news.google.com setting my proxy but get errors:
b. I want to consolidate and use the RSS portlet to get external RSS feeds... how can I do this with the web proxy portlet?

2. iFrame:
I am able to do this. how can I stop the links in the application from opening a new window?

Thank you!
Peter.
Peter De Lucia, modificado 15 Anos atrás.

RE: usage help: 2 questions

New Member Postagens: 12 Data de Entrada: 07/01/09 Postagens Recentes
Can anyone please help setting liferay to use a webproxy?

this is becoming a problem.

I have created a system-ext.properties and placed this file in the INSTALLDIR/conf directory and the RSS portlet still cannot get to the internet.


thank you very much,
Peter.
thumbnail
Santh Chetan Chadalavada, modificado 15 Anos atrás.

Re: [Liferay Forums][2. Using Liferay] RE: usage help: 2 questions

Junior Member Postagens: 52 Data de Entrada: 16/05/08 Postagens Recentes
Hi Peter,
Did you add proxy IP address or domain name. Check if you are able to
ping the proxy with ip?
Peter De Lucia from liferay.com wrote:
> Can anyone please help setting liferay to use a webproxy?
>
> this is becoming a problem.
> and
> I have created a system-ext.properties and placed this file in the
> INSTALLDIR/conf directory and the RSS portlet still cannot get to the
> internet.
>
>
> thank you very much,
> Peter.
> --
> Liferay Message Boards
> http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2009153
> mb.312107.2009153@events.liferay.com
> http://www.liferay.com
Peter De Lucia, modificado 15 Anos atrás.

RE: Re: [Liferay Forums][2. Using Liferay] RE: usage help: 2 questions

New Member Postagens: 12 Data de Entrada: 07/01/09 Postagens Recentes
Thanks for responding.

I can ping the proxy successfully. It is the same proxy that my browser uses so I know it works.

How/where do I set the proxy in Liferay?
(where do I put the system-ext.properties file?

thank you!
Peter.
Pierluigi Perrucci, modificado 15 Anos atrás.

RE: Re: [Liferay Forums][2. Using Liferay] RE: usage help: 2 questions

New Member Postagens: 2 Data de Entrada: 12/01/09 Postagens Recentes
Try to put that file in <TomcatDir>/webapps/ROOT/WEB-INF/classes
thumbnail
Santh Chetan Chadalavada, modificado 15 Anos atrás.

Re: [Liferay Forums][2. Using Liferay] RE: usage help: 2 questions

Junior Member Postagens: 52 Data de Entrada: 16/05/08 Postagens Recentes
system-ext.properties and portal-ext.properties should be in portal app
classpath. ROOT/WEB-INF/classes

For more info on http proxy settings, just extract portal-impl.jar and
see "HTTP" section in portal.properties and system.properties files.

Pierluigi Perrucci from liferay.com wrote:
> Try to put that file in <TomcatDir>/webapps/ROOT/WEB-INF/classes
> --
> Liferay Message Boards
> https://www.liferay.com/web/guest/community/forums/-/message_boards/message/2065454
> mb.312107.2065454@events.liferay.com
> http://www.liferay.com
Peter De Lucia, modificado 15 Anos atrás.

RE: Re: [Liferay Forums][2. Using Liferay] RE: usage help: 2 questions

New Member Postagens: 12 Data de Entrada: 07/01/09 Postagens Recentes
I tried the below and it still does not seem to work. I tried getting the google news rss feed using the rss portlet and I am getting "unknown host" exceptions.

"rss java.net.UnknownHostException: news.google.com"

Any other suggestions?

thank you,
peter.


>system-ext.properties and portal-ext.properties should be in portal app
>classpath. ROOT/WEB-INF/classes
>
>For more info on http proxy settings, just extract portal-impl.jar and
>see "HTTP" section in portal.properties and system.properties files
thumbnail
Santh Chetan Chadalavada, modificado 15 Anos atrás.

Re: [Liferay Forums][2. Using Liferay] RE: usage help: 2 questions

Junior Member Postagens: 52 Data de Entrada: 16/05/08 Postagens Recentes
Add news.google.com's IP map in your hosts file.

Peter De Lucia from liferay.com wrote:
> I tried the below and it still does not seem to work. I tried getting
> the google news rss feed using the rss portlet and I am getting
> "unknown host" exceptions.
>
> "rss java.net.UnknownHostException: news.google.com"
>
> Any other suggestions?
>
> thank you,
> peter.
>
>
> >system-ext.properties and portal-ext.properties should be in portal app
> >classpath. ROOT/WEB-INF/classes
> >
> >For more info on http proxy settings, just extract portal-impl.jar and
> >see "HTTP" section in portal.properties and system.properties files
> --
> Liferay Message Boards
> http://www.liferay.com/web/guest/community/forums/-/message_boards/message/2078446
> mb.312107.2078446@events.liferay.com
> http://www.liferay.com
Peter De Lucia, modificado 15 Anos atrás.

RE: Re: [Liferay Forums][2. Using Liferay] RE: usage help: 2 questions

New Member Postagens: 12 Data de Entrada: 07/01/09 Postagens Recentes
I'll give that a shot. Why do I have to do this though? shouldn't the name get resolved from my proxy?

thanks,
peter.