You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Ruben Fragoso <ru...@tap.pt> on 2006/11/24 16:04:51 UTC

Web Services and UserManager

Hi all

	i have a question, i have read in serveral sites, that jetspeed
implements WebServices, however i did not saw anywhere how to make one, the
point is trying to get some webservice for jetspeed for an outside
application to be able to create users in jetspeed, without accessing
directly to the jetspeed database. Did anyone hever made a web service for
jetspeed?


Best Regards
Ruben Fragoso 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Running Jetspeed behind Apache Proxy

Posted by Bhaskar Roy <br...@platformexchange.com>.
One more issue, Stylesheets are not processed in first hit, once I
refresh, then it comes fine, till I clear my cache.

Thanks
Bhaskar

On Sat, 2006-11-25 at 16:44, Philip Mark Donaghy wrote:
> Hi Bhaskar,
> 
> I use mod_proxy_ajp with apache 2.2 and tomcat 5.5.17 on SuSE 10.0 It
> is a piece of cake (expression meaning very easy).
> 
> For each webapp you declare a similar proxy pass:
> 
> ProxyPass /jetspeed ajp://127.0.0.1:8009/jetspeed
> 
> The apache modules are configured in /etc/sysconfig/apache2. Include
> proxy_ajp in the APACHE_MODULES directive.
> 
> I also set up secure login for Jetspeed. But this is classic apache
> stuff. See my blog.
> 
> Regarding the layout. Some screens that are not very wide place the
> <div> tags below one another. You can change the width of the columns
> in the portlet.xml from the jetspeed-layouts portlet.
> 
> Philip
> 
> On 25 Nov 2006 12:28:48 +0530, Bhaskar Roy <br...@platformexchange.com> wrote:
> > Finally I got most of the things working, except one major issue, I am
> > using jetspeed::VelocityTwoColumnsSmallLeft Layout, the second portlet
> > shows up at the bottom, instead of right.
> >
> > I checked the Admin protlets, same problem, looks like a bug in jetspeed
> >
> > <Location /jetspeed/>
> >         RequestHeader set Referer http://localhost:8080
> >         ProxyPass http://localhost:8080/jetspeed/
> >         ProxyPassReverse http://localhost:8080/jetspeed
> >         SetOutputFilter  proxy-html
> >         ProxyHTMLURLMap http://localhost:8080 http://<MYSERVER>
> >         RequestHeader    unset  Accept-Encoding
> > </Location>
> >
> > here is my config for proxy
> >
> > On Fri, 2006-11-24 at 21:22, Bhaskar wrote:
> > > I tried all suggestions found in web, it works partially, sometimes
> > getting
> > > image problem, sometimes URLs are not re-written.
> > >
> > > Any idea?
> > >
> > > Thanks
> > > Bhaskar
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> > --
> > Regards,
> >
> > Bhaskar Roy
> >
> > CTO PlatformExchange Inc
> > +1-415-661-8910
> > +91-9886081541
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
-- 
Regards,

Bhaskar Roy

CTO PlatformExchange Inc
+1-415-661-8910
+91-9886081541


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Running Jetspeed behind Apache Proxy

Posted by Bhaskar <br...@platformexchange.com>.
Thanks for your suggestion; I will try with the latest.

Bhaskar

-----Original Message-----
From: Philip Mark Donaghy [mailto:philip.donaghy@gmail.com] 
Sent: Monday, November 27, 2006 4:08 PM
To: Jetspeed Users List
Subject: Re: Running Jetspeed behind Apache Proxy

Hi, I do see your problem,

On 11/27/06, Bhaskar <br...@platformexchange.com> wrote:
> Hi Philip,
>
> Thanks again, I also thought about similar solution, anyway this is not
the
> major issue.

I also saw this problem back in the 2.0 release. What version are you
using? You may have to upgrade. I just don't have any other
suggestions to solve this issue.

Philip

