You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/19 04:46:07 UTC

[jira] [Resolved] (OPENEJB-1781) Ability to print HTTP messages to System.out for easy debugging

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

David Blevins resolved OPENEJB-1781.
------------------------------------

    Resolution: Fixed
    
> Ability to print HTTP messages to System.out for easy debugging
> ---------------------------------------------------------------
>
>                 Key: OPENEJB-1781
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1781
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: server
>            Reporter: David Blevins
>            Assignee: David Blevins
>             Fix For: 4.0.0-beta-3
>
>
> New options are httpejbd.print and httpejbd.indent.xml
>  - httpejbd.print=true
> will print request and response messages
>  - httpejbd.print=response
> will print just response messages
>  - httpejbd.print=request
> will print just request messages
>  - httpejbd.indent.xml=true
> will pretty print any text/xml messages (very nice for web service work)
> Properties properties = new Properties();
> properties.setProperty("openejb.embedded.remotable", "true");
> properties.setProperty("httpejbd.print", "true");
> properties.setProperty("httpejbd.indent.xml", "true");
> EJBContainer.createEJBContainer(properties);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira