[google-appengine] Re: JSF apps
Hi, I've successful done the JSF 1.1 running but encountered the same problem on JSF 1.2 (http://blog.demetrio.it/2009/03/10/deploying-a- jsf-11-app-on-google-app/), here there are the details: http://www.seamframework.org/Community/SeamGoogleAppEngine#comment71623 If someone knows a way to fix it please help :) demetrio On 9 Apr, 09:28, "georges.goe...@gmail.com" wrote: > Hi, > > I tried to deploy a JSF application to test the new Java App Engine. I > managed to upload the app but it does not work :-( > > when I try to run the app on my local machine './dev_appserver.sh > myWar' I get the following error (at the end of the post) > > I think, he cannot read the jsf config files (faces-config.xml) from > the web-inf folder > I added the following to the appengine-web.xml without any luck > > > > > > > > > Does anybody have a clue ??? > > 009-04-09 10:14:16.180 java[24854:80f] [Java CocoaComponent > compatibility mode]: Enabled > 2009-04-09 10:14:16.181 java[24854:80f] [Java CocoaComponent > compatibility mode]: Setting timeout for SWT to 0.10 > Apr 9, 2009 10:14:17 AM com.google.apphosting.utils.jetty.JettyLogger > warn > WARNING: Failed startup of context > com.google.apphosting.utils.jetty.devappenginewebappcont...@94fe42{/,/ > Users/goebel/apache-tomcat-6.0.18/webapps/component-showcase} > com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! > access denied (java.lang.RuntimePermission modifyThread) > at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java: > 213) > at com.sun.faces.config.ConfigureListener.contextInitialized > (ConfigureListener.java:196) > at org.mortbay.jetty.handler.ContextHandler.startContext > (ContextHandler.java:530) > at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) > at org.mortbay.jetty.webapp.WebAppContext.startContext > (WebAppContext.java:1218) > at org.mortbay.jetty.handler.ContextHandler.doStart > (ContextHandler.java:500) > at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: > 448) > at org.mortbay.component.AbstractLifeCycle.start > (AbstractLifeCycle.java:40) > at org.mortbay.jetty.handler.HandlerWrapper.doStart > (HandlerWrapper.java:117) > at org.mortbay.component.AbstractLifeCycle.start > (AbstractLifeCycle.java:40) > at org.mortbay.jetty.handler.HandlerWrapper.doStart > (HandlerWrapper.java:117) > at org.mortbay.jetty.Server.doStart(Server.java:217) > at org.mortbay.component.AbstractLifeCycle.start > (AbstractLifeCycle.java:40) > at > com.google.appengine.tools.development.JettyContainerService.startContainer > (JettyContainerService.java:147) > at > com.google.appengine.tools.development.AbstractContainerService.startup > (AbstractContainerService.java:115) > at com.google.appengine.tools.development.DevAppServerImpl.start > (DevAppServerImpl.java:205) > at com.google.appengine.tools.development.DevAppServerMain > $StartAction.apply(DevAppServerMain.java:136) > at com.google.appengine.tools.util.Parser$ParseResult.applyArgs > (Parser.java:48) > at com.google.appengine.tools.development.DevAppServerMain. > (DevAppServerMain.java:90) > at com.google.appengine.tools.development.DevAppServerMain.main > (DevAppServerMain.java:84) > Caused by: java.security.AccessControlException: access denied > (java.lang.RuntimePermission modifyThread) > at java.security.AccessControlContext.checkPermission > (AccessControlContext.java:264) > at java.security.AccessController.checkPermission > (AccessController.java:427) > at java.util.concurrent.ThreadPoolExecutor.shutdown > (ThreadPoolExecutor.java:893) > at com.sun.faces.config.ConfigManager.getConfigDocuments > (ConfigManager.java:301) > at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java: > 203) > ... 19 more > The server is running athttp://localhost:8080/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: JSF apps
2009/4/10 demetrio812 > > Hi, > I've successful done the JSF 1.1 running but encountered the same > problem on JSF 1.2 (http://blog.demetrio.it/2009/03/10/deploying-a- > jsf-11-app-on-google-app/), here there are the details: > > http://www.seamframework.org/Community/SeamGoogleAppEngine#comment71623 > > If someone knows a way to fix it please help :) > > demetrio > > On 9 Apr, 09:28, "georges.goe...@gmail.com" > wrote: > > Hi, > > > > I tried to deploy a JSF application to test the new Java App Engine. I > > managed to upload the app but it does not work :-( > > > > when I try to run the app on my local machine './dev_appserver.sh > > myWar' I get the following error (at the end of the post) > > > > I think, he cannot read the jsf config files (faces-config.xml) from > > the web-inf folder > > I added the following to the appengine-web.xml without any luck > > > > > > > > > > > > > > > > > > Does anybody have a clue ??? > > > > 009-04-09 10:14:16.180 java[24854:80f] [Java CocoaComponent > > compatibility mode]: Enabled > > 2009-04-09 10:14:16.181 java[24854:80f] [Java CocoaComponent > > compatibility mode]: Setting timeout for SWT to 0.10 > > Apr 9, 2009 10:14:17 AM com.google.apphosting.utils.jetty.JettyLogger > > warn > > WARNING: Failed startup of context > > com.google.apphosting.utils.jetty.devappenginewebappcont...@94fe42{/,/ > > Users/goebel/apache-tomcat-6.0.18/webapps/component-showcase} > > com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! > > access denied (java.lang.RuntimePermission modifyThread) > > at > com.sun.faces.config.ConfigManager.initialize(ConfigManager.java: > > 213) > > at com.sun.faces.config.ConfigureListener.contextInitialized > > (ConfigureListener.java:196) > > at org.mortbay.jetty.handler.ContextHandler.startContext > > (ContextHandler.java:530) > > at > org.mortbay.jetty.servlet.Context.startContext(Context.java:135) > > at org.mortbay.jetty.webapp.WebAppContext.startContext > > (WebAppContext.java:1218) > > at org.mortbay.jetty.handler.ContextHandler.doStart > > (ContextHandler.java:500) > > at > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java: > > 448) > > at org.mortbay.component.AbstractLifeCycle.start > > (AbstractLifeCycle.java:40) > > at org.mortbay.jetty.handler.HandlerWrapper.doStart > > (HandlerWrapper.java:117) > > at org.mortbay.component.AbstractLifeCycle.start > > (AbstractLifeCycle.java:40) > > at org.mortbay.jetty.handler.HandlerWrapper.doStart > > (HandlerWrapper.java:117) > > at org.mortbay.jetty.Server.doStart(Server.java:217) > > at org.mortbay.component.AbstractLifeCycle.start > > (AbstractLifeCycle.java:40) > > at > > > com.google.appengine.tools.development.JettyContainerService.startContainer > > (JettyContainerService.java:147) > > at > > com.google.appengine.tools.development.AbstractContainerService.startup > > (AbstractContainerService.java:115) > > at com.google.appengine.tools.development.DevAppServerImpl.start > > (DevAppServerImpl.java:205) > > at com.google.appengine.tools.development.DevAppServerMain > > $StartAction.apply(DevAppServerMain.java:136) > > at com.google.appengine.tools.util.Parser$ParseResult.applyArgs > > (Parser.java:48) > > at com.google.appengine.tools.development.DevAppServerMain. > > (DevAppServerMain.java:90) > > at com.google.appengine.tools.development.DevAppServerMain.main > > (DevAppServerMain.java:84) > > Caused by: java.security.AccessControlException: access denied > > (java.lang.RuntimePermission modifyThread) > > at java.security.AccessControlContext.checkPermission > > (AccessControlContext.java:264) > > at java.security.AccessController.checkPermission > > (AccessController.java:427) > > at java.util.concurrent.ThreadPoolExecutor.shutdown > > (ThreadPoolExecutor.java:893) > > at com.sun.faces.config.ConfigManager.getConfigDocuments > > (ConfigManager.java:301) > > at > com.sun.faces.config.ConfigManager.initialize(ConfigManager.java: > > 203) > > ... 19 more > > The server is running athttp://localhost:8080/ > > > > I also have the same problem !!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---