>
> The major problem is Stylesheet processing, unless I hit the Refresh,
first
> time the stylesheets are not processed, you can see my test server -
>
> http://icarez.dnsdojo.com/jetspeed/
>
> Thanks again!
> Bhaskar
>
> -----Original Message-----
> From: Philip Mark Donaghy [mailto:philip.donaghy@gmail.com]
> Sent: Sunday, November 26, 2006 3:39 PM
> To: Jetspeed Users List; broy@platformexchange.com
> Subject: Re: Running Jetspeed behind Apache Proxy
>
> Good day,
>
> On 26 Nov 2006 08:22:21 +0530, Bhaskar Roy <br...@platformexchange.com>
> wrote:
> > Hi Philip,
> >
> > Thanks for your inputs, it works fine, but one thing, which I wanted to
> > do like http proxy, map a different name, like instead of /jetspeed, use
> > /xyz, so user doesn't see the jetspeed extension
> >
> > ProxyPass /xyz ajp://127.0.0.1:8009/jetspeed
> >
> > This didn't work, any idea???
>
> Yes, normally with jetspeed you would generate a portal development
> using the maven plugin. But this requires that you understand maven
> and it's features (limitations?). I found this to be too complicated
> and I wasted too much time trying to make it work.
>
> The quick and dirty way is to change the context path in
> $CATALINA_HOME/conf/Catalina/localhost/jetspeed.xml from /jetspeed to
> /xyz
>
> <Context path="/xyz" docBase="xyz" .....>
>
> I did this and had to delete the jetspeed.war and change
> webapps/jetspeed to webapps/xyz
>
> I also did it on a system that had been running jetspeed for a while
> under the context /jetspeed so in case anyone has a bookmark do
> something like this.
>
> ProxyPass /jetspeed ajp://127.0.0.1:8009/xyz
> ProxyPass /xyz ajp://127.0.0.1:8009/xyz
>
> Warning, doing this will have an impact on your development process.
> It may not be the best practice but it is easier than working with the
> jetspeed plugin and a capricious maven.
>
> Philip
>
> >
> > Thanks again,
> > Bhaskar
> >
> > On Sat, 2006-11-25 at 16:44, Philip Mark Donaghy wrote:
> > > Hi Bhaskar,
> > >
> > > I use mod_proxy_ajp with apache 2.2 and tomcat 5.5.17 on SuSE 10.0 It
> > > is a piece of cake (expression meaning very easy).
> > >
> > > For each webapp you declare a similar proxy pass:
> > >
> > > ProxyPass /jetspeed ajp://127.0.0.1:8009/jetspeed
> > >
> > > The apache modules are configured in /etc/sysconfig/apache2. Include
> > > proxy_ajp in the APACHE_MODULES directive.
> > >
> > > I also set up secure login for Jetspeed. But this is classic apache
> > > stuff. See my blog.
> > >
> > > Regarding the layout. Some screens that are not very wide place the
> > > <div> tags below one another. You can change the width of the columns
> > > in the portlet.xml from the jetspeed-layouts portlet.
> > >
> > > Philip
> > >
> > > On 25 Nov 2006 12:28:48 +0530, Bhaskar Roy <br...@platformexchange.com>
> wrote:
> > > > Finally I got most of the things working, except one major issue, I
am
> > > > using jetspeed::VelocityTwoColumnsSmallLeft Layout, the second
portlet
> > > > shows up at the bottom, instead of right.
> > > >
> > > > I checked the Admin protlets, same problem, looks like a bug in
> jetspeed
> > > >
> > > > <Location /jetspeed/>
> > > >         RequestHeader set Referer http://localhost:8080
> > > >         ProxyPass http://localhost:8080/jetspeed/
> > > >         ProxyPassReverse http://localhost:8080/jetspeed
> > > >         SetOutputFilter  proxy-html
> > > >         ProxyHTMLURLMap http://localhost:8080 http://<MYSERVER>
> > > >         RequestHeader    unset  Accept-Encoding
> > > > </Location>
> > > >
> > > > here is my config for proxy
> > > >
> > > > On Fri, 2006-11-24 at 21:22, Bhaskar wrote:
> > > > > I tried all suggestions found in web, it works partially,
sometimes
> > > > getting
> > > > > image problem, sometimes URLs are not re-written.
> > > > >
> > > > > Any idea?
> > > > >
> > > > > Thanks
> > > > > Bhaskar
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
jetspeed-user-unsubscribe@portals.apache.org
> > > > > For additional commands, e-mail:
> jetspeed-user-help@portals.apache.org
> > > > --
> > > > Regards,
> > > >
> > > > Bhaskar Roy
> > > >
> > > > CTO PlatformExchange Inc
> > > > +1-415-661-8910
> > > > +91-9886081541
> > > >
> > > >
> > > >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > > For additional commands, e-mail:
jetspeed-user-help@portals.apache.org
> > > >
> > > >
> > --
> > Regards,
> >
> > Bhaskar Roy
> >
> > CTO PlatformExchange Inc
> > +1-415-661-8910
> > +91-9886081541
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
>
>
> --
> Philip Donaghy
> donaghy.blogspot.com del.icio.us/donaghy/philip
> Skype: philipmarkdonaghy
> Office: +33 5 56 60 88 02
> Mobile: +33 6 20 83 22 62
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Running Jetspeed behind Apache Proxy

