You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andreas Pieber (JIRA)" <ji...@apache.org> on 2011/05/03 08:54:03 UTC
[jira] [Reopened] (KARAF-572) Command to show all registered
servlets and their contexts
[ https://issues.apache.org/jira/browse/KARAF-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Pieber reopened KARAF-572:
----------------------------------
There are some open issues with the commit
* Missing unittest
* Missing header on karaf/trunk/shell/http/pom.xml
* Make scope of dependencies in karaf/trunk/shell/http/pom.xml "provided"
* All versions should be defined in karaf/trunk/pom.xml first (javax.servlet)
* Do not use @author Tag
* Handle names with "overlenght"
{code}
> + while (servletName.length() < 23) {
> + servletName += " ";
> + }
should we concat the name if it's longer than 23 chars?
{code}
* Create general util-method for filling strings with spaces; e.g.:
{code}
> + while (alias.length() < 16 ) {
> + alias += " ";
> + }
{code}
> Command to show all registered servlets and their contexts
> ----------------------------------------------------------
>
> Key: KARAF-572
> URL: https://issues.apache.org/jira/browse/KARAF-572
> Project: Karaf
> Issue Type: New Feature
> Components: console
> Reporter: Andreas Pieber
> Assignee: Achim Nierbeck
>
> Currently we only have a web:list command showing the context where a war file is installed. In addition, if you're using frameworks which could use the osgi http service directly (such as cxf or pax-wicket) there is no way to find out (via Karaf) which servlets are registered at which context. It would be quite cool if we could add a command to list all those servlets too.
> This issue is strongly connected to http://issues.ops4j.org/browse/PAXWEB-265 (adding the required events for this task to pax-web)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira