Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Django/Jython doesn't work on Google App Engine
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Olli Wang  
View profile  
 More options Oct 27, 8:50 pm
From: Olli Wang <olliw...@ollix.com>
Date: Tue, 27 Oct 2009 17:50:19 -0700 (PDT)
Local: Tues, Oct 27 2009 8:50 pm
Subject: Django/Jython doesn't work on Google App Engine
Hi, I successfully created a WAR file which was able to run on Apache
Tomcat with no problem. But when I uploaded it to the Google App
Engine, it shows me a error message like this:
Could not initialize class org.python.modules.thread.thread
RequestURI=/
Caused by:
java.lang.NoClassDefFoundError: Could not initialize class
org.python.modules.thread.thread
at java.lang.Class.forName0(Native Method)
...
...
at org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run
(BoundedThreadPool.java:442)
I thought this happened because GAE disables threads as it said "A
Java application cannot create a new java.lang.ThreadGroup nor a new
java.lang.Thread. These restrictions also apply to JRE classes that
make use of threads."
Is there any way to remedy this situation? Any help would be
appreciated.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
OvermindDL1  
View profile  
 More options Oct 28, 3:00 am
From: OvermindDL1 <overmind...@gmail.com>
Date: Wed, 28 Oct 2009 01:00:58 -0600
Local: Wed, Oct 28 2009 3:00 am
Subject: Re: [google-appengine] Django/Jython doesn't work on Google App Engine

You cannot use threads directly as they do not exist as you know.
Just do not use threads and all should be fine.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Olli Wang  
View profile  
 More options Oct 28, 8:34 am
From: Olli Wang <olliw...@ollix.com>
Date: Wed, 28 Oct 2009 05:34:57 -0700 (PDT)
Local: Wed, Oct 28 2009 8:34 am
Subject: Re: Django/Jython doesn't work on Google App Engine
Is it possible to turn off multithread in Django's configuration?
In Jython, I use modjy to run Django and tries to disable multithread
by setting modjy's multithread parameter to 0 but it doesn't work. :(

On Oct 28, 3:00 pm, OvermindDL1 <overmind...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google