geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David DeWolf (JIRA)" <>
Subject [jira] Commented: (GERONIMO-1421) DB portlet failure in Tomcat only
Date Mon, 09 Jan 2006 01:40:20 GMT
    [ ] 

David DeWolf commented on GERONIMO-1421:

Render parameters are stored within the url so that they persist across render requests and
do not rely on session state.  The PortalControlParameter class is primarily responsible for
converting render parameters, modes, window states, etc . . .to a portal url.


Also See:

I'm trying to think of any reasons why this conversion would be dependent upon the underlying
servlet container.  The only thing I can think of is that the two containers are returning
different values from request.getPathInfo() (which is subsequently parsed back into modes,
window states, and render parameters).

I would be willing to bet that the issue is with the semi-colon in the parameter.  A quick
glance at the source code indicates that pluto does  not treat it as a "special" character
and thus it is not encoded within the url.  If that is happening, I'll bet that tomcat is
truncating pathInfo at the semi colon and jetty is not.

Let me know if you have any more follow up questions. . .I'll look into this a little bit
more tomorrow as well.

> DB portlet failure in Tomcat only
> ---------------------------------
>          Key: GERONIMO-1421
>          URL:
>      Project: Geronimo
>         Type: Bug
>   Components: console, Tomcat
>     Versions: 1.0
>     Reporter: Aaron Mulder
>      Fix For: 1.1

>  - create a new database pool using the DB portlet
>  - select the "Derby Embedded" type
>  - pick the derby or derby-client JAR
>  - give it a new or existing database name
>  - add ;create=true to the end of the generated URL
>  - click test
> This procedure works in the Jetty build but does not work in the Tomcat build.  In Tomcat,
it just redirects to the main screen for that portlet without any error message.  The database
is actually created (visible in the DB Manager portlet).  This does not happen if you remove
;create=true from the URL and use an existing database.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message