You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Scott T Weaver (JIRA)" <je...@portals.apache.org> on 2007/10/30 17:42:50 UTC

[jira] Created: (JS2-799) Jetspeed cannot deploy portlet applications that run from the "/" context.

Jetspeed cannot deploy portlet applications that run from the "/" context.
--------------------------------------------------------------------------

                 Key: JS2-799
                 URL: https://issues.apache.org/jira/browse/JS2-799
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Deployment
    Affects Versions: 2.1
            Reporter: Scott T Weaver
            Assignee: Scott T Weaver
             Fix For: 2.1.3


Jetspeed cannot deploy portlet applications that run from the "/" context.  In fact it completely ignores the "contextPath" parameter in the JetspeedContainerServlet entry in the web.xml.

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


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


[jira] Commented: (JS2-799) Jetspeed cannot deploy portlet applications that run from the "/" context.

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538902 ] 

Ate Douma commented on JS2-799:
-------------------------------

I guess the entry in the WEB_APPLICATION table is reset because you modified the web.xml which triggers a reregistration (I think the web.xml changes check was added post 2.0)

> Jetspeed cannot deploy portlet applications that run from the "/" context.
> --------------------------------------------------------------------------
>
>                 Key: JS2-799
>                 URL: https://issues.apache.org/jira/browse/JS2-799
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.1
>            Reporter: Scott T Weaver
>            Assignee: Scott T Weaver
>             Fix For: 2.1.3
>
>
> Jetspeed cannot deploy portlet applications that run from the "/" context.  In fact it completely ignores the "contextPath" parameter in the JetspeedContainerServlet entry in the web.xml.

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


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


[jira] Commented: (JS2-799) Jetspeed cannot deploy portlet applications that run from the "/" context.

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538894 ] 

Ate Douma commented on JS2-799:
-------------------------------

BTW: did you discover how this used to be possible in the past (seemingly without api changes) but now no longer?

> Jetspeed cannot deploy portlet applications that run from the "/" context.
> --------------------------------------------------------------------------
>
>                 Key: JS2-799
>                 URL: https://issues.apache.org/jira/browse/JS2-799
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.1
>            Reporter: Scott T Weaver
>            Assignee: Scott T Weaver
>             Fix For: 2.1.3
>
>
> Jetspeed cannot deploy portlet applications that run from the "/" context.  In fact it completely ignores the "contextPath" parameter in the JetspeedContainerServlet entry in the web.xml.

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


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


[jira] Commented: (JS2-799) Jetspeed cannot deploy portlet applications that run from the "/" context.

Posted by "Scott T Weaver (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538863 ] 

Scott T Weaver commented on JS2-799:
------------------------------------

I am going to make a slight addition to the API.  org.apache.jetspeed.tools.pamanager.PortletApplicationManagement will require and additional startPortletApplication method that takes a specific context path argument.  This will have minimal effect on Jetspeed as a whole.  org.apache.jetspeed.tools.pamanager.PortletApplicationManager will require the implemnetation of this method and org.apache.jetspeed.container.JetspeedContainerServlet will need to call it.  If no "contextPath" init parameter has been defined for the org.apache.jetspeed.container.JetspeedContainerServlet, it will use "/"+contextName as the default which is basically what is happening at the moment.

This will effect effect third party implementors who have written their own implementations of PortletApplicationManagement.  Fortunately, in most cases, this is a very trivial task.

> Jetspeed cannot deploy portlet applications that run from the "/" context.
> --------------------------------------------------------------------------
>
>                 Key: JS2-799
>                 URL: https://issues.apache.org/jira/browse/JS2-799
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.1
>            Reporter: Scott T Weaver
>            Assignee: Scott T Weaver
>             Fix For: 2.1.3
>
>
> Jetspeed cannot deploy portlet applications that run from the "/" context.  In fact it completely ignores the "contextPath" parameter in the JetspeedContainerServlet entry in the web.xml.

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


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


[jira] Updated: (JS2-799) Jetspeed cannot deploy portlet applications that run from the "/" context.

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma updated JS2-799:
--------------------------

    Fix Version/s: 2.2

I merged these changes to the 2.2. trunk too now

