Message6178

Author amak
Recipients Mekk, amak, fwierzbicki, gturnquist, leosoto, rafanunes, zyasoft
Date 2010-10-17.14:34:55
SpamBayes Score 7.98594e-09
Marked as misclassified No
Message-id <1287326097.0.0.563494460999.issue1489@psf.upfronthosting.co.za>
In-reply-to
Content
Running on Windows Server 2003, Tomcat 6.0.18, Jython trunk (revision 7153)

Running the attached JythonServlet as is, i.e. with __init__ enabled, and with jython.jar stored in WEB-INF/lib, I see the following in the logs

17-Oct-2010 15:32:10 org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /jython_webapp threw load() exception
Traceback (most recent call last):
  File "<string>", line 4, in __init__
RuntimeError: maximum recursion depth exceeded

	at org.python.core.PyException.fillInStackTrace(PyException.java:70)
	at java.lang.Throwable.<init>(Throwable.java:181)
	at java.lang.Exception.<init>(Exception.java:29)
	at java.lang.RuntimeException.<init>(RuntimeException.java:32)
	at org.python.core.PyException.<init>(PyException.java:46)
	at org.python.core.PyException.<init>(PyException.java:43)
	at org.python.core.PyException.<init>(PyException.java:61)
	at org.python.core.Py.RuntimeError(Py.java:145)
	at org.python.core.Py.JavaError(Py.java:476)
	at org.python.core.PyTableCode.call(PyTableCode.java:168)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:301)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:194)
	at org.python.core.PyFunction.__call__(PyFunction.java:387)
	at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220)
	at org.python.core.PyMethod.__call__(PyMethod.java:211)
	at org.python.core.PyMethod.__call__(PyMethod.java:206)
	at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19)
	at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1057)
	at org.python.core.PyType.type___call__(PyType.java:1561)
	at org.python.core.PyType.__call__(PyType.java:1544)
	at org.python.core.PyObject.__call__(PyObject.java:371)
	at JythonServlet.init(JythonServlet.java:38)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
History
Date User Action Args
2010-10-17 14:34:57amaksetmessageid: <1287326097.0.0.563494460999.issue1489@psf.upfronthosting.co.za>
2010-10-17 14:34:56amaksetrecipients: + amak, fwierzbicki, leosoto, zyasoft, Mekk, gturnquist, rafanunes
2010-10-17 14:34:56amaklinkissue1489 messages
2010-10-17 14:34:55amakcreate