On Tue, Oct 27, 2009 at 6:50 PM, Olli Wang <[email protected]> wrote:
>
> 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.

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to