> Jetspeed cannot deploy portlet applications that run from the "/" context.
> --------------------------------------------------------------------------
>
>                 Key: JS2-799
>                 URL: https://issues.apache.org/jira/browse/JS2-799
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.1
>            Reporter: Scott T Weaver
>            Assignee: Scott T Weaver
>             Fix For: 2.1.3, 2.2
>
>
> Jetspeed cannot deploy portlet applications that run from the "/" context.  In fact it completely ignores the "contextPath" parameter in the JetspeedContainerServlet entry in the web.xml.

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


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


[jira] Resolved: (JS2-799) Jetspeed cannot deploy portlet applications that run from the "/" context.

Posted by "Scott T Weaver (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott T Weaver resolved JS2-799.
--------------------------------

    Resolution: Fixed

> Jetspeed cannot deploy portlet applications that run from the "/" context.
> --------------------------------------------------------------------------
>
>                 Key: JS2-799
>                 URL: https://issues.apache.org/jira/browse/JS2-799
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.1
>            Reporter: Scott T Weaver
>            Assignee: Scott T Weaver
>             Fix For: 2.1.3
>
>
> Jetspeed cannot deploy portlet applications that run from the "/" context.  In fact it completely ignores the "contextPath" parameter in the JetspeedContainerServlet entry in the web.xml.

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


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


[jira] Commented: (JS2-799) Jetspeed cannot deploy portlet applications that run from the "/" context.

Posted by "Scott T Weaver (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538896 ] 

Scott T Weaver commented on JS2-799:
------------------------------------

Yes, the servlet checks to see if the "contextPath" was provided as init parameter in the web.xml.  If it was not, it will use "/"+contextName, which if you look at the original startPortletApplication method, does the exact same thing but within the method itself.  

I don't think we ever fullu supported "/" for portlet apps and I am pretty sure the contextPath started being ignored early on in the 2.0 development cycle.  This was fairly easy to get past as you could just change the entry in the WEB_APPLICATION table to be "/".  However, it appears now that this entry gets reset every time the container starts up, at least it was for me.

> Jetspeed cannot deploy portlet applications that run from the "/" context.
> --------------------------------------------------------------------------
>
>                 Key: JS2-799
>                 URL: https://issues.apache.org/jira/browse/JS2-799
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.1
>            Reporter: Scott T Weaver
>            Assignee: Scott T Weaver
>             Fix For: 2.1.3
>
>
> Jetspeed cannot deploy portlet applications that run from the "/" context.  In fact it completely ignores the "contextPath" parameter in the JetspeedContainerServlet entry in the web.xml.

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


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


[jira] Commented: (JS2-799) Jetspeed cannot deploy portlet applications that run from the "/" context.

Posted by "Scott T Weaver (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538904 ] 

Scott T Weaver commented on JS2-799:
------------------------------------

Yeah, the checksum logic was an addition that wasn't in the earlier versions of 2.0 (which is what I have been using up to this point).

> Jetspeed cannot deploy portlet applications that run from the "/" context.
> --------------------------------------------------------------------------
>
>                 Key: JS2-799
>                 URL: https://issues.apache.org/jira/browse/JS2-799
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.1
>            Reporter: Scott T Weaver
>            Assignee: Scott T Weaver
>             Fix For: 2.1.3
>
>
> Jetspeed cannot deploy portlet applications that run from the "/" context.  In fact it completely ignores the "contextPath" parameter in the JetspeedContainerServlet entry in the web.xml.

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


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


[jira] Commented: (JS2-799) Jetspeed cannot deploy portlet applications that run from the "/" context.

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538893 ] 

Ate Douma commented on JS2-799:
-------------------------------

Scott,

If I understand it correctly, will you implement the change to the JetspeedContainerServlet in an optional way?
Existing war files "infused" in the old way preferably should still continue to work "the old way" if possible.

> Jetspeed cannot deploy portlet applications that run from the "/" context.
> --------------------------------------------------------------------------
>
>                 Key: JS2-799
>                 URL: https://issues.apache.org/jira/browse/JS2-799
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.1
>            Reporter: Scott T Weaver
>            Assignee: Scott T Weaver
>             Fix For: 2.1.3
>
>
> Jetspeed cannot deploy portlet applications that run from the "/" context.  In fact it completely ignores the "contextPath" parameter in the JetspeedContainerServlet entry in the web.xml.

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


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