deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Deltaspike appears to be incompatible with Google App Engine
Date Sat, 05 Oct 2013 06:53:58 GMT
yes, please file a JIRA issue. More info about howto file bug reports is in our docs [1]

looking at it right now.


txs and LieGrue,
strub


[1] http://deltaspike.apache.org/community.html



----- Original Message -----
> From: Michael Gower <designatevoid@gmail.com>
> To: users@deltaspike.apache.org
> Cc: 
> Sent: Friday, 4 October 2013, 22:22
> Subject: Deltaspike appears to be incompatible with Google App Engine
> 
> Hello list,
> 
> I just started trying to incorporate Deltaspike (.4 & .5) into my Google
> App Engine (1.8.3) project and get an error during server start; it appears
> that the Deltaspike core uses a class that the Google App Engine doesn't
> like (specifically the JNDI libraries in this case).  The error message is
> below.  Should I file a bug?
> 
> Thank you,
> 
> Michael Gower
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~
> 
> [INFO] Oct 04, 2013 8:15:52 PM com.sun.faces.config.ConfigureListener
> contextInitialized
> [INFO] SEVERE: Critical error during deployment:
> [INFO] com.sun.faces.config.ConfigurationException: Factory
> 'javax.faces.context.FacesContextFactory' was not configured properly.
> [INFO] at
> com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:330)
> [INFO] at
> com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:236)
> [INFO] at
> com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:435)
> [INFO] at
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:214)
> [INFO] at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
> [INFO] at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> [INFO] at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> [INFO] at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
> [INFO] at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
> [INFO] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [INFO] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [INFO] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [INFO] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [INFO] at org.mortbay.jetty.Server.doStart(Server.java:224)
> [INFO] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [INFO] at
> com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:249)
> [INFO] at
> com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:306)
> [INFO] at
> com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26)
> [INFO] at
> com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:79)
> [INFO] at
> com.google.appengine.tools.development.Modules.startup(Modules.java:88)
> [INFO] at
> com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:240)
> [INFO] at
> com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:399)
> [INFO] at
> com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
> [INFO] at
> com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:334)
> [INFO] at
> com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:310)
> [INFO] Caused by: javax.faces.FacesException:
> org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeFacesContextFactory
> [INFO] at
> javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:710)
> [INFO] at
> javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:572)
> [INFO] at javax.faces.FactoryFinder.access$500(FactoryFinder.java:140)
> [INFO] at
> javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1120)
> [INFO] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:379)
> [INFO] at
> com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:328)
> [INFO] ... 24 more
> [INFO] Caused by: java.lang.reflect.InvocationTargetException
> [INFO] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> [INFO] at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> [INFO] at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> [INFO] at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> [INFO] at
> com.google.appengine.tools.development.agent.runtime.Runtime.newInstance_(Runtime.java:127)
> [INFO] at
> com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:135)
> [INFO] at
> javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:690)
> [INFO] ... 29 more
> [INFO] Caused by: java.util.ServiceConfigurationError:
> org.apache.deltaspike.core.spi.config.ConfigSourceProvider: Provider
> org.apache.deltaspike.core.impl.config.DefaultConfigSourceProvider could
> not be instantiated: java.lang.NoClassDefFoundError:
> javax.naming.InitialContext is a restricted class. Please see the Google
> App Engine developer's guide for more details.
> [INFO] at java.util.ServiceLoader.fail(ServiceLoader.java:224)
> [INFO] at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
> [INFO] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:370)
> [INFO] at java.util.ServiceLoader$1.next(ServiceLoader.java:438)
> [INFO] at
> org.apache.deltaspike.core.util.ServiceUtils.loadServiceImplementations(ServiceUtils.java:53)
> [INFO] at
> org.apache.deltaspike.core.api.config.ConfigResolver.resolveConfigSources(ConfigResolver.java:374)
> [INFO] at
> org.apache.deltaspike.core.api.config.ConfigResolver.getConfigSources(ConfigResolver.java:353)
> [INFO] at
> org.apache.deltaspike.core.api.config.ConfigResolver.getAllPropertyValues(ConfigResolver.java:306)
> [INFO] at
> org.apache.deltaspike.core.util.ClassDeactivationUtils.initConfiguredClassDeactivators(ClassDeactivationUtils.java:152)
> [INFO] at
> org.apache.deltaspike.core.util.ClassDeactivationUtils.getClassDeactivators(ClassDeactivationUtils.java:143)
> [INFO] at
> org.apache.deltaspike.core.util.ClassDeactivationUtils.initDeactivatableCacheFor(ClassDeactivationUtils.java:88)
> [INFO] at
> org.apache.deltaspike.core.util.ClassDeactivationUtils.isActivated(ClassDeactivationUtils.java:73)
> [INFO] at
> org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeFacesContextFactory.<init>(DeltaSpikeFacesContextFactory.java:42)
> [INFO] ... 36 more
> [INFO] Caused by: java.lang.NoClassDefFoundError:
> javax.naming.InitialContext is a restricted class. Please see the Google
> App Engine developer's guide for more details.
> [INFO] at
> com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
> [INFO] at
> org.apache.deltaspike.core.impl.util.JndiUtils.<clinit>(JndiUtils.java:51)
> [INFO] at java.lang.Class.forName0(Native Method)
> [INFO] at java.lang.Class.forName(Class.java:186)
> [INFO] at
> com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
> [INFO] at
> com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)
> [INFO] at
> org.apache.deltaspike.core.impl.config.LocalJndiConfigSource.getPropertyValue(LocalJndiConfigSource.java:53)
> [INFO] at
> org.apache.deltaspike.core.impl.config.BaseConfigSource.initOrdinal(BaseConfigSource.java:54)
> [INFO] at
> org.apache.deltaspike.core.impl.config.LocalJndiConfigSource.<init>(LocalJndiConfigSource.java:39)
> [INFO] at
> org.apache.deltaspike.core.impl.config.DefaultConfigSourceProvider.<init>(DefaultConfigSourceProvider.java:49)
> [INFO] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> [INFO] at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> [INFO] at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> [INFO] at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> [INFO] at java.lang.Class.newInstance0(Class.java:372)
> [INFO] at java.lang.Class.newInstance(Class.java:325)
> [INFO] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:362)
> [INFO] ... 46 more
> [INFO]
> [INFO] Oct 04, 2013 8:15:52 PM
> com.google.apphosting.utils.jetty.JettyLogger warn
> [INFO] WARNING: Failed startup of context
> com.google.appengine.tools.development.DevAppEngineWebAppContext@1d32c800
> {/,C:\Users\Vlad\git\main\estatevault-ear\target\estatevault-ear-0.1.0-SNAPSHOT}
> [INFO] java.lang.RuntimeException:
> com.sun.faces.config.ConfigurationException: Factory
> 'javax.faces.context.FacesContextFactory' was not configured properly.
> [INFO] at
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:273)
> [INFO] at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
> [INFO] at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
> [INFO] at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
> [INFO] at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
> [INFO] at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
> [INFO] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [INFO] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [INFO] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [INFO] at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> [INFO] at org.mortbay.jetty.Server.doStart(Server.java:224)
> [INFO] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> [INFO] at
> com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:249)
> [INFO] at
> com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:306)
> [INFO] at
> com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26)
> [INFO] at
> com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:79)
> [INFO] at
> com.google.appengine.tools.development.Modules.startup(Modules.java:88)
> [INFO] at
> com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:240)
> [INFO] at
> com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:399)
> [INFO] at
> com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
> [INFO] at
> com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:334)
> [INFO] at
> com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:310)
> [INFO] Caused by: com.sun.faces.config.ConfigurationException: Factory
> 'javax.faces.context.FacesContextFactory' was not configured properly.
> [INFO] at
> com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:330)
> [INFO] at
> com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:236)
> [INFO] at
> com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:435)
> [INFO] at
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:214)
> [INFO] ... 21 more
> [INFO] Caused by: javax.faces.FacesException:
> org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeFacesContextFactory
> [INFO] at
> javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:710)
> [INFO] at
> javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:572)
> [INFO] at javax.faces.FactoryFinder.access$500(FactoryFinder.java:140)
> [INFO] at
> javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1120)
> [INFO] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:379)
> [INFO] at
> com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:328)
> [INFO] ... 24 more
> [INFO] Caused by: java.lang.reflect.InvocationTargetException
> [INFO] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> [INFO] at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> [INFO] at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> [INFO] at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> [INFO] at
> com.google.appengine.tools.development.agent.runtime.Runtime.newInstance_(Runtime.java:127)
> [INFO] at
> com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:135)
> [INFO] at
> javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:690)
> [INFO] ... 29 more
> [INFO] Caused by: java.util.ServiceConfigurationError:
> org.apache.deltaspike.core.spi.config.ConfigSourceProvider: Provider
> org.apache.deltaspike.core.impl.config.DefaultConfigSourceProvider could
> not be instantiated: java.lang.NoClassDefFoundError:
> javax.naming.InitialContext is a restricted class. Please see the Google
> App Engine developer's guide for more details.
> [INFO] at java.util.ServiceLoader.fail(ServiceLoader.java:224)
> [INFO] at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
> [INFO] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:370)
> [INFO] at java.util.ServiceLoader$1.next(ServiceLoader.java:438)
> [INFO] at
> org.apache.deltaspike.core.util.ServiceUtils.loadServiceImplementations(ServiceUtils.java:53)
> [INFO] at
> org.apache.deltaspike.core.api.config.ConfigResolver.resolveConfigSources(ConfigResolver.java:374)
> [INFO] at
> org.apache.deltaspike.core.api.config.ConfigResolver.getConfigSources(ConfigResolver.java:353)
> [INFO] at
> org.apache.deltaspike.core.api.config.ConfigResolver.getAllPropertyValues(ConfigResolver.java:306)
> [INFO] at
> org.apache.deltaspike.core.util.ClassDeactivationUtils.initConfiguredClassDeactivators(ClassDeactivationUtils.java:152)
> [INFO] at
> org.apache.deltaspike.core.util.ClassDeactivationUtils.getClassDeactivators(ClassDeactivationUtils.java:143)
> [INFO] at
> org.apache.deltaspike.core.util.ClassDeactivationUtils.initDeactivatableCacheFor(ClassDeactivationUtils.java:88)
> [INFO] at
> org.apache.deltaspike.core.util.ClassDeactivationUtils.isActivated(ClassDeactivationUtils.java:73)
> [INFO] at
> org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeFacesContextFactory.<init>(DeltaSpikeFacesContextFactory.java:42)
> [INFO] ... 36 more
> [INFO] Caused by: java.lang.NoClassDefFoundError:
> javax.naming.InitialContext is a restricted class. Please see the Google
> App Engine developer's guide for more details.
> [INFO] at
> com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
> [INFO] at
> org.apache.deltaspike.core.impl.util.JndiUtils.<clinit>(JndiUtils.java:51)
> [INFO] at java.lang.Class.forName0(Native Method)
> [INFO] at java.lang.Class.forName(Class.java:186)
> [INFO] at
> com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
> [INFO] at
> com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)
> [INFO] at
> org.apache.deltaspike.core.impl.config.LocalJndiConfigSource.getPropertyValue(LocalJndiConfigSource.java:53)
> [INFO] at
> org.apache.deltaspike.core.impl.config.BaseConfigSource.initOrdinal(BaseConfigSource.java:54)
> [INFO] at
> org.apache.deltaspike.core.impl.config.LocalJndiConfigSource.<init>(LocalJndiConfigSource.java:39)
> [INFO] at
> org.apache.deltaspike.core.impl.config.DefaultConfigSourceProvider.<init>(DefaultConfigSourceProvider.java:49)
> [INFO] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> [INFO] at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> [INFO] at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> [INFO] at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> [INFO] at java.lang.Class.newInstance0(Class.java:372)
> [INFO] at java.lang.Class.newInstance(Class.java:325)
> [INFO] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:362)
> [INFO] ... 46 more
> 

Mime
View raw message