<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>pluto-dev@portals.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/</id>
<updated>2009-12-09T19:28:29Z</updated>
<entry>
<title>ccpp api jar license?</title>
<author><name>David Jencks &lt;david_jencks@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200912.mbox/%3cEC8279E8-154E-4724-A5B0-338988AEDFE7@yahoo.com%3e"/>
<id>urn:uuid:%3cEC8279E8-154E-4724-A5B0-338988AEDFE7@yahoo-com%3e</id>
<updated>2009-12-06T08:35:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I recently discovered that there's yet another spec I didn't know  
about, jsr 188 ccpp.  Looking at the sun download link I get to the  
license agreement:

https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewLicense-Start

which doesn't look to me very apache-friendly.  It also looks to me  
from the dev list emails back on aug 28-29 2007 that a pluto committer  
requested the api jar be uploaded to the maven central repo.  I'm  
wondering what the legal basis for doing this was since it is not  
obvious to me that the license linked above would permit this.

Has anyone established whether or not it is legally acceptable to  
include the api jar in a download from apache?

thanks
david jencks



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (PLUTO-585) Make pluto more osgi friendly</title>
<author><name>&quot;David Jencks (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200912.mbox/%3c1026119287.1259827941048.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1026119287-1259827941048-JavaMail-jira@brutus%3e</id>
<updated>2009-12-03T08:12:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/PLUTO-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12785221#action_12785221
] 

David Jencks commented on PLUTO-585:
------------------------------------

rev 886700 builds bundles instead of plain jars and makes a few osgi package imports optional.
 I can get all the jars to load in geronimo but don't know if anything works yet.

&gt; Make pluto more osgi friendly
&gt; -----------------------------
&gt;
&gt;                 Key: PLUTO-585
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-585
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: general
&gt;    Affects Versions: 2.0.1
&gt;            Reporter: David Jencks
&gt;            Assignee: David Jencks
&gt;             Fix For: 2.0.1
&gt;
&gt;
&gt; Geronimo needs pluto to come with more osgi support.  We don't know yet exactly what
this will entail.  Some possible bits:
&gt; 1. make the jars into osgi bundles.  This should be completely non-controversial and
easy.
&gt; 2. use the osgi blueprint service instead of spring.  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).
&gt; 3. Investigate deploying the wars as rfc 66 web app bundles.  I'm not sure whether or
not this would be useful for geronimo.
&gt;  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (PLUTO-387) Provide add/remove page functionality to Pluto Portal Driver</title>
<author><name>&quot;David Jencks (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200912.mbox/%3c1570737419.1259827700962.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1570737419-1259827700962-JavaMail-jira@brutus%3e</id>
<updated>2009-12-03T08:08:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/PLUTO-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12785219#action_12785219
] 

David Jencks commented on PLUTO-387:
------------------------------------

Somehow the removepage method got lost in the RenderConfigAdminService on the way to 2.0.
 I added it back in rev 886695.

&gt; Provide add/remove page functionality to Pluto Portal Driver
&gt; ------------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-387
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-387
&gt;             Project: Pluto
&gt;          Issue Type: Improvement
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.0, 1.1.1, 1.1.2, 1.1.3
&gt;            Reporter: Ajay Panagariya
&gt;            Assignee: Craig Doremus
&gt;             Fix For: 1.1.4, 1.2.0
&gt;
&gt;         Attachments: pluto-387.patch, pluto-387.patch
&gt;
&gt;
&gt; The Page Admin Portlet needs the ability to add and remove pages.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (PLUTO-585) Make pluto more osgi friendly</title>
<author><name>&quot;David Jencks (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200912.mbox/%3c1767620286.1259645421399.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1767620286-1259645421399-JavaMail-jira@brutus%3e</id>
<updated>2009-12-01T05:30:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Make pluto more osgi friendly
-----------------------------

                 Key: PLUTO-585
                 URL: https://issues.apache.org/jira/browse/PLUTO-585
             Project: Pluto
          Issue Type: Bug
          Components: general
    Affects Versions: 2.0.1
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 2.0.1


Geronimo needs pluto to come with more osgi support.  We don't know yet exactly what this
will entail.  Some possible bits:

1. make the jars into osgi bundles.  This should be completely non-controversial and easy.
2. use the osgi blueprint service instead of spring.  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).
3. Investigate deploying the wars as rfc 66 web app bundles.  I'm not sure whether or not
this would be useful for geronimo.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (PLUTO-584) Unalbe to add a portlet application through Pulto Admin</title>
<author><name>&quot;Abani Ranjan Behera (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200911.mbox/%3c1408123072.1257053339436.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1408123072-1257053339436-JavaMail-jira@brutus%3e</id>
<updated>2009-11-01T05:28:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Unalbe to add a portlet application through Pulto Admin
-------------------------------------------------------

                 Key: PLUTO-584
                 URL: https://issues.apache.org/jira/browse/PLUTO-584
             Project: Pluto
          Issue Type: Bug
          Components: portlets-admin
    Affects Versions: 2.0.0
         Environment: Windows XP / Apache tomcat 6
            Reporter: Abani Ranjan Behera


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>pom error deploying portlet JSR286</title>
<author><name>lagrimas negras xxx &lt;lagrimasnegras33@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200910.mbox/%3cb2b212db0910291013y3e90c7d4j847559900d7622e@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb2b212db0910291013y3e90c7d4j847559900d7622e@mail-gmail-com%3e</id>
<updated>2009-10-29T17:13:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
This is the error message:

Description    Resource    Path    Location    Type
Web application descriptor must be a valid web.xml    Copy of
Spring-Portlet-JSR286-2.0final prueba final        line 1    Maven Problem
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="
http://java.sun.com/xml/ns/javaee" xmlns:web="
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID"
version="2.5"&gt;
  &lt;display-name&gt;PortletPrueba&lt;/display-name&gt;
   &lt;servlet&gt;
        &lt;servlet-name&gt;TestPortlet&lt;/servlet-name&gt;
        &lt;servlet-class&gt;org.apache.pluto.core.PortletServlet&lt;/servlet-class&gt;
        &lt;init-param&gt;
          &lt;param-name&gt;portlet-name&lt;/param-name&gt;
          &lt;param-value&gt;TestPortlet&lt;/param-value&gt;
        &lt;/init-param&gt;
        &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
    &lt;/servlet&gt;

    &lt;servlet-mapping&gt;
        &lt;servlet-name&gt;TestPortlet&lt;/servlet-name&gt;
        &lt;url-pattern&gt;/PlutoInvoker/TestPortlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
&lt;/web-app&gt;







dog somebody send me to web.xml been worth of example?


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (PLUTO-583) PortalURLParserImpl: unnecessary &quot;?&quot;</title>
<author><name>=?utf-8?Q?J=C3=BCrgen_Gahl_=28JIRA=29?= &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200910.mbox/%3c946426859.1256824199378.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c946426859-1256824199378-JavaMail-jira@brutus%3e</id>
<updated>2009-10-29T13:49:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
PortalURLParserImpl: unnecessary "?"
------------------------------------

                 Key: PLUTO-583
                 URL: https://issues.apache.org/jira/browse/PLUTO-583
             Project: Pluto
          Issue Type: Bug
          Components: portal driver
    Affects Versions: 2.0.0
            Reporter: JÃ¼rgen Gahl
            Priority: Trivial


When creating an URL with "public String toString(PortalURL portalURL)" an unnecessary "?"
is added if the query is empty (org.apache.pluto.driver.url.impl.PortalURLParserImpl). 
This is the part of the source code where the URL is finally composed:

---
        // Construct the string representing the portal URL.
        // Fix for PLUTO-247 - check if query string contains parameters
        if ( query.length() &gt; 1 ) {
            return buffer.append(query).toString();
        }

        // Construct the string representing the portal URL.
        return buffer.append(query).toString();
---

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.
The unnecessary "?" 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
"?".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: serveResource() question</title>
<author><name>hub &lt;felber@abacus.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200910.mbox/%3c26029560.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26029560-post@talk-nabble-com%3e</id>
<updated>2009-10-23T16:33:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

in doView()

response.setContentType("text/html"); 
PrintWriter writer = response.getWriter(); 
ResourceURL resURL = response.createResourceURL(); 
String p = "&lt;object data=\"" + resURL.toString() + "\"" +
"type=\"application/pdf\" width=\"100%\" height=\"100%\""; 
writer.print(p); 

serveResource() is called then.

This works for IE and firefox but.... 
in IE without problems, in firefox I get a Stacktrace although I get the
document in the browser, but sometimes firefox also crashes 

Does someone perhaps have a clue? 
Thank you 
Hubert 

17:55:47,953 ERROR [[WorkflowPortlet]] Servlet.service() for servlet
WorkflowPortlet threw exception 
java.net.SocketException: Connection reset by peer: socket write error 
at java.net.SocketOutputStream.socketWrite0(Native Method) 
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) 
at java.net.SocketOutputStream.write(SocketOutputStream.java:136) 

