<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-14378</id>
	<title>Nabble - Apache Pluto</title>
	<updated>2009-12-03T00:12:21Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Apache-Pluto-f14378.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apache-Pluto-f14378.html" />
	<subtitle type="html">Pluto is the Reference Implementation of the Java Portlet Specfication. Apache Pluto home is &lt;a href=&quot;http://portals.apache.org/pluto/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26622333</id>
	<title>[jira] Commented: (PLUTO-585) Make pluto more osgi friendly</title>
	<published>2009-12-03T00:12:21Z</published>
	<updated>2009-12-03T00:12:21Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12785221#action_12785221&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12785221#action_12785221&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;David Jencks commented on PLUTO-585:
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;rev 886700 builds bundles instead of plain jars and makes a few osgi package imports optional. &amp;nbsp;I can get all the jars to load in geronimo but don't know if anything works yet.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Make pluto more osgi friendly
&lt;br&gt;&amp;gt; -----------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: PLUTO-585
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-585&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-585&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Pluto
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: general
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: David Jencks
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: David Jencks
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Geronimo needs pluto to come with more osgi support. &amp;nbsp;We don't know yet exactly what this will entail. &amp;nbsp;Some possible bits:
&lt;br&gt;&amp;gt; 1. make the jars into osgi bundles. &amp;nbsp;This should be completely non-controversial and easy.
&lt;br&gt;&amp;gt; 2. use the osgi blueprint service instead of spring. &amp;nbsp;This could be an optional other way of assembling the portal (most likely) or a replacement (I doubt this would be acceptable to everyone at this point).
&lt;br&gt;&amp;gt; 3. Investigate deploying the wars as rfc 66 web app bundles. &amp;nbsp;I'm not sure whether or not this would be useful for geronimo.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-585%29-Make-pluto-more-osgi-friendly-tp26586888p26622333.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26622294</id>
	<title>[jira] Commented: (PLUTO-387) Provide add/remove page functionality to Pluto Portal Driver</title>
	<published>2009-12-03T00:08:20Z</published>
	<updated>2009-12-03T00:08:20Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12785219#action_12785219&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12785219#action_12785219&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;David Jencks commented on PLUTO-387:
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;Somehow the removepage method got lost in the RenderConfigAdminService on the way to 2.0. &amp;nbsp;I added it back in rev 886695.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Provide add/remove page functionality to Pluto Portal Driver
&lt;br&gt;&amp;gt; ------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: PLUTO-387
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-387&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-387&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Pluto
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: portal driver
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.1.0, 1.1.1, 1.1.2, 1.1.3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ajay Panagariya
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Craig Doremus
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.1.4, 1.2.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: pluto-387.patch, pluto-387.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The Page Admin Portlet needs the ability to add and remove pages.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-387%29-Provide-a-removePage-on-the-RenderConfigAdminService-interface-tp11364388p26622294.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26586888</id>
	<title>[jira] Created: (PLUTO-585) Make pluto more osgi friendly</title>
	<published>2009-11-30T21:30:21Z</published>
	<updated>2009-11-30T21:30:21Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Make pluto more osgi friendly
&lt;br&gt;-----------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: PLUTO-585
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-585&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-585&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Pluto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: general
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: David Jencks
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: David Jencks
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 2.0.1
&lt;br&gt;&lt;br&gt;&lt;br&gt;Geronimo needs pluto to come with more osgi support. &amp;nbsp;We don't know yet exactly what this will entail. &amp;nbsp;Some possible bits:
&lt;br&gt;&lt;br&gt;1. make the jars into osgi bundles. &amp;nbsp;This should be completely non-controversial and easy.
&lt;br&gt;2. use the osgi blueprint service instead of spring. &amp;nbsp;This could be an optional other way of assembling the portal (most likely) or a replacement (I doubt this would be acceptable to everyone at this point).
&lt;br&gt;3. Investigate deploying the wars as rfc 66 web app bundles. &amp;nbsp;I'm not sure whether or not this would be useful for geronimo.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-585%29-Make-pluto-more-osgi-friendly-tp26586888p26586888.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26407078</id>
	<title>Re: How to invalidate portlet session on logout?</title>
	<published>2009-11-18T04:40:06Z</published>
	<updated>2009-11-18T04:40:06Z</updated>
	<author>
		<name>Eric Dalquist</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Here is a previous thread on this topic which includes some links as to
how uPortal deals with this issue:&lt;br&gt;
&lt;br&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://old.nabble.com/Invalidating-all-portlet-sessions-td18386578.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Invalidating-all-portlet-sessions-td18386578.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
-Eric&lt;br&gt;
&lt;br&gt;
Brett Randall wrote:
&lt;blockquote cite=&quot;mid:c2f30a40911180134n684a252en576d41284ff9380a@mail.gmail.com&quot; type=&quot;cite&quot;&gt;Yes Ate is correct, and also here's a couple of likely
links to Jetspeed and Liferay issue trackers where I believe they have
dealt with the same requirement you are trying to deal with:
  &lt;div&gt;&lt;br&gt;
  &lt;/div&gt;
  &lt;div&gt;&lt;a moz-do-not-send=&quot;true&quot; href=&quot;http://issues.apache.org/jira/browse/JS2-582&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.apache.org/jira/browse/JS2-582&lt;/a&gt;&lt;/div&gt;
  &lt;div&gt;&lt;a moz-do-not-send=&quot;true&quot; href=&quot;http://issues.liferay.com/browse/LEP-1466&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.liferay.com/browse/LEP-1466&lt;/a&gt;&lt;/div&gt;
  &lt;div&gt;&lt;br&gt;
  &lt;/div&gt;
  &lt;div&gt;I've not reviewed those issues, but I can image that the Portal
context needs to propagate the session invalidation to the Portlet
context.&lt;/div&gt;
  &lt;div&gt;&lt;br&gt;
  &lt;/div&gt;
  &lt;div&gt;Brett&lt;br&gt;
  &lt;br&gt;
  &lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 18, 2009 at 8:26 PM, Ate Douma &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26407078&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ate@...&lt;/a&gt;&amp;gt;&lt;/span&gt;
wrote:&lt;br&gt;
  &lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Portlet
2.0 spec PLT.18.4 (and for that matter the whole of the Portlet spec)
*only* talks about the *Portlet* application, not the *Portal*
application.&lt;br&gt;
This means, the portlet *container* is required to invalidate the
servlet (application) session when the portlet session is invalidated,
and this is properly implemented in the Pluto container.&lt;br&gt;
You should not confuse this with the (limited) behavior of the Pluto
*Portal* Driver, which primarily purpose is only to serve as testbed
for the Pluto container, not a full blown, production ready, portal.&lt;br&gt;
Handling logout *across* portlet applications hosted by the Pluto
Portal Driver simply isn't implemented as it not needed for *testing*
the Pluto Container itself.&lt;br&gt;
    &lt;br&gt;
The Pluto Portal Driver, while actually used by some for production
purposes, really is not targeted nor maintained for such usages.&lt;br&gt;
    &lt;br&gt;
If you need such functionality (and/or similar production quality
features like persistence, better (session) navigation state/url
handling, etc., etc.) you either have to add this yourself or probably
better switch using a full blown portal like Apache Jetspeed-2 or
others which does provide all such features.&lt;br&gt;
    &lt;br&gt;
HTH,&lt;br&gt;
    &lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
Ate&lt;/font&gt;
    &lt;div&gt;
    &lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
    &lt;br&gt;
hub wrote:&lt;br&gt;
    &lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Brett,&lt;br&gt;
After logout / login I see the same session attributes as I set before
in&lt;br&gt;
the portlet session.&lt;br&gt;
I noticed that my, &quot;valueUnbound()&quot; method for attributes in the portlet&lt;br&gt;
session is not called for the cleanup I need to do on logout / &quot;portal&lt;br&gt;
session invalidation&quot;. I then set portlet session expiration time to a
short&lt;br&gt;
period to check, if valueUnbound() is called at all, ... it is, also on&lt;br&gt;
application shutdown.&lt;br&gt;
The session.invalidate() on logout is run in a jsp in &quot;portal context&quot;.&lt;br&gt;
After login with different username I have a different principal in the&lt;br&gt;
portlet session, but same session attributes as set before.&lt;br&gt;
      &lt;br&gt;
      &lt;br&gt;
javabrett wrote:&lt;br&gt;
      &lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
If the HttpSession object is invalidated, the PortletSession object must&lt;br&gt;
also be invalidated by the portlet container.&lt;br&gt;
        &lt;br&gt;
      &lt;/blockquote&gt;
      &lt;br&gt;
I read the same here for JSR 168:&lt;br&gt;
      &lt;a moz-do-not-send=&quot;true&quot; href=&quot;http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3131&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3131&lt;/a&gt;&lt;br&gt;
      &lt;br&gt;
I have set emptySessionPath=&quot;true&quot; in server.xml.&lt;br&gt;
running on JBoss GA 4.2.2, Tomcat version is 6.0.20&lt;br&gt;
      &lt;br&gt;
      &lt;br&gt;
Thank you&lt;br&gt;
hub&lt;br&gt;
      &lt;br&gt;
      &lt;br&gt;
javabrett wrote:&lt;br&gt;
      &lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
According to Portlet 2.0 spec PLT.18.4:&lt;br&gt;
        &lt;br&gt;
