If anyone's using EmailKit, I'm setting it up to
work with Apache 1.3 & Webware. I have the
/etc/aliases and /etc/smrsh stuff working, and
mail gets passed off to EmailAdapter, but it seems like
the EmailForward servlet bails on seeing if it's a
subclass of Servlet, even though it's derived from
EmailServlet:
[root@gorgon EmailKit]# ./BillAdapter.py
1 2002-04-13 12:32:37 /EmailKitExamples/EmailForward
[Sat Apr 13 12:32:37 2002] [error] WebKit: Error while executing script
/usr/local/src/Webware/EmailKit/Examples/EmailForward.py
Traceback (most recent call last):
File "./WebKit/Application.py", line 388, in dispatchRequest
self.handleGoodURL(transaction)
File "./WebKit/Application.py", line 534, in handleGoodURL
self.createServletInTransaction(transaction)
File "./WebKit/Application.py", line 989, in createServletInTransaction
inst = self.getServlet(transaction,path,cache)
File "./WebKit/Application.py", line 916, in getServlet
inst = factory.servletForTransaction(transaction)
File "./WebKit/ServletFactory.py", line 183, in servletForTransaction
assert issubclass(theClass, Servlet)
AssertionError
1 0.04 secs /EmailKitExamples/EmailForward
[Sat Apr 13 12:32:37 2002] [error] WebKit.EmailAdapter: Error while
responding to request (unknown)
Python exception:
Traceback (most recent call last):
File "./BillAdapter.py", line 93, in run
response = self.transactWithAppServer(fakeEnviron, myInput, host, port)
File "./WebKit/Adapter.py", line 65, in transactWithAppServer
error: (107, 'Transport endpoint is not connected')
Content-type: text/html
<html><body>
<p><pre>ERROR
Traceback (most recent call last):
File "./BillAdapter.py", line 93, in run
response = self.transactWithAppServer(fakeEnviron, myInput, host, port)
File "./WebKit/Adapter.py", line 65, in transactWithAppServer
error: (107, 'Transport endpoint is not connected')
</pre>
</body></html>
--
Bill Eldridge
Radio Free Asia
[EMAIL PROTECTED]
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss