Message4011
Apologies for not posting back sooner.
I've checked out r5877 (along with Django r9718 and Django-jython
trunk) and the cast issue does seem to be resolved, however I am now
seeing two exceptions that I did not see before.
The first exception is:
java.lang.NoClassDefFoundError: org/antlr/runtime/CharStream
If I explicitely include a downloaded version of antlr.jar when
building the war then this error dissapears.
However the next exception seems to refer to a built in Jython class.
When I enable the same debug code in ModjyJServlet.java as before to
print out the actual exception when a servlet exception is thrown I see
the following:
javax.servlet.ServletException: Servlet exception starts here --
java.lang.NoClassDefFoundError: org/python/compiler/Module
at org.python.core.Py.compile_flags(Py.java:1651)
at org.python.core.Py.compile_flags(Py.java:1663)
at org.python.core.Py.compile_flags(Py.java:1693)
at org.python.util.PythonInterpreter.exec
(PythonInterpreter.java:124)
at com.xhaus.modjy.ModjyJServlet.init(ModjyJServlet.java:88)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1172)
at org.apache.catalina.core.StandardWrapper.allocate
(StandardWrapper.java:808)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: org/
python/compiler/Module
Caused by: java.lang.NoClassDefFoundError: org/python/compiler/Module
at org.python.core.Py.compile_flags(Py.java:1651)
at org.python.core.Py.compile_flags(Py.java:1663)
at org.python.core.Py.compile_flags(Py.java:1693)
at org.python.util.PythonInterpreter.exec
(PythonInterpreter.java:124)
at com.xhaus.modjy.ModjyJServlet.init(ModjyJServlet.java:88)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1172)
at org.apache.catalina.core.StandardWrapper.allocate
(StandardWrapper.java:808)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
-- Unable to import 'modjy_servlet' from /root/tomcat/webapps/
LSE_PublicSite/WEB-INF/lib/modjy.jar: do you maybe need to set the
'modjy_jar.location' parameter?
com.xhaus.modjy.ModjyJServlet.init(ModjyJServlet.java:94)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:845)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run
(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619) |
|
Date |
User |
Action |
Args |
2009-01-08 13:04:50 | JohnSJohnM | set | messageid: <1231419890.48.0.908669701956.issue1207@psf.upfronthosting.co.za> |
2009-01-08 13:04:50 | JohnSJohnM | set | recipients:
+ JohnSJohnM, amak, pjenvey |
2009-01-08 13:04:50 | JohnSJohnM | link | issue1207 messages |
2009-01-08 13:04:49 | JohnSJohnM | create | |
|