&amp;nbsp; &amp;nbsp;If the HttpSession object is invalidated, the PortletSession object&lt;br&gt;
must&lt;br&gt;
also be invalidated by the portlet container.&lt;br&gt;
        &lt;br&gt;
How do you detect that your portlet sessions are not being invalidated?&lt;br&gt;
        &lt;br&gt;
Brett&lt;br&gt;
        &lt;br&gt;
On Tue, Nov 17, 2009 at 10:09 PM, hub &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26407078&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;felber@...&lt;/a&gt;&amp;gt;
wrote:&lt;br&gt;
        &lt;br&gt;
        &lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello,&lt;br&gt;
How do I invalidate all portlet sessions on logout?&lt;br&gt;
          &lt;br&gt;
in my logout.jsp in the portal I do the following&lt;br&gt;
&amp;lt;%&lt;br&gt;
&amp;nbsp; session.invalidate();&lt;br&gt;
%&amp;gt;&lt;br&gt;
          &lt;br&gt;
This invalidates the &quot;portal&quot; session but my portlet sessions are not&lt;br&gt;
invalidated.&lt;br&gt;
          &lt;br&gt;
        &lt;/blockquote&gt;
      &lt;/blockquote&gt;
      &lt;br&gt;
    &lt;/blockquote&gt;
    &lt;br&gt;
    &lt;/div&gt;
    &lt;/div&gt;
  &lt;/blockquote&gt;
  &lt;/div&gt;
  &lt;br&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (4K) &lt;a href=&quot;http://old.nabble.com/attachment/26407078/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-invalidate-portlet-session-on-logout--tp26388080p26407078.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26405356</id>
	<title>Re: How to invalidate portlet session on logout?</title>
	<published>2009-11-18T02:17:31Z</published>
	<updated>2009-11-18T02:17:31Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">Brett and Ate,&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-message&quot;&gt;The Pluto Portal Driver, while actually used by some for production purposes, really is not targeted nor maintained for such usages.
&lt;br&gt;...
&lt;br&gt;If you need such functionality .......add this yourself or probably better switch using a full blown portal like Apache Jetspeed.&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
I was afraid to hear that &amp;nbsp;...
&lt;br&gt;Yes, I saw that others using different portal struggeled with similar problems.
&lt;br&gt;&lt;br&gt;Thank you very much
&lt;br&gt;hub
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-invalidate-portlet-session-on-logout--tp26388080p26405356.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26404823</id>
	<title>Re: How to invalidate portlet session on logout?</title>
	<published>2009-11-18T01:34:42Z</published>
	<updated>2009-11-18T01:34:42Z</updated>
	<author>
		<name>javabrett</name>
	</author>
	<content type="html">Yes Ate is correct, and also here&amp;#39;s a couple of likely links to Jetspeed and Liferay issue trackers where I believe they have dealt with the same requirement you are trying to deal with:&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://issues.apache.org/jira/browse/JS2-582&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.apache.org/jira/browse/JS2-582&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href=&quot;http://issues.liferay.com/browse/LEP-1466&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.liferay.com/browse/LEP-1466&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;ve not reviewed those issues, but I can image that the Portal context needs to propagate the session invalidation to the Portlet context.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Brett&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 18, 2009 at 8:26 PM, Ate Douma &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26404823&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ate@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
Portlet 2.0 spec PLT.18.4 (and for that matter the whole of the Portlet spec) *only* talks about the *Portlet* application, not the *Portal* application.&lt;br&gt;
This means, the portlet *container* is required to invalidate the servlet (application) session when the portlet session is invalidated, and this is properly implemented in the Pluto container.&lt;br&gt;
You should not confuse this with the (limited) behavior of the Pluto *Portal* Driver, which primarily purpose is only to serve as testbed for the Pluto container, not a full blown, production ready, portal.&lt;br&gt;
Handling logout *across* portlet applications hosted by the Pluto Portal Driver simply isn&amp;#39;t implemented as it not needed for *testing* the Pluto Container itself.&lt;br&gt;
&lt;br&gt;
The Pluto Portal Driver, while actually used by some for production purposes, really is not targeted nor maintained for such usages.&lt;br&gt;
&lt;br&gt;
If you need such functionality (and/or similar production quality features like persistence, better (session) navigation state/url handling, etc., etc.) you either have to add this yourself or probably better switch using a full blown portal like Apache Jetspeed-2 or others which does provide all such features.&lt;br&gt;

&lt;br&gt;
HTH,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;
&lt;br&gt;
Ate&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
hub wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;
Brett,&lt;br&gt;
After logout / login I see the same session attributes as I set before in&lt;br&gt;
the portlet session.&lt;br&gt;
I noticed that my, &amp;quot;valueUnbound()&amp;quot; method for attributes in the portlet&lt;br&gt;
session is not called for the cleanup I need to do on logout / &amp;quot;portal&lt;br&gt;
session invalidation&amp;quot;. I then set portlet session expiration time to a short&lt;br&gt;
period to check, if valueUnbound() is called at all, ... it is, also on&lt;br&gt;
application shutdown.&lt;br&gt;
The session.invalidate() on logout is run in a jsp in &amp;quot;portal context&amp;quot;.&lt;br&gt;
After login with different username I have a different principal in the&lt;br&gt;
portlet session, but same session attributes as set before.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
javabrett wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;
If the HttpSession object is invalidated, the PortletSession object must&lt;br&gt;
also be invalidated by the portlet container.&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
I read the same here for JSR 168:&lt;br&gt;
&lt;a href=&quot;http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3131&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3131&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
I have set emptySessionPath=&amp;quot;true&amp;quot; in server.xml.&lt;br&gt;
running on JBoss GA 4.2.2, Tomcat version is 6.0.20&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thank you&lt;br&gt;
hub&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
javabrett wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;
According to Portlet 2.0 spec PLT.18.4:&lt;br&gt;
&lt;br&gt;
    If the HttpSession object is invalidated, the PortletSession object&lt;br&gt;
must&lt;br&gt;
also be invalidated by the portlet container.&lt;br&gt;
&lt;br&gt;
How do you detect that your portlet sessions are not being invalidated?&lt;br&gt;
&lt;br&gt;
Brett&lt;br&gt;
&lt;br&gt;
On Tue, Nov 17, 2009 at 10:09 PM, hub &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26404823&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;felber@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;
Hello,&lt;br&gt;
How do I invalidate all portlet sessions on logout?&lt;br&gt;
&lt;br&gt;
in my logout.jsp in the portal I do the following&lt;br&gt;
&amp;lt;%&lt;br&gt;
   session.invalidate();&lt;br&gt;
%&amp;gt;&lt;br&gt;
&lt;br&gt;
This invalidates the &amp;quot;portal&amp;quot; session but my portlet sessions are not&lt;br&gt;
invalidated.&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-invalidate-portlet-session-on-logout--tp26388080p26404823.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26404748</id>
	<title>Re: How to invalidate portlet session on logout?</title>
	<published>2009-11-18T01:26:26Z</published>
	<updated>2009-11-18T01:26:26Z</updated>
	<author>
		<name>Ate Douma</name>
	</author>
	<content type="html">Portlet 2.0 spec PLT.18.4 (and for that matter the whole of the Portlet spec) *only* talks about the *Portlet* application, not the *Portal* 
&lt;br&gt;application.
&lt;br&gt;This means, the portlet *container* is required to invalidate the servlet (application) session when the portlet session is invalidated, and 
&lt;br&gt;this is properly implemented in the Pluto container.
&lt;br&gt;You should not confuse this with the (limited) behavior of the Pluto *Portal* Driver, which primarily purpose is only to serve as testbed 
&lt;br&gt;for the Pluto container, not a full blown, production ready, portal.
&lt;br&gt;Handling logout *across* portlet applications hosted by the Pluto Portal Driver simply isn't implemented as it not needed for *testing* the 
&lt;br&gt;Pluto Container itself.
&lt;br&gt;&lt;br&gt;The Pluto Portal Driver, while actually used by some for production purposes, really is not targeted nor maintained for such usages.
&lt;br&gt;&lt;br&gt;If you need such functionality (and/or similar production quality features like persistence, better (session) navigation state/url handling, 
&lt;br&gt;etc., etc.) you either have to add this yourself or probably better switch using a full blown portal like Apache Jetspeed-2 or others which 
&lt;br&gt;does provide all such features.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;Ate
&lt;br&gt;&lt;br&gt;hub wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Brett,
&lt;br&gt;&amp;gt; After logout / login I see the same session attributes as I set before in
&lt;br&gt;&amp;gt; the portlet session.
&lt;br&gt;&amp;gt; I noticed that my, &amp;quot;valueUnbound()&amp;quot; method for attributes in the portlet
&lt;br&gt;&amp;gt; session is not called for the cleanup I need to do on logout / &amp;quot;portal
&lt;br&gt;&amp;gt; session invalidation&amp;quot;. I then set portlet session expiration time to a short
&lt;br&gt;&amp;gt; period to check, if valueUnbound() is called at all, ... it is, also on
&lt;br&gt;&amp;gt; application shutdown.
&lt;br&gt;&amp;gt; The session.invalidate() on logout is run in a jsp in &amp;quot;portal context&amp;quot;.
&lt;br&gt;&amp;gt; After login with different username I have a different principal in the
&lt;br&gt;&amp;gt; portlet session, but same session attributes as set before.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; javabrett wrote:
&lt;br&gt;&amp;gt;&amp;gt; If the HttpSession object is invalidated, the PortletSession object must
&lt;br&gt;&amp;gt;&amp;gt; also be invalidated by the portlet container.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I read the same here for JSR 168:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3131&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3131&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have set emptySessionPath=&amp;quot;true&amp;quot; in server.xml.
&lt;br&gt;&amp;gt; running on JBoss GA 4.2.2, Tomcat version is 6.0.20
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you
&lt;br&gt;&amp;gt; hub
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; javabrett wrote:
&lt;br&gt;&amp;gt;&amp;gt; According to Portlet 2.0 spec PLT.18.4:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; If the HttpSession object is invalidated, the PortletSession object
&lt;br&gt;&amp;gt;&amp;gt; must
&lt;br&gt;&amp;gt;&amp;gt; also be invalidated by the portlet container.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; How do you detect that your portlet sessions are not being invalidated?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Brett
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Tue, Nov 17, 2009 at 10:09 PM, hub &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26404748&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;felber@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; How do I invalidate all portlet sessions on logout?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; in my logout.jsp in the portal I do the following
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;%
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;session.invalidate();
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; %&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This invalidates the &amp;quot;portal&amp;quot; session but my portlet sessions are not
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; invalidated.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-invalidate-portlet-session-on-logout--tp26388080p26404748.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26404569</id>
	<title>Re: How to invalidate portlet session on logout?</title>
	<published>2009-11-18T01:11:17Z</published>
	<updated>2009-11-18T01:11:17Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">Brett,
