You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Tim Barnickel (JIRA)" <ji...@apache.org> on 2010/07/21 16:33:50 UTC

[jira] Created: (WINK-303) Issues with generating documentation for resource classes

Issues with generating documentation for resource classes
---------------------------------------------------------

                 Key: WINK-303
                 URL: https://issues.apache.org/jira/browse/WINK-303
             Project: Wink
          Issue Type: Bug
          Components: Server
    Affects Versions: 1.1
         Environment: Using Wink 1.1 with WebSphere 6.1; running in local environment using RSA 7.5.
            Reporter: Tim Barnickel


Getting following error when attempting to generate HTML APP representation of resource documentation:
[7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.registry.ResourceRegistry - Could not find any method in class {0} that supports {1}
[7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.RequestProcessor - {0} occurred during the handlers chain invocation

Additionally, the xml doc that is generated appears to be missing detailed resource method documentation.

Related to generating resource documentation via the admin console, when I take the link http://localhost:9083/SomeApplication/admin, I can see the restSdkAdmin servlet started in the console, but no content is returned. 


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


[jira] Commented: (WINK-303) Issues with generating documentation for resource classes

Posted by "Nick Gallardo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893628#action_12893628 ] 

Nick Gallardo commented on WINK-303:
------------------------------------

For the admin servlet issue, it looks like the issue is a  web container idiosyncrasy.  I wasn't able to recreate the 400 Bad Request with no content in Tomcat, but was able to in WAS 7.0.  Turns out WAS is more strict in its adherence to a specific web container behavior defined by the spec.  I'll have a patch out this morning for this issue.  With that applied.  

As an extension of the admin servlet issue, the admin servlet will only work if you've first invoked a normal resource method.  There is additional fallback logic in the runtime RestServlet to initialize the RequestProcessor.  I'll open a separate issue to address whether or not that can be ported to the AdminServlet.




The error message above from the APP Service Doc generation is most likely a result of assumptions of the usage of the Service Doc.  The format is based on the Atom definition for ways to surface information about a collection.  So, the resource implementations are assumed to reflect collections in that they have @GET/@POST/etc. resource methods for the root URI.  

There will not be any detailed resource method info surfaced like there is in the admin servlet content.  For more general service description info, I suggest using the admin servlet.

> Issues with generating documentation for resource classes
> ---------------------------------------------------------
>
>                 Key: WINK-303
>                 URL: https://issues.apache.org/jira/browse/WINK-303
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1
>         Environment: Using Wink 1.1 with WebSphere 6.1; running in local environment using RSA 7.5.
>            Reporter: Tim Barnickel
>            Assignee: Nick Gallardo
>
> Getting following error when attempting to generate HTML APP representation of resource documentation:
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.registry.ResourceRegistry - Could not find any method in class {0} that supports {1}
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.RequestProcessor - {0} occurred during the handlers chain invocation
> Additionally, the xml doc that is generated appears to be missing detailed resource method documentation.
> Related to generating resource documentation via the admin console, when I take the link http://localhost:9083/SomeApplication/admin, I can see the restSdkAdmin servlet started in the console, but no content is returned. 

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


[jira] Assigned: (WINK-303) Issues with generating documentation for resource classes

Posted by "Nick Gallardo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WINK-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Gallardo reassigned WINK-303:
----------------------------------

    Assignee: Nick Gallardo

> Issues with generating documentation for resource classes
> ---------------------------------------------------------
>
>                 Key: WINK-303
>                 URL: https://issues.apache.org/jira/browse/WINK-303
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1
>         Environment: Using Wink 1.1 with WebSphere 6.1; running in local environment using RSA 7.5.
>            Reporter: Tim Barnickel
>            Assignee: Nick Gallardo
>
> Getting following error when attempting to generate HTML APP representation of resource documentation:
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.registry.ResourceRegistry - Could not find any method in class {0} that supports {1}
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.RequestProcessor - {0} occurred during the handlers chain invocation
> Additionally, the xml doc that is generated appears to be missing detailed resource method documentation.
> Related to generating resource documentation via the admin console, when I take the link http://localhost:9083/SomeApplication/admin, I can see the restSdkAdmin servlet started in the console, but no content is returned. 

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


[jira] Commented: (WINK-303) AdminServlet returns no content in some web containers

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894108#action_12894108 ] 

Hudson commented on WINK-303:
-----------------------------

Integrated in Wink-Trunk-JDK1.5 #377 (See [http://hudson.zones.apache.org/hudson/job/Wink-Trunk-JDK1.5/377/])
    WINK-303   Set the response code first or the AdminServlet content will not be returned in some servlet containers.


> AdminServlet returns no content in some web containers
> ------------------------------------------------------
>
>                 Key: WINK-303
>                 URL: https://issues.apache.org/jira/browse/WINK-303
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1
>         Environment: Using Wink 1.1 with WebSphere 6.1; running in local environment using RSA 7.5.
>            Reporter: Tim Barnickel
>            Assignee: Nick Gallardo
>
> Getting following error when attempting to generate HTML APP representation of resource documentation:
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.registry.ResourceRegistry - Could not find any method in class {0} that supports {1}
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.RequestProcessor - {0} occurred during the handlers chain invocation
> Additionally, the xml doc that is generated appears to be missing detailed resource method documentation.
> Related to generating resource documentation via the admin console, when I take the link http://localhost:9083/SomeApplication/admin, I can see the restSdkAdmin servlet started in the console, but no content is returned. 

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


[jira] Updated: (WINK-303) AdminServlet returns no content in some web containers

Posted by "Nick Gallardo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WINK-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Gallardo updated WINK-303:
-------------------------------

    Summary: AdminServlet returns no content in some web containers  (was: Issues with generating documentation for resource classes)

> AdminServlet returns no content in some web containers
> ------------------------------------------------------
>
>                 Key: WINK-303
>                 URL: https://issues.apache.org/jira/browse/WINK-303
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1
>         Environment: Using Wink 1.1 with WebSphere 6.1; running in local environment using RSA 7.5.
>            Reporter: Tim Barnickel
>            Assignee: Nick Gallardo
>
> Getting following error when attempting to generate HTML APP representation of resource documentation:
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.registry.ResourceRegistry - Could not find any method in class {0} that supports {1}
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.RequestProcessor - {0} occurred during the handlers chain invocation
> Additionally, the xml doc that is generated appears to be missing detailed resource method documentation.
> Related to generating resource documentation via the admin console, when I take the link http://localhost:9083/SomeApplication/admin, I can see the restSdkAdmin servlet started in the console, but no content is returned. 

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


[jira] Commented: (WINK-303) Issues with generating documentation for resource classes

Posted by "Nick Gallardo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890741#action_12890741 ] 

Nick Gallardo commented on WINK-303:
------------------------------------

Thanks Tim, I'll take a look at this one.

> Issues with generating documentation for resource classes
> ---------------------------------------------------------
>
>                 Key: WINK-303
>                 URL: https://issues.apache.org/jira/browse/WINK-303
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1
>         Environment: Using Wink 1.1 with WebSphere 6.1; running in local environment using RSA 7.5.
>            Reporter: Tim Barnickel
>            Assignee: Nick Gallardo
>
> Getting following error when attempting to generate HTML APP representation of resource documentation:
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.registry.ResourceRegistry - Could not find any method in class {0} that supports {1}
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.RequestProcessor - {0} occurred during the handlers chain invocation
> Additionally, the xml doc that is generated appears to be missing detailed resource method documentation.
> Related to generating resource documentation via the admin console, when I take the link http://localhost:9083/SomeApplication/admin, I can see the restSdkAdmin servlet started in the console, but no content is returned. 

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


[jira] Resolved: (WINK-303) AdminServlet returns no content in some web containers

Posted by "Nick Gallardo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WINK-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Gallardo resolved WINK-303.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.1

> AdminServlet returns no content in some web containers
> ------------------------------------------------------
>
>                 Key: WINK-303
>                 URL: https://issues.apache.org/jira/browse/WINK-303
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1
>         Environment: Using Wink 1.1 with WebSphere 6.1; running in local environment using RSA 7.5.
>            Reporter: Tim Barnickel
>            Assignee: Nick Gallardo
>             Fix For: 1.1.1
>
>
> Getting following error when attempting to generate HTML APP representation of resource documentation:
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.registry.ResourceRegistry - Could not find any method in class {0} that supports {1}
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.RequestProcessor - {0} occurred during the handlers chain invocation
> Additionally, the xml doc that is generated appears to be missing detailed resource method documentation.
> Related to generating resource documentation via the admin console, when I take the link http://localhost:9083/SomeApplication/admin, I can see the restSdkAdmin servlet started in the console, but no content is returned. 

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


[jira] Closed: (WINK-303) AdminServlet returns no content in some web containers

Posted by "Nick Gallardo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WINK-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Gallardo closed WINK-303.
------------------------------


> AdminServlet returns no content in some web containers
> ------------------------------------------------------
>
>                 Key: WINK-303
>                 URL: https://issues.apache.org/jira/browse/WINK-303
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1
>         Environment: Using Wink 1.1 with WebSphere 6.1; running in local environment using RSA 7.5.
>            Reporter: Tim Barnickel
>            Assignee: Nick Gallardo
>             Fix For: 1.1.1
>
>
> Getting following error when attempting to generate HTML APP representation of resource documentation:
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.registry.ResourceRegistry - Could not find any method in class {0} that supports {1}
> [7/19/10 10:52:59:964 EDT] 00000025 SystemErr     R 1268381 [WebContainer : 0] INFO org.apache.wink.server.internal.RequestProcessor - {0} occurred during the handlers chain invocation
> Additionally, the xml doc that is generated appears to be missing detailed resource method documentation.
> Related to generating resource documentation via the admin console, when I take the link http://localhost:9083/SomeApplication/admin, I can see the restSdkAdmin servlet started in the console, but no content is returned. 

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