1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
HTTP 500 Error

Traceback (most recent call last):
  File "/usr/local/jython/jython2.5.2/Lib/modjy/modjy.py", line 80, in service
    self.exc_handler.handle(req, resp, wsgi_environ, mx, (typ, value, tb) )
  File "/usr/local/jython/jython2.5.2/Lib/modjy/modjy.py", line 76, in service
    self.dispatch_to_application(req, resp, wsgi_environ)
  File "/usr/local/jython/jython2.5.2/Lib/modjy/modjy.py", line 92, in dispatch_to_application
    app_callable = self.get_app_object(req, environ)
  File "/usr/local/jython/jython2.5.2/Lib/modjy/modjy_publish.py", line 68, in get_app_object
    return self.get_app_object_old_style(req, environ)
  File "/usr/local/jython/jython2.5.2/Lib/modjy/modjy_publish.py", line 120, in get_app_object_old_style
    return self.load_object(source_filename, callable_name)
  File "/usr/local/jython/jython2.5.2/Lib/modjy/modjy_publish.py", line 140, in load_object
    self.raise_exc(NoCallable, "No callable named '%s' in %s" % (callable_name, path))
  File "/usr/local/jython/jython2.5.2/Lib/modjy/modjy.py", line 121, in raise_exc
    raise exc_class(message)
modjy.modjy_exceptions.NoCallable: No callable named 'handler' in /usr/local/apache-tomcat-6.0.33/webapps/modjy_webapp//demo.py

	org.python.core.PyException.fillInStackTrace(PyException.java:70)
	java.lang.Throwable.<init>(Throwable.java:181)
	java.lang.Exception.<init>(Exception.java:29)
	java.lang.RuntimeException.<init>(RuntimeException.java:32)
	org.python.core.PyException.<init>(PyException.java:46)
	org.python.core.PyException.doRaise(PyException.java:200)
	org.python.core.Py.makeException(Py.java:1225)
	modjy.modjy_exceptions$py.handle$23(/usr/local/jython/jython2.5.2/Lib/modjy/modjy_exceptions.py:91)
	modjy.modjy_exceptions$py.call_function(/usr/local/jython/jython2.5.2/Lib/modjy/modjy_exceptions.py)
	org.python.core.PyTableCode.call(PyTableCode.java:165)
	org.python.core.PyBaseCode.call(PyBaseCode.java:301)
	org.python.core.PyBaseCode.call(PyBaseCode.java:194)
	org.python.core.PyFunction.__call__(PyFunction.java:387)
	org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
	org.python.core.PyMethod.__call__(PyMethod.java:211)
	org.python.core.PyMethod.__call__(PyMethod.java:201)
	modjy.modjy$py.service$7(/usr/local/jython/jython2.5.2/Lib/modjy/modjy.py:80)
	modjy.modjy$py.call_function(/usr/local/jython/jython2.5.2/Lib/modjy/modjy.py)
	org.python.core.PyTableCode.call(PyTableCode.java:165)
	org.python.core.PyBaseCode.call(PyBaseCode.java:301)
	org.python.core.PyBaseCode.call(PyBaseCode.java:194)
	org.python.core.PyFunction.__call__(PyFunction.java:387)
	org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
	org.python.core.PyMethod.__call__(PyMethod.java:211)
	org.python.core.PyMethod.__call__(PyMethod.java:201)
	org.python.core.PyMethod.__call__(PyMethod.java:196)
	org.python.core.PyObject._jcallexc(PyObject.java:3502)
	org.python.proxies.modjy.modjy$modjy_servlet$0.service(Unknown Source)
	com.xhaus.modjy.ModjyJServlet.service(ModjyJServlet.java:139)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)