Posted by Philip Mark Donaghy <ph...@gmail.com>.
Hi, I do see your problem,

On 11/27/06, Bhaskar <br...@platformexchange.com> wrote:
> Hi Philip,
>
> Thanks again, I also thought about similar solution, anyway this is not the
> major issue.

I also saw this problem back in the 2.0 release. What version are you
using? You may have to upgrade. I just don't have any other
suggestions to solve this issue.

Philip

>
> The major problem is Stylesheet processing, unless I hit the Refresh, first
> time the stylesheets are not processed, you can see my test server -
>
> http://icarez.dnsdojo.com/jetspeed/
>
> Thanks again!
> Bhaskar
>
> -----Original Message-----
> From: Philip Mark Donaghy [mailto:philip.donaghy@gmail.com]
> Sent: Sunday, November 26, 2006 3:39 PM
> To: Jetspeed Users List; broy@platformexchange.com
> Subject: Re: Running Jetspeed behind Apache Proxy
>
> Good day,
>
> On 26 Nov 2006 08:22:21 +0530, Bhaskar Roy <br...@platformexchange.com>
> wrote:
> > Hi Philip,
> >
> > Thanks for your inputs, it works fine, but one thing, which I wanted to
> > do like http proxy, map a different name, like instead of /jetspeed, use
> > /xyz, so user doesn't see the jetspeed extension
> >
> > ProxyPass /xyz ajp://127.0.0.1:8009/jetspeed
> >
> > This didn't work, any idea???
>
> Yes, normally with jetspeed you would generate a portal development
> using the maven plugin. But this requires that you understand maven
> and it's features (limitations?). I found this to be too complicated
> and I wasted too much time trying to make it work.
>
> The quick and dirty way is to change the context path in
> $CATALINA_HOME/conf/Catalina/localhost/jetspeed.xml from /jetspeed to
> /xyz
>
> <Context path="/xyz" docBase="xyz" .....>
>
> I did this and had to delete the jetspeed.war and change
> webapps/jetspeed to webapps/xyz
>
> I also did it on a system that had been running jetspeed for a while
> under the context /jetspeed so in case anyone has a bookmark do
> something like this.
>
> ProxyPass /jetspeed ajp://127.0.0.1:8009/xyz
> ProxyPass /xyz ajp://127.0.0.1:8009/xyz
>
> Warning, doing this will have an impact on your development process.
> It may not be the best practice but it is easier than working with the
> jetspeed plugin and a capricious maven.
>
> Philip
>
> >
> > Thanks again,
> > Bhaskar
> >
> > On Sat, 2006-11-25 at 16:44, Philip Mark Donaghy wrote:
> > > Hi Bhaskar,
> > >
> > > I use mod_proxy_ajp with apache 2.2 and tomcat 5.5.17 on SuSE 10.0 It
> > > is a piece of cake (expression meaning very easy).
> > >
> > > For each webapp you declare a similar proxy pass:
> > >
> > > ProxyPass /jetspeed ajp://127.0.0.1:8009/jetspeed
> > >
> > > The apache modules are configured in /etc/sysconfig/apache2. Include
> > > proxy_ajp in the APACHE_MODULES directive.
> > >
> > > I also set up secure login for Jetspeed. But this is classic apache
> > > stuff. See my blog.
> > >
> > > Regarding the layout. Some screens that are not very wide place the
> > > <div> tags below one another. You can change the width of the columns
> > > in the portlet.xml from the jetspeed-layouts portlet.
> > >
> > > Philip
> > >
> > > On 25 Nov 2006 12:28:48 +0530, Bhaskar Roy <br...@platformexchange.com>
> wrote:
> > > > Finally I got most of the things working, except one major issue, I am
> > > > using jetspeed::VelocityTwoColumnsSmallLeft Layout, the second portlet
> > > > shows up at the bottom, instead of right.
> > > >
> > > > I checked the Admin protlets, same problem, looks like a bug in
> jetspeed
> > > >
> > > > <Location /jetspeed/>
> > > >         RequestHeader set Referer http://localhost:8080
> > > >         ProxyPass http://localhost:8080/jetspeed/
> > > >         ProxyPassReverse http://localhost:8080/jetspeed
> > > >         SetOutputFilter  proxy-html
> > > >         ProxyHTMLURLMap http://localhost:8080 http://<MYSERVER>
> > > >         RequestHeader    unset  Accept-Encoding
> > > > </Location>
> > > >
> > > > here is my config for proxy
> > > >
> > > > On Fri, 2006-11-24 at 21:22, Bhaskar wrote:
> > > > > I tried all suggestions found in web, it works partially, sometimes
> > > > getting
> > > > > image problem, sometimes URLs are not re-written.
> > > > >
> > > > > Any idea?
> > > > >
> > > > > Thanks
> > > > > Bhaskar
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > > > For additional commands, e-mail:
> jetspeed-user-help@portals.apache.org
> > > > --
> > > > Regards,
> > > >
> > > > Bhaskar Roy
> > > >
> > > > CTO PlatformExchange Inc
> > > > +1-415-661-8910
> > > > +91-9886081541
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> > > >
> > > >
> > --
> > Regards,
> >
> > Bhaskar Roy
> >
> > CTO PlatformExchange Inc
> > +1-415-661-8910
> > +91-9886081541
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
>
>
> --
> Philip Donaghy
> donaghy.blogspot.com del.icio.us/donaghy/philip
> Skype: philipmarkdonaghy
> Office: +33 5 56 60 88 02
> Mobile: +33 6 20 83 22 62
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Running Jetspeed behind Apache Proxy

