[richfaces-planning-issues] [JBoss JIRA] (RFPL-1974) Redirect the GAE showcase to the OpenShift showcase
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Tue May 1 09:36:19 EDT 2012
[ https://issues.jboss.org/browse/RFPL-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689136#comment-12689136 ]
Brian Leathem commented on RFPL-1974:
-------------------------------------
Deploying this application results in the error:
{quote}
The 'python27' runtime is only supported for apps using the High Replication Datastore.
{quote}
Upgrading to python 2.7 would be overkill.
The "webapp" (pythion 2.5) answer provided in the above stackoverflow link did not work. I had to use:
{code}
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
class MainPage(webapp.RequestHandler):
def get(self, path):
self.redirect("http://showcase.richfaces.org", permanent=True)
def head(self, path):
self.redirect("http://showcase.richfaces.org", permanent=True)
application = webapp.WSGIApplication(
[
(r'^(.*)', MainPage)
])
def main():
run_wsgi_app(application)
if __name__ == "__main__":
main()
{code}
> Redirect the GAE showcase to the OpenShift showcase
> ---------------------------------------------------
>
> Key: RFPL-1974
> URL: https://issues.jboss.org/browse/RFPL-1974
> Project: RichFaces Planning
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: examples, site/wiki
> Reporter: Brian Leathem
> Assignee: Brian Leathem
> Fix For: 4.2.1.Final
>
> Attachments: showcaseRedirect.zip
>
>
> The 4.0.0.Final showcase running on GAE should re-direct to the current showcase running on OpenShift
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-planning-issues
mailing list