[ 
https://issues.apache.org/jira/browse/TAP5-1616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090365#comment-13090365
 ] 

Thiago H. de Paula Figueiredo commented on TAP5-1616:
-----------------------------------------------------

Hi, Massimo!

I'm not sure it would solve the issue: 
http://code.google.com/appengine/docs/java/runtime.html, section "The Sandbox": 

"An App Engine application cannot: 
(...) 
* spawn a sub-process or thread. (...)" 

"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. For example, an application cannot create a new   
java.util.concurrent.ThreadPoolExecutor, or a java.util.Timer. An   
application can perform operations against the current thread, such as   
Thread.currentThread().dumpStack()."

> PeriodicExecutor service prevents running T5.3 on GAE
> -----------------------------------------------------
>
>                 Key: TAP5-1616
>                 URL: https://issues.apache.org/jira/browse/TAP5-1616
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Kalle Korhonen
>
> Since GAE doesn't allow user-created threads, constructing PeriodicExecutor 
> service fails on GAE, preventing running the whole application on it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to