Posted by Bhaskar <br...@platformexchange.com>.
Hi Philip,

Thanks again, I also thought about similar solution, anyway this is not the
major issue.

The major problem is Stylesheet processing, unless I hit the Refresh, first
time the stylesheets are not processed, you can see my test server - 

http://icarez.dnsdojo.com/jetspeed/

Thanks again!
Bhaskar

-----Original Message-----
From: Philip Mark Donaghy [mailto:philip.donaghy@gmail.com] 
Sent: Sunday, November 26, 2006 3:39 PM
To: Jetspeed Users List; broy@platformexchange.com
Subject: Re: Running Jetspeed behind Apache Proxy

Good day,

On 26 Nov 2006 08:22:21 +0530, Bhaskar Roy <br...@platformexchange.com>
wrote:
> Hi Philip,
>
> Thanks for your inputs, it works fine, but one thing, which I wanted to
> do like http proxy, map a different name, like instead of /jetspeed, use
> /xyz, so user doesn't see the jetspeed extension
>
> ProxyPass /xyz ajp://127.0.0.1:8009/jetspeed
>
> This didn't work, any idea???

Yes, normally with jetspeed you would generate a portal development
using the maven plugin. But this requires that you understand maven
and it's features (limitations?). I found this to be too complicated
and I wasted too much time trying to make it work.

The quick and dirty way is to change the context path in
$CATALINA_HOME/conf/Catalina/localhost/jetspeed.xml from /jetspeed to
/xyz

<Context path="/xyz" docBase="xyz" .....>

I did this and had to delete the jetspeed.war and change
webapps/jetspeed to webapps/xyz

I also did it on a system that had been running jetspeed for a while
under the context /jetspeed so in case anyone has a bookmark do
something like this.

ProxyPass /jetspeed ajp://127.0.0.1:8009/xyz
ProxyPass /xyz ajp://127.0.0.1:8009/xyz

Warning, doing this will have an impact on your development process.
It may not be the best practice but it is easier than working with the
jetspeed plugin and a capricious maven.

Philip