-- 
View this message in context: http://www.nabble.com/serveResource%28%29-question-tp25962607p26029560.html
Sent from the Pluto - Dev mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Portlet locked with processEvent() ?</title>
<author><name>hub &lt;felber@abacus.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200910.mbox/%3c26029319.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26029319-post@talk-nabble-com%3e</id>
<updated>2009-10-23T16:17:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

...well, it looks like it was my fault.
The thread that locked the whole thing was "com.sun.jndi.ldap.Connection".
And it locked, because I left a DirContext open in my application. Closing
this solved the problem.

hub

-- 
View this message in context: http://www.nabble.com/Portlet-locked-with-processEvent%28%29---tp25964293p26029319.html
Sent from the Pluto - Dev mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (PLUTO-582) forwarding to jsp in action phase causes error if  &lt;portlet:defineObjects/&gt; is used in jsp</title>
<author><name>&quot;Hubert Felber (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200910.mbox/%3c598907995.1256203619420.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c598907995-1256203619420-JavaMail-jira@brutus%3e</id>
<updated>2009-10-22T09:26:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
forwarding to jsp in action phase causes error if  &lt;portlet:defineObjects/&gt; is used in
jsp
------------------------------------------------------------------------------------------

                 Key: PLUTO-582
                 URL: https://issues.apache.org/jira/browse/PLUTO-582
             Project: Pluto
          Issue Type: Bug
    Affects Versions: 2.0.0
         Environment: windows, JBOSS 4.2.2 GA
            Reporter: Hubert Felber


in the action phase I do a

getPortletContext().getRequestDispatcher("test.jsp").forward(request,response);

in test.jsp I defined
&lt;%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %&gt;
&lt;portlet:defineObjects/&gt;

The compiled jsp then contains
      renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest");

which causes a 

javax.servlet.ServletException: javax.portlet.PortletException: java.lang.ClassCastException:
org.apache.pluto.container.impl.ActionRequestImpl cannot be cast to javax.portlet.RenderRequest
	org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:141)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Portlet locked with processEvent() ?</title>
<author><name>hub &lt;felber@abacus.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200910.mbox/%3c25964293.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c25964293-post@talk-nabble-com%3e</id>
<updated>2009-10-19T19:39:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

Please excuse me for writing in the Dev forum, but I don't notice any
activity in the user forum.
I think I am locking a portlet, maybe I do stuff which I should not. Could
anyone please help me?

I have a portlet B , loaded on startup but not visible (not displayed).
Portlet A sends an event to portlet B.
Portlet B receives it in processEvent() , does some stuff(creates a workflow
with opensymphony/osworkflow)  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.
Creating a new request by pressing "home" interrupts the pending request and
all works fine again. But I think the request is still pending somewhere.

If I don't do anything in processEvent(), the portlet get's rendered
(doView()).
Sometimes (rarely) it works, although I do my stuff in processEvent()
(create the workflow).
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.

While stopping the application I then see following output on the console
 [TomcatDeployer] undeploy, ctxPath=/pluto, warUrl=.../deploy/pluto.war/
 [StandardWrapper] Waiting for 1 instance(s) to be deallocated
 [StandardWrapper] Waiting for 1 instance(s) to be deallocated
 [StandardWrapper] Waiting for 1 instance(s) to be deallocated
 [[/pluto]] Closing Spring root WebApplicationContext

The more requests I generated, the more "Waiting ..." I see.

I am running on JBoss 4.2.2 GA

Are there some restrictions on what is allowed in processEvent()?
Could somebody please help me to isolate the problem?

Thank you for helping

