Thanks Tim A workaround while the new beta is released is to manually update de web.xml defining the python.home variable, and creating a pth file pointing the project being deployed.
I think a fix is needed for the war.py in order to doing those settings. On Jul 16, 4:36 pm, Tim Sawyer <list.dja...@calidris.co.uk> wrote: > I got around this problem by downgrading from jython 2.5.2beta1 to > jython 2.5.1. > > Hope that helps! > > Tim. > > On 15/07/10 22:47, Jose Flores wrote: > > > > > Hi guys, > > Any workaround on this issue? > > > Regards, > > Jose > > > On Jul 8, 2:43 pm, Rafael Nunes<rafael.nu...@gmail.com> wrote: > >> Same problem here. > > >> Any thoughts? > > >> On Jun 29, 10:50 am, tobycatlin<tobycat...@gmail.com> wrote: > > >>> Hello everybody, > > >>> I have followed the install instructions for the latest versions of > >>> the following: jython (version: jython-2.5.2b1), django (1.2.1) and > >>> jython-django (version 1.1.1) and have built a war of my very simple > >>> test application. > > >>> Oh i built the war on my linux box and have tested in tomcat on both > >>> windows and linux machines. When i went to the url i got a 500 > >>> exception: > > >>> javax.servlet.ServletException: Exception creating modjy servlet: > >>> ImportError: No module named site > > >>> com.xhaus.modjy.ModjyJServlet.init(ModjyJServlet.java:124) > >>> javax.servlet.GenericServlet.init(GenericServlet.java:211) > > >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: > >>> 105) > >>> > >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > >>> 541) > > >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > >>> 148) > >>> > >>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: > >>> 869) > >>> org.apache.coyote.http11.Http11BaseProtocol > >>> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > >>> 664) > > >>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.ja > >>> va: > >>> 527) > > >>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerW > >>> orkerThread.java: > >>> 80) > >>> org.apache.tomcat.util.threads.ThreadPool > >>> $ControlRunnable.run(ThreadPool.java:684) > >>> java.lang.Thread.run(Thread.java:619) > > >>> I have managed to find a fair amount of documentation on building the > >>> war but all the docs say "just deploy the war normally" so i guess i > >>> have missed something in building the war itself. I set a JYTHONPATH > >>> env var, is there anything else i should have done? > > >>> I can supply the war file, but it is 30mb so if it helps i'll post a > >>> link to it for folk to download > > >>> Thanks for any and all help > > >>> toby -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.