&lt;br&gt;After logout / login I see the same session attributes as I set before in the portlet session.
&lt;br&gt;I noticed that my, &amp;quot;valueUnbound()&amp;quot; method for attributes in the portlet session is not called for the cleanup I need to do on logout / &amp;quot;portal session invalidation&amp;quot;. I then set portlet session expiration time to a short period to check, if valueUnbound() is called at all, ... it is, also on application shutdown.
&lt;br&gt;The session.invalidate() on logout is run in a jsp in &amp;quot;portal context&amp;quot;. After login with different username I have a different principal in the portlet session, but same session attributes as set before.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;javabrett wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;If the HttpSession object is invalidated, the PortletSession object must
&lt;br&gt;also be invalidated by the portlet container.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
I read the same here for JSR 168:
&lt;br&gt;&lt;a href=&quot;http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3131&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3131&lt;/a&gt;&lt;br&gt;&lt;br&gt;I have set emptySessionPath=&amp;quot;true&amp;quot; in server.xml.
&lt;br&gt;running on JBoss GA 4.2.2, Tomcat version is 6.0.20
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you
&lt;br&gt;hub
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;javabrett wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;According to Portlet 2.0 spec PLT.18.4:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; If the HttpSession object is invalidated, the PortletSession object must
&lt;br&gt;also be invalidated by the portlet container.
&lt;br&gt;&lt;br&gt;How do you detect that your portlet sessions are not being invalidated?
&lt;br&gt;&lt;br&gt;Brett
&lt;br&gt;&lt;br&gt;On Tue, Nov 17, 2009 at 10:09 PM, hub &amp;lt;felber@abacus.ch&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; How do I invalidate all portlet sessions on logout?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; in my logout.jsp in the portal I do the following
&lt;br&gt;&amp;gt; &amp;lt;%
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;session.invalidate();
&lt;br&gt;&amp;gt; %&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This invalidates the &amp;quot;portal&amp;quot; session but my portlet sessions are not
&lt;br&gt;&amp;gt; invalidated.
&lt;br&gt;&amp;gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-invalidate-portlet-session-on-logout--tp26388080p26404569.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26401781</id>
	<title>Re: How to invalidate portlet session on logout?</title>
	<published>2009-11-17T19:09:07Z</published>
	<updated>2009-11-17T19:09:07Z</updated>
	<author>
		<name>javabrett</name>
	</author>
	<content type="html">According to Portlet 2.0 spec PLT.18.4:&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;    If the HttpSession object is invalidated, the PortletSession object must also be invalidated by the portlet container.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;How do you detect that your portlet sessions are not being invalidated?&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Brett&lt;/div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 17, 2009 at 10:09 PM, hub &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26401781&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;felber@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;br&gt;
Hello,&lt;br&gt;
How do I invalidate all portlet sessions on logout?&lt;br&gt;
&lt;br&gt;
in my logout.jsp in the portal I do the following&lt;br&gt;
&amp;lt;%&lt;br&gt;
    session.invalidate();&lt;br&gt;
%&amp;gt;&lt;br&gt;
&lt;br&gt;
This invalidates the &amp;quot;portal&amp;quot; session but my portlet sessions are not&lt;br&gt;
invalidated.&lt;br&gt;
&lt;br&gt;
I use objects with implement the HttpSessionBindingListener interface. These&lt;br&gt;
should be called, when the user logs out and the portlet session is&lt;br&gt;
invalidated. I need to do some cleanup for attributes I stored on the&lt;br&gt;
portlet session.&lt;br&gt;
&lt;br&gt;
Thank you for helping&lt;br&gt;
Hub&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/How-to-invalidate-portlet-session-on-logout--tp26388080p26388080.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/How-to-invalidate-portlet-session-on-logout--tp26388080p26388080.html&lt;/a&gt;&lt;br&gt;

Sent from the Pluto - User mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-invalidate-portlet-session-on-logout--tp26388080p26401781.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26388080</id>
	<title>How to invalidate portlet session on logout?</title>
	<published>2009-11-17T03:09:36Z</published>
	<updated>2009-11-17T03:09:36Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;How do I invalidate all portlet sessions on logout?
&lt;br&gt;&lt;br&gt;in my logout.jsp in the portal I do the following
&lt;br&gt;&amp;lt;%
&lt;br&gt;&amp;nbsp; &amp;nbsp; session.invalidate();
&lt;br&gt;%&amp;gt;
&lt;br&gt;&lt;br&gt;This invalidates the &amp;quot;portal&amp;quot; session but my portlet sessions are not invalidated.
&lt;br&gt;&lt;br&gt;I use objects with implement the HttpSessionBindingListener interface. These should be called, when the user logs out and the portlet session is invalidated. I need to do some cleanup for attributes I stored on the portlet session.
&lt;br&gt;&lt;br&gt;Thank you for helping
&lt;br&gt;Hub
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-invalidate-portlet-session-on-logout--tp26388080p26388080.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26148390</id>
	<title>[jira] Created: (PLUTO-584) Unalbe to add a portlet application through Pulto Admin</title>
	<published>2009-10-31T22:28:59Z</published>
	<updated>2009-10-31T22:28:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Unalbe to add a portlet application through Pulto Admin
&lt;br&gt;-------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: PLUTO-584
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-584&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-584&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Pluto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: portlets-admin
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: Windows XP / Apache tomcat 6
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Abani Ranjan Behera
&lt;br&gt;&lt;br&gt;&lt;br&gt;Unalbe to add a portlet application through Pulto Admin. When ever the portlet is deployed through manager application then the portlet option is not coming in the available portlets option.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-584%29-Unalbe-to-add-a-portlet-application-through-Pulto-Admin-tp26148390p26148390.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26117187</id>
	<title>pom error deploying portlet JSR286</title>
	<published>2009-10-29T10:13:43Z</published>
	<updated>2009-10-29T10:13:43Z</updated>
	<author>
		<name>lagrimas negras xxx</name>
	</author>
	<content type="html">This is the error message: &lt;br&gt;&lt;br&gt;Description    Resource    Path    Location    Type&lt;br&gt;Web application descriptor must be a valid web.xml    Copy of Spring-Portlet-JSR286-2.0final prueba final        line 1    Maven Problem&lt;br&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br&gt;&amp;lt;web-app xmlns:xsi=&amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot; xmlns=&amp;quot;&lt;a href=&quot;http://java.sun.com/xml/ns/javaee&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/javaee&lt;/a&gt;&amp;quot; xmlns:web=&amp;quot;&lt;a href=&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&lt;/a&gt;&amp;quot; xsi:schemaLocation=&amp;quot;&lt;a href=&quot;http://java.sun.com/xml/ns/javaee&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/javaee&lt;/a&gt; &lt;a href=&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&lt;/a&gt;&amp;quot; id=&amp;quot;WebApp_ID&amp;quot; version=&amp;quot;2.5&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;display-name&amp;gt;PortletPrueba&amp;lt;/display-name&amp;gt;&lt;br&gt;   &amp;lt;servlet&amp;gt;&lt;br&gt;        &amp;lt;servlet-name&amp;gt;TestPortlet&amp;lt;/servlet-name&amp;gt;&lt;br&gt;        &amp;lt;servlet-class&amp;gt;org.apache.pluto.core.PortletServlet&amp;lt;/servlet-class&amp;gt;&lt;br&gt;
        &amp;lt;init-param&amp;gt;&lt;br&gt;          &amp;lt;param-name&amp;gt;portlet-name&amp;lt;/param-name&amp;gt;&lt;br&gt;          &amp;lt;param-value&amp;gt;TestPortlet&amp;lt;/param-value&amp;gt;&lt;br&gt;        &amp;lt;/init-param&amp;gt;&lt;br&gt;        &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;&lt;br&gt;
    &amp;lt;/servlet&amp;gt;&lt;br&gt;&lt;br&gt;    &amp;lt;servlet-mapping&amp;gt;&lt;br&gt;        &amp;lt;servlet-name&amp;gt;TestPortlet&amp;lt;/servlet-name&amp;gt;&lt;br&gt;        &amp;lt;url-pattern&amp;gt;/PlutoInvoker/TestPortlet&amp;lt;/url-pattern&amp;gt;&lt;br&gt;    &amp;lt;/servlet-mapping&amp;gt;&lt;br&gt;