>
> Thanks again,
> Bhaskar
>
> On Sat, 2006-11-25 at 16:44, Philip Mark Donaghy wrote:
> > Hi Bhaskar,
> >
> > I use mod_proxy_ajp with apache 2.2 and tomcat 5.5.17 on SuSE 10.0 It
> > is a piece of cake (expression meaning very easy).
> >
> > For each webapp you declare a similar proxy pass:
> >
> > ProxyPass /jetspeed ajp://127.0.0.1:8009/jetspeed
> >
> > The apache modules are configured in /etc/sysconfig/apache2. Include
> > proxy_ajp in the APACHE_MODULES directive.
> >
> > I also set up secure login for Jetspeed. But this is classic apache
> > stuff. See my blog.
> >
> > Regarding the layout. Some screens that are not very wide place the
> > <div> tags below one another. You can change the width of the columns
> > in the portlet.xml from the jetspeed-layouts portlet.
> >
> > Philip
> >
> > On 25 Nov 2006 12:28:48 +0530, Bhaskar Roy <br...@platformexchange.com>
wrote:
> > > Finally I got most of the things working, except one major issue, I am
> > > using jetspeed::VelocityTwoColumnsSmallLeft Layout, the second portlet
> > > shows up at the bottom, instead of right.
> > >
> > > I checked the Admin protlets, same problem, looks like a bug in
jetspeed
> > >
> > > <Location /jetspeed/>
> > >         RequestHeader set Referer http://localhost:8080
> > >         ProxyPass http://localhost:8080/jetspeed/
> > >         ProxyPassReverse http://localhost:8080/jetspeed
> > >         SetOutputFilter  proxy-html
> > >         ProxyHTMLURLMap http://localhost:8080 http://<MYSERVER>
> > >         RequestHeader    unset  Accept-Encoding
> > > </Location>
> > >
> > > here is my config for proxy
> > >
> > > On Fri, 2006-11-24 at 21:22, Bhaskar wrote:
> > > > I tried all suggestions found in web, it works partially, sometimes
> > > getting
> > > > image problem, sometimes URLs are not re-written.
> > > >
> > > > Any idea?
> > > >
> > > > Thanks
> > > > Bhaskar
> > > >
> > > >
> > > >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > > For additional commands, e-mail:
jetspeed-user-help@portals.apache.org
> > > --
> > > Regards,
> > >
> > > Bhaskar Roy
> > >
> > > CTO PlatformExchange Inc
> > > +1-415-661-8910
> > > +91-9886081541
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> > >
> > >
> --
> Regards,
>
> Bhaskar Roy
>
> CTO PlatformExchange Inc
> +1-415-661-8910
> +91-9886081541
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Running Jetspeed behind Apache Proxy

Posted by Philip Mark Donaghy <ph...@gmail.com>.
Good day,

On 26 Nov 2006 08:22:21 +0530, Bhaskar Roy <br...@platformexchange.com> wrote:
> Hi Philip,
>
> Thanks for your inputs, it works fine, but one thing, which I wanted to
> do like http proxy, map a different name, like instead of /jetspeed, use
> /xyz, so user doesn't see the jetspeed extension
>
> ProxyPass /xyz ajp://127.0.0.1:8009/jetspeed
>
> This didn't work, any idea???

Yes, normally with jetspeed you would generate a portal development
using the maven plugin. But this requires that you understand maven
and it's features (limitations?). I found this to be too complicated
and I wasted too much time trying to make it work.

The quick and dirty way is to change the context path in
$CATALINA_HOME/conf/Catalina/localhost/jetspeed.xml from /jetspeed to
/xyz

<Context path="/xyz" docBase="xyz" .....>

I did this and had to delete the jetspeed.war and change
webapps/jetspeed to webapps/xyz

I also did it on a system that had been running jetspeed for a while
under the context /jetspeed so in case anyone has a bookmark do
something like this.

ProxyPass /jetspeed ajp://127.0.0.1:8009/xyz
ProxyPass /xyz ajp://127.0.0.1:8009/xyz

Warning, doing this will have an impact on your development process.
It may not be the best practice but it is easier than working with the
jetspeed plugin and a capricious maven.

Philip

>
> Thanks again,
> Bhaskar
>
> On Sat, 2006-11-25 at 16:44, Philip Mark Donaghy wrote:
> > Hi Bhaskar,
> >
> > I use mod_proxy_ajp with apache 2.2 and tomcat 5.5.17 on SuSE 10.0 It
> > is a piece of cake (expression meaning very easy).
> >
> > For each webapp you declare a similar proxy pass:
> >
> > ProxyPass /jetspeed ajp://127.0.0.1:8009/jetspeed
> >
> > The apache modules are configured in /etc/sysconfig/apache2. Include
> > proxy_ajp in the APACHE_MODULES directive.
> >
> > I also set up secure login for Jetspeed. But this is classic apache
> > stuff. See my blog.
> >
> > Regarding the layout. Some screens that are not very wide place the
> > <div> tags below one another. You can change the width of the columns
> > in the portlet.xml from the jetspeed-layouts portlet.
> >
> > Philip
> >
> > On 25 Nov 2006 12:28:48 +0530, Bhaskar Roy <br...@platformexchange.com> wrote:
> > > Finally I got most of the things working, except one major issue, I am
> > > using jetspeed::VelocityTwoColumnsSmallLeft Layout, the second portlet
> > > shows up at the bottom, instead of right.
> > >
> > > I checked the Admin protlets, same problem, looks like a bug in jetspeed
> > >
> > > <Location /jetspeed/>
> > >         RequestHeader set Referer http://localhost:8080
> > >         ProxyPass http://localhost:8080/jetspeed/
> > >         ProxyPassReverse http://localhost:8080/jetspeed
> > >         SetOutputFilter  proxy-html
> > >         ProxyHTMLURLMap http://localhost:8080 http://<MYSERVER>
> > >         RequestHeader    unset  Accept-Encoding
> > > </Location>
> > >
> > > here is my config for proxy
> > >
> > > On Fri, 2006-11-24 at 21:22, Bhaskar wrote:
> > > > I tried all suggestions found in web, it works partially, sometimes
> > > getting
> > > > image problem, sometimes URLs are not re-written.
> > > >
> > > > Any idea?
> > > >
> > > > Thanks
> > > > Bhaskar
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> > > --
> > > Regards,
> > >
> > > Bhaskar Roy
> > >
> > > CTO PlatformExchange Inc
> > > +1-415-661-8910
> > > +91-9886081541
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> > >
> > >
> --
> Regards,
>
> Bhaskar Roy
>
> CTO PlatformExchange Inc
> +1-415-661-8910
> +91-9886081541
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Running Jetspeed behind Apache Proxy

Posted by Bhaskar Roy <br...@platformexchange.com>.
Hi Philip,

Thanks for your inputs, it works fine, but one thing, which I wanted to
do like http proxy, map a different name, like instead of /jetspeed, use
/xyz, so user doesn't see the jetspeed extension

ProxyPass /xyz ajp://127.0.0.1:8009/jetspeed

This didn't work, any idea???

Thanks again,
Bhaskar

On Sat, 2006-11-25 at 16:44, Philip Mark Donaghy wrote:
> Hi Bhaskar,
> 
> I use mod_proxy_ajp with apache 2.2 and tomcat 5.5.17 on SuSE 10.0 It
> is a piece of cake (expression meaning very easy).
> 
> For each webapp you declare a similar proxy pass:
> 
> ProxyPass /jetspeed ajp://127.0.0.1:8009/jetspeed
> 
> The apache modules are configured in /etc/sysconfig/apache2. Include
> proxy_ajp in the APACHE_MODULES directive.
> 
> I also set up secure login for Jetspeed. But this is classic apache
> stuff. See my blog.
> 
> Regarding the layout. Some screens that are not very wide place the
> <div> tags below one another. You can change the width of the columns
> in the portlet.xml from the jetspeed-layouts portlet.
> 
> Philip
> 
> On 25 Nov 2006 12:28:48 +0530, Bhaskar Roy <br...@platformexchange.com> wrote:
> > Finally I got most of the things working, except one major issue, I am
> > using jetspeed::VelocityTwoColumnsSmallLeft Layout, the second portlet
> > shows up at the bottom, instead of right.
> >
> > I checked the Admin protlets, same problem, looks like a bug in jetspeed
> >
> > <Location /jetspeed/>
> >         RequestHeader set Referer http://localhost:8080
> >         ProxyPass http://localhost:8080/jetspeed/
> >         ProxyPassReverse http://localhost:8080/jetspeed
> >         SetOutputFilter  proxy-html
> >         ProxyHTMLURLMap http://localhost:8080 http://<MYSERVER>
> >         RequestHeader    unset  Accept-Encoding
> > </Location>
> >
> > here is my config for proxy
> >
> > On Fri, 2006-11-24 at 21:22, Bhaskar wrote:
> > > I tried all suggestions found in web, it works partially, sometimes
> > getting
> > > image problem, sometimes URLs are not re-written.
> > >
> > > Any idea?
> > >
> > > Thanks
> > > Bhaskar
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> > --
> > Regards,
> >
> > Bhaskar Roy
> >
> > CTO PlatformExchange Inc
> > +1-415-661-8910
> > +91-9886081541
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
-- 
Regards,

Bhaskar Roy

CTO PlatformExchange Inc
+1-415-661-8910
+91-9886081541


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Running Jetspeed behind Apache Proxy

Posted by Philip Mark Donaghy <ph...@gmail.com>.
Hi Bhaskar,

I use mod_proxy_ajp with apache 2.2 and tomcat 5.5.17 on SuSE 10.0 It
is a piece of cake (expression meaning very easy).

For each webapp you declare a similar proxy pass:

ProxyPass /jetspeed ajp://127.0.0.1:8009/jetspeed

The apache modules are configured in /etc/sysconfig/apache2. Include
proxy_ajp in the APACHE_MODULES directive.

I also set up secure login for Jetspeed. But this is classic apache
stuff. See my blog.

Regarding the layout. Some screens that are not very wide place the
<div> tags below one another. You can change the width of the columns
in the portlet.xml from the jetspeed-layouts portlet.

Philip

On 25 Nov 2006 12:28:48 +0530, Bhaskar Roy <br...@platformexchange.com> wrote:
> Finally I got most of the things working, except one major issue, I am
> using jetspeed::VelocityTwoColumnsSmallLeft Layout, the second portlet
> shows up at the bottom, instead of right.
>
> I checked the Admin protlets, same problem, looks like a bug in jetspeed
>
> <Location /jetspeed/>
>         RequestHeader set Referer http://localhost:8080
>         ProxyPass http://localhost:8080/jetspeed/
>         ProxyPassReverse http://localhost:8080/jetspeed
>         SetOutputFilter  proxy-html
>         ProxyHTMLURLMap http://localhost:8080 http://<MYSERVER>
>         RequestHeader    unset  Accept-Encoding
> </Location>
>
> here is my config for proxy
>
> On Fri, 2006-11-24 at 21:22, Bhaskar wrote:
> > I tried all suggestions found in web, it works partially, sometimes
> getting
> > image problem, sometimes URLs are not re-written.
> >
> > Any idea?
> >
> > Thanks
> > Bhaskar
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> --
> Regards,
>
> Bhaskar Roy
>
> CTO PlatformExchange Inc
> +1-415-661-8910
> +91-9886081541
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Running Jetspeed behind Apache Proxy

Posted by Bhaskar Roy <br...@platformexchange.com>.
Finally I got most of the things working, except one major issue, I am
using jetspeed::VelocityTwoColumnsSmallLeft Layout, the second portlet
shows up at the bottom, instead of right.

I checked the Admin protlets, same problem, looks like a bug in jetspeed

<Location /jetspeed/>
        RequestHeader set Referer http://localhost:8080
        ProxyPass http://localhost:8080/jetspeed/
        ProxyPassReverse http://localhost:8080/jetspeed
        SetOutputFilter  proxy-html
        ProxyHTMLURLMap http://localhost:8080 http://<MYSERVER>
        RequestHeader    unset  Accept-Encoding
</Location>

here is my config for proxy

On Fri, 2006-11-24 at 21:22, Bhaskar wrote:
> I tried all suggestions found in web, it works partially, sometimes getting
> image problem, sometimes URLs are not re-written.
> 
> Any idea?
> 
> Thanks
> Bhaskar
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
-- 
Regards,

Bhaskar Roy

CTO PlatformExchange Inc
+1-415-661-8910
+91-9886081541


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Running Jetspeed behind Apache Proxy

Posted by Bhaskar <br...@platformexchange.com>.
I tried all suggestions found in web, it works partially, sometimes getting
image problem, sometimes URLs are not re-written.

Any idea?

Thanks
Bhaskar


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org