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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • server
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: