[Zope3-checkins] CVS: Zope3/src/zope/app/process - configure.zcml:1.4

Jim Fulton jim@zope.com
Thu, 3 Jul 2003 15:38:11 -0400


Update of /cvs-repository/Zope3/src/zope/app/process
In directory cvs.zope.org:/tmp/cvs-serv5616/app/process

Modified Files:
	configure.zcml 
Log Message:
Added a Post-Mortem debugging HTTP server that enters Python's
post-mortem debugger when an error gets to the publisher.

To use this, copy zope.conf.in to zope.conf and change:


<server>
  type HTTP
  address 8080
</server>

to 

<server>
  type PostmortemDebuggingHTTP
  address 8080
</server>

Do this *after* logging in, so you don't catch Unauthorized errors.



=== Zope3/src/zope/app/process/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/process/configure.zcml:1.3	Wed Jul  2 06:59:18 2003
+++ Zope3/src/zope/app/process/configure.zcml	Thu Jul  3 15:37:36 2003
@@ -39,6 +39,14 @@
     defaultVerbose="true" />
 
   <startup:registerServerType 
+    name = "PostmortemDebuggingHTTP"
+    factory = "zope.server.http.publisherhttpserver.PMDBHTTPServer"
+    requestFactory="HTTPRequestFactory"
+    logFactory = "zope.server.http.commonhitlogger.CommonHitLogger"
+    defaultPort="8013"
+    defaultVerbose="true" />
+
+  <startup:registerServerType 
     name = "Browser"
     factory = "zope.server.http.publisherhttpserver.PublisherHTTPServer"
     requestFactory="BrowserRequestFactory"