Regards
Hubert

-- 
View this message in context: http://www.nabble.com/Portlet-locked-with-processEvent%28%29---tp25964293p25964293.html
Sent from the Pluto - Dev mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>serveResource() question</title>
<author><name>hub &lt;felber@abacus.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200910.mbox/%3c25962607.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c25962607-post@talk-nabble-com%3e</id>
<updated>2009-10-19T17:47:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

1.

Problem:
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.
Question:
How do I achieve to display a PDF as response to a RenderRequest ?

Thank you
Hubert

-- 
View this message in context: http://www.nabble.com/serveResource%28%29-question-tp25962607p25962607.html
Sent from the Pluto - Dev mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (PLUTO-581) org.apache.pluto.driver.url.impl.PortalURLParserImpl not properly decoding public/private render parameters</title>
<author><name>&quot;Michael Freedman (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200910.mbox/%3c1824504957.1255717231540.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1824504957-1255717231540-JavaMail-jira@brutus%3e</id>
<updated>2009-10-16T18:20:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
org.apache.pluto.driver.url.impl.PortalURLParserImpl not properly decoding public/private render
parameters
-----------------------------------------------------------------------------------------------------------

                 Key: PLUTO-581
                 URL: https://issues.apache.org/jira/browse/PLUTO-581
             Project: Pluto
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Michael Freedman


PortalURLParserImpl doubly encodes public/private render parameters into the path portion
of the ResourceURL but on return its parser only decodes once.  

See encodeMultiValues() to see the double encoding.

Look at decodePublicParameter() to see the single decode.  Instead this method should use
the same decoding strategy as decodeParameter().  namely it needs the following code added
after the call to split up the values into an array of values:

        for (int i = 0; i &lt; paramValues.length;i++){
            try {
                paramValues[i] = URLDecoder.decode(paramValues[i], "UTF-8");
            } catch (UnsupportedEncodingException e) {
                LOG.warn(e.getMessage(),e);
            }
        }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;Ate Douma (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200910.mbox/%3c714445534.1255386751299.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c714445534-1255386751299-JavaMail-jira@brutus%3e</id>
<updated>2009-10-12T22:32:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12764874#action_12764874
] 

Ate Douma commented on PLUTO-579:
---------------------------------

Hi David,

Sorry for not replying any time sooner on your questions.
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.
But I still haven't had time to look deeper into this, nor will I be able to do so this week.
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.
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.
I'll try to chime back in on this issue next week if possible. If you want, ping me in private
to remind me :)

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;            Assignee: David Jencks
&gt;             Fix For: 2.0.1, 1.1.8
&gt;
&gt;         Attachments: PLUTO-579-0921.patch, PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Resolved: (PLUTO-580) Allow portlet descriptor with empty namesapce during deployment.</title>
<author><name>&quot;Woonsan Ko (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200910.mbox/%3c140670197.1255084771327.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c140670197-1255084771327-JavaMail-jira@brutus%3e</id>
<updated>2009-10-09T10:39:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/PLUTO-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Woonsan Ko resolved PLUTO-580.
------------------------------

    Resolution: Fixed

Fixed by adjusting namespace uris in a custom XmlStreamReader based on the version attribute
of the root element.
I will appreciate for any reviews and comments. Thanks.

&gt; Allow portlet descriptor with empty namesapce during deployment.
&gt; ----------------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-580
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-580
&gt;             Project: Pluto
&gt;          Issue Type: Improvement
&gt;    Affects Versions: 2.0.0
&gt;            Reporter: Woonsan Ko
&gt;            Assignee: Woonsan Ko
&gt;             Fix For: 2.0.1
&gt;
&gt;
&gt; Currently, PortletAppDescriptorServiceImpl is using explicit schema based JAXB unmarshalling.
(.../portlet-app_1_0.xsd or .../portlet-app_2_0.xsd).
&gt; However, if we allow empty namespaced descriptor as well, then I think it would be very
convenient.
&gt; Because "version" attribute of portlet-app element is required one, we can infer its
implicit namespaces.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Getting Started</title>
<author><name>Pavel &lt;pavelgj@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c83bbd89f0909251048h410329f3ud0010bacde9dd951@mail.gmail.com%3e"/>
<id>urn:uuid:%3c83bbd89f0909251048h410329f3ud0010bacde9dd951@mail-gmail-com%3e</id>
<updated>2009-09-25T17:48:26Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Something obviously went wrong... but you'll need to provide more clues for
anyone to be able to help you... any exceptions anywhere?

Pavel


On Fri, Jul 17, 2009 at 1:15 AM, KetanNale &lt;ketan_nale@yahoo.com&gt; wrote:

&gt;
&gt; Hi All,
&gt;
&gt; I am new to portlets. I want to develop portal for my site.
&gt; I downloaded Pluto 2.0 source and built but
&gt; as per guided on home site
&gt; http://localhost:8080/pluto/portal didnt started....
&gt;
&gt; can anyone help me how to start with pluto...
&gt;
&gt; cheers,
&gt; --
&gt; View this message in context:
&gt; http://www.nabble.com/Getting-Started-tp24529702p24529702.html
&gt; Sent from the Pluto - Dev mailing list archive at Nabble.com.
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Escaping more characters in portlet urls</title>
<author><name>David Jencks &lt;david_jencks@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c82F8D8A4-8699-4071-AAF2-0561138166F3@yahoo.com%3e"/>
<id>urn:uuid:%3c82F8D8A4-8699-4071-AAF2-0561138166F3@yahoo-com%3e</id>
<updated>2009-09-24T19:05:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Ate,

I think there are still issues.... I added another comment to the issue.

thanks
david jencks

On Sep 24, 2009, at 12:56 AM, Ate Douma wrote:

&gt; Hi David,
&gt;
&gt; I looked briefly at both the PLUTO-579 patch and the current Pluto  
&gt; trunk PortalURLParserImpl and don't think this issue applies to  
&gt; trunk anymore.
&gt; I added a more detailed comment on the issue itself: https://issues.apache.org/jira/browse/PLUTO-579
&gt;
&gt; Regards,
&gt;
&gt; Ate
&gt;
&gt; David Jencks wrote:
&gt;&gt; In geronimo we've had some problems with ';' not getting escaped in  
&gt;&gt; some portlet urls, see PLUTO-579.  The escaping algorithm currently  
&gt;&gt; used looks really inefficient.  One of the Geronimo developers  
&gt;&gt; (Ivan) came up with a patch that looks good to me and I've applied  
&gt;&gt; to branches-1.1.x.  I think it would be appropriate for trunk as  
&gt;&gt; well, the code looks about the same.
&gt;&gt; Could one of the pluto devs more familiar with this area take a  
&gt;&gt; look and make sure I'm not missing the point before I go ahead any  
&gt;&gt; apply it to trunk?
&gt;&gt; many thanks
&gt;&gt; david jencks
&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;David Jencks (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c1466212019.1253819116353.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1466212019-1253819116353-JavaMail-jira@brutus%3e</id>
<updated>2009-09-24T19:05:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12759215#action_12759215
] 

David Jencks commented on PLUTO-579:
------------------------------------

Hi Ate,

I now have a lot of questions :-)

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.

