Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1781

Ability to print HTTP messages to System.out for easy debugging

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: server
    • Labels:
      None

      Description

      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);

        Attachments

          Activity

            People

            • Assignee:
              dblevins David Blevins
              Reporter:
              dblevins David Blevins
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: