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 (Created) (JIRA)" <ji...@apache.org> on 2012/02/19 04:42:06 UTC
[jira] [Created] (OPENEJB-1781) Ability to print HTTP messages to
System.out for easy debugging
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
[jira] [Resolved] (OPENEJB-1781) Ability to print HTTP messages to
System.out for easy debugging
Posted by "David Blevins (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (OPENEJB-1781) Ability to print HTTP messages to
System.out for easy debugging
Posted by "David Blevins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264853#comment-13264853 ]
David Blevins commented on OPENEJB-1781:
----------------------------------------
2012-02-18 - http://svn.apache.org/viewvc?view=revision&revision=1290935 - dblevins
> 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
>
>
> 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