What I don't understand is why encodeCharacters is needed at all, and why we can't always
use the URLEncoded/Decoder.

trunk encodes these characters:
{code}
    private static final String[][] ENCODINGS = new String[][] {
     new String[] { "_", "0x1" },
            new String[] { ".", "0x2" },
            new String[] { "/", "0x3" },
            new String[] { "\r", "0x4" },
            new String[] { "\n", "0x5" },
            new String[] { "&lt;", "0x6" },
            new String[] { "&gt;", "0x7" },
            new String[] { " ", "0x8" },
            new String[] { "#", "0x9" },
            new String[] { "?", "0xa" },
            new String[] { "\\", "0xb" },
            new String[] { "%", "0xc" },
    };
{code}

The URLEncoder docs say everything except these get URL encoded:

# The special characters ".", "-", "*", and "_" remain the same.

"." and "_" are pluto-encoded, "-" and "*" are not.

pluto encodeCharacters is called:

after url-encoding multi values. (line 434) This will encode "." and "_" in parameter values.
I don't think this is compliant with the spec.

to encode a windowId (encodeControlParameter, line 395). Is there a regex or similar grammar
for window Ids?

to encode a resourceWindow (toString, line 239). I think this is another windowId.

to encode the actionWindow (toString, line 248), presumably another windowId.

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.

to encode resource window resourceId (toString, line 261), presumably another windowId.

So, depending on what valid windowIds are, the encoding is unnecessary, excessive, or incomplete.
I'd like to know what valid windowIds can be.

Also, there's a problem with strings to be encoded that have the encoding characters in them
already, such as "0x1". These need to be re-encoded somehow so decoding produces the original
value. I think Ivan's patch does this successfully.

I'll change the branch impl to use more URLEncoding on multi-values, for the other bits I
need more info. 

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;            Assignee: David Jencks
&gt;             Fix For: 2.0.1, 1.1.8
&gt;
&gt;         Attachments: PLUTO-579-0921.patch, PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Escaping more characters in portlet urls</title>
<author><name>Ate Douma &lt;ate@douma.nu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c4ABB261A.9060403@douma.nu%3e"/>
<id>urn:uuid:%3c4ABB261A-9060403@douma-nu%3e</id>
<updated>2009-09-24T07:56:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi David,

I looked briefly at both the PLUTO-579 patch and the current Pluto trunk PortalURLParserImpl
and don't think this issue applies to trunk 
anymore.
I added a more detailed comment on the issue itself: https://issues.apache.org/jira/browse/PLUTO-579

Regards,

Ate

David Jencks wrote:
&gt; In geronimo we've had some problems with ';' not getting escaped in some 
&gt; portlet urls, see PLUTO-579.  The escaping algorithm currently used 
&gt; looks really inefficient.  One of the Geronimo developers (Ivan) came up 
&gt; with a patch that looks good to me and I've applied to branches-1.1.x.  
&gt; I think it would be appropriate for trunk as well, the code looks about 
&gt; the same.
&gt; 
&gt; Could one of the pluto devs more familiar with this area take a look and 
&gt; make sure I'm not missing the point before I go ahead any apply it to 
&gt; trunk?
&gt; 
&gt; many thanks
&gt; david jencks
&gt; 



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;Ate Douma (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c1964002268.1253778856015.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1964002268-1253778856015-JavaMail-jira@brutus%3e</id>
<updated>2009-09-24T07:54:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12759053#action_12759053
] 

Ate Douma commented on PLUTO-579:
---------------------------------

Hi David,

I looked briefly at both the patch and the current Pluto trunk PortalURLParserImpl.
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.
As URLEncoder already takes care of ';' characters I think this issue no longer applies to
trunk anymore.
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.
If using URLEncoder/URLDecoder is as efficient as the new custom encoding/decoding in Pluto
1.1.x branch I don't know.
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. 

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;            Assignee: David Jencks
&gt;             Fix For: 2.0.1, 1.1.8
&gt;
&gt;         Attachments: PLUTO-579-0921.patch, PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Escaping more characters in portlet urls</title>
<author><name>David Jencks &lt;david_jencks@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c9D0BCC5F-6451-4175-9550-3B0441E7B682@yahoo.com%3e"/>
<id>urn:uuid:%3c9D0BCC5F-6451-4175-9550-3B0441E7B682@yahoo-com%3e</id>
<updated>2009-09-24T00:53:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
In geronimo we've had some problems with ';' not getting escaped in  
some portlet urls, see PLUTO-579.  The escaping algorithm currently  
used looks really inefficient.  One of the Geronimo developers (Ivan)  
came up with a patch that looks good to me and I've applied to  
branches-1.1.x.  I think it would be appropriate for trunk as well,  
the code looks about the same.

Could one of the pluto devs more familiar with this area take a look  
and make sure I'm not missing the point before I go ahead any apply it  
to trunk?

many thanks
david jencks



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;David Jencks (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c2052226567.1253753176479.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c2052226567-1253753176479-JavaMail-jira@brutus%3e</id>
<updated>2009-09-24T00:46:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Jencks updated PLUTO-579:
-------------------------------

    Fix Version/s: 1.1.8
                   2.0.1

I applied this to branches-1.1.x after making it compile with jdk 1.4 settings. (rev 818328).
 I think it should be applied to trunk to, but I'll ask on the dev list first to make sure
its appropriate.

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;            Assignee: David Jencks
&gt;             Fix For: 2.0.1, 1.1.8
&gt;
&gt;         Attachments: PLUTO-579-0921.patch, PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Assigned: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;David Jencks (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c261774226.1253753056103.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c261774226-1253753056103-JavaMail-jira@brutus%3e</id>
<updated>2009-09-24T00:44:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Jencks reassigned PLUTO-579:
----------------------------------

    Assignee: David Jencks

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;            Assignee: David Jencks
&gt;         Attachments: PLUTO-579-0921.patch, PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;Ivan (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c1403450823.1253543296285.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1403450823-1253543296285-JavaMail-jira@brutus%3e</id>
<updated>2009-09-21T14:28:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan updated PLUTO-579:
-----------------------

    Attachment: PLUTO-579-0921.patch

Attach a updated patch, including a fix about the dupliate slash while contrcuting the url.
This may causes some issues while working with Jetty while the compactpath attribute is set
with false.

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;         Attachments: PLUTO-579-0921.patch, PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (PLUTO-580) Allow portlet descriptor with empty namesapce during deployment.</title>
<author><name>&quot;Woonsan Ko (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c954422234.1253098857490.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c954422234-1253098857490-JavaMail-jira@brutus%3e</id>
<updated>2009-09-16T11:00:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Allow portlet descriptor with empty namesapce during deployment.
----------------------------------------------------------------

                 Key: PLUTO-580
                 URL: https://issues.apache.org/jira/browse/PLUTO-580
             Project: Pluto
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Woonsan Ko
            Assignee: Woonsan Ko
             Fix For: 2.0.1


Currently, PortletAppDescriptorServiceImpl is using explicit schema based JAXB unmarshalling.
(.../portlet-app_1_0.xsd or .../portlet-app_2_0.xsd).
However, if we allow empty namespaced descriptor as well, then I think it would be very convenient.
Because "version" attribute of portlet-app element is required one, we can infer its implicit
namespaces.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;Ivan (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c2091817821.1252992837550.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c2091817821-1252992837550-JavaMail-jira@brutus%3e</id>
<updated>2009-09-15T05:33:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan updated PLUTO-579:
-----------------------

    Attachment: PLUTO-579.patch

Attach a new patch, it includes:
a. Use pattern to encode/decode parameter values
b. Add semicolon to the escape arrays
c. Add codes to handle 0x0" (which is used to separate multiple parameter values) is contained
in the parameter value
Please help to review the patch, thanks !

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;         Attachments: PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;Ivan (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c1278049041.1252984677617.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1278049041-1252984677617-JavaMail-jira@brutus%3e</id>
<updated>2009-09-15T03:17:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan updated PLUTO-579:
-----------------------

    Attachment:     (was: PLUTO-579.patch)

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;David Jencks (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c700506947.1252975017512.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c700506947-1252975017512-JavaMail-jira@brutus%3e</id>
<updated>2009-09-15T00:36:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12755268#action_12755268
] 

David Jencks commented on PLUTO-579:
------------------------------------

Can we use a similar regular expression to do the encoding as well as the decoding?

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;         Attachments: PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;Ivan (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c550140909.1252941777550.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c550140909-1252941777550-JavaMail-jira@brutus%3e</id>
<updated>2009-09-14T15:22:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan updated PLUTO-579:
-----------------------

    Attachment: PLUTO-579.patch

Thanks for the comment, David, I re-created a new patch.

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;         Attachments: PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;Ivan (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c1743082239.1252940217949.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1743082239-1252940217949-JavaMail-jira@brutus%3e</id>
<updated>2009-09-14T14:56:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan updated PLUTO-579:
-----------------------

    Attachment:     (was: PLUTO-579.patch)

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;David Jencks (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c1243458743.1252714677618.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1243458743-1252714677618-JavaMail-jira@brutus%3e</id>
<updated>2009-09-12T00:17:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12754439#action_12754439
] 

David Jencks commented on PLUTO-579:
------------------------------------

I think there must be a way to only scan through the string once for encoding or decoding.
 Can we do each operation using only one regular expression?

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;         Attachments: PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How about allowing empty namespaced portlet descriptor?</title>
<author><name>Carsten Ziegeler &lt;cziegeler@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c4AA92D9A.5090203@apache.org%3e"/>
<id>urn:uuid:%3c4AA92D9A-5090203@apache-org%3e</id>
<updated>2009-09-10T16:47:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Woonsan Ko wrote:
&gt; 
&gt; So, I'm inclined to support that case as well because it is mentioned as *not required*.
&gt; 
Great, so +1 to the whole thing.


Regards
Carsten
-- 
Carsten Ziegeler
cziegeler@apache.org


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How about allowing empty namespaced portlet descriptor?</title>
<author><name>Ate Douma &lt;ate@douma.nu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c4AA92B7F.30202@douma.nu%3e"/>
<id>urn:uuid:%3c4AA92B7F-30202@douma-nu%3e</id>
<updated>2009-09-10T16:38:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Woonsan Ko wrote:
&gt; Hi Carsten,
&gt; 
&gt; 
&gt; --- On Thu, 9/10/09, Carsten Ziegeler &lt;cziegeler@apache.org&gt; wrote:
&gt; 
&gt;&gt; From: Carsten Ziegeler &lt;cziegeler@apache.org&gt;
&gt;&gt; Subject: Re: How about allowing empty namespaced portlet descriptor?
&gt;&gt; To: pluto-dev@portals.apache.org
&gt;&gt; Date: Thursday, September 10, 2009, 5:39 PM
&gt;&gt; Now, while I think that a portlet.xml
&gt;&gt; which does not use use the
&gt;&gt; namespace is not valid (wrt the spec), it sounds reasonable
&gt;&gt; to
&gt;&gt; support such descriptors.
&gt;&gt; And I also agree that this support makes sense in Pluto.
&gt;&gt;
&gt;&gt; The only question I have which cases we support :)
&gt;&gt; The example below mentions: &lt;portlet-app id="charttest"
&gt;&gt; version="1.0"&gt;.
&gt;&gt; This can be supported easily.
&gt;&gt; Two questions:
&gt;&gt; - I guess the version attribute is still mandatory, right?
&gt; 
&gt; Right. I've just found that the xsd says it is a required attribute.
&gt; 
&gt;&gt; - What happens if someone is using &lt;portlet-app
&gt;&gt; id="charttest"
&gt;&gt; version="2.0"&gt;? Would we support that as well?
&gt; 
&gt; Good point. I haven't thought of it. :-)
&gt; I found the following in the section, "PLT.25.4 Rules for processing the Portlet Deployment
Descriptor", of the spec:
&gt; 
&gt; "It is recommended, but not required, that portlet containers and tools validate both
deployment descriptors against the corresponding DTD and XML Schema definitions for structural
correctness."
&gt; 
&gt; So, I'm inclined to support that case as well because it is mentioned as *not required*.
+1 from me on all of this.

Regards,

Ate

&gt; 
&gt; 
&gt; Regards,
&gt; 
&gt; Woonsan
&gt; 
&gt; 
&gt;&gt; Regards
&gt;&gt; Carsten
&gt;&gt;
&gt;&gt; Woonsan Ko wrote:
&gt;&gt;&gt; Hi there,
&gt;&gt;&gt;
&gt;&gt;&gt; During testing portlet deployments with some useful
&gt;&gt; PAs from jp.sf.pal portlet repository, I found that the
&gt;&gt; current pluto-2 deployment component failed to deploy a PA
&gt;&gt; when the descriptor of the PA does not have any namespace
&gt;&gt; uri definition with the following exceptions:
&gt;&gt;&gt; java.io.IOException: unexpected element
&gt;&gt;&gt; (uri:"", local:"portlet-app"). Expected elements are
&gt;&gt;&gt; &lt;{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app&gt;,&lt;{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; The portlet.xml is like the following:
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt;&gt;&gt; &lt;portlet-app id="charttest" version="1.0"&gt;
&gt;&gt;&gt; &lt;snip/&gt;
&gt;&gt;&gt; &lt;/portlet-app&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; It's simply because PortletAppDescriptorServiceImpl is
&gt;&gt; using explicit schema based JAXB unmarshalling.
&gt;&gt; (.../portlet-app_1_0.xsd or .../portlet-app_2_0.xsd)
&gt;&gt;&gt; However, if we allow empty namespaced descriptor as
&gt;&gt; well, then I think it would be very helpful to deploy some
&gt;&gt; old portlet-1.0 based existing portlet applications.
&gt;&gt;&gt; To do this without any side effect, we can just copy
&gt;&gt; the portlet 1.0 JAXB package,
&gt;&gt; "o.a.p.container.om.portlet10.impl", to a new package (such
&gt;&gt; as  "o.a.p.container.om.portlet10.emptyns.impl"?), with
&gt;&gt; empty namespace annotations and add it into the JAXB context
&gt;&gt; as a third option in the PortletAppDescriptorService
&gt;&gt; implementation.
&gt;&gt;&gt; By the way, this feature has been recently committed
&gt;&gt; in Jetspeed-2.2.1-SNAPSHOT, but I'm now thinking it would be
&gt;&gt; better to move this to pluto.
&gt;&gt;&gt; You can see the issue (JS2-1061) and the related
&gt;&gt; discussion here: 
&gt;&gt;&gt; http://www.nabble.com/On-the-current-strong-validation-during-PA-deployment-td25261119.html
&gt;&gt;&gt;   
&gt;&gt;&gt; If there's no objection, I hope to add this to pluto
&gt;&gt; trunk.
&gt;&gt;&gt; What do you think?
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Kind regards,
&gt;&gt;&gt;
&gt;&gt;&gt; Woonsan
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;        
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; -- 
&gt;&gt; Carsten Ziegeler
&gt;&gt; cziegeler@apache.org
&gt;&gt;
&gt; 
&gt; 
&gt;       



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How about allowing empty namespaced portlet descriptor?</title>
<author><name>Woonsan Ko &lt;woon_san@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c880634.29664.qm@web51112.mail.re2.yahoo.com%3e"/>
<id>urn:uuid:%3c880634-29664-qm@web51112-mail-re2-yahoo-com%3e</id>
<updated>2009-09-10T16:21:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Carsten,


--- On Thu, 9/10/09, Carsten Ziegeler &lt;cziegeler@apache.org&gt; wrote:

&gt; From: Carsten Ziegeler &lt;cziegeler@apache.org&gt;
&gt; Subject: Re: How about allowing empty namespaced portlet descriptor?
&gt; To: pluto-dev@portals.apache.org
&gt; Date: Thursday, September 10, 2009, 5:39 PM
&gt; Now, while I think that a portlet.xml
&gt; which does not use use the
&gt; namespace is not valid (wrt the spec), it sounds reasonable
&gt; to
&gt; support such descriptors.
&gt; And I also agree that this support makes sense in Pluto.
&gt; 
&gt; The only question I have which cases we support :)
&gt; The example below mentions: &lt;portlet-app id="charttest"
&gt; version="1.0"&gt;.
&gt; This can be supported easily.
&gt; Two questions:
&gt; - I guess the version attribute is still mandatory, right?

Right. I've just found that the xsd says it is a required attribute.

&gt; - What happens if someone is using &lt;portlet-app
&gt; id="charttest"
&gt; version="2.0"&gt;? Would we support that as well?

Good point. I haven't thought of it. :-)
I found the following in the section, "PLT.25.4 Rules for processing the Portlet Deployment
Descriptor", of the spec:

"It is recommended, but not required, that portlet containers and tools validate both deployment
descriptors against the corresponding DTD and XML Schema definitions for structural correctness."

So, I'm inclined to support that case as well because it is mentioned as *not required*.


Regards,

Woonsan


&gt; 
&gt; Regards
&gt; Carsten
&gt; 
&gt; Woonsan Ko wrote:
&gt; &gt; Hi there,
&gt; &gt; 
&gt; &gt; During testing portlet deployments with some useful
&gt; PAs from jp.sf.pal portlet repository, I found that the
&gt; current pluto-2 deployment component failed to deploy a PA
&gt; when the descriptor of the PA does not have any namespace
&gt; uri definition with the following exceptions:
&gt; &gt; 
&gt; &gt; java.io.IOException: unexpected element
&gt; &gt; (uri:"", local:"portlet-app"). Expected elements are
&gt; &gt; &lt;{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app&gt;,&lt;{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app&gt;
&gt; &gt; 
&gt; &gt; The portlet.xml is like the following:
&gt; &gt; 
&gt; &gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &gt; &lt;portlet-app id="charttest" version="1.0"&gt;
&gt; &gt; &lt;snip/&gt;
&gt; &gt; &lt;/portlet-app&gt;
&gt; &gt; 
&gt; &gt; It's simply because PortletAppDescriptorServiceImpl is
&gt; using explicit schema based JAXB unmarshalling.
&gt; (.../portlet-app_1_0.xsd or .../portlet-app_2_0.xsd)
&gt; &gt; 
&gt; &gt; However, if we allow empty namespaced descriptor as
&gt; well, then I think it would be very helpful to deploy some
&gt; old portlet-1.0 based existing portlet applications.
&gt; &gt; 
&gt; &gt; To do this without any side effect, we can just copy
&gt; the portlet 1.0 JAXB package,
&gt; "o.a.p.container.om.portlet10.impl", to a new package (such
&gt; as  "o.a.p.container.om.portlet10.emptyns.impl"?), with
&gt; empty namespace annotations and add it into the JAXB context
&gt; as a third option in the PortletAppDescriptorService
&gt; implementation.
&gt; &gt; 
&gt; &gt; By the way, this feature has been recently committed
&gt; in Jetspeed-2.2.1-SNAPSHOT, but I'm now thinking it would be
&gt; better to move this to pluto.
&gt; &gt; You can see the issue (JS2-1061) and the related
&gt; discussion here: 
&gt; &gt; http://www.nabble.com/On-the-current-strong-validation-during-PA-deployment-td25261119.html
&gt; &gt;  
&gt; &gt; If there's no objection, I hope to add this to pluto
&gt; trunk.
&gt; &gt; What do you think?
&gt; &gt; 
&gt; &gt; 
&gt; &gt; Kind regards,
&gt; &gt; 
&gt; &gt; Woonsan
&gt; &gt; 
&gt; &gt; 
&gt; &gt; 
&gt; &gt;       
&gt; &gt; 
&gt; 
&gt; 
&gt; -- 
&gt; Carsten Ziegeler
&gt; cziegeler@apache.org
&gt; 


      


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How about allowing empty namespaced portlet descriptor?</title>
<author><name>Carsten Ziegeler &lt;cziegeler@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c4AA91DC3.4060603@apache.org%3e"/>
<id>urn:uuid:%3c4AA91DC3-4060603@apache-org%3e</id>
<updated>2009-09-10T15:39:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Now, while I think that a portlet.xml which does not use use the
namespace is not valid (wrt the spec), it sounds reasonable to
support such descriptors.
And I also agree that this support makes sense in Pluto.

The only question I have which cases we support :)
The example below mentions: &lt;portlet-app id="charttest" version="1.0"&gt;.
This can be supported easily.
Two questions:
- I guess the version attribute is still mandatory, right?
- What happens if someone is using &lt;portlet-app id="charttest"
version="2.0"&gt;? Would we support that as well?

Regards
Carsten

Woonsan Ko wrote:
&gt; Hi there,
&gt; 
&gt; During testing portlet deployments with some useful PAs from jp.sf.pal portlet repository,
I found that the current pluto-2 deployment component failed to deploy a PA when the descriptor
of the PA does not have any namespace uri definition with the following exceptions:
&gt; 
&gt; java.io.IOException: unexpected element
&gt; (uri:"", local:"portlet-app"). Expected elements are
&gt; &lt;{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app&gt;,&lt;{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app&gt;
&gt; 
&gt; The portlet.xml is like the following:
&gt; 
&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;portlet-app id="charttest" version="1.0"&gt;
&gt; &lt;snip/&gt;
&gt; &lt;/portlet-app&gt;
&gt; 
&gt; It's simply because PortletAppDescriptorServiceImpl is using explicit schema based JAXB
unmarshalling. (.../portlet-app_1_0.xsd or .../portlet-app_2_0.xsd)
&gt; 
&gt; However, if we allow empty namespaced descriptor as well, then I think it would be very
helpful to deploy some old portlet-1.0 based existing portlet applications.
&gt; 
&gt; To do this without any side effect, we can just copy the portlet 1.0 JAXB package, "o.a.p.container.om.portlet10.impl",
to a new package (such as  "o.a.p.container.om.portlet10.emptyns.impl"?), with empty namespace
annotations and add it into the JAXB context as a third option in the PortletAppDescriptorService
implementation.
&gt; 
&gt; By the way, this feature has been recently committed in Jetspeed-2.2.1-SNAPSHOT, but
I'm now thinking it would be better to move this to pluto.
&gt; You can see the issue (JS2-1061) and the related discussion here: 
&gt; http://www.nabble.com/On-the-current-strong-validation-during-PA-deployment-td25261119.html
&gt;  
&gt; If there's no objection, I hope to add this to pluto trunk.
&gt; What do you think?
&gt; 
&gt; 
&gt; Kind regards,
&gt; 
&gt; Woonsan
&gt; 
&gt; 
&gt; 
&gt;       
&gt; 


-- 
Carsten Ziegeler
cziegeler@apache.org


</pre>
</div>
</content>
</entry>
<entry>
<title>How about allowing empty namespaced portlet descriptor?</title>
<author><name>Woonsan Ko &lt;woon_san@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c509722.21288.qm@web51104.mail.re2.yahoo.com%3e"/>
<id>urn:uuid:%3c509722-21288-qm@web51104-mail-re2-yahoo-com%3e</id>
<updated>2009-09-10T10:23:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi there,

During testing portlet deployments with some useful PAs from jp.sf.pal portlet repository,
I found that the current pluto-2 deployment component failed to deploy a PA when the descriptor
of the PA does not have any namespace uri definition with the following exceptions:

java.io.IOException: unexpected element
(uri:"", local:"portlet-app"). Expected elements are
&lt;{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-app&gt;,&lt;{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-app&gt;

The portlet.xml is like the following:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;portlet-app id="charttest" version="1.0"&gt;
&lt;snip/&gt;
&lt;/portlet-app&gt;

It's simply because PortletAppDescriptorServiceImpl is using explicit schema based JAXB unmarshalling.
(.../portlet-app_1_0.xsd or .../portlet-app_2_0.xsd)

However, if we allow empty namespaced descriptor as well, then I think it would be very helpful
to deploy some old portlet-1.0 based existing portlet applications.

To do this without any side effect, we can just copy the portlet 1.0 JAXB package, "o.a.p.container.om.portlet10.impl",
to a new package (such as  "o.a.p.container.om.portlet10.emptyns.impl"?), with empty namespace
annotations and add it into the JAXB context as a third option in the PortletAppDescriptorService
implementation.

By the way, this feature has been recently committed in Jetspeed-2.2.1-SNAPSHOT, but I'm now
thinking it would be better to move this to pluto.
You can see the issue (JS2-1061) and the related discussion here: 
http://www.nabble.com/On-the-current-strong-validation-during-PA-deployment-td25261119.html
 
If there's no objection, I hope to add this to pluto trunk.
What do you think?


Kind regards,

Woonsan



      


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;Ivan (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c1912302006.1251956612991.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1912302006-1251956612991-JavaMail-jira@brutus%3e</id>
<updated>2009-09-03T05:43:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/PLUTO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan updated PLUTO-579:
-----------------------

    Attachment: PLUTO-579.patch

I created a patch for it, please help to review, thanks !
The changes include :
1. Add semicolon to the encoding array
2. Add codes to handle those replaced strings, e.g. if the parameter is '0xaabc', make sure
'0xa' is not replaced with ? when decoding the parameter value.

&gt; Some render parameters are lost if they contains semicolon
&gt; ----------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-579
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-579
&gt;             Project: Pluto
&gt;          Issue Type: Bug
&gt;          Components: portal driver
&gt;    Affects Versions: 1.1.7
&gt;            Reporter: Ivan
&gt;         Attachments: PLUTO-579.patch
&gt;
&gt;
&gt; If one render parameter contains semicolon, those parameters after it in the url are
lost
&gt; Like the URL below
&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
&gt; The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
&gt; After some investigations, I found in the class PortalURLParserImpl, line 115
&gt;         String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
&gt;         if (pathInfo == null) {
&gt; Maybe, we need to add the ; to the ENCODINGS arrays ?
&gt; Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (PLUTO-579) Some render parameters are lost if they contains semicolon</title>
<author><name>&quot;Ivan (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c204433116.1251905372694.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c204433116-1251905372694-JavaMail-jira@brutus%3e</id>
<updated>2009-09-02T15:29:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Some render parameters are lost if they contains semicolon
----------------------------------------------------------

                 Key: PLUTO-579
                 URL: https://issues.apache.org/jira/browse/PLUTO-579
             Project: Pluto
          Issue Type: Bug
          Components: portal driver
    Affects Versions: 1.1.7
            Reporter: Ivan


If one render parameter contains semicolon, those parameters after it in the url are lost
Like the URL below
__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

The parameter urlPrototype contains semicolon, while I calling renderRequest.getParameter("name"),
it will return null.
After some investigations, I found in the class PortalURLParserImpl, line 115

        String pathInfo = request.getPathInfo(); &lt;--- the pathInfo got from the request
is truncated by the semicolon.
        if (pathInfo == null) {
Maybe, we need to add the ; to the ENCODINGS arrays ?
Thanks !           

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (PLUTO-578) pluto-current-bundle not working (Pluto 2.0)</title>
<author><name>&quot;Ben (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200909.mbox/%3c1453228103.1251891632750.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1453228103-1251891632750-JavaMail-jira@brutus%3e</id>
<updated>2009-09-02T11:40:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
pluto-current-bundle not working (Pluto 2.0)
--------------------------------------------

                 Key: PLUTO-578
                 URL: https://issues.apache.org/jira/browse/PLUTO-578
             Project: Pluto
          Issue Type: Bug
          Components: portal driver
    Affects Versions: 2.0.0
         Environment: Windows XP
            Reporter: Ben


After following each step of Installing the Pluto 2.0 Binary Build (http://portals.apache.org/pluto/v20/getting-started.html)
I get the following error after logging in:

org.apache.jasper.JasperException: java.lang.RuntimeException: Unable to load Portlet App
Deployment Descriptor:Unable to retrieve portlet: 'pluto/AboutPortlet'
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
	org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:527)
	org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:471)
	org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:332)
	org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:165)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:189)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


java.lang.RuntimeException: Unable to load Portlet App Deployment Descriptor:Unable to retrieve
portlet: 'pluto/AboutPortlet'
	org.apache.pluto.driver.core.PortletWindowImpl.&lt;init&gt;(PortletWindowImpl.java:73)
	org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:128)
	org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:85)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
	org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:527)
	org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:471)
	org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:332)
	org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:165)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:189)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (PLUTO-576) Maven pluto plugin should fail or generate warning if web.xml already contains servlet/servlet-mapping similar to one being added by maven pluto plugin</title>
<author><name>&quot;Gary Weaver (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/portals-pluto-dev/200908.mbox/%3c741379707.1251397199369.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c741379707-1251397199369-JavaMail-jira@brutus%3e</id>
<updated>2009-08-27T18:19:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/PLUTO-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12748487#action_12748487
] 

Gary Weaver commented on PLUTO-576:
-----------------------------------

Note Eric said "Perhaps a better enhancement for uPortal's purpose would be to fail with a
message stating the web.xml should be cleaned out before the deploy tool is used."

&gt; Maven pluto plugin should fail or generate warning if web.xml already contains servlet/servlet-mapping
similar to one being added by maven pluto plugin
&gt; -------------------------------------------------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: PLUTO-576
&gt;                 URL: https://issues.apache.org/jira/browse/PLUTO-576
&gt;             Project: Pluto
&gt;          Issue Type: Improvement
&gt;          Components: maven pluto plugin
&gt;            Reporter: Gary Weaver
&gt;
&gt; If the web.xml that the plugin is altering already contains a servlet and/or servlet-mapping
element that looks very much like the ones it is adding it should either fail or at least
generate a warning. I know that having the pluto-generated config in the web.xml of the portlet
to be "plutofied" by the plugin is wrong, but if the plugin makes web.xml invalid because
that info already exists, it seems like it should check for it. Please ignore this if it is
an invalid request, but I remembered that it worked this way, it caused problems for at least
a few people developing portlets for uPortal over the past 2 years reported on the JASIG uportal-user/portlet-dev
lists, and Eric Dalquist just mentioned that perhaps this would be a good place to mention
it also since uPortal now uses this plugin. Thanks, guys!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
</feed>
