java.lang.RuntimeException: Service id > > > >>>>> 'common-conf-properties' > > > >>>>> is not defined by any module. Defined services: > > > >>>>> ActionRenderResponseGenerator, AjaxComponentEventRequestHandler, > > > >>>>> AjaxComponentEventResultProcessor, AjaxPartialResponseRenderer, > > > Alias, > > > >>>>> AliasOverrides, AppSubscriptionHandler, ApplicationContext, > > > >>>>> ApplicationDefaults, ApplicationGlobals, ApplicationInitializer, > > > >>>>> ApplicationStateManager, > > ApplicationStatePersistenceStrategySource, > > > >>>>> AspectDecorator, AssetBindingFactory, AssetObjectProvider, > > > AssetSource, > > > >>>>> BaseURLSource, BeanBlockOverrideSource, BeanBlockSource, > > > >>>>> BeanModelSource, > > > >>>>> BindingSource, ChainBuilder, ClassNameLocator, > > > >>>>> ClasspathAssetAliasManager, > > > >>>>> ClasspathAssetFactory, ClasspathURLConverter, > > > >>>>> ClientPersistentFieldStorage, > > > >>>>> ClientPersistentFieldStrategy, ComponentClassCache, > > > >>>>> ComponentClassFactory, > > > >>>>> ComponentClassResolver, ComponentClassTransformWorker, > > > >>>>> ComponentClassTransformer, ComponentClassesInvalidationEventHub, > > > >>>>> ComponentDefaultProvider, ComponentEventRequestHandler, > > > >>>>> ComponentEventResultProcessor, ComponentInstanceResultProcessor, > > > >>>>> ComponentInstantiatorSource, ComponentInvocationMap, > > > >>>>> ComponentMessagesInvalidationEventHub, ComponentMessagesSource, > > > >>>>> ComponentPageElementResourcesSource, ComponentSource, > > > >>>>> ComponentTemplateSource, ComponentTemplatesInvalidationEventHub, > > > >>>>> Context, > > > >>>>> ContextAssetFactory, ContextPathEncoder, ContextValueEncoder, > > > >>>>> CookieSink, > > > >>>>> CookieSource, Cookies, CtClassSource, DataTypeAnalyzer, > > > >>>>> DefaultDataTypeAnalyzer, DefaultFileItemFactory, > > > >>>>> DefaultImplementationBuilder, EndOfRequestListenerHub, > > Environment, > > > >>>>> EnvironmentalShadowBuilder, ExceptionAnalyzer, ExceptionTracker, > > > >>>>> FacebookAuthFilterImpl, FactoryDefaults, FbForceModeFilter, > > > >>>>> FieldTranslatorSource, FieldValidationSupport, > > > >>>>> FieldValidatorDefaultSource, > > > >>>>> FieldValidatorSource, FormSupport, HiddenFieldLocationRules, > > > >>>>> HttpServletRequest, HttpServletRequestHandler, > IgnoredPathsFilter, > > > >>>>> InjectionProvider, InternalRequestGlobals, LinkCreationHub, > > > >>>>> LinkFactory, > > > >>>>> LocalizationSetter, LocationRenderer, LoggingDecorator, > > > MarkupRenderer, > > > >>>>> MarkupWriterFactory, MasterDispatcher, MasterObjectProvider, > > > >>>>> MessageBindingFactory, MetaDataLocator, MultipartDecoder, > > > >>>>> NullFieldStrategyBindingFactory, NullFieldStrategySource, > > > >>>>> ObjectRenderer, > > > >>>>> OsForceTypeFilter, PageActivationContextCollector, > > > >>>>> PageContentTypeAnalyzer, > > > >>>>> PageDocumentGenerator, PageElementFactory, PageLoader, > > > >>>>> PageMarkupRenderer, > > > >>>>> PagePool, PageRenderQueue, PageRenderRequestHandler, > > > >>>>> PageResponseRenderer, > > > >>>>> PageTemplateLocator, PartialMarkupRenderer, > > PersistentFieldManager, > > > >>>>> PersistentLocale, PipelineBuilder, PropBindingFactory, > > > PropertyAccess, > > > >>>>> PropertyConduitSource, PropertyShadowBuilder, RegistryStartup, > > > >>>>> RenderSupport, Request, RequestExceptionHandler, RequestGlobals, > > > >>>>> RequestHandler, RequestLogFilter, RequestPageCache, > > > >>>>> RequestPathOptimizer, > > > >>>>> RequestSecurityManager, ResourceCache, ResourceDigestGenerator, > > > >>>>> ResourceStreamer, Response, ResponseRenderer, > > ServiceLifecycleSource, > > > >>>>> ServletApplicationInitializer, > > > >>>>> SessionApplicationStatePersistenceStrategy, > > > >>>>> StrategyBuilder, SymbolSource, TemplateParser, ThreadLocale, > > > >>>>> TranslateBindingFactory, TranslatorSource, TypeCoercer, > > URLEncoder, > > > >>>>> UpdateListenerHub, ValidateBindingFactory, > > > >>>>> ValidationConstraintGenerator, > > > >>>>> ValidationMessagesSource, ValueEncoderSource. > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.locateModuleForService(Regi > > stryImpl.java:321) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.jav > > a:288) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocat > > orImpl.java:39) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.internal.services.ServiceAnnotationObjectProvider.pro > > vide(ServiceAnnotationObjectProvider.java:35) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invo > > ke(MasterObjectProviderImpl.java:50) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.InvokableToRunnable.run(InvokableToRunna > > ble.java:36) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTracke > > rImpl.java:52) > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> Howard Lewis Ship wrote: > > > >>>>>> > > > >>>>>> We need to figure out the order that the filters are > initialized, > > so > > > >>>>>> that the Tapestry filter can be initialized first. I think just > > > >>>>>> listing it first in the web.xml may do the trick. > > > >>>>>> > > > >>>>>> On Mon, Dec 29, 2008 at 4:00 PM, Fernando Padilla < > > > fern@alum.mit.edu> > > > >>>>>> wrote: > > > >>>>>>> > > > >>>>>>> I just tried it, and it won't work like that :( > > > >>>>>>> > > > >>>>>>> Like I said, I use spring outside of tapestry. So I need a > > valid > > > >>>>>>> working > > > >>>>>>> spring context before the first request ever gets to tapestry > > > >>>>>>> filter.. > > > >>>>>>> > > > >>>>>>> Here is my exception when I comment out the normal > > > >>>>>>> ContextLoaderListener.. > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> [Console output redirected to > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > file:/local/fern/work/social-app- > > repository/trunk/fanwars/site/../../log.txt] > > > >>>>>>> 2008-12-29 15:58:26,140 [main] ERROR org.mortbay.log - failed > > > OpenDS > > > >>>>>>> java.lang.NullPointerException > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.spring.OpenDSFilter.init(OpenDSFilter.java:28) > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.web.ProtradeFilter.init(ProtradeFilter.java:37) > > > >>>>>>> at > > > >>>>>>> > > > org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:58 > > 9) > > > >>>>>>> at > > > >>>>>>> > org.mortbay.jetty.servlet.Context.startContext(Context.java:139) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:121 > > 6) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) > > > >>>>>>> at org.mortbay.jetty.Server.doStart(Server.java:222)

