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.java:
> 527)
>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.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.

Reply via email to