&amp;lt;/web-app&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;dog somebody send me to web.xml been worth of example? &lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pom-error-deploying-portlet-JSR286-tp26117187p26117187.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26115754</id>
	<title>java.lang.LinkageError while dispatching events in Pluto 2.0</title>
	<published>2009-10-29T08:54:34Z</published>
	<updated>2009-10-29T08:54:34Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have problems dispatching events (Pluto 2.0 / JBoss 4.2.2 / Tomcat). 
&lt;br&gt;Curiously enough it works, although I get stacktraces. I can send and receive the events.
&lt;br&gt;&lt;br&gt;With the event I dispatch the following object.
&lt;br&gt;&lt;br&gt;public class PortletExchangeInfo implements Serializable { &amp;nbsp;
&lt;br&gt;// jaxb doesnt dispatch HashMap
&lt;br&gt;&amp;nbsp; public ArrayList&amp;lt;String&amp;gt; &lt;b&gt;parameterNames &lt;/b&gt;= new ArrayList(); 
&lt;br&gt;&amp;nbsp; public ArrayList&amp;lt;String[]&amp;gt; &lt;b&gt;parameterValues &lt;/b&gt;= new ArrayList();
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;There seams to be a problem getting the JAXB serializer/deserializers.
&lt;br&gt;&lt;br&gt;The exceptions happen in 
&lt;br&gt;org.apache.pluto.driver.services.container.EventProviderImpl.createEvent(EventProviderImpl.java:84)
&lt;br&gt;and
&lt;br&gt;org.apache.pluto.driver.services.container.PortletWindowThread.run(PortletWindowThread.java:114)
&lt;br&gt;&lt;br&gt;when calling: 	JAXBContext jc = JAXBContext.newInstance(clazz);
&lt;br&gt;&lt;br&gt;I get:
&lt;br&gt;&lt;br&gt;FEIN: Unable to inject ch/abacus/flow/web/portlets/PortletExchangeInfo$&lt;b&gt;JaxbAccessorF_parameterNames&lt;/b&gt;&lt;br&gt;java.lang.reflect.InvocationTargetException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
&lt;br&gt;...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.pluto.driver.services.container.&lt;b&gt;PortletWindowThread&lt;/b&gt;.run(PortletWindowThread.java:114)
&lt;br&gt;Caused by: java.lang.LinkageError: loader (instance of &amp;nbsp;org/jboss/web/tomcat/service/WebAppClassLoader): attempted &amp;nbsp;duplicate class definition for name: &amp;quot;ch/abacus/flow/web/portlets/PortletExchangeInfo$JaxbAccessorF_parameterNames&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.ClassLoader.defineClass1(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
&lt;br&gt;...
&lt;br&gt;and
&lt;br&gt;&lt;br&gt;FEIN: Unable to inject ch/abacus/flow/web/portlets/PortletExchangeInfo$&lt;b&gt;JaxbAccessorF_parameterValues&lt;/b&gt;&lt;br&gt;java.lang.reflect.InvocationTargetException
&lt;br&gt;...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.pluto.driver.services.container.PortletWindowThread.run(PortletWindowThread.java:114)
&lt;br&gt;Caused by: java.lang.LinkageError: loader (instance of &amp;nbsp;org/jboss/web/tomcat/service/WebAppClassLoader): attempted &amp;nbsp;duplicate class definition for name: &amp;quot;ch/abacus/flow/web/portlets/PortletExchangeInfo$JaxbAccessorF_parameterValues&amp;quot;
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;and a similar stacktrace from org.apache.pluto.driver.services.container.EventProviderImpl.createEvent
&lt;br&gt;&lt;br&gt;&lt;br&gt;It would be great, if anybody had a clue on this. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Hubert
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/java.lang.LinkageError-while-dispatching-events-in-Pluto-2.0-tp26115754p26115754.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26113398</id>
	<title>[jira] Created: (PLUTO-583) PortalURLParserImpl: unnecessary &quot;?&quot;</title>
	<published>2009-10-29T06:49:59Z</published>
	<updated>2009-10-29T06:49:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">PortalURLParserImpl: unnecessary &amp;quot;?&amp;quot;
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: PLUTO-583
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-583&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-583&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Pluto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: portal driver
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Jürgen Gahl
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Trivial
&lt;br&gt;&lt;br&gt;&lt;br&gt;When creating an URL with &amp;quot;public String toString(PortalURL portalURL)&amp;quot; an unnecessary &amp;quot;?&amp;quot; is added if the query is empty (org.apache.pluto.driver.url.impl.PortalURLParserImpl). 
&lt;br&gt;This is the part of the source code where the URL is finally composed:
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Construct the string representing the portal URL.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Fix for PLUTO-247 - check if query string contains parameters
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ( query.length() &amp;gt; 1 ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return buffer.append(query).toString();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Construct the string representing the portal URL.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return buffer.append(query).toString();
&lt;br&gt;---
&lt;br&gt;&lt;br&gt;There was already a fix for this issue (PLUTO-247). May be this reappeared after some refactoring. The statement in the if-block and the one behind the if-block is the same.
&lt;br&gt;The unnecessary &amp;quot;?&amp;quot; caused problems when using the URL as action in a form within a HTTPUnit-Test because the testframework does not look at the final character of the URL and adds an additional &amp;quot;?&amp;quot;.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-583%29-PortalURLParserImpl%3A-unnecessary-%22-%22-tp26113398p26113398.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26098277</id>
	<title>Re: actionURL way to long</title>
	<published>2009-10-28T09:57:55Z</published>
	<updated>2009-10-28T09:57:55Z</updated>
	<author>
		<name>Eric Anderson-24</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;unsubscribe&lt;br&gt;&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; &quot;&gt;&lt;span style=&quot;font-size: 8pt; font-family: Tahoma, sans-serif; color: silver; &quot;&gt;_________________________________________________________&lt;/span&gt;&lt;span style=&quot;font-size: 8pt; font-family: Tahoma, sans-serif; color: rgb(153, 153, 153); &quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: 8pt; font-family: Tahoma, sans-serif; color: rgb(149, 179, 215); &quot;&gt;Eric Anderson&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 8pt; font-family: Tahoma, sans-serif; color: rgb(148, 54, 52); &quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt; font-family: Tahoma, sans-serif; color: silver; &quot;&gt;Palantir Technologies | Engineering Team Lead&lt;br&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26098277&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;eanderson@...&lt;/a&gt;&amp;nbsp;&lt;/span&gt;| 520.440.3773&lt;br&gt;_________________________________________________________&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#1F497D&quot; face=&quot;Calibri, sans-serif&quot; size=&quot;4&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; &quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;
&lt;/div&gt;
&lt;br&gt;&lt;div&gt;&lt;div&gt;On Oct 28, 2009, at 6:56 AM, hub wrote:&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;br&gt;Hello, &lt;br&gt;&lt;br&gt;It does not have anything to do with public render parameters.&lt;br&gt;The problem I have with this long url is, that Acrobat Reader refuses to&lt;br&gt;work with a URL that is 1015 characters long. &lt;br&gt;&lt;br&gt;The more different portlets I clicked in, the longer the url gets.&lt;br&gt;&lt;br&gt;Is this the default behaviour? If yes, this is pretty bad :-(&lt;br&gt;&lt;br&gt;Thank you&lt;br&gt;Hubert&lt;br&gt;-- &lt;br&gt;View this message in context: &lt;a href=&quot;http://www.nabble.com/actionURL-way-to-long-tp26092324p26095045.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/actionURL-way-to-long-tp26092324p26095045.html&lt;/a&gt;&lt;br&gt;Sent from the Pluto - User mailing list archive at &lt;a href=&quot;http://Nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nabble.com&lt;/a&gt;.&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (5K) &lt;a href=&quot;http://old.nabble.com/attachment/26098277/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/actionURL-way-to-long-tp26092324p26098277.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26096798</id>
	<title>Re: sample JSR286</title>
	<published>2009-10-28T08:32:23Z</published>
	<updated>2009-10-28T08:32:23Z</updated>
	<author>
		<name>lagrimas negras xxx</name>
	</author>
	<content type="html">It is not possible to make an alone portlet without this inside to Suite.&lt;br&gt;&lt;br&gt;I have comes with the file pom.xml. It doesn&amp;#39;t work me.&lt;br&gt;&lt;br&gt;Please alone ayundeme wants to deploy to portlet JSR268 in pluto 2.0..&lt;br&gt;
&lt;br&gt;This could make it with the pluto 1.0 since has / she had to plugin. But it cannot spread on to war in 2.0 o&amp;#39;clock the portlet has / she doesn&amp;#39;t register I don&amp;#39;t eat to make it, alguién dog give me an example been worth of to hello world. Does This version of pluto non work??&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/8/5 Woonsan Ko &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26096798&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;woon_san@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Have you looked at the pluto testsuite portlets?&lt;br&gt;
You can download and run it the binary and see JSR 286 portlets here:&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;a href=&quot;http://portals.apache.org/pluto/v20/getting-started.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://portals.apache.org/pluto/v20/getting-started.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;You can also look into the sources under the testsuite subproject.&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;br&gt;
--- On Tue, 8/4/09, lagrimas negras xxx &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26096798&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lagrimasnegras33@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; From: lagrimas negras xxx &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26096798&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lagrimasnegras33@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&lt;/div&gt;&amp;gt; Subject: sample JSR286&lt;br&gt;
&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26096798&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pluto-user@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Date: Tuesday, August 4, 2009, 3:03 PM&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&amp;gt; Please somebody can spend a portlet JSR 286&lt;br&gt;
&amp;gt; of example. Simple hello World&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sample-JSR286-tp24808239p26096798.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26095045</id>
	<title>Re: actionURL way to long</title>
	<published>2009-10-28T06:55:56Z</published>
	<updated>2009-10-28T06:55:56Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">Hello, 
&lt;br&gt;&lt;br&gt;It does not have anything to do with public render parameters.
&lt;br&gt;The problem I have with this long url is, that Acrobat Reader refuses to work with a URL that is 1015 characters long. 
&lt;br&gt;&lt;br&gt;The more different portlets I clicked in, the longer the url gets.
&lt;br&gt;&lt;br&gt;Is this the default behaviour? If yes, this is pretty bad :-(
&lt;br&gt;&lt;br&gt;Thank you
&lt;br&gt;Hubert&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/actionURL-way-to-long-tp26092324p26095045.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26092324</id>
	<title>actionURL way to long</title>
	<published>2009-10-28T03:26:17Z</published>
	<updated>2009-10-28T03:26:17Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;A Url created with renderResponse.createActionURL() &amp;nbsp;(jsr-286) is m u c h too long. Below is a sample url.
&lt;br&gt;Why is this so? It looks linke all portlets are contained in this url. For some tools like acrobat reader, this kind of URL is too long, it refuses to connect to.
&lt;br&gt;How can I avoid this? Could it have to do with public render parameters?
&lt;br&gt;&lt;br&gt;Thanks for your help
&lt;br&gt;Hubert
&lt;br&gt;&lt;br&gt;/pluto/portal/__actestsuite0x2MenuPortlet!2255103%7C0/__pmtestsuite0x2MenuPortlet!2255103%7C0_view/__pmtestsuite0x2XFormsPortlet!2255103%7C6_view/__pmtestsuite0x2StartWorkflowPortlet!2255103%7C3_view/__pmtestsuite0x2WorkflowPortlet!2255103%7C4_view/__pmtestsuite0x2MyStartedWorkflowsPortlet!2255103%7C5_view/__pmtestsuite0x2MyWorkflowsPortlet!2255103%7C1_view/__wstestsuite0x2MenuPortlet!2255103%7C0_normal/__wstestsuite0x2XFormsPortlet!2255103%7C6_normal/__wstestsuite0x2StartWorkflowPortlet!2255103%7C3_normal/__wstestsuite0x2WorkflowPortlet!2255103%7C4_normal/__wstestsuite0x2MyStartedWorkflowsPortlet!2255103%7C5_normal/__wstestsuite0x2MyWorkflowsPortlet!2255103%7C1_normal/__rptestsuite0x2WorkflowPortlet!2255103%7C4_command/viewworkflow/__rptestsuite0x2XFormsPortlet!2255103%7C6_param_XFormsPortlet/karotest/__rptestsuite0x2MyStartedWorkflowsPortlet!2255103%7C5_param_MyStartedWorkflowsPortlet/karotest/__rptestsuite0x2WorkflowPortlet!2255103%7C4_id/5762/__rptestsuite0x2MyStartedWorkflowsPortlet!2255103%7C5_id/5762/__rptestsuite0x2WorkflowPortlet!2255103%7C4_view/viewworkflow/__rptestsuite0x2MyStartedWorkflowsPortlet!2255103%7C5_command/viewworkflow/__sp_render-action/home?&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/actionURL-way-to-long-tp26092324p26092324.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26078550</id>
	<title>Shorten URL</title>
	<published>2009-10-27T07:18:08Z</published>
	<updated>2009-10-27T07:18:08Z</updated>
	<author>
		<name>Armin Töpfer-2</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;is there a way to get rid of the &amp;quot;/portal&amp;quot; in the URL? And if it's
&lt;br&gt;possible please tell me how.
&lt;br&gt;I tried to use UrlRewrite to forward /hello to /pluto/portal/hello,
&lt;br&gt;but this does not work since pluto does not react after a forward.
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;Armin
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Shorten-URL-tp26078550p26078550.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26029560</id>
	<title>Re: serveResource() question</title>
	<published>2009-10-23T09:33:14Z</published>
	<updated>2009-10-23T09:33:14Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">in doView()
&lt;br&gt;&lt;br&gt;response.setContentType(&amp;quot;text/html&amp;quot;); 
&lt;br&gt;PrintWriter writer = response.getWriter(); 
&lt;br&gt;ResourceURL resURL = response.createResourceURL(); 
&lt;br&gt;String p = &amp;quot;&amp;lt;object data=\&amp;quot;&amp;quot; + resURL.toString() + &amp;quot;\&amp;quot;&amp;quot; + &amp;quot;type=\&amp;quot;application/pdf\&amp;quot; width=\&amp;quot;100%\&amp;quot; height=\&amp;quot;100%\&amp;quot;&amp;quot;; 
&lt;br&gt;writer.print(p); 
&lt;br&gt;&lt;br&gt;serveResource() is called then.
&lt;br&gt;&lt;br&gt;This works for IE and firefox but.... 
&lt;br&gt;in IE without problems, in firefox I get a Stacktrace although I get the document in the browser, but sometimes firefox also crashes 
&lt;br&gt;&lt;br&gt;Does someone perhaps have a clue? 
&lt;br&gt;Thank you 
&lt;br&gt;Hubert 
&lt;br&gt;&lt;br&gt;17:55:47,953 ERROR [[WorkflowPortlet]] Servlet.service() for servlet WorkflowPortlet threw exception 
&lt;br&gt;java.net.SocketException: Connection reset by peer: socket write error 
&lt;br&gt;at java.net.SocketOutputStream.socketWrite0(Native Method) 
&lt;br&gt;at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) 
&lt;br&gt;at java.net.SocketOutputStream.write(SocketOutputStream.java:136) 
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/serveResource%28%29-question-tp25962607p26029560.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26029319</id>
	<title>Re: Portlet locked with processEvent() ?</title>
	<published>2009-10-23T09:16:58Z</published>
	<updated>2009-10-23T09:16:58Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">...well, it looks like it was my fault.
&lt;br&gt;The thread that locked the whole thing was &amp;quot;com.sun.jndi.ldap.Connection&amp;quot;.
&lt;br&gt;And it locked, because I left a DirContext open in my application. Closing this solved the problem.
&lt;br&gt;&lt;br&gt;hub
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Portlet-locked-with-processEvent%28%29---tp25964293p26029319.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26006897</id>
	<title>[jira] Created: (PLUTO-582) forwarding to jsp in action phase causes error if  &lt;portlet:defineObjects/&gt; is used in jsp</title>
	<published>2009-10-22T02:26:59Z</published>
	<updated>2009-10-22T02:26:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">forwarding to jsp in action phase causes error if &amp;nbsp;&amp;lt;portlet:defineObjects/&amp;gt; is used in jsp
&lt;br&gt;------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: PLUTO-582
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-582&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-582&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Pluto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: windows, JBOSS 4.2.2 GA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Hubert Felber
&lt;br&gt;&lt;br&gt;&lt;br&gt;in the action phase I do a
&lt;br&gt;&lt;br&gt;getPortletContext().getRequestDispatcher(&amp;quot;test.jsp&amp;quot;).forward(request,response);
&lt;br&gt;&lt;br&gt;in test.jsp I defined
&lt;br&gt;&amp;lt;%@ taglib uri=&amp;quot;&lt;a href=&quot;http://java.sun.com/portlet_2_0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/portlet_2_0&lt;/a&gt;&amp;quot; prefix=&amp;quot;portlet&amp;quot; %&amp;gt;
&lt;br&gt;&amp;lt;portlet:defineObjects/&amp;gt;
&lt;br&gt;&lt;br&gt;The compiled jsp then contains
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute(&amp;quot;renderRequest&amp;quot;);
&lt;br&gt;&lt;br&gt;which causes a 
&lt;br&gt;&lt;br&gt;javax.servlet.ServletException: javax.portlet.PortletException: java.lang.ClassCastException: org.apache.pluto.container.impl.ActionRequestImpl cannot be cast to javax.portlet.RenderRequest
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:141)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-582%29-forwarding-to-jsp-in-action-phase-causes-error-if--%3Cportlet%3AdefineObjects-%3E-is-used-in-jsp-tp26006897p26006897.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25964293</id>
	<title>Portlet locked with processEvent() ?</title>
	<published>2009-10-19T12:39:23Z</published>
	<updated>2009-10-19T12:39:23Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Please excuse me for writing in the Dev forum, but I don't notice any activity in the user forum.
&lt;br&gt;I think I am locking a portlet, maybe I do stuff which I should not. Could anyone please help me?
&lt;br&gt;&lt;br&gt;I have a portlet B , loaded on startup but not visible (not displayed).
&lt;br&gt;Portlet A sends an event to portlet B.
&lt;br&gt;Portlet B receives it in processEvent() , does some stuff(creates a workflow with opensymphony/osworkflow) &amp;nbsp;and would like to be rendered then ---but nothing happens. I do not notice that any portlet is rendered at all. Instead I see (visuall feedback from browser) that a request is pending, which times out after a while.
&lt;br&gt;Creating a new request by pressing &amp;quot;home&amp;quot; interrupts the pending request and all works fine again. But I think the request is still pending somewhere.
&lt;br&gt;&lt;br&gt;If I don't do anything in processEvent(), the portlet get's rendered (doView()).
&lt;br&gt;Sometimes (rarely) it works, although I do my stuff in processEvent() (create the workflow).
&lt;br&gt;Sometimes my breakpoints in doView() are triggered, if I stop my application (Ctrl C), which brought me to the idea that I am locking something.
&lt;br&gt;&lt;br&gt;While stopping the application I then see following output on the console
&lt;br&gt;&amp;nbsp;[TomcatDeployer] undeploy, ctxPath=/pluto, warUrl=.../deploy/pluto.war/
&lt;br&gt;&amp;nbsp;[StandardWrapper] Waiting for 1 instance(s) to be deallocated
&lt;br&gt;&amp;nbsp;[StandardWrapper] Waiting for 1 instance(s) to be deallocated
&lt;br&gt;&amp;nbsp;[StandardWrapper] Waiting for 1 instance(s) to be deallocated
&lt;br&gt;&amp;nbsp;[[/pluto]] Closing Spring root WebApplicationContext
&lt;br&gt;&lt;br&gt;The more requests I generated, the more &amp;quot;Waiting ...&amp;quot; I see.
&lt;br&gt;&lt;br&gt;I am running on JBoss 4.2.2 GA
&lt;br&gt;&lt;br&gt;Are there some restrictions on what is allowed in processEvent()?
&lt;br&gt;Could somebody please help me to isolate the problem?
&lt;br&gt;&lt;br&gt;Thank you for helping
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Hubert
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Portlet-locked-with-processEvent%28%29---tp25964293p25964293.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25962607</id>
	<title>serveResource() question</title>
	<published>2009-10-19T10:47:54Z</published>
	<updated>2009-10-19T10:47:54Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;1.
&lt;br&gt;&lt;br&gt;Problem:
&lt;br&gt;In doView() I want to display a PDF form. I call response.createResourceURL() and expect that my serveResource() function will be called, but this does not happen -- i get a blank page (there is no other output). The created resource URL is OK, if I copy/paste it to the browser, my serveResource() is called and the PDF is displayed.
&lt;br&gt;Question:
&lt;br&gt;How do I achieve to display a PDF as response to a RenderRequest ?
&lt;br&gt;&lt;br&gt;Thank you
&lt;br&gt;Hubert
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/serveResource%28%29-question-tp25962607p25962607.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25930073</id>
	<title>[jira] Created: (PLUTO-581) org.apache.pluto.driver.url.impl.PortalURLParserImpl not properly decoding public/private render parameters</title>
	<published>2009-10-16T11:20:31Z</published>
	<updated>2009-10-16T11:20:31Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">org.apache.pluto.driver.url.impl.PortalURLParserImpl not properly decoding public/private render parameters
&lt;br&gt;-----------------------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: PLUTO-581
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-581&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-581&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Pluto
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Michael Freedman
&lt;br&gt;&lt;br&gt;&lt;br&gt;PortalURLParserImpl doubly encodes public/private render parameters into the path portion of the ResourceURL but on return its parser only decodes once. &amp;nbsp;
&lt;br&gt;&lt;br&gt;See encodeMultiValues() to see the double encoding.
&lt;br&gt;&lt;br&gt;Look at decodePublicParameter() to see the single decode. &amp;nbsp;Instead this method should use the same decoding strategy as decodeParameter(). &amp;nbsp;namely it needs the following code added after the call to split up the values into an array of values:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; paramValues.length;i++){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; paramValues[i] = URLDecoder.decode(paramValues[i], &amp;quot;UTF-8&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (UnsupportedEncodingException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOG.warn(e.getMessage(),e);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-581%29-org.apache.pluto.driver.url.impl.PortalURLParserImpl-not-properly-decoding-public-private-render-parameters-tp25930073p25930073.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25864277</id>
	<title>[jira] Commented: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
	<published>2009-10-12T15:32:31Z</published>
	<updated>2009-10-12T15:32:31Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12764874#action_12764874&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12764874#action_12764874&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Ate Douma commented on PLUTO-579:
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;Hi David,
&lt;br&gt;&lt;br&gt;Sorry for not replying any time sooner on your questions.
&lt;br&gt;I agree definitely the current 1.1.x and possibly also the trunk parameter encoding might not be fully compliant yet and in some areas seems to be unnecessary and excessive indeed.
&lt;br&gt;But I still haven't had time to look deeper into this, nor will I be able to do so this week.
&lt;br&gt;I never really worked on the Pluto 1.1.x code base and for 2.0 only migrated and fixed (the Pluto *Driver*) code where minimally needed.
&lt;br&gt;If you already have progressed further since your last comment, please let me know: I'd like to further discuss and help out to get this straightened out.
&lt;br&gt;I'll try to chime back in on this issue next week if possible. If you want, ping me in private to remind me :)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Some render parameters are lost if they contains semicolon
&lt;br&gt;&amp;gt; ----------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: PLUTO-579
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-579&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-579&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Pluto
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: portal driver
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.1.7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ivan
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: David Jencks
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.1, 1.1.8
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: PLUTO-579-0921.patch, PLUTO-579.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If one render parameter contains semicolon, those parameters after it in the url are lost
&lt;br&gt;&amp;gt; Like the URL below
&lt;br&gt;&amp;gt; __pm0x3system-database0x2DBWizard!1134683811|0_view/__rp0x3system-database0x2DBWizard!1134683811|0_rarPath/org0x2tranql0x3tranql-connector-ra0x30x3rar/__rp0x3system-database0x2DBWizard!1134683811|0_driverClass/com0x2microsoft0x2sqlserver0x2jdbc0x2SQLServerDriver/__rp0x3system-database0x2DBWizard!1134683811|0_mode/params/__rp0x3system-database0x2DBWizard!1134683811|0_dbtype/SQL0x8Server0x82005/__rp0x3system-database0x2DBWizard!1134683811|0_adapterDisplayName/TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter/__rp0x3system-database0x2DBWizard!1134683811|0_urlPrototype/jdbc:sqlserver:0x30x3%7BHost%7D:%7BPort%7D;DatabaseName=%7BDatabase%7D/__rp0x3system-database0x2DBWizard!1134683811|0_transactionType/LOCAL/__rp0x3system-database0x2DBWizard!1134683811|0_name/ddddd
&lt;br&gt;&amp;gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter(&amp;quot;name&amp;quot;), it will return null.
&lt;br&gt;&amp;gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String pathInfo = request.getPathInfo(); &amp;lt;--- the pathInfo got from the request is truncated by the semicolon.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (pathInfo == null) {
&lt;br&gt;&amp;gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&lt;br&gt;&amp;gt; Thanks ! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-579%29-Some-render-parameters-are-lost-if-they-contains-semicolon-tp25259860p25864277.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25818994</id>
	<title>[jira] Resolved: (PLUTO-580) Allow portlet descriptor with empty namesapce during deployment.</title>
	<published>2009-10-09T03:39:31Z</published>
	<updated>2009-10-09T03:39:31Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Woonsan Ko resolved PLUTO-580.
&lt;br&gt;------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Fixed by adjusting namespace uris in a custom XmlStreamReader based on the version attribute of the root element.
&lt;br&gt;I will appreciate for any reviews and comments. Thanks.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Allow portlet descriptor with empty namesapce during deployment.
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: PLUTO-580
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-580&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-580&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Pluto
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Woonsan Ko
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Woonsan Ko
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Currently, PortletAppDescriptorServiceImpl is using explicit schema based JAXB unmarshalling. (.../portlet-app_1_0.xsd or .../portlet-app_2_0.xsd).
&lt;br&gt;&amp;gt; However, if we allow empty namespaced descriptor as well, then I think it would be very convenient.
&lt;br&gt;&amp;gt; Because &amp;quot;version&amp;quot; attribute of portlet-app element is required one, we can infer its implicit namespaces.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-580%29-Allow-portlet-descriptor-with-empty-namesapce-during-deployment.-tp25470109p25818994.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25802997</id>
	<title>understanding pluto-default-theme</title>
	<published>2009-10-08T06:52:17Z</published>
	<updated>2009-10-08T06:52:17Z</updated>
	<author>
		<name>hub</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I would like to understand, what exactly happens in the &amp;quot;pluto-default-theme.jsp&amp;quot;
&lt;br&gt;Where do variables like &amp;quot;currentPage.portletIds&amp;quot; or &amp;quot;portlet&amp;quot; come from? What else is accessible? Is there any documentation available?
&lt;br&gt;&lt;br&gt;What I would like to do is:
&lt;br&gt;For all portlets on a page using the same theme, I want to check the name of the portlet and decide at runtime wether it will be placed on portal page or not.
&lt;br&gt;Is this possible at all and how do you do this? 
&lt;br&gt;&lt;br&gt;I noticed that a &amp;quot;porlet&amp;quot; variable looks like for example &amp;quot;testsuite.MenuPortlet!2255103|0&amp;quot;.
&lt;br&gt;Is it possible to work with Portletnames only? (MenuPortlet).
&lt;br&gt;&lt;br&gt;Unfortunately I did not find any documentation or samples about this. 
&lt;br&gt;Any help would be appreciated
&lt;br&gt;&lt;br&gt;Thanx
&lt;br&gt;Hubert
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---User-f200.html&quot; embed=&quot;fixTarget[200]&quot; target=&quot;_top&quot; &gt;Pluto - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/understanding-pluto-default-theme-tp25802997p25802997.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25616550</id>
	<title>Re: Getting Started</title>
	<published>2009-09-25T10:48:26Z</published>
	<updated>2009-09-25T10:48:26Z</updated>
	<author>
		<name>Pavel J</name>
	</author>
	<content type="html">Something obviously went wrong... but you&amp;#39;ll need to provide more clues for anyone to be able to help you... any exceptions anywhere?&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;Pavel&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jul 17, 2009 at 1:15 AM, KetanNale &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25616550&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ketan_nale@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
Hi All,&lt;br&gt;
&lt;br&gt;
I am new to portlets. I want to develop portal for my site.&lt;br&gt;
I downloaded Pluto 2.0 source and built but&lt;br&gt;
as per guided on home site&lt;br&gt;
&lt;a href=&quot;http://localhost:8080/pluto/portal&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/pluto/portal&lt;/a&gt; didnt started....&lt;br&gt;
&lt;br&gt;
can anyone help me how to start with pluto...&lt;br&gt;
&lt;br&gt;
cheers,&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://www.nabble.com/Getting-Started-tp24529702p24529702.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/Getting-Started-tp24529702p24529702.html&lt;/a&gt;&lt;br&gt;
Sent from the Pluto - Dev mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-Started-tp24529702p25616550.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25600792</id>
	<title>Re: Escaping more characters in portlet urls</title>
	<published>2009-09-24T12:05:18Z</published>
	<updated>2009-09-24T12:05:18Z</updated>
	<author>
		<name>djencks</name>
	</author>
	<content type="html">Hi Ate,
&lt;br&gt;&lt;br&gt;I think there are still issues.... I added another comment to the issue.
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;david jencks
&lt;br&gt;&lt;br&gt;On Sep 24, 2009, at 12:56 AM, Ate Douma wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi David,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I looked briefly at both the PLUTO-579 patch and the current Pluto &amp;nbsp;
&lt;br&gt;&amp;gt; trunk PortalURLParserImpl and don't think this issue applies to &amp;nbsp;
&lt;br&gt;&amp;gt; trunk anymore.
&lt;br&gt;&amp;gt; I added a more detailed comment on the issue itself: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-579&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-579&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ate
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; David Jencks wrote:
&lt;br&gt;&amp;gt;&amp;gt; In geronimo we've had some problems with ';' not getting escaped in &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; some portlet urls, see PLUTO-579. &amp;nbsp;The escaping algorithm currently &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; used looks really inefficient. &amp;nbsp;One of the Geronimo developers &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; (Ivan) came up with a patch that looks good to me and I've applied &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; to branches-1.1.x. &amp;nbsp;I think it would be appropriate for trunk as &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; well, the code looks about the same.
&lt;br&gt;&amp;gt;&amp;gt; Could one of the pluto devs more familiar with this area take a &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; look and make sure I'm not missing the point before I go ahead any &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; apply it to trunk?
&lt;br&gt;&amp;gt;&amp;gt; many thanks
&lt;br&gt;&amp;gt;&amp;gt; david jencks
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Escaping-more-characters-in-portlet-urls-tp25587670p25600792.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25600789</id>
	<title>[jira] Commented: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
	<published>2009-09-24T12:05:16Z</published>
	<updated>2009-09-24T12:05:16Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12759215#action_12759215&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12759215#action_12759215&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;David Jencks commented on PLUTO-579:
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;Hi Ate,
&lt;br&gt;&lt;br&gt;I now have a lot of questions :-)
&lt;br&gt;&lt;br&gt;As you note, in trunk both single parameters and multi valued parameters are URLEncoded/Decoded whereas in 1.1.x only single valued paramters were. I think that clearly by the spec (1.0 spec, top of p 32) the multivalued parameters need to be URL encoded/decoded as well in 1.1.x, in other words both before and after the 1.1.x change it's not spec compliant.
&lt;br&gt;&lt;br&gt;What I don't understand is why encodeCharacters is needed at all, and why we can't always use the URLEncoded/Decoder.
&lt;br&gt;&lt;br&gt;trunk encodes these characters:
&lt;br&gt;{code}
&lt;br&gt;&amp;nbsp; &amp;nbsp; private static final String[][] ENCODINGS = new String[][] {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;new String[] { &amp;quot;_&amp;quot;, &amp;quot;0x1&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot;.&amp;quot;, &amp;quot;0x2&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot;/&amp;quot;, &amp;quot;0x3&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot;\r&amp;quot;, &amp;quot;0x4&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot;\n&amp;quot;, &amp;quot;0x5&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot;&amp;lt;&amp;quot;, &amp;quot;0x6&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot;&amp;gt;&amp;quot;, &amp;quot;0x7&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot; &amp;quot;, &amp;quot;0x8&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot;#&amp;quot;, &amp;quot;0x9&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot;?&amp;quot;, &amp;quot;0xa&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot;\\&amp;quot;, &amp;quot;0xb&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new String[] { &amp;quot;%&amp;quot;, &amp;quot;0xc&amp;quot; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; };
&lt;br&gt;{code}
&lt;br&gt;&lt;br&gt;The URLEncoder docs say everything except these get URL encoded:
&lt;br&gt;&lt;br&gt;# The special characters &amp;quot;.&amp;quot;, &amp;quot;-&amp;quot;, &amp;quot;*&amp;quot;, and &amp;quot;_&amp;quot; remain the same.
&lt;br&gt;&lt;br&gt;&amp;quot;.&amp;quot; and &amp;quot;_&amp;quot; are pluto-encoded, &amp;quot;-&amp;quot; and &amp;quot;*&amp;quot; are not.
&lt;br&gt;&lt;br&gt;pluto encodeCharacters is called:
&lt;br&gt;&lt;br&gt;after url-encoding multi values. (line 434) This will encode &amp;quot;.&amp;quot; and &amp;quot;_&amp;quot; in parameter values. I don't think this is compliant with the spec.
&lt;br&gt;&lt;br&gt;to encode a windowId (encodeControlParameter, line 395). Is there a regex or similar grammar for window Ids?
&lt;br&gt;&lt;br&gt;to encode a resourceWindow (toString, line 239). I think this is another windowId.
&lt;br&gt;&lt;br&gt;to encode the actionWindow (toString, line 248), presumably another windowId.
&lt;br&gt;&lt;br&gt;to encode resource window cachablilty (toString, line 256). The ResourceURL seems to indicate that the valid cachability values are in a small set of string constants. none of which need encoding.
&lt;br&gt;&lt;br&gt;to encode resource window resourceId (toString, line 261), presumably another windowId.
&lt;br&gt;&lt;br&gt;So, depending on what valid windowIds are, the encoding is unnecessary, excessive, or incomplete. I'd like to know what valid windowIds can be.
&lt;br&gt;&lt;br&gt;Also, there's a problem with strings to be encoded that have the encoding characters in them already, such as &amp;quot;0x1&amp;quot;. These need to be re-encoded somehow so decoding produces the original value. I think Ivan's patch does this successfully.
&lt;br&gt;&lt;br&gt;I'll change the branch impl to use more URLEncoding on multi-values, for the other bits I need more info. 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Some render parameters are lost if they contains semicolon
&lt;br&gt;&amp;gt; ----------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: PLUTO-579
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-579&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-579&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Pluto
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: portal driver
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.1.7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ivan
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: David Jencks
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.1, 1.1.8
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: PLUTO-579-0921.patch, PLUTO-579.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If one render parameter contains semicolon, those parameters after it in the url are lost
&lt;br&gt;&amp;gt; Like the URL below
&lt;br&gt;&amp;gt; __pm0x3system-database0x2DBWizard!1134683811|0_view/__rp0x3system-database0x2DBWizard!1134683811|0_rarPath/org0x2tranql0x3tranql-connector-ra0x30x3rar/__rp0x3system-database0x2DBWizard!1134683811|0_driverClass/com0x2microsoft0x2sqlserver0x2jdbc0x2SQLServerDriver/__rp0x3system-database0x2DBWizard!1134683811|0_mode/params/__rp0x3system-database0x2DBWizard!1134683811|0_dbtype/SQL0x8Server0x82005/__rp0x3system-database0x2DBWizard!1134683811|0_adapterDisplayName/TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter/__rp0x3system-database0x2DBWizard!1134683811|0_urlPrototype/jdbc:sqlserver:0x30x3%7BHost%7D:%7BPort%7D;DatabaseName=%7BDatabase%7D/__rp0x3system-database0x2DBWizard!1134683811|0_transactionType/LOCAL/__rp0x3system-database0x2DBWizard!1134683811|0_name/ddddd
&lt;br&gt;&amp;gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter(&amp;quot;name&amp;quot;), it will return null.
&lt;br&gt;&amp;gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String pathInfo = request.getPathInfo(); &amp;lt;--- the pathInfo got from the request is truncated by the semicolon.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (pathInfo == null) {
&lt;br&gt;&amp;gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&lt;br&gt;&amp;gt; Thanks ! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-579%29-Some-render-parameters-are-lost-if-they-contains-semicolon-tp25259860p25600789.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25590937</id>
	<title>Re: Escaping more characters in portlet urls</title>
	<published>2009-09-24T00:56:10Z</published>
	<updated>2009-09-24T00:56:10Z</updated>
	<author>
		<name>Ate Douma</name>
	</author>
	<content type="html">Hi David,
&lt;br&gt;&lt;br&gt;I looked briefly at both the PLUTO-579 patch and the current Pluto trunk PortalURLParserImpl and don't think this issue applies to trunk 
&lt;br&gt;anymore.
&lt;br&gt;I added a more detailed comment on the issue itself: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-579&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-579&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Ate
&lt;br&gt;&lt;br&gt;David Jencks wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; In geronimo we've had some problems with ';' not getting escaped in some 
&lt;br&gt;&amp;gt; portlet urls, see PLUTO-579. &amp;nbsp;The escaping algorithm currently used 
&lt;br&gt;&amp;gt; looks really inefficient. &amp;nbsp;One of the Geronimo developers (Ivan) came up 
&lt;br&gt;&amp;gt; with a patch that looks good to me and I've applied to branches-1.1.x. &amp;nbsp;
&lt;br&gt;&amp;gt; I think it would be appropriate for trunk as well, the code looks about 
&lt;br&gt;&amp;gt; the same.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Could one of the pluto devs more familiar with this area take a look and 
&lt;br&gt;&amp;gt; make sure I'm not missing the point before I go ahead any apply it to 
&lt;br&gt;&amp;gt; trunk?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; many thanks
&lt;br&gt;&amp;gt; david jencks
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Escaping-more-characters-in-portlet-urls-tp25587670p25590937.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25590912</id>
	<title>[jira] Commented: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
	<published>2009-09-24T00:54:16Z</published>
	<updated>2009-09-24T00:54:16Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12759053#action_12759053&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12759053#action_12759053&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Ate Douma commented on PLUTO-579:
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;Hi David,
&lt;br&gt;&lt;br&gt;I looked briefly at both the patch and the current Pluto trunk PortalURLParserImpl.
&lt;br&gt;While a lot of the code still looks the same, there is one major difference: in trunk parameters are first passed through URLEncoder/URLDecoder before/after the custom encoding/decoding is done like in Pluto 1.1.x.
&lt;br&gt;As URLEncoder already takes care of ';' characters I think this issue no longer applies to trunk anymore.
&lt;br&gt;And it seems to me the custom encoding/decoding on trunk could actually now ignore some of the characters currently defined in the ENCODINGS array.
&lt;br&gt;If using URLEncoder/URLDecoder is as efficient as the new custom encoding/decoding in Pluto 1.1.x branch I don't know.
&lt;br&gt;So, for performance reasons, it might be interested to review if we should replace the trunk code with this one, but functionally I don't think its needed anymore. 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Some render parameters are lost if they contains semicolon
&lt;br&gt;&amp;gt; ----------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: PLUTO-579
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-579&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-579&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Pluto
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: portal driver
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.1.7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ivan
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: David Jencks
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.1, 1.1.8
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: PLUTO-579-0921.patch, PLUTO-579.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If one render parameter contains semicolon, those parameters after it in the url are lost
&lt;br&gt;&amp;gt; Like the URL below
&lt;br&gt;&amp;gt; __pm0x3system-database0x2DBWizard!1134683811|0_view/__rp0x3system-database0x2DBWizard!1134683811|0_rarPath/org0x2tranql0x3tranql-connector-ra0x30x3rar/__rp0x3system-database0x2DBWizard!1134683811|0_driverClass/com0x2microsoft0x2sqlserver0x2jdbc0x2SQLServerDriver/__rp0x3system-database0x2DBWizard!1134683811|0_mode/params/__rp0x3system-database0x2DBWizard!1134683811|0_dbtype/SQL0x8Server0x82005/__rp0x3system-database0x2DBWizard!1134683811|0_adapterDisplayName/TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter/__rp0x3system-database0x2DBWizard!1134683811|0_urlPrototype/jdbc:sqlserver:0x30x3%7BHost%7D:%7BPort%7D;DatabaseName=%7BDatabase%7D/__rp0x3system-database0x2DBWizard!1134683811|0_transactionType/LOCAL/__rp0x3system-database0x2DBWizard!1134683811|0_name/ddddd
&lt;br&gt;&amp;gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter(&amp;quot;name&amp;quot;), it will return null.
&lt;br&gt;&amp;gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String pathInfo = request.getPathInfo(); &amp;lt;--- the pathInfo got from the request is truncated by the semicolon.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (pathInfo == null) {
&lt;br&gt;&amp;gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&lt;br&gt;&amp;gt; Thanks ! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-579%29-Some-render-parameters-are-lost-if-they-contains-semicolon-tp25259860p25590912.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25587670</id>
	<title>Escaping more characters in portlet urls</title>
	<published>2009-09-23T17:53:43Z</published>
	<updated>2009-09-23T17:53:43Z</updated>
	<author>
		<name>djencks</name>
	</author>
	<content type="html">In geronimo we've had some problems with ';' not getting escaped in &amp;nbsp;
&lt;br&gt;some portlet urls, see PLUTO-579. &amp;nbsp;The escaping algorithm currently &amp;nbsp;
&lt;br&gt;used looks really inefficient. &amp;nbsp;One of the Geronimo developers (Ivan) &amp;nbsp;
&lt;br&gt;came up with a patch that looks good to me and I've applied to &amp;nbsp;
&lt;br&gt;branches-1.1.x. &amp;nbsp;I think it would be appropriate for trunk as well, &amp;nbsp;
&lt;br&gt;the code looks about the same.
&lt;br&gt;&lt;br&gt;Could one of the pluto devs more familiar with this area take a look &amp;nbsp;
&lt;br&gt;and make sure I'm not missing the point before I go ahead any apply it &amp;nbsp;
&lt;br&gt;to trunk?
&lt;br&gt;&lt;br&gt;many thanks
&lt;br&gt;david jencks
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Escaping-more-characters-in-portlet-urls-tp25587670p25587670.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25587567</id>
	<title>[jira] Updated: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
	<published>2009-09-23T17:46:16Z</published>
	<updated>2009-09-23T17:46:16Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;David Jencks updated PLUTO-579:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 1.1.8
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2.0.1
&lt;br&gt;&lt;br&gt;I applied this to branches-1.1.x after making it compile with jdk 1.4 settings. (rev 818328). &amp;nbsp;I think it should be applied to trunk to, but I'll ask on the dev list first to make sure its appropriate.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Some render parameters are lost if they contains semicolon
&lt;br&gt;&amp;gt; ----------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: PLUTO-579
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/PLUTO-579&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/PLUTO-579&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Pluto
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: portal driver
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.1.7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Ivan
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: David Jencks
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.1, 1.1.8
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: PLUTO-579-0921.patch, PLUTO-579.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If one render parameter contains semicolon, those parameters after it in the url are lost
&lt;br&gt;&amp;gt; Like the URL below
&lt;br&gt;&amp;gt; __pm0x3system-database0x2DBWizard!1134683811|0_view/__rp0x3system-database0x2DBWizard!1134683811|0_rarPath/org0x2tranql0x3tranql-connector-ra0x30x3rar/__rp0x3system-database0x2DBWizard!1134683811|0_driverClass/com0x2microsoft0x2sqlserver0x2jdbc0x2SQLServerDriver/__rp0x3system-database0x2DBWizard!1134683811|0_mode/params/__rp0x3system-database0x2DBWizard!1134683811|0_dbtype/SQL0x8Server0x82005/__rp0x3system-database0x2DBWizard!1134683811|0_adapterDisplayName/TranQL0x8Generic0x8JDBC0x8Resource0x8Adapter/__rp0x3system-database0x2DBWizard!1134683811|0_urlPrototype/jdbc:sqlserver:0x30x3%7BHost%7D:%7BPort%7D;DatabaseName=%7BDatabase%7D/__rp0x3system-database0x2DBWizard!1134683811|0_transactionType/LOCAL/__rp0x3system-database0x2DBWizard!1134683811|0_name/ddddd
&lt;br&gt;&amp;gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter(&amp;quot;name&amp;quot;), it will return null.
&lt;br&gt;&amp;gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String pathInfo = request.getPathInfo(); &amp;lt;--- the pathInfo got from the request is truncated by the semicolon.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (pathInfo == null) {
&lt;br&gt;&amp;gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&lt;br&gt;&amp;gt; Thanks ! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Pluto---Dev-f14379.html&quot; embed=&quot;fixTarget[14379]&quot; target=&quot;_top&quot; &gt;Pluto - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28PLUTO-579%29-Some-render-parameters-are-lost-if-they-contains-semicolon-tp25259860p25587567.html" />
</entry>

</feed>