tapestry-users | Otho | 8 years ago
  1. 0

    Re: spring context troubles

    tapestry-users | 8 years ago | Otho
    java.lang.RuntimeException: Service id > > > >>>>> 'common-conf-properties' > > > >>>>> is not defined by any module. Defined services: > > > >>>>> ActionRenderResponseGenerator, AjaxComponentEventRequestHandler, > > > >>>>> AjaxComponentEventResultProcessor, AjaxPartialResponseRenderer, > > > Alias, > > > >>>>> AliasOverrides, AppSubscriptionHandler, ApplicationContext, > > > >>>>> ApplicationDefaults, ApplicationGlobals, ApplicationInitializer, > > > >>>>> ApplicationStateManager, > > ApplicationStatePersistenceStrategySource, > > > >>>>> AspectDecorator, AssetBindingFactory, AssetObjectProvider, > > > AssetSource, > > > >>>>> BaseURLSource, BeanBlockOverrideSource, BeanBlockSource, > > > >>>>> BeanModelSource, > > > >>>>> BindingSource, ChainBuilder, ClassNameLocator, > > > >>>>> ClasspathAssetAliasManager, > > > >>>>> ClasspathAssetFactory, ClasspathURLConverter, > > > >>>>> ClientPersistentFieldStorage, > > > >>>>> ClientPersistentFieldStrategy, ComponentClassCache, > > > >>>>> ComponentClassFactory, > > > >>>>> ComponentClassResolver, ComponentClassTransformWorker, > > > >>>>> ComponentClassTransformer, ComponentClassesInvalidationEventHub, > > > >>>>> ComponentDefaultProvider, ComponentEventRequestHandler, > > > >>>>> ComponentEventResultProcessor, ComponentInstanceResultProcessor, > > > >>>>> ComponentInstantiatorSource, ComponentInvocationMap, > > > >>>>> ComponentMessagesInvalidationEventHub, ComponentMessagesSource, > > > >>>>> ComponentPageElementResourcesSource, ComponentSource, > > > >>>>> ComponentTemplateSource, ComponentTemplatesInvalidationEventHub, > > > >>>>> Context, > > > >>>>> ContextAssetFactory, ContextPathEncoder, ContextValueEncoder, > > > >>>>> CookieSink, > > > >>>>> CookieSource, Cookies, CtClassSource, DataTypeAnalyzer, > > > >>>>> DefaultDataTypeAnalyzer, DefaultFileItemFactory, > > > >>>>> DefaultImplementationBuilder, EndOfRequestListenerHub, > > Environment, > > > >>>>> EnvironmentalShadowBuilder, ExceptionAnalyzer, ExceptionTracker, > > > >>>>> FacebookAuthFilterImpl, FactoryDefaults, FbForceModeFilter, > > > >>>>> FieldTranslatorSource, FieldValidationSupport, > > > >>>>> FieldValidatorDefaultSource, > > > >>>>> FieldValidatorSource, FormSupport, HiddenFieldLocationRules, > > > >>>>> HttpServletRequest, HttpServletRequestHandler, > IgnoredPathsFilter, > > > >>>>> InjectionProvider, InternalRequestGlobals, LinkCreationHub, > > > >>>>> LinkFactory, > > > >>>>> LocalizationSetter, LocationRenderer, LoggingDecorator, > > > MarkupRenderer, > > > >>>>> MarkupWriterFactory, MasterDispatcher, MasterObjectProvider, > > > >>>>> MessageBindingFactory, MetaDataLocator, MultipartDecoder, > > > >>>>> NullFieldStrategyBindingFactory, NullFieldStrategySource, > > > >>>>> ObjectRenderer, > > > >>>>> OsForceTypeFilter, PageActivationContextCollector, > > > >>>>> PageContentTypeAnalyzer, > > > >>>>> PageDocumentGenerator, PageElementFactory, PageLoader, > > > >>>>> PageMarkupRenderer, > > > >>>>> PagePool, PageRenderQueue, PageRenderRequestHandler, > > > >>>>> PageResponseRenderer, > > > >>>>> PageTemplateLocator, PartialMarkupRenderer, > > PersistentFieldManager, > > > >>>>> PersistentLocale, PipelineBuilder, PropBindingFactory, > > > PropertyAccess, > > > >>>>> PropertyConduitSource, PropertyShadowBuilder, RegistryStartup, > > > >>>>> RenderSupport, Request, RequestExceptionHandler, RequestGlobals, > > > >>>>> RequestHandler, RequestLogFilter, RequestPageCache, > > > >>>>> RequestPathOptimizer, > > > >>>>> RequestSecurityManager, ResourceCache, ResourceDigestGenerator, > > > >>>>> ResourceStreamer, Response, ResponseRenderer, > > ServiceLifecycleSource, > > > >>>>> ServletApplicationInitializer, > > > >>>>> SessionApplicationStatePersistenceStrategy, > > > >>>>> StrategyBuilder, SymbolSource, TemplateParser, ThreadLocale, > > > >>>>> TranslateBindingFactory, TranslatorSource, TypeCoercer, > > URLEncoder, > > > >>>>> UpdateListenerHub, ValidateBindingFactory, > > > >>>>> ValidationConstraintGenerator, > > > >>>>> ValidationMessagesSource, ValueEncoderSource. > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.locateModuleForService(Regi > > stryImpl.java:321) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.jav > > a:288) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocat > > orImpl.java:39) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.internal.services.ServiceAnnotationObjectProvider.pro > > vide(ServiceAnnotationObjectProvider.java:35) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invo > > ke(MasterObjectProviderImpl.java:50) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.InvokableToRunnable.run(InvokableToRunna > > ble.java:36) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTracke > > rImpl.java:52) > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> Howard Lewis Ship wrote: > > > >>>>>> > > > >>>>>> We need to figure out the order that the filters are > initialized, > > so > > > >>>>>> that the Tapestry filter can be initialized first. I think just > > > >>>>>> listing it first in the web.xml may do the trick. > > > >>>>>> > > > >>>>>> On Mon, Dec 29, 2008 at 4:00 PM, Fernando Padilla < > > > fern@alum.mit.edu> > > > >>>>>> wrote: > > > >>>>>>> > > > >>>>>>> I just tried it, and it won't work like that :( > > > >>>>>>> > > > >>>>>>> Like I said, I use spring outside of tapestry. So I need a > > valid > > > >>>>>>> working > > > >>>>>>> spring context before the first request ever gets to tapestry > > > >>>>>>> filter.. > > > >>>>>>> > > > >>>>>>> Here is my exception when I comment out the normal > > > >>>>>>> ContextLoaderListener.. > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> [Console output redirected to > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > file:/local/fern/work/social-app- > > repository/trunk/fanwars/site/../../log.txt] > > > >>>>>>> 2008-12-29 15:58:26,140 [main] ERROR org.mortbay.log - failed > > > OpenDS > > > >>>>>>> java.lang.NullPointerException > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.spring.OpenDSFilter.init(OpenDSFilter.java:28) > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.web.ProtradeFilter.init(ProtradeFilter.java:37) > > > >>>>>>> at > > > >>>>>>> > > > org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:58 > > 9) > > > >>>>>>> at > > > >>>>>>> > org.mortbay.jetty.servlet.Context.startContext(Context.java:139) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:121 > > 6) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) > > > >>>>>>> at org.mortbay.jetty.Server.doStart(Server.java:222)
  2. 0

    Re: spring context troubles

    tapestry-users | 8 years ago | Otho
    java.lang.RuntimeException: Service id > > > >>>>> 'common-conf-properties' > > > >>>>> is not defined by any module. Defined services: > > > >>>>> ActionRenderResponseGenerator, AjaxComponentEventRequestHandler, > > > >>>>> AjaxComponentEventResultProcessor, AjaxPartialResponseRenderer, > > > Alias, > > > >>>>> AliasOverrides, AppSubscriptionHandler, ApplicationContext, > > > >>>>> ApplicationDefaults, ApplicationGlobals, ApplicationInitializer, > > > >>>>> ApplicationStateManager, > > ApplicationStatePersistenceStrategySource, > > > >>>>> AspectDecorator, AssetBindingFactory, AssetObjectProvider, > > > AssetSource, > > > >>>>> BaseURLSource, BeanBlockOverrideSource, BeanBlockSource, > > > >>>>> BeanModelSource, > > > >>>>> BindingSource, ChainBuilder, ClassNameLocator, > > > >>>>> ClasspathAssetAliasManager, > > > >>>>> ClasspathAssetFactory, ClasspathURLConverter, > > > >>>>> ClientPersistentFieldStorage, > > > >>>>> ClientPersistentFieldStrategy, ComponentClassCache, > > > >>>>> ComponentClassFactory, > > > >>>>> ComponentClassResolver, ComponentClassTransformWorker, > > > >>>>> ComponentClassTransformer, ComponentClassesInvalidationEventHub, > > > >>>>> ComponentDefaultProvider, ComponentEventRequestHandler, > > > >>>>> ComponentEventResultProcessor, ComponentInstanceResultProcessor, > > > >>>>> ComponentInstantiatorSource, ComponentInvocationMap, > > > >>>>> ComponentMessagesInvalidationEventHub, ComponentMessagesSource, > > > >>>>> ComponentPageElementResourcesSource, ComponentSource, > > > >>>>> ComponentTemplateSource, ComponentTemplatesInvalidationEventHub, > > > >>>>> Context, > > > >>>>> ContextAssetFactory, ContextPathEncoder, ContextValueEncoder, > > > >>>>> CookieSink, > > > >>>>> CookieSource, Cookies, CtClassSource, DataTypeAnalyzer, > > > >>>>> DefaultDataTypeAnalyzer, DefaultFileItemFactory, > > > >>>>> DefaultImplementationBuilder, EndOfRequestListenerHub, > > Environment, > > > >>>>> EnvironmentalShadowBuilder, ExceptionAnalyzer, ExceptionTracker, > > > >>>>> FacebookAuthFilterImpl, FactoryDefaults, FbForceModeFilter, > > > >>>>> FieldTranslatorSource, FieldValidationSupport, > > > >>>>> FieldValidatorDefaultSource, > > > >>>>> FieldValidatorSource, FormSupport, HiddenFieldLocationRules, > > > >>>>> HttpServletRequest, HttpServletRequestHandler, > IgnoredPathsFilter, > > > >>>>> InjectionProvider, InternalRequestGlobals, LinkCreationHub, > > > >>>>> LinkFactory, > > > >>>>> LocalizationSetter, LocationRenderer, LoggingDecorator, > > > MarkupRenderer, > > > >>>>> MarkupWriterFactory, MasterDispatcher, MasterObjectProvider, > > > >>>>> MessageBindingFactory, MetaDataLocator, MultipartDecoder, > > > >>>>> NullFieldStrategyBindingFactory, NullFieldStrategySource, > > > >>>>> ObjectRenderer, > > > >>>>> OsForceTypeFilter, PageActivationContextCollector, > > > >>>>> PageContentTypeAnalyzer, > > > >>>>> PageDocumentGenerator, PageElementFactory, PageLoader, > > > >>>>> PageMarkupRenderer, > > > >>>>> PagePool, PageRenderQueue, PageRenderRequestHandler, > > > >>>>> PageResponseRenderer, > > > >>>>> PageTemplateLocator, PartialMarkupRenderer, > > PersistentFieldManager, > > > >>>>> PersistentLocale, PipelineBuilder, PropBindingFactory, > > > PropertyAccess, > > > >>>>> PropertyConduitSource, PropertyShadowBuilder, RegistryStartup, > > > >>>>> RenderSupport, Request, RequestExceptionHandler, RequestGlobals, > > > >>>>> RequestHandler, RequestLogFilter, RequestPageCache, > > > >>>>> RequestPathOptimizer, > > > >>>>> RequestSecurityManager, ResourceCache, ResourceDigestGenerator, > > > >>>>> ResourceStreamer, Response, ResponseRenderer, > > ServiceLifecycleSource, > > > >>>>> ServletApplicationInitializer, > > > >>>>> SessionApplicationStatePersistenceStrategy, > > > >>>>> StrategyBuilder, SymbolSource, TemplateParser, ThreadLocale, > > > >>>>> TranslateBindingFactory, TranslatorSource, TypeCoercer, > > URLEncoder, > > > >>>>> UpdateListenerHub, ValidateBindingFactory, > > > >>>>> ValidationConstraintGenerator, > > > >>>>> ValidationMessagesSource, ValueEncoderSource. > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.locateModuleForService(Regi > > stryImpl.java:321) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.jav > > a:288) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocat > > orImpl.java:39) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.internal.services.ServiceAnnotationObjectProvider.pro > > vide(ServiceAnnotationObjectProvider.java:35) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invo > > ke(MasterObjectProviderImpl.java:50) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.InvokableToRunnable.run(InvokableToRunna > > ble.java:36) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTracke > > rImpl.java:52) > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> Howard Lewis Ship wrote: > > > >>>>>> > > > >>>>>> We need to figure out the order that the filters are > initialized, > > so > > > >>>>>> that the Tapestry filter can be initialized first. I think just > > > >>>>>> listing it first in the web.xml may do the trick. > > > >>>>>> > > > >>>>>> On Mon, Dec 29, 2008 at 4:00 PM, Fernando Padilla < > > > fern@alum.mit.edu> > > > >>>>>> wrote: > > > >>>>>>> > > > >>>>>>> I just tried it, and it won't work like that :( > > > >>>>>>> > > > >>>>>>> Like I said, I use spring outside of tapestry. So I need a > > valid > > > >>>>>>> working > > > >>>>>>> spring context before the first request ever gets to tapestry > > > >>>>>>> filter.. > > > >>>>>>> > > > >>>>>>> Here is my exception when I comment out the normal > > > >>>>>>> ContextLoaderListener.. > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> [Console output redirected to > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > file:/local/fern/work/social-app- > > repository/trunk/fanwars/site/../../log.txt] > > > >>>>>>> 2008-12-29 15:58:26,140 [main] ERROR org.mortbay.log - failed > > > OpenDS > > > >>>>>>> java.lang.NullPointerException > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.spring.OpenDSFilter.init(OpenDSFilter.java:28) > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.web.ProtradeFilter.init(ProtradeFilter.java:37) > > > >>>>>>> at > > > >>>>>>> > > > org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:58 > > 9) > > > >>>>>>> at > > > >>>>>>> > org.mortbay.jetty.servlet.Context.startContext(Context.java:139) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:121 > > 6) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) > > > >>>>>>> at org.mortbay.jetty.Server.doStart(Server.java:222)
  3. 0

    Re: spring context troubles

    apache.org | 1 year ago
    java.lang.RuntimeException: Service id 'common-conf-properties' >> is not defined by any module. Defined services: >> ActionRenderResponseGenerator, AjaxComponentEventRequestHandler, >> AjaxComponentEventResultProcessor, AjaxPartialResponseRenderer, Alias, >> AliasOverrides, AppSubscriptionHandler, ApplicationContext, >> ApplicationDefaults, ApplicationGlobals, ApplicationInitializer, >> ApplicationStateManager, ApplicationStatePersistenceStrategySource, >> AspectDecorator, AssetBindingFactory, AssetObjectProvider, AssetSource, >> BaseURLSource, BeanBlockOverrideSource, BeanBlockSource, BeanModelSource, >> BindingSource, ChainBuilder, ClassNameLocator, ClasspathAssetAliasManager, >> ClasspathAssetFactory, ClasspathURLConverter, ClientPersistentFieldStorage, >> ClientPersistentFieldStrategy, ComponentClassCache, ComponentClassFactory, >> ComponentClassResolver, ComponentClassTransformWorker, >> ComponentClassTransformer, ComponentClassesInvalidationEventHub, >> ComponentDefaultProvider, ComponentEventRequestHandler, >> ComponentEventResultProcessor, ComponentInstanceResultProcessor, >> ComponentInstantiatorSource, ComponentInvocationMap, >> ComponentMessagesInvalidationEventHub, ComponentMessagesSource, >> ComponentPageElementResourcesSource, ComponentSource, >> ComponentTemplateSource, ComponentTemplatesInvalidationEventHub, Context, >> ContextAssetFactory, ContextPathEncoder, ContextValueEncoder, CookieSink, >> CookieSource, Cookies, CtClassSource, DataTypeAnalyzer, >> DefaultDataTypeAnalyzer, DefaultFileItemFactory, >> DefaultImplementationBuilder, EndOfRequestListenerHub, Environment, >> EnvironmentalShadowBuilder, ExceptionAnalyzer, ExceptionTracker, >> FacebookAuthFilterImpl, FactoryDefaults, FbForceModeFilter, >> FieldTranslatorSource, FieldValidationSupport, FieldValidatorDefaultSource, >> FieldValidatorSource, FormSupport, HiddenFieldLocationRules, >> HttpServletRequest, HttpServletRequestHandler, IgnoredPathsFilter, >> InjectionProvider, InternalRequestGlobals, LinkCreationHub, LinkFactory, >> LocalizationSetter, LocationRenderer, LoggingDecorator, MarkupRenderer, >> MarkupWriterFactory, MasterDispatcher, MasterObjectProvider, >> MessageBindingFactory, MetaDataLocator, MultipartDecoder, >> NullFieldStrategyBindingFactory, NullFieldStrategySource, ObjectRenderer, >> OsForceTypeFilter, PageActivationContextCollector, PageContentTypeAnalyzer, >> PageDocumentGenerator, PageElementFactory, PageLoader, PageMarkupRenderer, >> PagePool, PageRenderQueue, PageRenderRequestHandler, PageResponseRenderer, >> PageTemplateLocator, PartialMarkupRenderer, PersistentFieldManager, >> PersistentLocale, PipelineBuilder, PropBindingFactory, PropertyAccess, >> PropertyConduitSource, PropertyShadowBuilder, RegistryStartup, >> RenderSupport, Request, RequestExceptionHandler, RequestGlobals, >> RequestHandler, RequestLogFilter, RequestPageCache, RequestPathOptimizer, >> RequestSecurityManager, ResourceCache, ResourceDigestGenerator, >> ResourceStreamer, Response, ResponseRenderer, ServiceLifecycleSource, >> ServletApplicationInitializer, SessionApplicationStatePersistenceStrategy, >> StrategyBuilder, SymbolSource, TemplateParser, ThreadLocale, >> TranslateBindingFactory, TranslatorSource, TypeCoercer, URLEncoder, >> UpdateListenerHub, ValidateBindingFactory, ValidationConstraintGenerator, >> ValidationMessagesSource, ValueEncoderSource. >> at >> org.apache.tapestry5.ioc.internal.RegistryImpl.locateModuleForService(RegistryImpl.java:321) >> at >> org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.java:288) >> at >> org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocatorImpl.java:39) >> at >> org.apache.tapestry5.internal.services.ServiceAnnotationObjectProvider.provide(ServiceAnnotationObjectProvider.java:35) >> at >> org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invoke(MasterObjectProviderImpl.java:50) >> at >> org.apache.tapestry5.ioc.internal.InvokableToRunnable.run(InvokableToRunnable.java:36) >> at >> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:52) >> >> >> >> >> >> >> Howard Lewis Ship wrote: >>> We need to figure out the order that the filters are initialized, so >>> that the Tapestry filter can be initialized first. I think just >>> listing it first in the web.xml may do the trick. >>> >>> On Mon, Dec 29, 2008 at 4:00 PM, Fernando Padilla <fern@alum.mit.edu> >>> wrote: >>>> I just tried it, and it won't work like that :( >>>> >>>> Like I said, I use spring outside of tapestry. So I need a valid working >>>> spring context before the first request ever gets to tapestry filter.. >>>> >>>> Here is my exception when I comment out the normal >>>> ContextLoaderListener.. >>>> >>>> >>>> >>>> [Console output redirected to >>>> >>>> file:/local/fern/work/social-app-repository/trunk/fanwars/site/../../log.txt] >>>> 2008-12-29 15:58:26,140 [main] ERROR org.mortbay.log - failed OpenDS >>>> java.lang.NullPointerException >>>> at >>>> com.protrade.common.spring.OpenDSFilter.init(OpenDSFilter.java:28) >>>> at >>>> com.protrade.common.web.ProtradeFilter.init(ProtradeFilter.java:37) >>>> at >>>> org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) >>>> at >>>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) >>>> at >>>> >>>> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:589) >>>> at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.RuntimeException: The Portlet Factory is not properly initialized and it should not be used in this state

    Stack Overflow | 1 year ago | Corina Bumbacea
    java.lang.RuntimeException: The bootstrap configuration property bowstreet.rootDirectory was not defined by the Portlet Factory initialization servlet or in system properties. The Portlet Factory is not properly initialized and it should not be used in this state.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Service id > > > >>>>> 'common-conf-properties' > > > >>>>> is not defined by any module. Defined services: > > > >>>>> ActionRenderResponseGenerator, AjaxComponentEventRequestHandler, > > > >>>>> AjaxComponentEventResultProcessor, AjaxPartialResponseRenderer, > > > Alias, > > > >>>>> AliasOverrides, AppSubscriptionHandler, ApplicationContext, > > > >>>>> ApplicationDefaults, ApplicationGlobals, ApplicationInitializer, > > > >>>>> ApplicationStateManager, > > ApplicationStatePersistenceStrategySource, > > > >>>>> AspectDecorator, AssetBindingFactory, AssetObjectProvider, > > > AssetSource, > > > >>>>> BaseURLSource, BeanBlockOverrideSource, BeanBlockSource, > > > >>>>> BeanModelSource, > > > >>>>> BindingSource, ChainBuilder, ClassNameLocator, > > > >>>>> ClasspathAssetAliasManager, > > > >>>>> ClasspathAssetFactory, ClasspathURLConverter, > > > >>>>> ClientPersistentFieldStorage, > > > >>>>> ClientPersistentFieldStrategy, ComponentClassCache, > > > >>>>> ComponentClassFactory, > > > >>>>> ComponentClassResolver, ComponentClassTransformWorker, > > > >>>>> ComponentClassTransformer, ComponentClassesInvalidationEventHub, > > > >>>>> ComponentDefaultProvider, ComponentEventRequestHandler, > > > >>>>> ComponentEventResultProcessor, ComponentInstanceResultProcessor, > > > >>>>> ComponentInstantiatorSource, ComponentInvocationMap, > > > >>>>> ComponentMessagesInvalidationEventHub, ComponentMessagesSource, > > > >>>>> ComponentPageElementResourcesSource, ComponentSource, > > > >>>>> ComponentTemplateSource, ComponentTemplatesInvalidationEventHub, > > > >>>>> Context, > > > >>>>> ContextAssetFactory, ContextPathEncoder, ContextValueEncoder, > > > >>>>> CookieSink, > > > >>>>> CookieSource, Cookies, CtClassSource, DataTypeAnalyzer, > > > >>>>> DefaultDataTypeAnalyzer, DefaultFileItemFactory, > > > >>>>> DefaultImplementationBuilder, EndOfRequestListenerHub, > > Environment, > > > >>>>> EnvironmentalShadowBuilder, ExceptionAnalyzer, ExceptionTracker, > > > >>>>> FacebookAuthFilterImpl, FactoryDefaults, FbForceModeFilter, > > > >>>>> FieldTranslatorSource, FieldValidationSupport, > > > >>>>> FieldValidatorDefaultSource, > > > >>>>> FieldValidatorSource, FormSupport, HiddenFieldLocationRules, > > > >>>>> HttpServletRequest, HttpServletRequestHandler, > IgnoredPathsFilter, > > > >>>>> InjectionProvider, InternalRequestGlobals, LinkCreationHub, > > > >>>>> LinkFactory, > > > >>>>> LocalizationSetter, LocationRenderer, LoggingDecorator, > > > MarkupRenderer, > > > >>>>> MarkupWriterFactory, MasterDispatcher, MasterObjectProvider, > > > >>>>> MessageBindingFactory, MetaDataLocator, MultipartDecoder, > > > >>>>> NullFieldStrategyBindingFactory, NullFieldStrategySource, > > > >>>>> ObjectRenderer, > > > >>>>> OsForceTypeFilter, PageActivationContextCollector, > > > >>>>> PageContentTypeAnalyzer, > > > >>>>> PageDocumentGenerator, PageElementFactory, PageLoader, > > > >>>>> PageMarkupRenderer, > > > >>>>> PagePool, PageRenderQueue, PageRenderRequestHandler, > > > >>>>> PageResponseRenderer, > > > >>>>> PageTemplateLocator, PartialMarkupRenderer, > > PersistentFieldManager, > > > >>>>> PersistentLocale, PipelineBuilder, PropBindingFactory, > > > PropertyAccess, > > > >>>>> PropertyConduitSource, PropertyShadowBuilder, RegistryStartup, > > > >>>>> RenderSupport, Request, RequestExceptionHandler, RequestGlobals, > > > >>>>> RequestHandler, RequestLogFilter, RequestPageCache, > > > >>>>> RequestPathOptimizer, > > > >>>>> RequestSecurityManager, ResourceCache, ResourceDigestGenerator, > > > >>>>> ResourceStreamer, Response, ResponseRenderer, > > ServiceLifecycleSource, > > > >>>>> ServletApplicationInitializer, > > > >>>>> SessionApplicationStatePersistenceStrategy, > > > >>>>> StrategyBuilder, SymbolSource, TemplateParser, ThreadLocale, > > > >>>>> TranslateBindingFactory, TranslatorSource, TypeCoercer, > > URLEncoder, > > > >>>>> UpdateListenerHub, ValidateBindingFactory, > > > >>>>> ValidationConstraintGenerator, > > > >>>>> ValidationMessagesSource, ValueEncoderSource. > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.locateModuleForService(Regi > > stryImpl.java:321) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.jav > > a:288) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocat > > orImpl.java:39) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.internal.services.ServiceAnnotationObjectProvider.pro > > vide(ServiceAnnotationObjectProvider.java:35) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invo > > ke(MasterObjectProviderImpl.java:50) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.InvokableToRunnable.run(InvokableToRunna > > ble.java:36) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTracke > > rImpl.java:52) > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> Howard Lewis Ship wrote: > > > >>>>>> > > > >>>>>> We need to figure out the order that the filters are > initialized, > > so > > > >>>>>> that the Tapestry filter can be initialized first. I think just > > > >>>>>> listing it first in the web.xml may do the trick. > > > >>>>>> > > > >>>>>> On Mon, Dec 29, 2008 at 4:00 PM, Fernando Padilla < > > > fern@alum.mit.edu> > > > >>>>>> wrote: > > > >>>>>>> > > > >>>>>>> I just tried it, and it won't work like that :( > > > >>>>>>> > > > >>>>>>> Like I said, I use spring outside of tapestry. So I need a > > valid > > > >>>>>>> working > > > >>>>>>> spring context before the first request ever gets to tapestry > > > >>>>>>> filter.. > > > >>>>>>> > > > >>>>>>> Here is my exception when I comment out the normal > > > >>>>>>> ContextLoaderListener.. > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> [Console output redirected to > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > file:/local/fern/work/social-app- > > repository/trunk/fanwars/site/../../log.txt] > > > >>>>>>> 2008-12-29 15:58:26,140 [main] ERROR org.mortbay.log - failed > > > OpenDS > > > >>>>>>> java.lang.NullPointerException > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.spring.OpenDSFilter.init(OpenDSFilter.java:28) > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.web.ProtradeFilter.init(ProtradeFilter.java:37) > > > >>>>>>> at > > > >>>>>>> > > > org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:58 > > 9) > > > >>>>>>> at > > > >>>>>>> > org.mortbay.jetty.servlet.Context.startContext(Context.java:139) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:121 > > 6) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) > > > >>>>>>> at org.mortbay.jetty.Server.doStart(Server.java:222)

      at runjettyrun.Bootstrap.main()
    2. runjettyrun
      Bootstrap.main
      1. runjettyrun.Bootstrap.main(Bootstrap.java:76)
      1 frame